blob: ddcf81153392cb23a4fb0077a5600ba13b9d8f21 [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;
Akron07c720e2016-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;
Akron07c720e2016-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 }
Akron07c720e2016-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
56 ul {
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 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 }
Akron07c720e2016-01-04 20:56:46 +0100134
135 fieldset {
136 position: relative;
137 border-width: 0;
138 input[type=text], input[type=password] {
139 @include input-field;
140 width: 100%;
141 }
142 > form > div {
143 position: relative;
144 width: 100%;
145 margin-top: 4px;
146 padding-right: $button-width
147 }
148
149 button {
150 position: absolute;
151 // height: 100%;
152 top: 0;
153 right: 0;
154 &::after {
155 content: $fa-login;
156 }
157 }
158 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000159}
160
Nils Diewald565db102015-05-06 22:48:43 +0000161aside:focus {
162 transition: all .3s ease-in-out;
163}
Nils Diewalda944fab2015-04-08 21:02:04 +0000164
Nils Diewald565db102015-05-06 22:48:43 +0000165aside.off, aside:not(:focus):not(.active) {
Nils Diewald4347ee92015-05-04 20:32:48 +0000166 margin-left: -1 * ($logo-left-distance - ($standard-margin / 2));
Nils Diewalda944fab2015-04-08 21:02:04 +0000167 &::after {
168 opacity: 1;
169 }
170 > * {
171 opacity: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +0000172 transition: {
173 property: opacity;
174 duration: .3s;
175 }
176 }
177}
178
Nils Diewald565db102015-05-06 22:48:43 +0000179aside.off::after {
180 display:none;
181}
182
Nils Diewalda944fab2015-04-08 21:02:04 +0000183/*
184#sidebar {
185 text-shadow: none;
186 height: 105%;
187 margin-top: -10px;
188 background-color: #496000;
189 left: 0;
190 top: 0;
191 &.active {
192 box-shadow: 2px 2px 5px darken($dark-green, 15%);
193 margin-left: 0px;
194 left: 0;
195 top: 0;
196 }
197 &:not(.active) > i.fa-bars {
198 opacity: 1;
199 cursor: pointer;
200 background-color: #496000;
201 position: fixed;
202 font-size: 16pt;
203 width: 16pt;
204 height: 17pt;
205 padding: 6pt;
206 bottom: 0;
207 left: 0;
208 border-top-right-radius: 5pt;
209 }
210 dl.info {
211 font-size: 9pt;
212 padding: 0 10pt;
213 > dt {
214 font-weight: bold;
215 float: left;
216 }
217 > dd {
218 text-align: right;
219 }
220 }
221}
222*/