diff --git a/src/client/app/common/views/components/ui/card.vue b/src/client/app/common/views/components/ui/card.vue index 97f06ca65..e2b15240e 100644 --- a/src/client/app/common/views/components/ui/card.vue +++ b/src/client/app/common/views/components/ui/card.vue @@ -22,15 +22,21 @@ export default Vue.extend({ diff --git a/src/client/app/common/views/components/ui/input.vue b/src/client/app/common/views/components/ui/input.vue index 3a474f024..167dd4e2a 100644 --- a/src/client/app/common/views/components/ui/input.vue +++ b/src/client/app/common/views/components/ui/input.vue @@ -153,7 +153,7 @@ root(isDark, fill) width 24px text-align center line-height 32px - color rgba(#000, 0.54) + color isDark ? rgba(#fff, 0.7) : rgba(#000, 0.54) &:not(:empty) + .input margin-left 28px @@ -174,7 +174,7 @@ root(isDark, fill) left 0 right 0 height 1px - background rgba(#000, 0.42) + background isDark ? rgba(#fff, 0.7) : rgba(#000, 0.42) &:after content '' @@ -232,7 +232,7 @@ root(isDark, fill) transition-duration 0.3s font-size 16px line-height 32px - color rgba(#000, 0.54) + color isDark ? rgba(#fff, 0.7) : rgba(#000, 0.54) pointer-events none //will-change transform transform-origin top left @@ -247,6 +247,7 @@ root(isDark, fill) font-weight fill ? bold : normal font-size 16px line-height 32px + color isDark ? #fff : #000 background transparent border none border-radius 0 @@ -263,7 +264,7 @@ root(isDark, fill) justify-self center font-size 16px line-height 32px - color rgba(#000, 0.54) + color isDark ? rgba(#fff, 0.7) : rgba(#000, 0.54) pointer-events none > * @@ -299,9 +300,9 @@ root(isDark, fill) &.filled > .input > .label - top fill ? -24px : -16px + top fill ? -24px : -17px left 0 !important - transform scale(0.8) + transform scale(0.75) .ui-input[data-darkmode] &.fill diff --git a/src/client/app/common/views/components/ui/select.vue b/src/client/app/common/views/components/ui/select.vue index c56ae8615..4577a15f6 100644 --- a/src/client/app/common/views/components/ui/select.vue +++ b/src/client/app/common/views/components/ui/select.vue @@ -193,9 +193,9 @@ root(isDark, fill) &.filled > .input > .label - top fill ? -24px : -16px + top fill ? -24px : -17px left 0 !important - transform scale(0.8) + transform scale(0.75) .ui-select[data-darkmode] &.fill diff --git a/src/client/app/common/views/components/ui/switch.vue b/src/client/app/common/views/components/ui/switch.vue index 2431a7652..24611b9aa 100644 --- a/src/client/app/common/views/components/ui/switch.vue +++ b/src/client/app/common/views/components/ui/switch.vue @@ -5,15 +5,13 @@ role="switch" :aria-checked="checked" :aria-disabled="disabled" - @click="switchValue" - @mouseover="mouseenter" + @click="toggle" > @@ -30,6 +28,10 @@