commit: b5c695c6f525eb692d3e476817b49d2661ba2d25
parent ecd293c8a90f0adef5f3e07f8c99c94a3beae63a
Author: Thomas Pointhuber <thomas.pointhuber@gmx.at>
Date: Wed, 19 Mar 2014 20:26:08 +0100
edit style of autocompleter
Diffstat:
2 files changed, 36 insertions(+), 36 deletions(-)
diff --git a/searx/static/css/style.css b/searx/static/css/style.css
@@ -1,6 +1,6 @@
ul.autocompleter-choices{position:absolute;margin:0;padding:0;list-style:none;border:1px solid #7c7c7c;border-left-color:#c3c3c3;border-right-color:#c3c3c3;border-bottom-color:#ddd;background-color:#fff;text-align:left;font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;z-index:50;background-color:#fff}ul.autocompleter-choices li{position:relative;margin:-2px 0 0 0;padding:.2em 1.5em .2em 1em;display:block;float:none !important;cursor:pointer;font-weight:normal;white-space:nowrap;font-size:1em;line-height:1.5em}ul.autocompleter-choices li.autocompleter-selected{background-color:#444;color:#fff}ul.autocompleter-choices li.autocompleter-selected span.autocompleter-queried{color:#9fcfff}
ul.autocompleter-choices span.autocompleter-queried{display:inline;float:none;font-weight:bold;margin:0;padding:0}
-.autocompleter-loading{background-image:url(images/spinner.gif);background-repeat:no-repeat;background-position:right 50%}
+.autocompleter-loading{background-repeat:no-repeat;background-position:right 50%}
textarea.autocompleter-loading{background-position:right bottom}
html{font-family:sans-serif;font-size:.9em;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;color:#444;padding:0;margin:0}
body,#container{padding:0;margin:0}
diff --git a/searx/static/less/autocompleter.less b/searx/static/less/autocompleter.less
@@ -1,57 +1,57 @@
ul {
&.autocompleter-choices {
- position: absolute;
- margin: 0;
- padding: 0;
- list-style: none;
- border: 1px solid #7c7c7c;
- border-left-color: #c3c3c3;
- border-right-color: #c3c3c3;
- border-bottom-color: #ddd;
- background-color: #fff;
- text-align: left;
- font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
- z-index: 50;
- background-color: #fff;
+ position: absolute;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ border: 1px solid #7c7c7c;
+ border-left-color: #c3c3c3;
+ border-right-color: #c3c3c3;
+ border-bottom-color: #ddd;
+ background-color: #fff;
+ text-align: left;
+ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+ z-index: 50;
+ background-color: #fff;
li {
- position: relative;
- margin: -2px 0 0 0;
- padding: 0.2em 1.5em 0.2em 1em;
- display: block;
- float: none !important;
- cursor: pointer;
- font-weight: normal;
- white-space: nowrap;
- font-size: 1em;
- line-height: 1.5em;
+ position: relative;
+ margin: -2px 0 0 0;
+ padding: 0.2em 1.5em 0.2em 1em;
+ display: block;
+ float: none !important;
+ cursor: pointer;
+ font-weight: normal;
+ white-space: nowrap;
+ font-size: 1em;
+ line-height: 1.5em;
&.autocompleter-selected {
- background-color: #444;
- color: #fff;
+ background-color: #444;
+ color: #fff;
span.autocompleter-queried {
- color: #9FCFFF;
+ color: #9FCFFF;
}
}
}
span.autocompleter-queried {
- display: inline;
- float: none;
- font-weight: bold;
- margin: 0;
- padding: 0;
+ display: inline;
+ float: none;
+ font-weight: bold;
+ margin: 0;
+ padding: 0;
}
}
}
.autocompleter-loading {
- background-image: url(images/spinner.gif);
- background-repeat: no-repeat;
- background-position: right 50%;
+ //background-image: url(images/spinner.gif);
+ background-repeat: no-repeat;
+ background-position: right 50%;
}
textarea.autocompleter-loading {
- background-position: right bottom;
+ background-position: right bottom;
}