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 | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 7 | |
| 8 | header { |
| 9 | position: relative; |
| 10 | background-color: $light-green; |
Nils Diewald | 0e6992a | 2015-04-14 20:13:52 +0000 | [diff] [blame] | 11 | // @include light-noise; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 12 | @include box-sizing-box(); |
| 13 | padding: 8px; |
| 14 | padding-bottom: 0; |
| 15 | font-size: 10pt; |
| 16 | color: $nearly-white; |
| 17 | // text-shadow: none; |
| 18 | button { |
| 19 | color: $light-green; |
| 20 | background-color: transparent; |
| 21 | border-width: 0; |
| 22 | font-weight: normal; |
| 23 | margin: 0; |
| 24 | padding: 0; |
| 25 | outline: none; |
| 26 | } |
| 27 | span.select, #vc-choose { /* Formally vc.location */ |
| 28 | cursor: pointer; |
| 29 | line-height: 1.8em; |
| 30 | border: { |
| 31 | width: 0; |
| 32 | bottom-width: 3px; |
| 33 | style: solid; |
| 34 | color: transparent; |
| 35 | } |
| 36 | display: inline-block; |
| 37 | &:hover { |
| 38 | color: $dark-green; |
| 39 | border-color: $dark-green; |
| 40 | } |
| 41 | &::after { |
| 42 | pointer-events: none; |
| 43 | font-family: FontAwesome; |
| 44 | text-align: center; |
| 45 | background-color: $light-green; |
| 46 | } |
| 47 | } |
| 48 | span.select::after { |
Nils Diewald | 2488d05 | 2015-04-09 21:46:02 +0000 | [diff] [blame] | 49 | content: $fa-down; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 50 | } |
| 51 | |
| 52 | form { |
| 53 | padding-left: $logo-left-distance; |
| 54 | min-height: 2.7em; |
| 55 | display: block; |
| 56 | margin: 0px; |
| 57 | position: relative; |
| 58 | } |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 59 | |
| 60 | .button { |
| 61 | &.right { |
| 62 | float: right; |
| 63 | display: inline-block; |
| 64 | } |
| 65 | &.top { |
| 66 | position: absolute; |
| 67 | display: block; |
| 68 | top: 0; |
| 69 | right: 0; |
| 70 | margin-right: 0; |
| 71 | width: 22px; |
| 72 | background-color: $dark-green; |
| 73 | text-align: center; |
| 74 | height: 100%; |
| 75 | } |
| 76 | color: $nearly-white; |
| 77 | line-height: 2em; |
| 78 | margin-right: $right-distance; |
| 79 | > a { |
| 80 | color: $nearly-white; |
| 81 | cursor:pointer; |
| 82 | position: relative; |
| 83 | font-size: 120%; |
| 84 | > span { |
| 85 | @include blind; |
| 86 | } |
| 87 | } |
| 88 | > a::after { |
| 89 | font-family: 'FontAwesome'; |
| 90 | } |
| 91 | > a.tutorial::after { |
| 92 | content: $fa-tutorial; |
| 93 | } |
| 94 | > a.align.left::after { |
| 95 | content: $fa-left-align; |
| 96 | } |
| 97 | > a.align.right::after { |
| 98 | content: $fa-right-align; |
| 99 | } |
| 100 | > a.question::after { |
| 101 | content: $fa-question; |
| 102 | } |
| 103 | > a.login::after { |
| 104 | content: $fa-login; |
| 105 | } |
| 106 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 107 | } |
| 108 | |
| 109 | |
| 110 | /** |
| 111 | * Temporary hack for language chooser |
| 112 | * http://cssdeck.com/labs/styling-select-box-with-css3 |
| 113 | */ |
| 114 | #ql-field { |
| 115 | cursor: pointer; |
| 116 | margin: 0; |
| 117 | outline: none; |
| 118 | border: none; |
| 119 | display: inline-block; |
| 120 | position: relative; |
| 121 | color: white; |
| 122 | background-color: $light-green; |
| 123 | border-width: 0; |
| 124 | border-radius: 0; |
| 125 | @include no-appearance; |
| 126 | &:checked { |
| 127 | outline: none; |
| 128 | } |
| 129 | > option { |
| 130 | padding: 0pt 2pt; |
| 131 | outline: none; |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | /** |
| 136 | * funny hack for firefox |
| 137 | */ |
| 138 | #ql-field:-moz-focusring { |
| 139 | color: transparent; |
| 140 | text-shadow: 0 0 0 white; |
| 141 | } |