diff options
author | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-11 23:20:33 +0000 |
---|---|---|
committer | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-11 23:20:33 +0000 |
commit | ba51385ab6335184ba6b902aee3fb5d0b05573c7 (patch) | |
tree | e0e016e285c763cc993204a749838e86b1ced6ec /chrome | |
parent | e88fc9dbd34792aba1b49b8f7122c11205335b25 (diff) | |
download | chromium_src-ba51385ab6335184ba6b902aee3fb5d0b05573c7.zip chromium_src-ba51385ab6335184ba6b902aee3fb5d0b05573c7.tar.gz chromium_src-ba51385ab6335184ba6b902aee3fb5d0b05573c7.tar.bz2 |
DOMUI Prefs: Add a visual indication of the lead element
BUG=None
TEST=Change the lead selection in DOMUI pref lists; there should be a top and bottom border.
Review URL: http://codereview.chromium.org/6198005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71102 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/resources/options/options_page.css | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chrome/browser/resources/options/options_page.css b/chrome/browser/resources/options/options_page.css index 47447f4..6e04d75 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; |