summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/less/search.less
diff options
context:
space:
mode:
authorAlex <alex@al-f.net>2018-08-09 16:13:50 +0200
committerAlexandre Flament <alex@al-f.net>2018-08-14 17:21:30 +0200
commit3ba0d0516e5cabce8ebcc9a27c0fe069fa23f52c (patch)
treedffd7311f1bf9bba9386101c67f5e03c30a53116 /searx/static/themes/simple/less/search.less
parent845ba79e7532dedad2bb96e5d68504b6729bee14 (diff)
simple theme update
- npm package update - apply #1226 - implement vim help dialog - display cookies and search URL with preferences - allow to enable / disable Open Access DOI rewrite - add a clear text button on the left of the search button - implement #1011 : the HTML title page is not set when using POST - remove searx/static/themes/simple/img/loader.gif - use full width when only there are only images as result
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;