diff options
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 | } | ||