summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/less/search.less
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2018-08-19 13:22:22 +0200
committerGitHub <noreply@github.com>2018-08-19 13:22:22 +0200
commitb75f1b6cc39a94989a74d52eb0f1267c3e3c665e (patch)
treed3bab81ca2071196b1b4223d6d2db7d408b79bf2 /searx/static/themes/simple/less/search.less
parente7f7eda18cc69287f30c512a98b4e90453bcd8e7 (diff)
parent931c1bb0f663bc13998f5a78ae7cd9485d37453c (diff)
Merge branch 'master' into patch-2
Diffstat (limited to 'searx/static/themes/simple/less/search.less')
-rw-r--r--searx/static/themes/simple/less/search.less34
1 files changed, 33 insertions, 1 deletions
diff --git a/searx/static/themes/simple/less/search.less b/searx/static/themes/simple/less/search.less
index beeac3e8a..dbcfc932e 100644
--- a/searx/static/themes/simple/less/search.less
+++ b/searx/static/themes/simple/less/search.less
@@ -26,11 +26,43 @@
*/
}
+#clear_search {
+ display: block;
+ border-collapse: separate;
+ box-sizing: border-box;
+ width: 1.8em;
+
+ margin: 0;
+ padding: 2px;
+ height: 2.2em;
+ background: none repeat scroll 0 0 @color-search-background;
+ border-top: 1px solid @color-search-border;
+ border-bottom: 1px solid @color-search-border;
+ border-right: none;
+ border-left: none;
+ border-radius: 0px;
+ outline: none;
+ color: @color-search-font;
+ font-size: 16px;
+ z-index: 10000;
+
+ &:hover {
+ color: @color-search-border;
+ }
+
+ &.empty * {
+ display: none;
+ }
+}
+
+#q::-ms-clear, #q::-webkit-search-cancel-button {
+ display: none;
+}
+
#q, #send_search {
display: block !important;
border-collapse: separate;
box-sizing: border-box;
- position: relative;
margin: 0;
padding: 2px;