Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame^] | 1 | @import "../util"; |
| 2 | |
| 3 | /** |
| 4 | * Temporary hack for language chooser |
| 5 | * http://cssdeck.com/labs/styling-select-box-with-css3 |
| 6 | * This is only active in no-js environment and before the |
| 7 | * javascript is loaded. |
| 8 | */ |
| 9 | #ql-field { |
| 10 | position: relative; |
| 11 | background-color: $light-green; |
| 12 | cursor: pointer; |
| 13 | margin: 0; |
| 14 | outline: none; |
| 15 | border: none; |
| 16 | display: inline-block; |
| 17 | color: white; |
| 18 | border-width: 0; |
| 19 | border-radius: 0; |
| 20 | |
| 21 | // https://css-tricks.com/almanac/properties/a/appearance/ |
| 22 | -webkit-appearance: none; |
| 23 | -moz-appearance: none; |
| 24 | appearance: none; |
| 25 | |
| 26 | &:checked { |
| 27 | outline: none; |
| 28 | } |
| 29 | |
| 30 | > option { |
| 31 | padding: 0pt 2pt; |
| 32 | outline: none; |
| 33 | } |
| 34 | |
| 35 | // funny hack for firefox |
| 36 | &:-moz-focusring { |
| 37 | color: transparent; |
| 38 | text-shadow: 0 0 0 white; |
| 39 | } |
| 40 | } |