From 34bbb37ab46aa030594de920601ac7146d9d77e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 17 Mar 2017 17:12:22 +0100 Subject: [PATCH] add autocomplete support to jqueryui css (#15493) --- gadjo/static/css/_jqueryui.scss | 47 +++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gadjo/static/css/_jqueryui.scss b/gadjo/static/css/_jqueryui.scss index c25b928..542e87b 100644 --- a/gadjo/static/css/_jqueryui.scss +++ b/gadjo/static/css/_jqueryui.scss @@ -2,6 +2,21 @@ body .ui-front { z-index: 1000; } +.ui-helper-hidden { + display: none; +} + +.ui-helper-hidden-accessible { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; +} + .ui-widget-content { border: 1px solid #aaa; background: white; @@ -192,3 +207,35 @@ div.ui-dialog { width: auto; } } + +.ui-tooltip { + display: inline-block; + box-shadow: #666 0px 0px 4px 0px; + z-index: 100000; + div.ui-tooltip-content { + background: white; + padding: 1ex; + } +} + +ul.ui-autocomplete { + position: absolute; + top: 0; + left: 0; + cursor: default; + list-style: none; + margin: 0; + padding: 0; + max-height: 15em; + overflow-y: scroll; + overflow-x: hidden; + li { + margin: 0; + padding: 0 1ex; + position: relative; + min-height: 0; + &:hover { + background: #eee; + } + } +}