diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/css/style.css | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/public/css/style.css b/public/css/style.css index 7984fe5..4a2acff 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -203,6 +203,29 @@ body { } +/** + * nicer file upload + */ +.btn-file { + position: relative; + overflow: hidden; +} +.btn-file input[type=file] { + position: absolute; + top: 0; + right: 0; + min-width: 100%; + min-height: 100%; + font-size: 100px; + text-align: right; + filter: alpha(opacity=0); + opacity: 0; + outline: none; + background: white; + cursor: inherit; + display: block; +} + .glyphicon-spin { -webkit-animation: spin 1000ms infinite linear; |