From 5538972fec7b1ddc3ce33668f8de3a38d8f73823 Mon Sep 17 00:00:00 2001 From: marijus Date: Sat, 9 Nov 2013 15:48:59 +0100 Subject: some style work on searchbar autocomplete --- view/theme/redbasic/css/style.css | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) (limited to 'view') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index a7e8f0717..affb91b39 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -2854,10 +2854,37 @@ div.jGrowl div.info { #recip { } + +/*is this needed?*/ .autocomplete-w1 { background: #ffffff; no-repeat bottom right; position:absolute; top:0px; left:0px; margin:6px 0 0 6px; /* IE6 fix: */ _background:none; _margin:1px 0 0 0; } -.autocomplete { color:#000; border:1px solid #999; background:#FFF; cursor:default; text-align:left; max-height:350px; overflow:auto; margin:-6px 6px 6px -6px; /* IE6 specific: */ _height:350px; _margin:0; _overflow-x:hidden; } -.autocomplete .selected { background:#F0F0F0; } -.autocomplete div { padding:2px 5px; white-space:nowrap; overflow:hidden; } + +.autocomplete { + position: fixed; + top: 24px; + color: $font_colour; + border: 1px solid $nav_bg_1; + border-top: none; + background: #FFF; + cursor: default; + text-align: left; + max-height: 350px; + overflow: auto; + border-bottom-left-radius:$radiuspx; + border-bottom-right-radius:$radiuspx; + /* IE6 specific: */ + _height: 350px; + _margin: 0; + _overflow-x: hidden; +} +.autocomplete .selected { + background:$bgcolour; +} + +.autocomplete div { + padding:2px 5px; + white-space:nowrap; + overflow:hidden; +} #datebrowse-sidebar select { margin-left: 25px; -- cgit v1.2.3