| 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 | 189b359 | 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 | 189b359 | 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 | 189b359 | 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 | |||||
| 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 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 | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 134 | |
| 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 Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 159 | } |
| 160 | |||||
| Nils Diewald | 565db10 | 2015-05-06 22:48:43 +0000 | [diff] [blame] | 161 | aside:focus { |
| 162 | transition: all .3s ease-in-out; | ||||
| 163 | } | ||||
| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 164 | |
| Nils Diewald | 565db10 | 2015-05-06 22:48:43 +0000 | [diff] [blame] | 165 | aside.off, aside:not(:focus):not(.active) { |
| Nils Diewald | 4347ee9 | 2015-05-04 20:32:48 +0000 | [diff] [blame] | 166 | margin-left: -1 * ($logo-left-distance - ($standard-margin / 2)); |
| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 167 | &::after { |
| 168 | opacity: 1; | ||||
| 169 | } | ||||
| 170 | > * { | ||||
| 171 | opacity: 0; | ||||
| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 172 | transition: { |
| 173 | property: opacity; | ||||
| 174 | duration: .3s; | ||||
| 175 | } | ||||
| 176 | } | ||||
| 177 | } | ||||
| 178 | |||||
| Nils Diewald | 565db10 | 2015-05-06 22:48:43 +0000 | [diff] [blame] | 179 | aside.off::after { |
| 180 | display:none; | ||||
| 181 | } | ||||
| 182 | |||||
| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 183 | /* |
| 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 | */ | ||||