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 | |
4 | $border-size: 2px; | ||||
Akron | 07c720e | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 5 | $right-padding: 60px; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 6 | |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 7 | aside { |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 8 | outline: none; |
Akron | 07c720e | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 9 | font-size: 10pt; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 10 | 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 Diewald | 61e6ff5 | 2015-05-07 17:26:50 +0000 | [diff] [blame] | 19 | padding-top: 65px; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 20 | > 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 Diewald | 4347ee9 | 2015-05-04 20:32:48 +0000 | [diff] [blame] | 35 | margin-right: -1 * ($standard-margin / 2); |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 36 | background-color: $dark-green; |
Nils Diewald | 2488d05 | 2015-04-09 21:46:02 +0000 | [diff] [blame] | 37 | font-family: FontAwesome; |
38 | content: $fa-bars; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 39 | font-size: 16pt; |
40 | width: 16pt; | ||||
41 | height: 17pt; | ||||
42 | padding: 6pt; | ||||
43 | border-top-right-radius: $standard-border-radius; | ||||
44 | } | ||||
Akron | 07c720e | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 45 | h2, legend { |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 46 | font: { |
47 | size: 100%; | ||||
48 | weight: bold; | ||||
49 | } | ||||
50 | line-height: 2em; | ||||
51 | text-align: center; | ||||
52 | padding: 0; | ||||
53 | margin: 0; | ||||
54 | } | ||||
55 | |||||
Akron | 778f96c | 2016-06-27 11:02:18 +0200 | [diff] [blame^] | 56 | ul.nav { |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 57 | 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 Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 68 | padding: $item-padding; |
Akron | b1e49c8 | 2015-05-28 19:49:52 +0200 | [diff] [blame] | 69 | &:visited { |
70 | @include choose-item; | ||||
71 | } | ||||
72 | |||||
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 73 | } |
Nils Diewald | a31a515 | 2015-04-17 21:05:23 +0000 | [diff] [blame] | 74 | |
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 Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 88 | > a:link { |
89 | @include choose-item; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 90 | border-right: { |
91 | width: $border-size; | ||||
92 | style: solid; | ||||
93 | } | ||||
94 | |||||
95 | display: block; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 96 | &:hover { |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 97 | // color: inherit; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 98 | transition: none; |
99 | @include choose-hover; | ||||
100 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 101 | } |
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 | } | ||||
Akron | 07c720e | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 134 | |
135 | fieldset { | ||||
136 | position: relative; | ||||
137 | border-width: 0; | ||||
Akron | 778f96c | 2016-06-27 11:02:18 +0200 | [diff] [blame^] | 138 | legend { |
139 | display: none; | ||||
140 | } | ||||
141 | |||||
Akron | 07c720e | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 142 | input[type=text], input[type=password] { |
143 | @include input-field; | ||||
144 | width: 100%; | ||||
145 | } | ||||
Akron | 778f96c | 2016-06-27 11:02:18 +0200 | [diff] [blame^] | 146 | |
Akron | 07c720e | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 147 | > form > div { |
148 | position: relative; | ||||
149 | width: 100%; | ||||
150 | margin-top: 4px; | ||||
151 | padding-right: $button-width | ||||
152 | } | ||||
153 | |||||
Akron | 778f96c | 2016-06-27 11:02:18 +0200 | [diff] [blame^] | 154 | 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 | |||||
Akron | 07c720e | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 168 | button { |
169 | position: absolute; | ||||
170 | // height: 100%; | ||||
171 | top: 0; | ||||
172 | right: 0; | ||||
173 | &::after { | ||||
174 | content: $fa-login; | ||||
175 | } | ||||
176 | } | ||||
177 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 178 | } |
179 | |||||
Nils Diewald | 565db10 | 2015-05-06 22:48:43 +0000 | [diff] [blame] | 180 | aside:focus { |
181 | transition: all .3s ease-in-out; | ||||
182 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 183 | |
Nils Diewald | 565db10 | 2015-05-06 22:48:43 +0000 | [diff] [blame] | 184 | aside.off, aside:not(:focus):not(.active) { |
Nils Diewald | 4347ee9 | 2015-05-04 20:32:48 +0000 | [diff] [blame] | 185 | margin-left: -1 * ($logo-left-distance - ($standard-margin / 2)); |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 186 | &::after { |
187 | opacity: 1; | ||||
188 | } | ||||
189 | > * { | ||||
190 | opacity: 0; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 191 | transition: { |
192 | property: opacity; | ||||
193 | duration: .3s; | ||||
194 | } | ||||
195 | } | ||||
196 | } | ||||
197 | |||||
Nils Diewald | 565db10 | 2015-05-06 22:48:43 +0000 | [diff] [blame] | 198 | aside.off::after { |
199 | display:none; | ||||
200 | } | ||||
201 | |||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 202 | /* |
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 | */ |