Skip to content

Commit 5ed5eff

Browse files
committed
148 - toggle hover change
1 parent 4f4397b commit 5ed5eff

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/css/manage.scss

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ $inactive-color: #ccc;
6060
height: 17px;
6161
border-radius: 34px;
6262
background-color: #ccc;
63+
box-shadow: 0 0px 1px 0px rgba(0, 0, 0, .2);
64+
transition: all 200ms ease-in-out !important;
65+
66+
&:hover {
67+
box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.5);
68+
}
6369

6470
&::before {
6571
transition: all .4s;
@@ -72,20 +78,12 @@ $inactive-color: #ccc;
7278
border-radius: 50%;
7379
}
7480

75-
&:hover::before {
76-
transform: translateX(40%);
77-
}
78-
7981
.snippets .active-snippet & {
8082
background-color: $active-color;
8183

8284
&::before {
8385
transform: translateX(100%);
8486
}
85-
86-
&:hover::before {
87-
transform: translateX(60%);
88-
}
8987
}
9088

9189
.snippets .erroneous-snippet &::before {

0 commit comments

Comments
 (0)