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

Unified Diff: chrome/browser/resources/shared/css/list.css

Issue 6840010: Css fix for list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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/shared/css/list.css
===================================================================
--- chrome/browser/resources/shared/css/list.css (revision 81723)
+++ chrome/browser/resources/shared/css/list.css (working copy)
@@ -1,5 +1,6 @@
-:-webkit-any(list, grid) {
+list,
+grid {
display: block;
outline: none;
overflow: auto;
@@ -7,7 +8,8 @@
list. */
}
-:-webkit-any(list, grid) > * {
+list > *,
+grid > * {
-webkit-user-select: none;
background-color: rgba(255,255,255,0);
border: 1px solid rgba(255,255,255,0); /* transparent white */
@@ -30,26 +32,31 @@
display: inline-block;
}
-:-webkit-any(list, grid) > [lead] {
+list > [lead],
+grid > [lead] {
border-color: transparent;
}
-:-webkit-any(list, grid):focus > [lead] {
+list:focus > [lead],
+grid:focus > [lead] {
border-color: hsl(214, 91%, 65%);
z-index: 2;
}
-:-webkit-any(list, grid) > [anchor] {
+list > [anchor],
+grid > [anchor] {
}
-:-webkit-any(list, grid):not([disabled]) > :hover {
+list:not([disabled]) > :hover,
+grid:not([disabled]) > :hover {
border-color: hsl(214, 91%, 85%);
z-index: 1;
background-color: hsl(214, 91%, 97%);
}
-:-webkit-any(list, grid) > [selected] {
+list > [selected],
+grid > [selected] {
border-color: hsl(0, 0%, 85%);
background-color: hsl(0,0%,90%);
z-index: 2;
@@ -57,18 +64,22 @@
rgba(255, 255, 255, 0));
}
-:-webkit-any(list, grid):focus > [selected] {
+list:focus > [selected],
+grid:focus > [selected] {
background-color: hsl(214,91%,89%);
border-color: hsl(214, 91%, 65%);
}
-:-webkit-any(list, grid):focus > [lead][selected],
-:-webkit-any(list, grid) > [selected]:hover {
+list:focus > [lead][selected],
+list > [selected]:hover,
+grid:focus > [lead][selected],
+grid > [selected]:hover {
background-color: hsl(214, 91%, 87%);
border-color: hsl(214, 91%, 65%);
}
-:-webkit-any(list, grid) > .spacer {
+list > .spacer,
+grid > .spacer {
border: 0;
box-sizing: border-box;
display: block;
« 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