diff options
Diffstat (limited to 'WebContent/ITMILL/themes/base/select/select.css')
-rw-r--r-- | WebContent/ITMILL/themes/base/select/select.css | 175 |
1 files changed, 86 insertions, 89 deletions
diff --git a/WebContent/ITMILL/themes/base/select/select.css b/WebContent/ITMILL/themes/base/select/select.css index 069296b104..6935d572ab 100644 --- a/WebContent/ITMILL/themes/base/select/select.css +++ b/WebContent/ITMILL/themes/base/select/select.css @@ -1,137 +1,134 @@ .i-select { - text-align: left /* Force default alignment */
-}
-
-.i-select-optiongroup .i-select-option {
- display: block;
+ text-align: left; +} +.i-select-optiongroup .i-select-option { + display: block; white-space: nowrap; } - .i-ie .i-select-optiongroup .i-select-option { zoom: 1; } -
-.i-select-select {
- display: block;
-}
-
-/* Twincol style */
-.i-select-twincol {
- white-space: nowrap;
-}
-.i-select-twincol-options {
- float: left;
-}
-.i-select-twincol-selections {
- font-weight: bold;
-}
-
-.i-select-twincol-buttons {
- float: left;
- padding: 2px; /* does not work in first render in FF ? */
- text-align: center;
-}
-
-.i-select-twincol-buttons .i-select-twincol-deco {
- clear:both;
-}
-
-.i-select-twincol .i-textfield {
- display: block;
- float: left;
- clear: left;
-}
-
-.i-select-twincol .i-button {
- display: block;
- float: left;
-}
-
-.i-select-twincol-buttons .i-button {
- display: inline;
- float: none;
+.i-select-select { + display: block; +} +.i-select-twincol { + white-space: nowrap; +} +.i-select-twincol-options { + float: left; +} +.i-select-twincol-selections { + font-weight: bold; +} +.i-select-twincol-buttons { + float: left; + text-align: center; +} +.i-select-twincol-buttons .i-select-twincol-deco { + clear: both; +} +.i-select-twincol .i-textfield { + display: block; + float: left; + clear: left; +} +.i-select-twincol .i-button { + display: block; + float: left; +} +.i-select-twincol-buttons .i-button { + display: inline; + float: none; } - -/** Filterselect aka ComboBox styles */ - .i-filterselect { white-space: nowrap; - text-align: left /* Force default alignment */ + text-align: left; } - -.i-filterselect-input { +.i-filterselect .i-icon { float: left; - margin: 0; } - +.i-app .i-filterselect-input, +.i-window .i-filterselect-input, +.i-popupview-popup .i-filterselect-input { + float: left; +} +.i-filterselect-prompt .i-filterselect-input { + color: #999; + font-style: italic; +} .i-filterselect-button { float: right; - width: 1em; - height: 1em; cursor: pointer; - background: #ddd; } - +.i-filterselect.i-readonly .i-filterselect-button { + display: none; +} .i-filterselect-suggestpopup { - background: #eee; - border: 1px solid #ddd; + background: #fff; + border: 1px solid #eee; } - .i-filterselect-suggestmenu table { border-collapse: collapse; border: none; - padding: 0; - margin: 0; } - .i-filterselect-suggestmenu .gwt-MenuItem { - cursor: pointer; - height: 1em; white-space: nowrap; } - +.i-filterselect-suggestmenu .gwt-MenuItem .i-icon { + margin-right: 3px; + vertical-align: middle; +} +.i-filterselect-suggestmenu .gwt-MenuItem span { + vertical-align: middle; +} .i-filterselect-suggestmenu .gwt-MenuItem-selected { - background: #999; + background: #333; color: #fff; } - .i-filterselect-nextpage, .i-filterselect-nextpage-off, .i-filterselect-prevpage-off, .i-filterselect-prevpage { + width: 100%; + background: #aaa; + text-align: center; overflow: hidden; -} - -.i-filterselect-nextpage span, -.i-filterselect-nextpage-off span, -.i-filterselect-prevpage-off span, -.i-filterselect-prevpage span { - display: block; - background: #ddd; cursor: pointer; - overflow: hidden; - text-align: center; } - .i-filterselect-nextpage-off, .i-filterselect-prevpage-off { - opacity: 0.5; - filter: Alpha(opacity=50); + color: #666; + opacity: .5; + filter: alpha(opacity=50); + cursor: default; } .i-filterselect-nextpage-off span, .i-filterselect-prevpage-off span { cursor: default; } - .i-filterselect-status { white-space: nowrap; text-align: center; } -.i-filterselect-error { - background: #ff2222; -} +/* Error styles (disabled by default) + +.i-filterselect-error .i-filterselect-input, +.i-select-error .i-select-option, +.i-select-error .i-select-select, +.i-select-error .i-select-twincol-selections, +.i-select-error .i-select-twincol-options { + background: #ffaaaa; +} +*/ -.i-filterselect-error .i-filterselect-button { - background: red; -}
\ No newline at end of file +/* Required field styles (disabled by default) + +.i-filterselect-error .i-filterselect-input, +.i-select-required .i-select-option, +.i-select-required .i-select-select, +.i-select-required .i-select-twincol-selections, +.i-select-required .i-select-twincol-options { + background: #ffaaaa; +} +*/
\ No newline at end of file |