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 | a7258cb | 2021-09-13 12:27:25 +0200 | [diff] [blame] | 83 | &.active > ul { |
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 84 | display: block; |
85 | } | ||||
Akron | a7258cb | 2021-09-13 12:27:25 +0200 | [diff] [blame] | 86 | > ul { |
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 87 | display: none; |
Akron | 64833cc | 2021-09-08 17:19:27 +0200 | [diff] [blame] | 88 | &.active { |
89 | display: block !important; | ||||
90 | } | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 91 | } |
Nils Diewald | a31a515 | 2015-04-17 21:05:23 +0000 | [diff] [blame] | 92 | } |
93 | |||||
94 | &.active > a:link { | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 95 | @include choose-active; |
Nils Diewald | a31a515 | 2015-04-17 21:05:23 +0000 | [diff] [blame] | 96 | } |
97 | |||||
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 98 | > a:link { |
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 99 | @include choose-item; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 100 | display: block; |
101 | |||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 102 | border-right: { |
103 | width: $border-size; | ||||
104 | style: solid; | ||||
105 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 106 | |
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 107 | &:hover { |
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 108 | @include choose-hover; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 109 | transition: none; |
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 110 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 111 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 112 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 113 | h3 { |
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 114 | padding: 0; |
115 | margin: 0; | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 116 | font: { |
117 | weight: bold; | ||||
118 | size: 100%; | ||||
119 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 120 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 121 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 122 | > a { |
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 123 | padding-left: 6pt; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 124 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 125 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 126 | li > a { |
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 127 | padding-left: 18pt; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 128 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 129 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 130 | li li > a { |
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 131 | padding-left: 36pt; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 132 | } |
133 | } | ||||
134 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 135 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 136 | nav > ul > li > a { |
137 | font-weight: bold; | ||||
138 | } | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 139 | |
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 140 | fieldset { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 141 | position: relative; |
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 142 | border-width: 0; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 143 | |
Akron | e8235be | 2016-06-27 11:02:18 +0200 | [diff] [blame] | 144 | legend { |
145 | display: none; | ||||
146 | } | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 147 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 148 | input[type=text], |
149 | input[type=password] { | ||||
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 150 | @include input-field; |
151 | width: 100%; | ||||
152 | } | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 153 | |
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 154 | > form > div { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 155 | position: relative; |
156 | width: 100%; | ||||
157 | margin-top: 4px; | ||||
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 158 | padding-right: $button-width |
159 | } | ||||
160 | |||||
Akron | 2670f5b | 2017-05-31 17:54:07 +0200 | [diff] [blame] | 161 | > p { |
162 | color: $light-green; | ||||
163 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 164 | |
Akron | 066cd35 | 2018-05-24 20:41:28 +0200 | [diff] [blame] | 165 | > p.announcement { |
166 | color: $nearly-white; | ||||
167 | > time { | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 168 | display: block; |
Akron | 066cd35 | 2018-05-24 20:41:28 +0200 | [diff] [blame] | 169 | font-size: 70%; |
170 | } | ||||
171 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 172 | |
Akron | 066cd35 | 2018-05-24 20:41:28 +0200 | [diff] [blame] | 173 | hr { |
174 | border: none; | ||||
175 | border-top: 2px solid $ids-grey-2; | ||||
176 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 177 | |
Akron | e8235be | 2016-06-27 11:02:18 +0200 | [diff] [blame] | 178 | ul { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 179 | display: block; |
180 | font-size: 80%; | ||||
Akron | e8235be | 2016-06-27 11:02:18 +0200 | [diff] [blame] | 181 | text-align: right; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 182 | padding: 0; |
Akron | e8235be | 2016-06-27 11:02:18 +0200 | [diff] [blame] | 183 | margin-top: 0; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 184 | |
185 | > li { | ||||
186 | display: inline; | ||||
187 | &:first-child::after { | ||||
188 | content: ' | '; | ||||
189 | } | ||||
190 | } | ||||
Akron | e8235be | 2016-06-27 11:02:18 +0200 | [diff] [blame] | 191 | } |
192 | |||||
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 193 | button { |
194 | position: absolute; | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 195 | top: 0; |
196 | right: 0; | ||||
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 197 | &::after { |
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 198 | content: $fa-login; |
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 199 | } |
200 | } | ||||
201 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 202 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 203 | // Off aside |
204 | &.off, | ||||
205 | &:not(:focus):not(.active) { | ||||
206 | margin-left: -1 * ($logo-left-distance - ($standard-margin / 2)); | ||||
207 | &::after { | ||||
208 | opacity: 1; | ||||
209 | } | ||||
Akron | b9cdb10 | 2017-04-25 00:52:31 +0200 | [diff] [blame] | 210 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 211 | > * { |
212 | opacity: 0; | ||||
213 | transition: { | ||||
214 | property: opacity; | ||||
215 | duration: .3s; | ||||
216 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 217 | } |
218 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 219 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 220 | &.off::after { |
221 | display:none; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 222 | } |
223 | } |