blob: 72ace59c376305616ca5782cd414f8707437a0ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
@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);
}
}
}
|