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"; |
| 3 | @import "hint"; // Hint specific menu list |
| 4 | @import "menu"; // Menu list |
| 5 | @import "searchbar"; // The search bar |
| 6 | @import "vc"; // Virtual collection builder |
Nils Diewald | a122862 | 2015-04-25 01:59:10 +0000 | [diff] [blame] | 7 | @import "datepicker"; // Datepicker |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 8 | |
| 9 | header { |
| 10 | position: relative; |
| 11 | background-color: $light-green; |
Nils Diewald | 0e6992a | 2015-04-14 20:13:52 +0000 | [diff] [blame] | 12 | // @include light-noise; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 13 | @include box-sizing-box(); |
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 14 | padding: $base-padding; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 15 | padding-bottom: 0; |
| 16 | font-size: 10pt; |
| 17 | color: $nearly-white; |
| 18 | // text-shadow: none; |
| 19 | button { |
| 20 | color: $light-green; |
| 21 | background-color: transparent; |
| 22 | border-width: 0; |
| 23 | font-weight: normal; |
| 24 | margin: 0; |
| 25 | padding: 0; |
| 26 | outline: none; |
| 27 | } |
Akron | 6bb7158 | 2016-06-10 20:41:08 +0200 | [diff] [blame] | 28 | span.select { /* , #vc-choose, Formally vc.location */ |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 29 | cursor: pointer; |
| 30 | line-height: 1.8em; |
Akron | 1866045 | 2017-11-13 11:06:24 +0100 | [diff] [blame] | 31 | > span { |
| 32 | font-weight: bold; |
| 33 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 34 | border: { |
| 35 | width: 0; |
| 36 | bottom-width: 3px; |
| 37 | style: solid; |
| 38 | color: transparent; |
| 39 | } |
| 40 | display: inline-block; |
| 41 | &:hover { |
| 42 | color: $dark-green; |
| 43 | border-color: $dark-green; |
| 44 | } |
Akron | 37513a6 | 2015-11-17 01:07:11 +0100 | [diff] [blame] | 45 | &.active { |
| 46 | border-color: $dark-orange; |
| 47 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 48 | &::after { |
| 49 | pointer-events: none; |
| 50 | font-family: FontAwesome; |
| 51 | text-align: center; |
| 52 | background-color: $light-green; |
| 53 | } |
| 54 | } |
Akron | 6bb7158 | 2016-06-10 20:41:08 +0200 | [diff] [blame] | 55 | span.select { |
| 56 | &::after { |
| 57 | content: $fa-down; |
| 58 | padding: { |
Akron | 1866045 | 2017-11-13 11:06:24 +0100 | [diff] [blame] | 59 | left: 4pt; |
| 60 | right: 4pt; |
Akron | 6bb7158 | 2016-06-10 20:41:08 +0200 | [diff] [blame] | 61 | } |
| 62 | } |
| 63 | &.active::after { |
| 64 | content: $fa-up; |
| 65 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 66 | } |
| 67 | |
| 68 | form { |
| 69 | padding-left: $logo-left-distance; |
| 70 | min-height: 2.7em; |
| 71 | display: block; |
| 72 | margin: 0px; |
| 73 | position: relative; |
| 74 | } |
Akron | 1120a58 | 2017-10-17 12:29:16 +0200 | [diff] [blame] | 75 | .clear { |
| 76 | clear: both; |
| 77 | } |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 78 | |
| 79 | .button { |
| 80 | &.right { |
| 81 | float: right; |
| 82 | display: inline-block; |
| 83 | } |
| 84 | &.top { |
| 85 | position: absolute; |
| 86 | display: block; |
| 87 | top: 0; |
| 88 | right: 0; |
| 89 | margin-right: 0; |
Nils Diewald | 4347ee9 | 2015-05-04 20:32:48 +0000 | [diff] [blame] | 90 | width: ($standard-margin / 2); |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 91 | background-color: $dark-green; |
| 92 | text-align: center; |
| 93 | height: 100%; |
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 94 | z-index: 20; |
| 95 | > a:hover { |
| 96 | color: $nearly-white |
| 97 | } |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 98 | } |
| 99 | color: $nearly-white; |
| 100 | line-height: 2em; |
| 101 | margin-right: $right-distance; |
| 102 | > a { |
| 103 | color: $nearly-white; |
| 104 | cursor:pointer; |
| 105 | position: relative; |
| 106 | font-size: 120%; |
| 107 | > span { |
| 108 | @include blind; |
| 109 | } |
| 110 | } |
| 111 | > a::after { |
| 112 | font-family: 'FontAwesome'; |
| 113 | } |
| 114 | > a.tutorial::after { |
| 115 | content: $fa-tutorial; |
| 116 | } |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 117 | > a.question::after { |
| 118 | content: $fa-question; |
| 119 | } |
| 120 | > a.login::after { |
| 121 | content: $fa-login; |
| 122 | } |
Akron | e5ef4e0 | 2017-04-19 17:07:52 +0200 | [diff] [blame] | 123 | > a.logout::after { |
| 124 | content: $fa-logout; |
| 125 | } |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 126 | } |
Nils Diewald | fccfbcb | 2015-04-29 20:48:19 +0000 | [diff] [blame] | 127 | |
| 128 | #vc-view > div { |
| 129 | margin: 1.3em 0 .5em 0; |
| 130 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 131 | } |
| 132 | |
| 133 | |
| 134 | /** |
| 135 | * Temporary hack for language chooser |
| 136 | * http://cssdeck.com/labs/styling-select-box-with-css3 |
| 137 | */ |
| 138 | #ql-field { |
| 139 | cursor: pointer; |
| 140 | margin: 0; |
| 141 | outline: none; |
| 142 | border: none; |
| 143 | display: inline-block; |
| 144 | position: relative; |
| 145 | color: white; |
| 146 | background-color: $light-green; |
| 147 | border-width: 0; |
| 148 | border-radius: 0; |
| 149 | @include no-appearance; |
| 150 | &:checked { |
| 151 | outline: none; |
| 152 | } |
| 153 | > option { |
| 154 | padding: 0pt 2pt; |
| 155 | outline: none; |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | /** |
| 160 | * funny hack for firefox |
| 161 | */ |
| 162 | #ql-field:-moz-focusring { |
| 163 | color: transparent; |
| 164 | text-shadow: 0 0 0 white; |
| 165 | } |