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