1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
|
/*
* Copyright 2015 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
:host {
flex: 1 1;
padding: 2px 0 0 0;
}
.tree-outline-disclosure:not(.tree-outline-disclosure-hide-overflow) {
min-width: 100%;
display: inline-block;
}
.tree-outline {
padding: 0 0 4px 4px;
margin: 0;
z-index: 0;
position: relative;
}
.tree-outline li.hovered:not(.selected) .selection {
display: block;
left: 3px;
right: 3px;
background-color: rgba(56, 121, 217, 0.1);
border-radius: 5px;
}
.tree-outline li .selection {
display: none;
z-index: -1;
margin-left: -10000px;
}
.tree-outline li.selected .selection {
display: block;
background-color: #ddd;
}
.tree-outline li.in-clipboard .highlight {
outline: 1px dotted darkgrey;
}
.tree-outline li.elements-drag-over .selection {
display: block;
margin-top: -2px;
border-top: 2px solid rgb(56, 121, 217);
}
ol.tree-outline:focus li.selected .selection {
background-color: rgb(56, 121, 217);
}
ol.tree-outline:focus li.parent.selected::before {
background-color: white;
}
ol.tree-outline,
.tree-outline ol {
list-style-type: none;
}
.tree-outline-no-padding {
padding: 0;
}
.tree-outline ol {
padding-left: 12px;
}
.tree-outline li {
text-overflow: ellipsis;
white-space: nowrap;
position: relative;
display: flex;
align-items: center;
min-height: 16px;
}
ol.tree-outline:focus li.selected {
color: white;
}
ol.tree-outline:focus li.selected * {
color: inherit;
}
.tree-outline li .icons-container {
align-self: center;
display: flex;
align-items: center;
}
.tree-outline li .leading-icons {
margin-right: 4px;
}
.tree-outline li .trailing-icons {
margin-left: 4px;
}
.tree-outline li::before {
-webkit-user-select: none;
-webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
-webkit-mask-size: 352px 168px;
content: "aa";
color: transparent;
text-shadow: none;
margin-right: -2px;
height: 12px;
}
.tree-outline li:not(.parent)::before {
background-color: transparent;
}
@media (-webkit-min-device-pixel-ratio: 1.1) {
.tree-outline li::before {
-webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png);
}
} /* media */
.tree-outline li::before {
-webkit-mask-position: -4px -96px;
background-color: rgb(110, 110, 110);
}
.tree-outline li.parent.expanded::before {
-webkit-mask-position: -20px -96px;
}
.tree-outline ol.children {
display: none;
}
.tree-outline ol.children.expanded {
display: block;
}
.tree-outline.tree-outline-dense li {
margin-top: 1px;
min-height: 12px;
}
.tree-outline.tree-outline-dense li.parent {
margin-top: 0;
}
.tree-outline.tree-outline-dense li.parent::before {
top: 0;
}
.tree-outline.tree-outline-dense ol {
padding-left: 10px;
}
|