Use base instead of mantle Fix session transparency More rounding for session and lock osds
65 lines
1.3 KiB
SCSS
65 lines
1.3 KiB
SCSS
@use "sass:color";
|
|
@use "scheme";
|
|
@use "lib";
|
|
@use "font";
|
|
|
|
.navbar {
|
|
@include font.mono;
|
|
|
|
background-color: scheme.$base;
|
|
|
|
button {
|
|
color: scheme.$subtext1;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
color: scheme.$subtext0;
|
|
}
|
|
|
|
&:active {
|
|
color: color.change(scheme.$overlay2, $alpha: 1);
|
|
}
|
|
|
|
&.current {
|
|
.nav-button {
|
|
background-color: scheme.$primary;
|
|
color: color.change(scheme.$base, $alpha: 1);
|
|
}
|
|
|
|
&:hover .nav-button,
|
|
&:focus .nav-button {
|
|
background-color: color.mix(scheme.$primary, scheme.$base, 80%);
|
|
}
|
|
|
|
&:active .nav-button {
|
|
background-color: color.mix(scheme.$primary, scheme.$base, 70%);
|
|
}
|
|
}
|
|
|
|
&:first-child .nav-button {
|
|
margin-top: lib.s(10);
|
|
}
|
|
|
|
&:last-child .nav-button {
|
|
margin-bottom: lib.s(10);
|
|
}
|
|
}
|
|
|
|
.nav-button {
|
|
@include lib.rounded(20);
|
|
@include lib.element-decel;
|
|
|
|
padding: lib.s(10) lib.s(8);
|
|
margin: lib.s(5) lib.s(8);
|
|
min-width: lib.s(40);
|
|
|
|
.icon {
|
|
font-size: lib.s(28);
|
|
}
|
|
|
|
.label {
|
|
font-size: lib.s(12);
|
|
margin-bottom: lib.s(5);
|
|
}
|
|
}
|
|
}
|