Files: e57c5f14597311bb19cb42a5208dcf94188919ba / app / html / sideNav / sideNav.mcss
1817 bytesRaw
1 | SideNav { |
2 | flex-shrink: 0 |
3 | flex-grow: 0 |
4 | overflow: hidden |
5 | $backgroundPrimaryText |
6 | |
7 | display: flex |
8 | |
9 | div.level { |
10 | width: 13rem |
11 | overflow-y: auto |
12 | overflow-x: hidden |
13 | |
14 | border-right: 1px gainsboro solid |
15 | |
16 | section { |
17 | header { |
18 | $colorFontSubtle |
19 | padding: .5rem 1rem |
20 | } |
21 | |
22 | div.Option {} |
23 | |
24 | hr { |
25 | border: 1px solid gainsboro |
26 | border-bottom: none |
27 | margin: 0 |
28 | } |
29 | } |
30 | |
31 | -one {} |
32 | -two {} |
33 | } |
34 | } |
35 | |
36 | Option { |
37 | min-width: 8rem |
38 | padding: .5rem 1rem |
39 | display: flex |
40 | align-items: center |
41 | |
42 | :hover { |
43 | cursor: pointer |
44 | $backgroundSelected |
45 | } |
46 | |
47 | -selected { |
48 | $backgroundSelected |
49 | } |
50 | |
51 | div.spacer { |
52 | display: flex |
53 | align-self: center |
54 | div.alert { |
55 | position: relative |
56 | width: 1.2rem |
57 | height: 1.2rem |
58 | border-radius: 1rem |
59 | top: -.2rem |
60 | left: -.2rem |
61 | |
62 | background-color: red |
63 | color: #fff |
64 | font-size: .8rem |
65 | |
66 | display: flex |
67 | justify-content: center |
68 | align-items: center |
69 | align-self: flex-start |
70 | } |
71 | } |
72 | |
73 | div.circle { |
74 | margin-right: .6rem |
75 | |
76 | div.alert { |
77 | position: absolute |
78 | width: 1.2rem |
79 | height: 1.2rem |
80 | border-radius: 1rem |
81 | top: -.2rem |
82 | left: -.2rem |
83 | |
84 | background-color: red |
85 | color: #fff |
86 | font-size: .8rem |
87 | |
88 | display: flex |
89 | justify-content: center |
90 | align-items: center |
91 | } |
92 | |
93 | |
94 | a img { |
95 | |
96 | } |
97 | |
98 | i { |
99 | $circleSmall |
100 | $colorPrimary |
101 | font-size: 1.3rem |
102 | |
103 | display: flex |
104 | justify-content: center |
105 | align-items: center |
106 | } |
107 | } |
108 | |
109 | div.label { |
110 | $markdownSmall |
111 | (a) { |
112 | $colorFontBasic |
113 | :hover { text-decoration: none } |
114 | } |
115 | |
116 | flex-grow: 1 |
117 | |
118 | display: flex |
119 | align-items: center |
120 | min-height: 3rem |
121 | |
122 | div.Button { |
123 | flex-grow: 1 |
124 | } |
125 | } |
126 | } |
127 |
Built with git-ssb-web