summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-11 04:25:42 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-11 04:25:42 +0000
commitb648e91bd6c911ed26d6c65048c4a597040359ed (patch)
tree5f286d7f54a5fe60135b65915d8bf29bf610b256
parente527fd9ef95b520aeed190ee9e5a6e1555e48f8a (diff)
downloadchromium_src-b648e91bd6c911ed26d6c65048c4a597040359ed.zip
chromium_src-b648e91bd6c911ed26d6c65048c4a597040359ed.tar.gz
chromium_src-b648e91bd6c911ed26d6c65048c4a597040359ed.tar.bz2
Fix a bug that caused timezone setting looked enabled for non-owner users
select:hover and select:active take effects only when the control is enabled. color of select is graytext when the control is disabled BUG=chromium-os:11291 TEST=confirmed that the setting looked disabled as intended Review URL: http://codereview.chromium.org/6814042 Patch from Ryo Hashimoto <hashimoto@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81067 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/resources/options/options_page.css8
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/resources/options/options_page.css b/chrome/browser/resources/options/options_page.css
index ee696ca..4f5e499 100644
--- a/chrome/browser/resources/options/options_page.css
+++ b/chrome/browser/resources/options/options_page.css
@@ -684,17 +684,21 @@ select {
white-space: nowrap;
}
+select:disabled {
+ color: graytext;
+}
+
html[dir='rtl'] select {
background-position: center left;
}
-select:hover {
+select:enabled:hover {
-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
background-image: url("select.png"), -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9);
color: #333;
}
-select:active {
+select:enabled:active {
-webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
background-image: url("select.png"), -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc);
color: #444;