Explorar o código

HUE-274. Add a filter for autocompletion

* re-adding css styles which were inadvertently reverted by 7a28bd7695b33efbd111e6f663b3a2acf211eb75
Aaron Newton %!s(int64=15) %!d(string=hai) anos
pai
achega
9bb7a882f9
Modificáronse 1 ficheiros con 50 adicións e 0 borrados
  1. 50 0
      desktop/core/static/css/shared.css

+ 50 - 0
desktop/core/static/css/shared.css

@@ -843,3 +843,53 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 
 /* @end CSS Components */
+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: 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;
+}
+
+ul.autocompleter-choices li.autocompleter-selected
+{
+	background-color: #444;
+	color: #fff;
+}
+
+ul.autocompleter-choices span.autocompleter-queried
+{
+	display: inline;
+	float: none;
+	font-weight: bold;
+	margin: 0;
+	padding: 0;
+}
+
+ul.autocompleter-choices li.autocompleter-selected span.autocompleter-queried
+{
+	color: #9FCFFF;
+}