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