blob: f67d4f3a38e154d0c4b377d7f8de375f026147c6 [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001@charset "utf-8";
Nils Diewaldab4d3ca2015-04-17 01:48:43 +00002@import "../util";
Nils Diewalda944fab2015-04-08 21:02:04 +00003
Nils Diewald7c8ced22015-04-15 19:21:00 +00004aside {
Nils Diewalda944fab2015-04-08 21:02:04 +00005 background-color: $dark-green;
Akron7e5afce2020-08-25 15:50:19 +02006 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 Diewald61e6ff52015-05-07 17:26:50 +000017 padding-top: 65px;
Akron7e5afce2020-08-25 15:50:19 +020018
Nils Diewalda944fab2015-04-08 21:02:04 +000019 > div {
20 overflow-y: auto;
21 overflow-x: visible;
22 max-height: 100%;
23 }
Akron7e5afce2020-08-25 15:50:19 +020024
Nils Diewalda944fab2015-04-08 21:02:04 +000025 > * {
26 opacity: 1;
27 }
Akron7e5afce2020-08-25 15:50:19 +020028
Nils Diewalda944fab2015-04-08 21:02:04 +000029 &::after {
Akron7e5afce2020-08-25 15:50:19 +020030 @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 Diewalda944fab2015-04-08 21:02:04 +000038 font-size: 16pt;
Akron7e5afce2020-08-25 15:50:19 +020039 width: 16pt;
40 height: 17pt;
41 padding: 6pt;
42 background-color: $dark-green;
Nils Diewalda944fab2015-04-08 21:02:04 +000043 border-top-right-radius: $standard-border-radius;
Akron7e5afce2020-08-25 15:50:19 +020044 margin-right: -1 * ($standard-margin / 2);
Nils Diewalda944fab2015-04-08 21:02:04 +000045 }
46
Akron1d09b532021-06-15 18:18:25 +020047 &.settings::after {
48 content: $fa-settings;
49 }
50
Akron7e5afce2020-08-25 15:50:19 +020051 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 */
Akrone8235be2016-06-27 11:02:18 +020066 ul.nav {
Nils Diewalda944fab2015-04-08 21:02:04 +000067 list-style-type: none;
Akron7e5afce2020-08-25 15:50:19 +020068 margin: 0;
69 font-size: 10pt;
70 text-indent: 0;
71 padding: 0;
72
Nils Diewalda944fab2015-04-08 21:02:04 +000073 li {
74 padding: 0;
75 > a {
Akronb9cdb102017-04-25 00:52:31 +020076 padding: $item-padding;
77 &:visited {
78 @include choose-item;
79 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000080 }
Nils Diewalda31a5152015-04-17 21:05:23 +000081
Akron936e7e42020-09-21 14:43:26 +020082 &.folded {
Akronb9cdb102017-04-25 00:52:31 +020083 &.active ul {
84 display: block;
85 }
86 ul {
87 display: none;
88 }
Nils Diewalda31a5152015-04-17 21:05:23 +000089 }
90
91 &.active > a:link {
Akronb9cdb102017-04-25 00:52:31 +020092 @include choose-active;
Nils Diewalda31a5152015-04-17 21:05:23 +000093 }
94
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000095 > a:link {
Akronb9cdb102017-04-25 00:52:31 +020096 @include choose-item;
Akron7e5afce2020-08-25 15:50:19 +020097 display: block;
98
Akronb9cdb102017-04-25 00:52:31 +020099 border-right: {
100 width: $border-size;
101 style: solid;
102 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000103
Akronb9cdb102017-04-25 00:52:31 +0200104 &:hover {
Akronb9cdb102017-04-25 00:52:31 +0200105 @include choose-hover;
Akron7e5afce2020-08-25 15:50:19 +0200106 transition: none;
Akronb9cdb102017-04-25 00:52:31 +0200107 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000108 }
Akron7e5afce2020-08-25 15:50:19 +0200109
Nils Diewalda944fab2015-04-08 21:02:04 +0000110 h3 {
Akronb9cdb102017-04-25 00:52:31 +0200111 padding: 0;
112 margin: 0;
Akron7e5afce2020-08-25 15:50:19 +0200113 font: {
114 weight: bold;
115 size: 100%;
116 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000117 }
Akron7e5afce2020-08-25 15:50:19 +0200118
Nils Diewalda944fab2015-04-08 21:02:04 +0000119 > a {
Akronb9cdb102017-04-25 00:52:31 +0200120 padding-left: 6pt;
Nils Diewalda944fab2015-04-08 21:02:04 +0000121 }
Akron7e5afce2020-08-25 15:50:19 +0200122
Nils Diewalda944fab2015-04-08 21:02:04 +0000123 li > a {
Akronb9cdb102017-04-25 00:52:31 +0200124 padding-left: 18pt;
Nils Diewalda944fab2015-04-08 21:02:04 +0000125 }
Akron7e5afce2020-08-25 15:50:19 +0200126
Nils Diewalda944fab2015-04-08 21:02:04 +0000127 li li > a {
Akronb9cdb102017-04-25 00:52:31 +0200128 padding-left: 36pt;
Nils Diewalda944fab2015-04-08 21:02:04 +0000129 }
130 }
131 }
Akron7e5afce2020-08-25 15:50:19 +0200132
Nils Diewalda944fab2015-04-08 21:02:04 +0000133 nav > ul > li > a {
134 font-weight: bold;
135 }
Akronb9cdb102017-04-25 00:52:31 +0200136
Akron189b3592016-01-04 20:56:46 +0100137 fieldset {
Akron7e5afce2020-08-25 15:50:19 +0200138 position: relative;
Akron189b3592016-01-04 20:56:46 +0100139 border-width: 0;
Akron7e5afce2020-08-25 15:50:19 +0200140
Akrone8235be2016-06-27 11:02:18 +0200141 legend {
142 display: none;
143 }
Akronb9cdb102017-04-25 00:52:31 +0200144
Akron7e5afce2020-08-25 15:50:19 +0200145 input[type=text],
146 input[type=password] {
Akron189b3592016-01-04 20:56:46 +0100147 @include input-field;
148 width: 100%;
149 }
Akronb9cdb102017-04-25 00:52:31 +0200150
Akron189b3592016-01-04 20:56:46 +0100151 > form > div {
Akron7e5afce2020-08-25 15:50:19 +0200152 position: relative;
153 width: 100%;
154 margin-top: 4px;
Akron189b3592016-01-04 20:56:46 +0100155 padding-right: $button-width
156 }
157
Akron2670f5b2017-05-31 17:54:07 +0200158 > p {
159 color: $light-green;
160 }
Akron7e5afce2020-08-25 15:50:19 +0200161
Akron066cd352018-05-24 20:41:28 +0200162 > p.announcement {
163 color: $nearly-white;
164 > time {
Akron7e5afce2020-08-25 15:50:19 +0200165 display: block;
Akron066cd352018-05-24 20:41:28 +0200166 font-size: 70%;
167 }
168 }
Akron7e5afce2020-08-25 15:50:19 +0200169
Akron066cd352018-05-24 20:41:28 +0200170 hr {
171 border: none;
172 border-top: 2px solid $ids-grey-2;
173 }
Akron7e5afce2020-08-25 15:50:19 +0200174
Akrone8235be2016-06-27 11:02:18 +0200175 ul {
Akron7e5afce2020-08-25 15:50:19 +0200176 display: block;
177 font-size: 80%;
Akrone8235be2016-06-27 11:02:18 +0200178 text-align: right;
Akron7e5afce2020-08-25 15:50:19 +0200179 padding: 0;
Akrone8235be2016-06-27 11:02:18 +0200180 margin-top: 0;
Akron7e5afce2020-08-25 15:50:19 +0200181
182 > li {
183 display: inline;
184 &:first-child::after {
185 content: ' | ';
186 }
187 }
Akrone8235be2016-06-27 11:02:18 +0200188 }
189
Akron189b3592016-01-04 20:56:46 +0100190 button {
191 position: absolute;
Akron7e5afce2020-08-25 15:50:19 +0200192 top: 0;
193 right: 0;
Akron189b3592016-01-04 20:56:46 +0100194 &::after {
Akronb9cdb102017-04-25 00:52:31 +0200195 content: $fa-login;
Akron189b3592016-01-04 20:56:46 +0100196 }
197 }
198 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000199
Akron7e5afce2020-08-25 15:50:19 +0200200 // 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 }
Akronb9cdb102017-04-25 00:52:31 +0200207
Akron7e5afce2020-08-25 15:50:19 +0200208 > * {
209 opacity: 0;
210 transition: {
211 property: opacity;
212 duration: .3s;
213 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000214 }
215 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000216
Akron7e5afce2020-08-25 15:50:19 +0200217 &.off::after {
218 display:none;
Nils Diewalda944fab2015-04-08 21:02:04 +0000219 }
220}