Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 1 | @charset "utf-8"; |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 2 | @import "../util"; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 3 | |
4 | $border-size: 2px; | ||||
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 5 | $right-padding: 60px; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 6 | |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 7 | aside { |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 8 | outline: none; |
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 9 | font-size: 10pt; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 10 | display: block; |
11 | background-color: $dark-green; | ||||
12 | position: fixed; | ||||
Akron | bd36c71 | 2018-02-15 11:14:23 +0100 | [diff] [blame] | 13 | z-index: 100; // Needs to be behind alerts |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 14 | color: $nearly-white; |
15 | width: $logo-left-distance; | ||||
16 | top: 0; | ||||
17 | left: 0; | ||||
18 | height: 100%; | ||||
Nils Diewald | 61e6ff5 | 2015-05-07 17:26:50 +0000 | [diff] [blame] | 19 | padding-top: 65px; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 20 | > div { |
21 | overflow-y: auto; | ||||
22 | overflow-x: visible; | ||||
23 | max-height: 100%; | ||||
24 | } | ||||
25 | > * { | ||||
26 | opacity: 1; | ||||
27 | } | ||||
28 | &::after { | ||||
Akron | 1885ce9 | 2017-04-26 23:10:01 +0200 | [diff] [blame] | 29 | position: absolute; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 30 | display: block; |
31 | opacity: 0; | ||||
32 | cursor: pointer; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 33 | right: 0; |
34 | bottom: 0; | ||||
Nils Diewald | 4347ee9 | 2015-05-04 20:32:48 +0000 | [diff] [blame] | 35 | margin-right: -1 * ($standard-margin / 2); |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 36 | background-color: $dark-green; |
Nils Diewald | 2488d05 | 2015-04-09 21:46:02 +0000 | [diff] [blame] | 37 | font-family: FontAwesome; |
Akron | 2167ff5 | 2018-08-29 18:04:06 +0200 | [diff] [blame^] | 38 | content: $fa-login; // $fa-bars |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 39 | font-size: 16pt; |
40 | width: 16pt; | ||||
41 | height: 17pt; | ||||
42 | padding: 6pt; | ||||
43 | border-top-right-radius: $standard-border-radius; | ||||
44 | } | ||||
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 45 | h2, legend { |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 46 | font: { |
47 | size: 100%; | ||||
48 | weight: bold; | ||||
49 | } | ||||
50 | line-height: 2em; | ||||
51 | text-align: center; | ||||
52 | padding: 0; | ||||
53 | margin: 0; | ||||
54 | } | ||||
55 | |||||
Akron | e8235be | 2016-06-27 11:02:18 +0200 | [diff] [blame] | 56 | ul.nav { |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 57 | list-style-type: none; |
58 | /* | ||||
59 | background-color: $light-green; | ||||
60 | */ | ||||
61 | margin: 0; | ||||
62 | font-size: 10pt; | ||||
63 | text-indent: 0; | ||||
64 | padding: 0; | ||||
65 | li { | ||||
66 | padding: 0; | ||||
67 | > a { | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 68 | padding: $item-padding; |
69 | &:visited { | ||||
70 | @include choose-item; | ||||
71 | } | ||||
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 72 | } |
Nils Diewald | a31a515 | 2015-04-17 21:05:23 +0000 | [diff] [blame] | 73 | |
74 | li.folded { | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 75 | &.active ul { |
76 | display: block; | ||||
77 | } | ||||
78 | ul { | ||||
79 | display: none; | ||||
80 | } | ||||
Nils Diewald | a31a515 | 2015-04-17 21:05:23 +0000 | [diff] [blame] | 81 | } |
82 | |||||
83 | &.active > a:link { | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 84 | @include choose-active; |
Nils Diewald | a31a515 | 2015-04-17 21:05:23 +0000 | [diff] [blame] | 85 | } |
86 | |||||
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 87 | > a:link { |
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 88 | @include choose-item; |
89 | border-right: { | ||||
90 | width: $border-size; | ||||
91 | style: solid; | ||||
92 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 93 | |
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 94 | display: block; |
95 | &:hover { | ||||
96 | // color: inherit; | ||||
97 | transition: none; | ||||
98 | @include choose-hover; | ||||
99 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 100 | } |
101 | h3 { | ||||
102 | font: { | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 103 | weight: bold; |
104 | size: 100%; | ||||
105 | } | ||||
106 | padding: 0; | ||||
107 | margin: 0; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 108 | } |
109 | /* | ||||
110 | &.active { | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 111 | text-shadow: none; |
112 | h3 { | ||||
113 | margin-bottom: 2pt; | ||||
114 | padding-bottom: 2pt; | ||||
115 | border-bottom: 1px solid black; | ||||
116 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 117 | } |
118 | */ | ||||
119 | > a { | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 120 | padding-left: 6pt; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 121 | } |
122 | li > a { | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 123 | padding-left: 18pt; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 124 | } |
125 | li li > a { | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 126 | padding-left: 36pt; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 127 | } |
128 | } | ||||
129 | } | ||||
130 | nav > ul > li > a { | ||||
131 | font-weight: bold; | ||||
132 | } | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 133 | |
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 134 | fieldset { |
135 | position: relative; | ||||
136 | border-width: 0; | ||||
Akron | e8235be | 2016-06-27 11:02:18 +0200 | [diff] [blame] | 137 | legend { |
138 | display: none; | ||||
139 | } | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 140 | |
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 141 | input[type=text], input[type=password] { |
142 | @include input-field; | ||||
143 | width: 100%; | ||||
144 | } | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 145 | |
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 146 | > form > div { |
147 | position: relative; | ||||
148 | width: 100%; | ||||
149 | margin-top: 4px; | ||||
150 | padding-right: $button-width | ||||
151 | } | ||||
152 | |||||
Akron | 2670f5b | 2017-05-31 17:54:07 +0200 | [diff] [blame] | 153 | > p { |
154 | color: $light-green; | ||||
155 | } | ||||
Akron | 066cd35 | 2018-05-24 20:41:28 +0200 | [diff] [blame] | 156 | > p.announcement { |
157 | color: $nearly-white; | ||||
158 | > time { | ||||
159 | display: block; | ||||
160 | font-size: 70%; | ||||
161 | } | ||||
162 | } | ||||
163 | hr { | ||||
164 | border: none; | ||||
165 | border-top: 2px solid $ids-grey-2; | ||||
166 | } | ||||
Akron | e8235be | 2016-06-27 11:02:18 +0200 | [diff] [blame] | 167 | ul { |
168 | display: block; | ||||
169 | font-size: 80%; | ||||
170 | text-align: right; | ||||
171 | > li { | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 172 | display: inline; |
173 | &:first-child::after { | ||||
174 | content: ' | '; | ||||
175 | } | ||||
Akron | e8235be | 2016-06-27 11:02:18 +0200 | [diff] [blame] | 176 | } |
177 | padding: 0; | ||||
178 | margin-top: 0; | ||||
179 | } | ||||
180 | |||||
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 181 | button { |
182 | position: absolute; | ||||
183 | // height: 100%; | ||||
184 | top: 0; | ||||
185 | right: 0; | ||||
186 | &::after { | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 187 | content: $fa-login; |
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 188 | } |
189 | } | ||||
190 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 191 | } |
192 | |||||
Akron | e0c32c7 | 2017-04-25 22:38:23 +0200 | [diff] [blame] | 193 | aside { |
Nils Diewald | 565db10 | 2015-05-06 22:48:43 +0000 | [diff] [blame] | 194 | transition: all .3s ease-in-out; |
195 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 196 | |
Nils Diewald | 565db10 | 2015-05-06 22:48:43 +0000 | [diff] [blame] | 197 | aside.off, aside:not(:focus):not(.active) { |
Nils Diewald | 4347ee9 | 2015-05-04 20:32:48 +0000 | [diff] [blame] | 198 | margin-left: -1 * ($logo-left-distance - ($standard-margin / 2)); |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 199 | &::after { |
200 | opacity: 1; | ||||
201 | } | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 202 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 203 | > * { |
204 | opacity: 0; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 205 | transition: { |
206 | property: opacity; | ||||
207 | duration: .3s; | ||||
208 | } | ||||
209 | } | ||||
210 | } | ||||
211 | |||||
Nils Diewald | 565db10 | 2015-05-06 22:48:43 +0000 | [diff] [blame] | 212 | aside.off::after { |
213 | display:none; | ||||
214 | } | ||||
215 | |||||
Akron | ae8f31c | 2017-11-28 18:05:52 +0100 | [diff] [blame] | 216 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 217 | /* |
218 | #sidebar { | ||||
219 | text-shadow: none; | ||||
220 | height: 105%; | ||||
221 | margin-top: -10px; | ||||
222 | background-color: #496000; | ||||
223 | left: 0; | ||||
224 | top: 0; | ||||
225 | &.active { | ||||
226 | box-shadow: 2px 2px 5px darken($dark-green, 15%); | ||||
227 | margin-left: 0px; | ||||
228 | left: 0; | ||||
229 | top: 0; | ||||
230 | } | ||||
231 | &:not(.active) > i.fa-bars { | ||||
232 | opacity: 1; | ||||
233 | cursor: pointer; | ||||
234 | background-color: #496000; | ||||
235 | position: fixed; | ||||
236 | font-size: 16pt; | ||||
237 | width: 16pt; | ||||
238 | height: 17pt; | ||||
239 | padding: 6pt; | ||||
240 | bottom: 0; | ||||
241 | left: 0; | ||||
242 | border-top-right-radius: 5pt; | ||||
243 | } | ||||
244 | dl.info { | ||||
245 | font-size: 9pt; | ||||
246 | padding: 0 10pt; | ||||
247 | > dt { | ||||
248 | font-weight: bold; | ||||
249 | float: left; | ||||
250 | } | ||||
251 | > dd { | ||||
252 | text-align: right; | ||||
253 | } | ||||
254 | } | ||||
255 | } | ||||
256 | */ |