From 0e4e3e9baf227b0b71286e8d9fa70bddcdcee814 Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Mon, 11 May 2009 11:28:49 +0000 Subject: [PATCH] Minor mods to "Poro" theme combobox. svn changeset:7724/svn branch:6.0 --- WebContent/ITMILL/themes/reindeer/select/select.css | 11 +++++++++-- WebContent/ITMILL/themes/reindeer/styles.css | 9 ++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/WebContent/ITMILL/themes/reindeer/select/select.css b/WebContent/ITMILL/themes/reindeer/select/select.css index 368acaa979..41403e3cca 100644 --- a/WebContent/ITMILL/themes/reindeer/select/select.css +++ b/WebContent/ITMILL/themes/reindeer/select/select.css @@ -83,6 +83,9 @@ .i-filterselect-suggestmenu .gwt-MenuItem { padding: 1px 8px; height: 16px; + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; } .i-filterselect-suggestmenu .gwt-MenuItem .i-icon { margin-right: 3px; @@ -150,7 +153,7 @@ background-image: url(img/arrow-up-hover.png); /** sprite-ref: verticals; sprite-margin-top: 3px; sprite-margin-bottom: 3px; sprite-alignment: center */ } .i-filterselect-status { - text-shadow: #fff 0 1px 0; + text-shadow: #e9eaeb 0 1px 0; font-size: 11px; line-height: normal; width: 100%; @@ -163,6 +166,9 @@ -moz-border-radius-bottomright: 2px; -webkit-border-bottom-left-radius: 2px; -webkit-border-bottom-right-radius: 2px; + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; } /* IE fails to position background images properly inside table elements */ .i-ie .i-filterselect-suggestmenu .gwt-MenuItem-selected { @@ -188,4 +194,5 @@ } .i-ie .i-filterselect-status { background: transparent url(img/status-bg.png) repeat-x; -} \ No newline at end of file +} +/* Filterselect with icon needs a similar fix than in buttons */ diff --git a/WebContent/ITMILL/themes/reindeer/styles.css b/WebContent/ITMILL/themes/reindeer/styles.css index 0c3185e517..7f22ce146f 100644 --- a/WebContent/ITMILL/themes/reindeer/styles.css +++ b/WebContent/ITMILL/themes/reindeer/styles.css @@ -2085,6 +2085,9 @@ div > .i-button-small span, .i-filterselect-suggestmenu .gwt-MenuItem { padding: 1px 8px; height: 16px; + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; } .i-filterselect-suggestmenu .gwt-MenuItem .i-icon { margin-right: 3px; @@ -2170,7 +2173,7 @@ div > .i-button-small span, background-position: center -361px; } .i-filterselect-status { - text-shadow: #fff 0 1px 0; + text-shadow: #e9eaeb 0 1px 0; font-size: 11px; line-height: normal; width: 100%; @@ -2185,6 +2188,9 @@ div > .i-button-small span, -moz-border-radius-bottomright: 2px; -webkit-border-bottom-left-radius: 2px; -webkit-border-bottom-right-radius: 2px; + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; } /* IE fails to position background images properly inside table elements */ .i-ie .i-filterselect-suggestmenu .gwt-MenuItem-selected { @@ -2211,6 +2217,7 @@ div > .i-button-small span, .i-ie .i-filterselect-status { background: transparent url(select/img/status-bg.png) repeat-x; } +/* Filterselect with icon needs a similar fix than in buttons */ /* ./WebContent/ITMILL/themes/reindeer/splitpanel/splitpanel.css */ .i-splitpanel-horizontal .i-splitpanel-hsplitter { -- 2.39.5