diff options
Diffstat (limited to 'css/components/form-file.almost-flat.css')
| -rwxr-xr-x | css/components/form-file.almost-flat.css | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/css/components/form-file.almost-flat.css b/css/components/form-file.almost-flat.css new file mode 100755 index 0000000..59e4c18 --- /dev/null +++ b/css/components/form-file.almost-flat.css | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Form file | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Behave like form elements | ||
| 7 | * 2. Create position context for dropdowns | ||
| 8 | * 3. Clip content | ||
| 9 | */ | ||
| 10 | .uk-form-file { | ||
| 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 | * 2. Expand height and required for the cursor | ||
| 22 | */ | ||
| 23 | .uk-form-file input[type="file"] { | ||
| 24 | position: absolute; | ||
| 25 | top: 0; | ||
| 26 | z-index: 1; | ||
| 27 | width: 100%; | ||
| 28 | opacity: 0; | ||
| 29 | cursor: pointer; | ||
| 30 | /* 1 */ | ||
| 31 | left: 0; | ||
| 32 | /* 2 */ | ||
| 33 | font-size: 500px; | ||
| 34 | } | ||
