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; |
| 7 | // background-color: $ids-grey-1; |
| 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 { |
| 45 | content: "\f0dd"; |
| 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 | } |
| 55 | } |
| 56 | |
| 57 | |
| 58 | /** |
| 59 | * Temporary hack for language chooser |
| 60 | * http://cssdeck.com/labs/styling-select-box-with-css3 |
| 61 | */ |
| 62 | #ql-field { |
| 63 | cursor: pointer; |
| 64 | margin: 0; |
| 65 | outline: none; |
| 66 | border: none; |
| 67 | display: inline-block; |
| 68 | position: relative; |
| 69 | color: white; |
| 70 | background-color: $light-green; |
| 71 | border-width: 0; |
| 72 | border-radius: 0; |
| 73 | @include no-appearance; |
| 74 | &:checked { |
| 75 | outline: none; |
| 76 | } |
| 77 | > option { |
| 78 | padding: 0pt 2pt; |
| 79 | outline: none; |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | /** |
| 84 | * funny hack for firefox |
| 85 | */ |
| 86 | #ql-field:-moz-focusring { |
| 87 | color: transparent; |
| 88 | text-shadow: 0 0 0 white; |
| 89 | } |