wiki.techinc.nl/resources/jquery/jquery.suggestions.css
Krinkle db8f977526 CSS clean up
* Apply code conventions (mostly whitespace and missing semi-colons)
* Minor other nitpicks
-- '! important' -> '!important'
-- Ucfirst -> lc; for color names and keywords
-- Remove uses of system color keywords (they are deprecated) [1] Most had fixed fallbacks already. Using those now.
-- Remove version query string (foo.png?2), last modified in r66151. Now obsolete with ResourceLoader
-- 0px to 0 where possible
-- Remove commented out css rules and declarations without any comment (debug stuff like /*div{ border:1px solid Red !important;}*/)
-- Remove empty blocks ( .foo { } )

[1] https://developer.mozilla.org/en/CSS/color_value#System_Colors
2011-10-15 23:33:47 +00:00

70 lines
No EOL
1.2 KiB
CSS

/* suggestions plugin */
.suggestions {
overflow: hidden;
position: absolute;
top: 0;
left: 0;
width: 0;
border: none;
z-index: 1099;
padding: 0;
margin: -1px -1px 0 0;
}
/* IGNORED BY IE6 */
html > body .suggestions {
margin: -1px 0 0 0;
}
.suggestions-special {
position: relative;
background-color: white;
font-size: 0.8em;
cursor: pointer;
border: solid 1px #aaaaaa;
padding: 0;
margin: 0;
margin-top: -2px;
display: none;
padding: 0.25em 0.25em;
line-height: 1.25em;
}
.suggestions-results {
background-color: white;
font-size: 0.8em;
cursor: pointer;
border: solid 1px #aaaaaa;
padding: 0;
margin: 0;
}
.suggestions-result {
color: black;
margin: 0;
line-height: 1.5em;
padding: 0.01em 0.25em;
text-align: left;
}
.suggestions-result-current {
background-color: #4C59A6;
color: white;
}
.suggestions-special .special-label {
font-size: 0.8em;
color: gray;
text-align: left;
}
.suggestions-special .special-query {
color: black;
font-style: italic;
text-align: left;
}
.suggestions-special .special-hover {
background-color: silver;
}
.suggestions-result-current .special-label,
.suggestions-result-current .special-query {
color: white;
}
.autoellipsis-matched,
.highlight {
font-weight: bold;
}