blob: 496f7011da038949897d429c4a2441e4bca4f486 [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;
Akron64833cc2021-09-08 17:19:27 +020088 &.active {
89 display: block !important;
90 }
Akronb9cdb102017-04-25 00:52:31 +020091 }
Nils Diewalda31a5152015-04-17 21:05:23 +000092 }
93
94 &.active > a:link {
Akronb9cdb102017-04-25 00:52:31 +020095 @include choose-active;
Nils Diewalda31a5152015-04-17 21:05:23 +000096 }
97
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000098 > a:link {
Akronb9cdb102017-04-25 00:52:31 +020099 @include choose-item;
Akron7e5afce2020-08-25 15:50:19 +0200100 display: block;
101
Akronb9cdb102017-04-25 00:52:31 +0200102 border-right: {
103 width: $border-size;
104 style: solid;
105 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000106
Akronb9cdb102017-04-25 00:52:31 +0200107 &:hover {
Akronb9cdb102017-04-25 00:52:31 +0200108 @include choose-hover;
Akron7e5afce2020-08-25 15:50:19 +0200109 transition: none;
Akronb9cdb102017-04-25 00:52:31 +0200110 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000111 }
Akron7e5afce2020-08-25 15:50:19 +0200112
Nils Diewalda944fab2015-04-08 21:02:04 +0000113 h3 {
Akronb9cdb102017-04-25 00:52:31 +0200114 padding: 0;
115 margin: 0;
Akron7e5afce2020-08-25 15:50:19 +0200116 font: {
117 weight: bold;
118 size: 100%;
119 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000120 }
Akron7e5afce2020-08-25 15:50:19 +0200121
Nils Diewalda944fab2015-04-08 21:02:04 +0000122 > a {
Akronb9cdb102017-04-25 00:52:31 +0200123 padding-left: 6pt;
Nils Diewalda944fab2015-04-08 21:02:04 +0000124 }
Akron7e5afce2020-08-25 15:50:19 +0200125
Nils Diewalda944fab2015-04-08 21:02:04 +0000126 li > a {
Akronb9cdb102017-04-25 00:52:31 +0200127 padding-left: 18pt;
Nils Diewalda944fab2015-04-08 21:02:04 +0000128 }
Akron7e5afce2020-08-25 15:50:19 +0200129
Nils Diewalda944fab2015-04-08 21:02:04 +0000130 li li > a {
Akronb9cdb102017-04-25 00:52:31 +0200131 padding-left: 36pt;
Nils Diewalda944fab2015-04-08 21:02:04 +0000132 }
133 }
134 }
Akron7e5afce2020-08-25 15:50:19 +0200135
Nils Diewalda944fab2015-04-08 21:02:04 +0000136 nav > ul > li > a {
137 font-weight: bold;
138 }
Akronb9cdb102017-04-25 00:52:31 +0200139
Akron189b3592016-01-04 20:56:46 +0100140 fieldset {
Akron7e5afce2020-08-25 15:50:19 +0200141 position: relative;
Akron189b3592016-01-04 20:56:46 +0100142 border-width: 0;
Akron7e5afce2020-08-25 15:50:19 +0200143
Akrone8235be2016-06-27 11:02:18 +0200144 legend {
145 display: none;
146 }
Akronb9cdb102017-04-25 00:52:31 +0200147
Akron7e5afce2020-08-25 15:50:19 +0200148 input[type=text],
149 input[type=password] {
Akron189b3592016-01-04 20:56:46 +0100150 @include input-field;
151 width: 100%;
152 }
Akronb9cdb102017-04-25 00:52:31 +0200153
Akron189b3592016-01-04 20:56:46 +0100154 > form > div {
Akron7e5afce2020-08-25 15:50:19 +0200155 position: relative;
156 width: 100%;
157 margin-top: 4px;
Akron189b3592016-01-04 20:56:46 +0100158 padding-right: $button-width
159 }
160
Akron2670f5b2017-05-31 17:54:07 +0200161 > p {
162 color: $light-green;
163 }
Akron7e5afce2020-08-25 15:50:19 +0200164
Akron066cd352018-05-24 20:41:28 +0200165 > p.announcement {
166 color: $nearly-white;
167 > time {
Akron7e5afce2020-08-25 15:50:19 +0200168 display: block;
Akron066cd352018-05-24 20:41:28 +0200169 font-size: 70%;
170 }
171 }
Akron7e5afce2020-08-25 15:50:19 +0200172
Akron066cd352018-05-24 20:41:28 +0200173 hr {
174 border: none;
175 border-top: 2px solid $ids-grey-2;
176 }
Akron7e5afce2020-08-25 15:50:19 +0200177
Akrone8235be2016-06-27 11:02:18 +0200178 ul {
Akron7e5afce2020-08-25 15:50:19 +0200179 display: block;
180 font-size: 80%;
Akrone8235be2016-06-27 11:02:18 +0200181 text-align: right;
Akron7e5afce2020-08-25 15:50:19 +0200182 padding: 0;
Akrone8235be2016-06-27 11:02:18 +0200183 margin-top: 0;
Akron7e5afce2020-08-25 15:50:19 +0200184
185 > li {
186 display: inline;
187 &:first-child::after {
188 content: ' | ';
189 }
190 }
Akrone8235be2016-06-27 11:02:18 +0200191 }
192
Akron189b3592016-01-04 20:56:46 +0100193 button {
194 position: absolute;
Akron7e5afce2020-08-25 15:50:19 +0200195 top: 0;
196 right: 0;
Akron189b3592016-01-04 20:56:46 +0100197 &::after {
Akronb9cdb102017-04-25 00:52:31 +0200198 content: $fa-login;
Akron189b3592016-01-04 20:56:46 +0100199 }
200 }
201 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000202
Akron7e5afce2020-08-25 15:50:19 +0200203 // 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 }
Akronb9cdb102017-04-25 00:52:31 +0200210
Akron7e5afce2020-08-25 15:50:19 +0200211 > * {
212 opacity: 0;
213 transition: {
214 property: opacity;
215 duration: .3s;
216 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000217 }
218 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000219
Akron7e5afce2020-08-25 15:50:19 +0200220 &.off::after {
221 display:none;
Nils Diewalda944fab2015-04-08 21:02:04 +0000222 }
223}