diff options
| author | Pascal Szewczyk <ps@elektrowecker.de> | 2016-07-18 23:23:54 +0200 |
|---|---|---|
| committer | Pascal Szewczyk <ps@elektrowecker.de> | 2016-07-18 23:23:54 +0200 |
| commit | c94fb32c7a3c28b18a27460aa2447eeec1fac1de (patch) | |
| tree | e3bb35d57f90256698135c722eadeb784b47992c /css/components/form-select.almost-flat.css | |
| parent | 89685742de42cb8e54ebdbaf7a207cfe16fa62b8 (diff) | |
uikit added
Diffstat (limited to 'css/components/form-select.almost-flat.css')
| -rwxr-xr-x | css/components/form-select.almost-flat.css | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/css/components/form-select.almost-flat.css b/css/components/form-select.almost-flat.css new file mode 100755 index 0000000..cfdf373 --- /dev/null +++ b/css/components/form-select.almost-flat.css | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Form select | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Behave like form elements | ||
| 7 | * 2. Create position context for dropdowns | ||
| 8 | * 3. Clip content | ||
| 9 | */ | ||
| 10 | .uk-form-select { | ||
| 11 | /* 1 */ | ||
| 12 | display: inline-block; | ||
| 13 | vertical-align: middle; | ||
| 14 | /* 2 */ | ||
| 15 | position: relative; | ||
| 16 | /* 3 */ | ||
| 17 | overflow: hidden; | ||
| 18 | } | ||
| 19 | /* | ||
| 20 | * 1. Required for Firefox | ||
| 21 | * 1. Required for Webkit to make `height` work | ||
| 22 | */ | ||
| 23 | .uk-form-select select { | ||
| 24 | position: absolute; | ||
| 25 | top: 0; | ||
| 26 | z-index: 1; | ||
| 27 | width: 100%; | ||
| 28 | height: 100%; | ||
| 29 | opacity: 0; | ||
| 30 | cursor: pointer; | ||
| 31 | /* 1 */ | ||
| 32 | left: 0; | ||
| 33 | /* 2 */ | ||
| 34 | -webkit-appearance: none; | ||
| 35 | } | ||
