diff options
author | LiquidLemon <liquidlemon@protonmail.com> | 2018-08-18 17:43:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-18 17:43:29 +0200 |
commit | 425c4d9a1657263e324d9e7cc212a11ceb21db5c (patch) | |
tree | 0621bc5b4383df81ab928a70f1cc3bd9728b8e18 /searx/static/themes/simple/less/search.less | |
parent | 2190e2f35da54d320830aaa03959259bab49356f (diff) | |
parent | d377563723d2917fb7ee38c2f4cbdc4e19fb53ac (diff) | |
download | searxng-425c4d9a1657263e324d9e7cc212a11ceb21db5c.tar.gz searxng-425c4d9a1657263e324d9e7cc212a11ceb21db5c.zip |
Merge branch 'master' into master
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; |