From a3f1ef5835fc4cb385091b1e450832d69d1bf983 Mon Sep 17 00:00:00 2001 From: Anna Stakhova Date: Sat, 26 Nov 2016 18:43:02 +0000 Subject: [PATCH] Fix scan clear btn Fix scan clear btn Add upload btn (for future using) Improve navbar right buttons --- interface/css/rspamd.css | 21 ++++++++++++++++++++- interface/index.html | 15 +++++++++------ interface/js/rspamd.js | 7 +++---- 3 files changed, 32 insertions(+), 11 deletions(-) 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; +} diff --git a/interface/index.html b/interface/index.html index 69d249cb3..5d9cd24da 100644 --- a/interface/index.html +++ b/interface/index.html @@ -19,10 +19,6 @@ - + @@ -219,8 +219,11 @@
-

-

+ + +