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