blob: 3adc1b45aa535a4069e35deb0d46a82a7bb56250 [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001@charset "utf-8";
2@import "util";
3
4$border-size: 2px;
5
Nils Diewald7c8ced22015-04-15 19:21:00 +00006aside {
Nils Diewalda944fab2015-04-08 21:02:04 +00007 // box-shadow: 2px 2px 5px darken($dark-green, 15%);
8 // box-shadow: $choose-box-shadow;
9 outline: none;
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%;
19 padding-top: 80px;
20 transition: all .3s ease-in-out;
21 > div {
22 overflow-y: auto;
23 overflow-x: visible;
24 max-height: 100%;
25 }
26 > * {
27 opacity: 1;
28 }
29 &::after {
30 display: block;
31 opacity: 0;
32 cursor: pointer;
33 position: absolute;
34 right: 0;
35 bottom: 0;
36 margin-right: -30px;
37 background-color: $dark-green;
Nils Diewald2488d052015-04-09 21:46:02 +000038 font-family: FontAwesome;
39 content: $fa-bars;
Nils Diewalda944fab2015-04-08 21:02:04 +000040 font-size: 16pt;
41 width: 16pt;
42 height: 17pt;
43 padding: 6pt;
44 border-top-right-radius: $standard-border-radius;
45 }
46 h2 {
47 font: {
48 size: 100%;
49 weight: bold;
50 }
51 line-height: 2em;
52 text-align: center;
53 padding: 0;
54 margin: 0;
55 }
56
57 ul {
58 list-style-type: none;
59/*
60 background-color: $light-green;
61*/
62 margin: 0;
63 font-size: 10pt;
64 text-indent: 0;
65 padding: 0;
66 li {
67 padding: 0;
68 > a {
69 @include choose-item;
70 padding: $item-padding;
71
72 border-right: {
73 width: $border-size;
74 style: solid;
75 }
76
77 display: block;
78 &:link, &:visited {
79 color: inherited;
80 }
81 &:hover {
82 color: inherit;
83 transition: none;
84 @include choose-hover;
85 }
86 &.active, &:active {
87 @include choose-active;
88 }
89 }
90 h3 {
91 font: {
92 weight: bold;
93 size: 100%;
94 }
95 padding: 0;
96 margin: 0;
97 }
98/*
99 &.active {
100 text-shadow: none;
101 h3 {
102 margin-bottom: 2pt;
103 padding-bottom: 2pt;
104 border-bottom: 1px solid black;
105 }
106 }
107*/
108 > a {
109 padding-left: 6pt;
110 }
111 li > a {
112 padding-left: 18pt;
113 }
114 li li > a {
115 padding-left: 36pt;
116 }
117 }
118 }
119 nav > ul > li > a {
120 font-weight: bold;
121 }
122}
123
124
Nils Diewald7c8ced22015-04-15 19:21:00 +0000125aside:not(:focus):not(.active) {
Nils Diewalda944fab2015-04-08 21:02:04 +0000126 margin-left: -1 * ($logo-left-distance - 15px);
127// box-shadow: none;
128/*
129 overflow-y: hidden;
130 overflow-x: visible;
131*/
132 &::after {
133 opacity: 1;
134 }
135 > * {
136 opacity: 0;
137 // TODO
138 transition: {
139 property: opacity;
140 duration: .3s;
141 }
142 }
143}
144
145/*
146#sidebar {
147 text-shadow: none;
148 height: 105%;
149 margin-top: -10px;
150 background-color: #496000;
151 left: 0;
152 top: 0;
153 &.active {
154 box-shadow: 2px 2px 5px darken($dark-green, 15%);
155 margin-left: 0px;
156 left: 0;
157 top: 0;
158 }
159 &:not(.active) > i.fa-bars {
160 opacity: 1;
161 cursor: pointer;
162 background-color: #496000;
163 position: fixed;
164 font-size: 16pt;
165 width: 16pt;
166 height: 17pt;
167 padding: 6pt;
168 bottom: 0;
169 left: 0;
170 border-top-right-radius: 5pt;
171 }
172 dl.info {
173 font-size: 9pt;
174 padding: 0 10pt;
175 > dt {
176 font-weight: bold;
177 float: left;
178 }
179 > dd {
180 text-align: right;
181 }
182 }
183}
184*/