Create a class for button with hover effect.
This commit is contained in:
parent
84390b410c
commit
59f0aba8b7
@ -83,22 +83,26 @@
|
|||||||
|
|
||||||
&:before {margin:0;}
|
&:before {margin:0;}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.topbar__button--hover {
|
||||||
|
transition-duration: 0.5s;
|
||||||
|
transition-property: color, background-color;
|
||||||
|
|
||||||
|
&[aria-expanded="true"],
|
||||||
|
&:hover {
|
||||||
|
.color-scheme--dark & {
|
||||||
|
background:$_color_dark_alpha;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-scheme--light & {
|
||||||
|
background:$_color_light_alpha;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.topbar__toggle-sidebar {
|
.topbar__toggle-sidebar {
|
||||||
|
|
||||||
/* .topbar__button { */
|
|
||||||
/* &:hover { */
|
|
||||||
/* .color-scheme--dark & { */
|
|
||||||
/* background:$_color_dark_alpha; */
|
|
||||||
/* } */
|
|
||||||
|
|
||||||
/* .color-scheme--light & { */
|
|
||||||
/* background:$_color_light_alpha; */
|
|
||||||
/* } */
|
|
||||||
/* } */
|
|
||||||
/* } */
|
|
||||||
|
|
||||||
.ico-menu {
|
.ico-menu {
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
@ -124,20 +128,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.topbar__notifications {
|
.topbar__notifications {
|
||||||
.topbar__button {
|
|
||||||
&[aria-expanded="true"],
|
|
||||||
&:hover {
|
|
||||||
.color-scheme--dark & {
|
|
||||||
background:$_color_dark_alpha;
|
|
||||||
}
|
|
||||||
|
|
||||||
.color-scheme--light & {
|
|
||||||
background:$_color_light_alpha;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ico-bell-alt {
|
.ico-bell-alt {
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
background:$_color_error;
|
background:$_color_error;
|
||||||
border-radius:100%;
|
border-radius:100%;
|
||||||
@ -177,18 +170,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.topbar__settings {
|
.topbar__settings {
|
||||||
.topbar__button {
|
|
||||||
&[aria-expanded="true"],
|
|
||||||
&:hover {
|
|
||||||
.color-scheme--dark & {
|
|
||||||
background:$_color_dark_alpha;
|
|
||||||
}
|
|
||||||
|
|
||||||
.color-scheme--light & {
|
|
||||||
background:$_color_light_alpha;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ico-sliders:before {
|
.ico-sliders:before {
|
||||||
@include vendor(transform, rotate(90deg));
|
@include vendor(transform, rotate(90deg));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user