2 Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
10 -webkit-box-shadow: none;
11 background-color: transparent;
12 background-repeat: no-repeat;
19 -webkit-box-align: center;
20 -webkit-transition: .15s background-color;
21 box-sizing: border-box;
29 list:not([disabled]) > :hover {
30 background-color: #e4ecf7;
33 /* TODO(stuartmorgan): Once this becomes the list style for other WebUI pages
34 * these rules can be simplified (since they wont need to override other rules).
37 list:not([hasElementFocus]) > [selected],
38 list:not([hasElementFocus]) > [lead][selected] {
39 background-color: #d0d0d0;
40 background-image: none;
43 list[hasElementFocus] > [selected],
44 list[hasElementFocus] > [lead][selected],
45 list:not([hasElementFocus]) > [selected]:hover,
46 list:not([hasElementFocus]) > [selected][lead]:hover {
47 background-color: #bbcee9;
48 background-image: none;
59 list > .heading:hover {
60 background-color: transparent;
61 border-color: transparent;
64 list .deletable-item {
65 -webkit-box-align: center;
68 list .deletable-item > :first-child {
69 -webkit-box-align: center;
71 -webkit-padding-end: 5px;
76 -webkit-transition: .15s opacity;
77 background-color: transparent;
78 /* TODO(stuartmorgan): Replace with real images once they are available. */
79 background-image: url("../images/close_bar.png");
87 list > *:not(:hover):not([lead]) .close-button,
88 list > *:not(:hover):not([selected]) .close-button,
89 list:not([hasElementFocus]) > *:not(:hover) .close-button,
90 list[disabled] .close-button,
91 list .close-button[disabled] {
96 list .close-button:hover {
97 background-image: url("../images/close_bar_h.png");
100 list .close-button:active {
101 background-image: url("../images/close_bar_p.png");
106 text-overflow: ellipsis;
110 list[inlineeditable] input {
111 box-sizing: border-box;
116 list[inlineeditable] > :not([editing]) [displaymode="edit"],
117 list[inlineeditable] > [editing] [displaymode="static"] {
121 list > [editing] input:invalid {
122 /* TODO(stuartmorgan): Replace with validity badge */
123 background-color: pink;