diff --git a/package-lock.json b/package-lock.json index 14a20d143..81237b64c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8982,7 +8982,7 @@ }, "humanize-plus": { "version": "1.8.2", - "resolved": "https://registry.npmjs.org/humanize-plus/-/humanize-plus-1.8.2.tgz", + "resolved": "http://registry.npmjs.org/humanize-plus/-/humanize-plus-1.8.2.tgz", "integrity": "sha1-pls0RZrWNnrbs3B6gqPJ+RYWcDA=", "dev": true }, @@ -14309,7 +14309,7 @@ }, "safe-regex": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "resolved": "http://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", "dev": true, "requires": { diff --git a/src/renderer/components/ft-auto-grid/ft-auto-grid.sass b/src/renderer/components/ft-auto-grid/ft-auto-grid.sass index eb71df3e1..9a1b32e4b 100644 --- a/src/renderer/components/ft-auto-grid/ft-auto-grid.sass +++ b/src/renderer/components/ft-auto-grid/ft-auto-grid.sass @@ -1,10 +1,9 @@ .ft-auto-grid &.grid display: grid - grid-template-columns: repeat(auto-fill, 240px) + grid-template-columns: repeat(auto-fill, 262px) justify-content: space-evenly - grid-gap: 5px &.list display: grid - grid-gap: 16px + grid-gap: 4px diff --git a/src/renderer/components/ft-icon-button/ft-icon-button.sass b/src/renderer/components/ft-icon-button/ft-icon-button.sass index a04255097..032d8a55c 100644 --- a/src/renderer/components/ft-icon-button/ft-icon-button.sass +++ b/src/renderer/components/ft-icon-button/ft-icon-button.sass @@ -25,6 +25,13 @@ &:active background-color: var(--side-nav-active-color) + &.base-no-default + &:hover + background-color: var(--side-nav-hover-color) + + &:active + background-color: var(--side-nav-active-color) + &.primary background-color: var(--primary-color) color: var(--text-with-main-color) diff --git a/src/renderer/components/ft-icon-button/ft-icon-button.vue b/src/renderer/components/ft-icon-button/ft-icon-button.vue index ac068c08f..d1abbda0b 100644 --- a/src/renderer/components/ft-icon-button/ft-icon-button.vue +++ b/src/renderer/components/ft-icon-button/ft-icon-button.vue @@ -5,9 +5,7 @@ :title="title" :icon="icon" :class="{ - base: theme === 'base', - primary: theme === 'primary', - secondary: theme === 'secondary', + [theme]: true, shadow: useShadow }" :style="{ diff --git a/src/renderer/components/ft-list-video/ft-list-video.vue b/src/renderer/components/ft-list-video/ft-list-video.vue index fa8588a04..554ba1f3f 100644 --- a/src/renderer/components/ft-list-video/ft-list-video.vue +++ b/src/renderer/components/ft-list-video/ft-list-video.vue @@ -4,7 +4,8 @@ :class="{ list: (listType === 'list' || forceListType === 'list') && forceListType !== 'grid', grid: (listType === 'grid' || forceListType === 'list') && forceListType !== 'list', - [appearance]: true + [appearance]: true, + watched: watched }" >