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

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

Issue 6198005: DOMUI Prefs: Add a visual indication of the lead element (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 months 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 | « no previous file | no next file » | 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 47447f4f20cca95c3efc897257eb9df4d27000df..6e04d759c9768cc6e8396f2944c8a1713641c97c 100644
--- a/chrome/browser/resources/options/options_page.css
+++ b/chrome/browser/resources/options/options_page.css
@@ -378,6 +378,22 @@ list > [selected]:hover {
background-image: none;
}
+list:focus > [lead],
+list:focus > [lead][selected] {
+ border-top: 1px solid #b2b2b2;
+ border-bottom: 1px solid #b2b2b2;
+}
+
+list:focus > [lead]:nth-child(2),
+list:focus > [lead][selected]:nth-child(2) {
+ border-top: 1px solid #f2f2f2;
+}
+
+list:focus > [lead]:nth-last-child(2),
+list:focus > [lead][selected]:nth-last-child(2) {
+ border-bottom: 1px solid #f2f2f2;
+}
+
list[disabled] > [lead][selected],
list[disabled]:focus > [lead][selected] {
border: none;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698