This commit is contained in:
syuilo 2018-09-28 17:49:37 +09:00
parent 3029c97895
commit 4414650aab
3 changed files with 14 additions and 14 deletions

View file

@ -214,12 +214,10 @@ export default Vue.extend({
</script>
<style lang="stylus" scoped>
root(isDark)
.ynntpczxvnusfwdyxsfuhvcmuypqopdd
padding 8px
height 64px
background isDark ? var(--primaryAlpha02) : var(--primaryLighten95)
background var(--desktopDriveFolderBg)
border-radius 4px
&, *
@ -229,10 +227,10 @@ root(isDark)
pointer-events none
&:hover
//background isDark ? rgba(var(--primaryLighten10), 0.2) : var(--primaryLighten90)
background var(--desktopDriveFolderHoverBg)
&:active
//background isDark ? rgba(var(--primaryDarken10), 0.2) : var(--primaryLighten85)
background var(--desktopDriveFolderActiveBg)
&[data-is-contextmenu-showing]
&[data-draghover]
@ -248,22 +246,16 @@ root(isDark)
border-radius 4px
&[data-draghover]
//background isDark ? rgba(var(--primaryDarken10), 0.2) : var(--primaryLighten90)
background var(--desktopDriveFolderActiveBg)
> .name
margin 0
font-size 0.9em
color isDark ? #fff : var(--primaryDarken30)
color var(--desktopDriveFolderFg)
> [data-fa]
margin-right 4px
margin-left 2px
text-align left
.ynntpczxvnusfwdyxsfuhvcmuypqopdd[data-darkmode]
root(true)
.ynntpczxvnusfwdyxsfuhvcmuypqopdd:not([data-darkmode])
root(false)
</style>

View file

@ -141,6 +141,10 @@
"desktopTimelineSrcHover": "@faceTextButtonHover",
"desktopWindowTitle": "@faceHeaderText",
"desktopDriveBg": "@bg",
"desktopDriveFolderBg": ":alpha<0.2<$primary",
"desktopDriveFolderHoverBg": ":alpha<0.3<$primary",
"desktopDriveFolderActiveBg": ":alpha<0.3<:darken<10<$primary",
"desktopDriveFolderFg": "#fff",
"desktopSettingsNavItem": ":alpha<0.8<$text",
"desktopSettingsNavItemHover": ":lighten<10<$text",

View file

@ -141,6 +141,10 @@
"desktopTimelineSrcHover": "#525a5f",
"desktopWindowTitle": "#666",
"desktopDriveBg": "#fff",
"desktopDriveFolderBg": ":lighten<31<$primary",
"desktopDriveFolderHoverBg": ":lighten<27<$primary",
"desktopDriveFolderActiveBg": ":lighten<25<$primary",
"desktopDriveFolderFg": ":darken<10<$primary",
"desktopSettingsNavItem": ":alpha<0.8<$text",
"desktopSettingsNavItemHover": ":darken<10<$text",