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