diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2018-08-17 20:19:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-17 20:19:17 +0200 |
| commit | d377563723d2917fb7ee38c2f4cbdc4e19fb53ac (patch) | |
| tree | dffd7311f1bf9bba9386101c67f5e03c30a53116 /searx/static/themes/simple/less/search.less | |
| parent | 845ba79e7532dedad2bb96e5d68504b6729bee14 (diff) | |
| parent | 3ba0d0516e5cabce8ebcc9a27c0fe069fa23f52c (diff) | |
Merge pull request #1370 from dalf/simple
simple theme update
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; |