Nils Diewald | a297f06 | 2015-04-02 00:23:46 +0000 | [diff] [blame] | 1 | @charset "utf-8"; |
| 2 | @import "util"; |
| 3 | |
| 4 | header { |
| 5 | position: relative; |
| 6 | background-color: $light-green; |
| 7 | @include box-sizing-box(); |
| 8 | padding: 8px; |
| 9 | padding-bottom: 0; |
| 10 | font-size: 10pt; |
| 11 | color: $nearly-white; |
| 12 | // text-shadow: none; |
| 13 | button { |
| 14 | color: $light-green; |
| 15 | background-color: transparent; |
| 16 | border-width: 0; |
| 17 | font-weight: normal; |
| 18 | margin: 0; |
| 19 | padding: 0; |
| 20 | outline: none; |
| 21 | } |
| 22 | span.select, span.location { |
| 23 | cursor: pointer; |
| 24 | font-weight: bold; |
| 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 | content: "\f0dd"; |
| 39 | pointer-events: none; |
| 40 | font-family: FontAwesome; |
| 41 | text-align: center; |
| 42 | background-color: $light-green; |
| 43 | } |
| 44 | } |
| 45 | form { |
| 46 | display: block; |
| 47 | padding-left: 230px; |
| 48 | margin: 0px; |
| 49 | position: relative; |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | |
| 54 | /** |
| 55 | * Temporary hack for language chooser |
| 56 | * http://cssdeck.com/labs/styling-select-box-with-css3 |
| 57 | */ |
| 58 | #ql-field { |
| 59 | cursor: pointer; |
| 60 | margin: 0; |
| 61 | outline: none; |
| 62 | border: none; |
| 63 | display: inline-block; |
| 64 | position: relative; |
| 65 | color: white; |
| 66 | background-color: $light-green; |
| 67 | border-width: 0; |
| 68 | border-radius: 0; |
| 69 | @include no-appearance; |
| 70 | &:checked { |
| 71 | outline: none; |
| 72 | } |
| 73 | > option { |
| 74 | padding: 0pt 2pt; |
| 75 | outline: none; |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | /** |
| 80 | * funny hack for firefox |
| 81 | */ |
| 82 | #ql-field:-moz-focusring { |
| 83 | color: transparent; |
| 84 | text-shadow: 0 0 0 white; |
| 85 | } |