Skip to content

Open source personal finance application

Cleanup Checkbox styles

Ilya Komichev474d72b071ad
diff --git a/src/components/shared/inputs/Checkbox.vue b/src/components/shared/inputs/Checkbox.vue
index 8a8bc2ca..a3715a64 100644
--- a/src/components/shared/inputs/Checkbox.vue
+++ b/src/components/shared/inputs/Checkbox.vue
@@ -49,7 +49,6 @@ $color-rail = var(--c-font-2)
+ .checkbox__helper:before
background var(--c-incomes-1)
box-shadow inset 0px 1px 1px rgba(84, 152, 140, 0.5)
-
+ .checkbox__helper:after
animation switch .2s ease-out
left $left
@@ -60,7 +59,6 @@ $color-rail = var(--c-font-2)
width $width
height $height
cursor pointer
-
&:before
content ''
position absolute
@@ -84,7 +82,6 @@ $color-rail = var(--c-font-2)
background $color-rail
animation switch .2s ease-out
box-shadow 0px 2px 5px 0px rgba(0, 0, 0, 0.3)
-
/.theme-light &
background var(--c-bg-1)
@@ -108,10 +105,8 @@ $color-rail = var(--c-font-2)
text-transform uppercase
/.theme-light &
color var(--c-font-1)
-
&:before
content 'on'
-
&:after
content 'off'