From a3f1ef5835fc4cb385091b1e450832d69d1bf983 Mon Sep 17 00:00:00 2001 From: Anna Stakhova Date: Sat, 26 Nov 2016 18:43:02 +0000 Subject: Fix scan clear btn Fix scan clear btn Add upload btn (for future using) Improve navbar right buttons --- interface/css/rspamd.css | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'interface/css') diff --git a/interface/css/rspamd.css b/interface/css/rspamd.css index 5ab6a63e1..be5709a37 100644 --- a/interface/css/rspamd.css +++ b/interface/css/rspamd.css @@ -235,7 +235,6 @@ td.maps-cell { } .spinner { background:url('../img/spinner.gif') no-repeat -100px; - padding-left:25px; } .loading .spinner { background-position:0 50%; @@ -563,3 +562,23 @@ td.maps-cell { .scorebar-ham { background: rgba(100, 230, 80, 0.1) } +/*btn-file for upload file button*/ +.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; +} -- cgit v1.2.3