From a65ff953f5dbcaa8974e17d09c877d63458c63ce Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 16 May 2014 09:18:31 +0200 Subject: [PATCH] add css for new file upload chooser --- styles/bootstrap/application.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/styles/bootstrap/application.css b/styles/bootstrap/application.css index 4f76e1b05..f65228e31 100644 --- a/styles/bootstrap/application.css +++ b/styles/bootstrap/application.css @@ -43,6 +43,29 @@ ul.tree, ul.tree ul { margin-left: 20px; } +.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: 999px; + text-align: right; + filter: alpha(opacity=0); + opacity: 0; + background: red; + cursor: inherit; + display: block; +} +input[readonly] { + background-color: white !important; + cursor: text !important; +} + @media (max-width: 480px) { .nav-tabs > li { float:none;