blob: 665f222b0ee32d9ef92366b7382910f14f2a498a [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
4$border-size: 2px;
Akron189b3592016-01-04 20:56:46 +01005$right-padding: 60px;
Nils Diewalda944fab2015-04-08 21:02:04 +00006
Nils Diewald7c8ced22015-04-15 19:21:00 +00007aside {
Nils Diewalda944fab2015-04-08 21:02:04 +00008 outline: none;
Akron189b3592016-01-04 20:56:46 +01009 font-size: 10pt;
Nils Diewalda944fab2015-04-08 21:02:04 +000010 display: block;
11 background-color: $dark-green;
12 position: fixed;
13 z-index: 7100;
14 color: $nearly-white;
15 width: $logo-left-distance;
16 top: 0;
17 left: 0;
18 height: 100%;
Nils Diewald61e6ff52015-05-07 17:26:50 +000019 padding-top: 65px;
Nils Diewalda944fab2015-04-08 21:02:04 +000020 > div {
21 overflow-y: auto;
22 overflow-x: visible;
23 max-height: 100%;
24 }
25 > * {
26 opacity: 1;
27 }
28 &::after {
29 display: block;
30 opacity: 0;
31 cursor: pointer;
32 position: absolute;
33 right: 0;
34 bottom: 0;
Nils Diewald4347ee92015-05-04 20:32:48 +000035 margin-right: -1 * ($standard-margin / 2);
Nils Diewalda944fab2015-04-08 21:02:04 +000036 background-color: $dark-green;
Nils Diewald2488d052015-04-09 21:46:02 +000037 font-family: FontAwesome;
38 content: $fa-bars;
Nils Diewalda944fab2015-04-08 21:02:04 +000039 font-size: 16pt;
40 width: 16pt;
41 height: 17pt;
42 padding: 6pt;
43 border-top-right-radius: $standard-border-radius;
44 }
Akron189b3592016-01-04 20:56:46 +010045 h2, legend {
Nils Diewalda944fab2015-04-08 21:02:04 +000046 font: {
47 size: 100%;
48 weight: bold;
49 }
50 line-height: 2em;
51 text-align: center;
52 padding: 0;
53 margin: 0;
54 }
55
Akrone8235be2016-06-27 11:02:18 +020056 ul.nav {
Nils Diewalda944fab2015-04-08 21:02:04 +000057 list-style-type: none;
58/*
59 background-color: $light-green;
60*/
61 margin: 0;
62 font-size: 10pt;
63 text-indent: 0;
64 padding: 0;
65 li {
66 padding: 0;
67 > a {
Nils Diewalda944fab2015-04-08 21:02:04 +000068 padding: $item-padding;
Akronb1e49c82015-05-28 19:49:52 +020069 &:visited {
70 @include choose-item;
71 }
72
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000073 }
Nils Diewalda31a5152015-04-17 21:05:23 +000074
75 li.folded {
76 &.active ul {
77 display: block;
78 }
79 ul {
80 display: none;
81 }
82 }
83
84 &.active > a:link {
85 @include choose-active;
86 }
87
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000088 > a:link {
89 @include choose-item;
Nils Diewalda944fab2015-04-08 21:02:04 +000090 border-right: {
91 width: $border-size;
92 style: solid;
93 }
94
95 display: block;
Nils Diewalda944fab2015-04-08 21:02:04 +000096 &:hover {
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000097 // color: inherit;
Nils Diewalda944fab2015-04-08 21:02:04 +000098 transition: none;
99 @include choose-hover;
100 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000101 }
102 h3 {
103 font: {
104 weight: bold;
105 size: 100%;
106 }
107 padding: 0;
108 margin: 0;
109 }
110/*
111 &.active {
112 text-shadow: none;
113 h3 {
114 margin-bottom: 2pt;
115 padding-bottom: 2pt;
116 border-bottom: 1px solid black;
117 }
118 }
119*/
120 > a {
121 padding-left: 6pt;
122 }
123 li > a {
124 padding-left: 18pt;
125 }
126 li li > a {
127 padding-left: 36pt;
128 }
129 }
130 }
131 nav > ul > li > a {
132 font-weight: bold;
133 }
Akron189b3592016-01-04 20:56:46 +0100134
135 fieldset {
136 position: relative;
137 border-width: 0;
Akrone8235be2016-06-27 11:02:18 +0200138 legend {
139 display: none;
140 }
141
Akron189b3592016-01-04 20:56:46 +0100142 input[type=text], input[type=password] {
143 @include input-field;
144 width: 100%;
145 }
Akrone8235be2016-06-27 11:02:18 +0200146
Akron189b3592016-01-04 20:56:46 +0100147 > form > div {
148 position: relative;
149 width: 100%;
150 margin-top: 4px;
151 padding-right: $button-width
152 }
153
Akrone8235be2016-06-27 11:02:18 +0200154 ul {
155 display: block;
156 font-size: 80%;
157 text-align: right;
158 > li {
159 display: inline;
160 &:first-child::after {
161 content: ' | ';
162 }
163 }
164 padding: 0;
165 margin-top: 0;
166 }
167
Akron189b3592016-01-04 20:56:46 +0100168 button {
169 position: absolute;
170 // height: 100%;
171 top: 0;
172 right: 0;
173 &::after {
174 content: $fa-login;
175 }
176 }
177 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000178}
179
Nils Diewald565db102015-05-06 22:48:43 +0000180aside:focus {
181 transition: all .3s ease-in-out;
182}
Nils Diewalda944fab2015-04-08 21:02:04 +0000183
Nils Diewald565db102015-05-06 22:48:43 +0000184aside.off, aside:not(:focus):not(.active) {
Nils Diewald4347ee92015-05-04 20:32:48 +0000185 margin-left: -1 * ($logo-left-distance - ($standard-margin / 2));
Nils Diewalda944fab2015-04-08 21:02:04 +0000186 &::after {
187 opacity: 1;
188 }
189 > * {
190 opacity: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +0000191 transition: {
192 property: opacity;
193 duration: .3s;
194 }
195 }
196}
197
Nils Diewald565db102015-05-06 22:48:43 +0000198aside.off::after {
199 display:none;
200}
201
Nils Diewalda944fab2015-04-08 21:02:04 +0000202/*
203#sidebar {
204 text-shadow: none;
205 height: 105%;
206 margin-top: -10px;
207 background-color: #496000;
208 left: 0;
209 top: 0;
210 &.active {
211 box-shadow: 2px 2px 5px darken($dark-green, 15%);
212 margin-left: 0px;
213 left: 0;
214 top: 0;
215 }
216 &:not(.active) > i.fa-bars {
217 opacity: 1;
218 cursor: pointer;
219 background-color: #496000;
220 position: fixed;
221 font-size: 16pt;
222 width: 16pt;
223 height: 17pt;
224 padding: 6pt;
225 bottom: 0;
226 left: 0;
227 border-top-right-radius: 5pt;
228 }
229 dl.info {
230 font-size: 9pt;
231 padding: 0 10pt;
232 > dt {
233 font-weight: bold;
234 float: left;
235 }
236 > dd {
237 text-align: right;
238 }
239 }
240}
241*/