diff options
Diffstat (limited to 'searx/static/themes/simple/less/search.less')
-rw-r--r-- | searx/static/themes/simple/less/search.less | 34 |
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; |