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