35 lines
933 B
SCSS
35 lines
933 B
SCSS
&.revealer-on-hover {
|
|
// border: 2px solid $bar-bg-color;
|
|
border: 2px solid $module-color;
|
|
border-radius: $bar-module-border-radius;//
|
|
}
|
|
.revealer-preview,
|
|
.reveal-children>* {
|
|
padding: 0px 7px;
|
|
min-width: $bar-module-width;
|
|
transition: all 0.3s;
|
|
background: linear-gradient($bar-bg-color 65%, $module-color);
|
|
}
|
|
.revealer-preview {
|
|
// box-shadow: inset 0px -7px 9px -4px rgba($module-color,0.4);
|
|
// background-color: $bar-bg-color;
|
|
border-radius: $bar-module-border-radius - 2;
|
|
}
|
|
&.true .revealer-preview {
|
|
border-radius: $bar-module-border-radius - 2 0 0 $bar-module-border-radius - 2;
|
|
}
|
|
.reveal-children {
|
|
>* {
|
|
border-left: 2px solid $module-color;
|
|
&.active {
|
|
background-color: rgba($module-color,0.5);
|
|
}
|
|
&:hover {
|
|
background-color: rgba($module-color,0.5);
|
|
}
|
|
&:last-child {
|
|
border-radius: 0 $bar-module-border-radius - 2 $bar-module-border-radius - 2 0;
|
|
}
|
|
}
|
|
}
|
|
|