Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Unified Diff: chrome/browser/resources/options/options_page.css

Issue 5608003: Add a disabled property to DOMUI lists (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use a property Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/browser/resources/shared/css/list.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/options_page.css
diff --git a/chrome/browser/resources/options/options_page.css b/chrome/browser/resources/options/options_page.css
index d5398afd2f988dcceff295a422b4374c869400f2..425ce811ba237cca9226d0bb85d02b90826215af 100644
--- a/chrome/browser/resources/options/options_page.css
+++ b/chrome/browser/resources/options/options_page.css
@@ -348,7 +348,7 @@ list > * {
border: none;
}
-list > :hover {
+list:not([disabled]) > :hover {
background-color: #f2f2f2;
}
@@ -357,9 +357,23 @@ list:focus > [selected],
list:focus > [lead][selected],
list > [selected]:hover {
background-color: #f2f2f2;
+ background-image: none;
+}
+
+list > [lead][selected],
+list:focus > [lead][selected] {
border-top: 1px solid #b2b2b2;
border-bottom: 1px solid #b2b2b2;
- background-image: none;
+ z-index: 3;
+}
+
+list[disabled] > [lead][selected],
+list[disabled]:focus > [lead][selected] {
+ border: none;
+}
+
+list[disabled] {
+ opacity: 0.6;
}
list > .heading {
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/browser/resources/shared/css/list.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698