1 /* Copyright 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
5 /* Derived from /ui/webui/resources/css/table.css. */
13 .tree-item > .tree-row {
14 -webkit-user-select: none
;
21 -webkit-transform: rotate
(-90deg);
22 -webkit-transition: all
150ms;
23 background-image: -webkit-canvas
(tree-triangle
);
24 background-position: 50% 50%;
25 background-repeat: no-repeat
;
26 background-size: 8px 5px;
27 display: inline-block
;
33 html
[dir
=rtl
] .expand-icon
{
34 -webkit-transform: rotate
(90deg);
37 .tree-item[expanded] > .tree-row > .expand-icon {
38 -webkit-transform: rotate
(0);
39 background-image: -webkit-canvas
(tree-triangle
);
42 .tree-row .expand-icon {
46 .tree-row[may-have-children] .expand-icon {
50 .tree-row[has-children=false] .expand-icon {
58 .tree-children[expanded] {
66 .tree-item > .tree-row > * {
67 display: inline-block
;
74 /* We need to ensure that even empty labels take up space */
75 .tree-label:empty::after {
80 .tree-rename > .tree-row > .tree-label {
81 -webkit-user-modify: read-write-plaintext-only
;
82 -webkit-user-select: auto
;