blob: 7c74912080680b53520dd78acdef6bcac2171478 [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;
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 {
Nils Diewalda944fab2015-04-08 21:02:04 +000069 padding: $item-padding;
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000070 }
71 > a:link {
72 @include choose-item;
Nils Diewalda944fab2015-04-08 21:02:04 +000073 border-right: {
74 width: $border-size;
75 style: solid;
76 }
77
78 display: block;
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000079 &:visited {
Nils Diewalda944fab2015-04-08 21:02:04 +000080 color: inherited;
81 }
82 &:hover {
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000083 // color: inherit;
Nils Diewalda944fab2015-04-08 21:02:04 +000084 transition: none;
85 @include choose-hover;
86 }
87 &.active, &:active {
88 @include choose-active;
89 }
90 }
91 h3 {
92 font: {
93 weight: bold;
94 size: 100%;
95 }
96 padding: 0;
97 margin: 0;
98 }
99/*
100 &.active {
101 text-shadow: none;
102 h3 {
103 margin-bottom: 2pt;
104 padding-bottom: 2pt;
105 border-bottom: 1px solid black;
106 }
107 }
108*/
109 > a {
110 padding-left: 6pt;
111 }
112 li > a {
113 padding-left: 18pt;
114 }
115 li li > a {
116 padding-left: 36pt;
117 }
118 }
119 }
120 nav > ul > li > a {
121 font-weight: bold;
122 }
123}
124
125
Nils Diewald7c8ced22015-04-15 19:21:00 +0000126aside:not(:focus):not(.active) {
Nils Diewalda944fab2015-04-08 21:02:04 +0000127 margin-left: -1 * ($logo-left-distance - 15px);
128// box-shadow: none;
129/*
130 overflow-y: hidden;
131 overflow-x: visible;
132*/
133 &::after {
134 opacity: 1;
135 }
136 > * {
137 opacity: 0;
138 // TODO
139 transition: {
140 property: opacity;
141 duration: .3s;
142 }
143 }
144}
145
146/*
147#sidebar {
148 text-shadow: none;
149 height: 105%;
150 margin-top: -10px;
151 background-color: #496000;
152 left: 0;
153 top: 0;
154 &.active {
155 box-shadow: 2px 2px 5px darken($dark-green, 15%);
156 margin-left: 0px;
157 left: 0;
158 top: 0;
159 }
160 &:not(.active) > i.fa-bars {
161 opacity: 1;
162 cursor: pointer;
163 background-color: #496000;
164 position: fixed;
165 font-size: 16pt;
166 width: 16pt;
167 height: 17pt;
168 padding: 6pt;
169 bottom: 0;
170 left: 0;
171 border-top-right-radius: 5pt;
172 }
173 dl.info {
174 font-size: 9pt;
175 padding: 0 10pt;
176 > dt {
177 font-weight: bold;
178 float: left;
179 }
180 > dd {
181 text-align: right;
182 }
183 }
184}
185*/