2 * Copyright (c) 2014 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.
13 .elements-disclosure li {
17 word-wrap: break-word
;
20 .elements-disclosure li.parent {
24 .elements-disclosure li.parent::before {
27 box-sizing: border-box
;
30 .elements-disclosure li.parent::before {
31 -webkit-user-select: none
;
32 -webkit-mask-image: url
(Images/toolbarButtonGlyphs.png);
33 -webkit-mask-size: 352px 168px;
40 .elements-disclosure li.always-parent::before {
44 @media (-webkit-min-device-pixel-ratio: 1.5) {
45 .elements-disclosure li.parent::before {
46 -webkit-mask-image: url
(Images/toolbarButtonGlyphs_2x.png);
50 .elements-disclosure li.parent::before {
51 -webkit-mask-position: -4px -96px;
52 background-color: rgb
(110, 110, 110);
55 .elements-disclosure li .selection {
64 .elements-disclosure li.hovered:not(.selected) .selection {
68 background-color: rgba
(56, 121, 217, 0.1);
72 .elements-disclosure li.parent.expanded::before {
73 -webkit-mask-position: -20px -96px;
76 .elements-disclosure li.selected .selection {
78 background-color: #dadada;
81 .elements-disclosure ol {
82 list-style-type: none
;
83 -webkit-padding-start: 12px;
87 .elements-disclosure ol.children {
91 .elements-disclosure ol.children.expanded {
95 .elements-disclosure li .webkit-html-tag.close {
99 .elements-disclosure > ol {
105 -webkit-transform: translateZ
(0);
109 .elements-disclosure ol:focus li.selected {
113 .elements-disclosure ol:focus li.parent.selected::before {
114 background-color: white
;
117 .elements-disclosure ol:focus li.selected * {
121 .elements-disclosure ol:focus li.selected .selection {
122 background-color: rgb
(56, 121, 217);
125 .elements-tree-outline ol.shadow-root {
128 border-left: 1px solid rgb
(190, 190, 190);
131 .elements-tree-outline ol.shadow-root-depth-4 {
132 background-color: rgba
(0, 0, 0, 0.04);
135 .elements-tree-outline ol.shadow-root-depth-3 {
136 background-color: rgba
(0, 0, 0, 0.03);
139 .elements-tree-outline ol.shadow-root-depth-2 {
140 background-color: rgba
(0, 0, 0, 0.02);
143 .elements-tree-outline ol.shadow-root-depth-1 {
144 background-color: rgba
(0, 0, 0, 0.01);
147 .elements-tree-outline ol.shadow-root-deep {
148 background-color: transparent
;
151 .elements-tree-editor {
152 -webkit-user-select: text
;
153 -webkit-user-modify: read-write-plaintext-only
;
156 .elements-disclosure li.elements-drag-over .selection {
159 border-top: 2px solid rgb
(56, 121, 217);
162 .elements-disclosure li.in-clipboard .highlight {
163 outline: 1px dotted darkgrey
;
167 /* Consistent with the .editing class in inspector.css */
168 box-shadow: rgba
(0, 0, 0, .5) 3px 3px 4px;
169 outline: 1px solid rgb
(66%, 66%, 66%) !important
;
170 background-color: white
;
181 button
, input
, select
{
182 font-family: inherit
;
187 -webkit-user-select: text
;
188 box-shadow: rgba
(0, 0, 0, .5) 3px 3px 4px;
189 outline: 1px solid rgb
(66%, 66%, 66%) !important
;
190 background-color: white
;
191 -webkit-user-modify: read-write-plaintext-only
;
192 text-overflow: clip
!important
;
199 opacity: 1.0 !important
;
204 color: #222 !important
;
205 text-decoration: none
!important
;
212 .elements-gutter-decoration {
219 border: 1px solid orange
;
220 background-color: orange
;
224 .elements-gutter-decoration.elements-has-decorated-children {
234 .elements-tree-element-pick-node-1 {
236 padding: 1px 0 1px 0;
237 -webkit-animation: elements-tree-element-pick-node-animation-1
0.5s 1;
240 .elements-tree-element-pick-node-2 {
242 padding: 1px 0 1px 0;
243 -webkit-animation: elements-tree-element-pick-node-animation-2
0.5s 1;
246 @-webkit-keyframes elements-tree-element-pick-node-animation-1
{
247 from
{ background-color: rgb
(255, 210, 126); }
248 to
{ background-color: inherit
; }
251 @-webkit-keyframes elements-tree-element-pick-node-animation-2
{
252 from
{ background-color: rgb
(255, 210, 126); }
253 to
{ background-color: inherit
; }
260 .webkit-html-attribute-value a {
261 cursor: default
!important
;
264 .elements-tree-nowrap, .elements-tree-nowrap .li {
265 white-space: pre
!important
;
268 .elements-disclosure .elements-tree-nowrap li {
272 /* DOM update highlight */
273 @-webkit-keyframes dom-update-highlight-animation
{
275 background-color: rgb
(158, 54, 153);
279 background-color: rgb
(245, 219, 244);
283 background-color: inherit
;
287 .dom-update-highlight {
288 -webkit-animation: dom-update-highlight-animation
1.4s 1 cubic-bezier
(0, 0, 0.2, 1);
292 .elements-disclosure.single-node li {
296 .elements-tree-shortcut-title {
297 color: rgb
(87, 87, 87);
300 ol:hover
> li
> .elements-tree-shortcut-link
{
304 .elements-tree-shortcut-link {
305 color: rgb
(87, 87, 87);
309 ol:focus li
.selected
.webkit-html-tag
{
313 ol:focus li
.selected
.webkit-html-tag-name
,
314 ol:focus li
.selected
.webkit-html-close-tag-name
,
315 ol:focus li
.selected
.webkit-html-attribute-value
,
316 ol:focus li
.selected
.webkit-html-external-link
,
317 ol:focus li
.selected
.webkit-html-resource-link
{
321 ol:focus li
.selected
.webkit-html-attribute-name
{
325 .elements-disclosure li.selected .selection > .node-actions-container {
329 .node-actions-container {
334 background-color: hsla
(0,100%,100%,0.3);
337 .node-actions-toolbar {
343 border: 1px solid
#B1B1B1;
345 box-shadow: 0 1px 4px 0 rgba
(0, 0, 0, 0.37)
349 .node-actions-toggle {
350 -webkit-mask-position: -201px -26px;
353 transform: scale
(0.8) rotate
(90deg);
354 -webkit-mask-image: url
(Images/toolbarButtonGlyphs.png);
355 -webkit-mask-size: 352px 168px;
356 background-color: #FFFFFF;
362 .gutter-container.has-decorations .node-actions-toggle {
366 .node-actions-container.expanded > .node-actions-toolbar {
370 .node-actions-toolbar-below {