OLD | NEW |
(Empty) | |
| 1 /* |
| 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. |
| 5 */ |
| 6 |
| 7 .outline-disclosure { |
| 8 line-height: normal; |
| 9 } |
| 10 |
| 11 .outline-disclosure li { |
| 12 padding: 0 0 0 14px; |
| 13 margin-top: 1px; |
| 14 margin-left: -2px; |
| 15 word-wrap: break-word; |
| 16 } |
| 17 |
| 18 .outline-disclosure li.parent { |
| 19 margin-left: -12px |
| 20 } |
| 21 |
| 22 .outline-disclosure li.parent::before { |
| 23 float: left; |
| 24 width: 10px; |
| 25 padding-right: 2px; |
| 26 box-sizing: border-box; |
| 27 } |
| 28 |
| 29 .outline-disclosure li.parent::before { |
| 30 -webkit-user-select: none; |
| 31 -webkit-mask-image: url(Images/statusbarButtonGlyphs.png); |
| 32 -webkit-mask-size: 320px 144px; |
| 33 content: "a"; |
| 34 color: transparent; |
| 35 text-shadow: none; |
| 36 margin-right: 1px; |
| 37 } |
| 38 |
| 39 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 40 .outline-disclosure li.parent::before { |
| 41 -webkit-mask-image: url(Images/statusbarButtonGlyphs_2x.png); |
| 42 } |
| 43 } /* media */ |
| 44 |
| 45 .outline-disclosure li.parent::before { |
| 46 -webkit-mask-position: -4px -96px; |
| 47 background-color: rgb(110, 110, 110); |
| 48 } |
| 49 |
| 50 .outline-disclosure li .selection { |
| 51 display: none; |
| 52 position: absolute; |
| 53 left: 0; |
| 54 right: 0; |
| 55 height: 15px; |
| 56 z-index: -1; |
| 57 } |
| 58 |
| 59 .outline-disclosure li.hovered:not(.selected) .selection { |
| 60 display: block; |
| 61 left: 3px; |
| 62 right: 3px; |
| 63 background-color: rgba(56, 121, 217, 0.1); |
| 64 border-radius: 5px; |
| 65 } |
| 66 |
| 67 .outline-disclosure li.parent.expanded::before { |
| 68 -webkit-mask-position: -20px -96px; |
| 69 } |
| 70 |
| 71 .outline-disclosure li.selected .selection { |
| 72 display: block; |
| 73 background-color: rgb(212, 212, 212); |
| 74 } |
| 75 |
| 76 .outline-disclosure ol { |
| 77 list-style-type: none; |
| 78 -webkit-padding-start: 12px; |
| 79 margin: 0; |
| 80 } |
| 81 |
| 82 .outline-disclosure ol.children { |
| 83 display: none; |
| 84 } |
| 85 |
| 86 .outline-disclosure ol.children.expanded { |
| 87 display: block; |
| 88 } |
| 89 |
| 90 .outline-disclosure li .webkit-html-tag.close { |
| 91 margin-left: -12px; |
| 92 } |
| 93 |
| 94 .outline-disclosure > ol { |
| 95 position: relative; |
| 96 margin: 0; |
| 97 cursor: default; |
| 98 min-width: 100%; |
| 99 min-height: 100%; |
| 100 -webkit-transform: translateZ(0); |
| 101 } |
| 102 |
| 103 .outline-disclosure ol:focus li.selected { |
| 104 color: white; |
| 105 } |
| 106 |
| 107 .outline-disclosure ol:focus li.parent.selected::before { |
| 108 background-color: white; |
| 109 } |
| 110 |
| 111 .outline-disclosure ol:focus li.selected * { |
| 112 color: inherit; |
| 113 } |
| 114 |
| 115 .outline-disclosure ol:focus li.selected .selection { |
| 116 background-color: rgb(56, 121, 217); |
| 117 } |
| 118 |
| 119 .elements-tree-outline li.shadow-root + ol { |
| 120 margin-left: 5px; |
| 121 padding-left: 5px; |
| 122 border-left: 1px solid gray; |
| 123 } |
| 124 |
| 125 .elements-tree-editor { |
| 126 -webkit-user-select: text; |
| 127 -webkit-user-modify: read-write-plaintext-only; |
| 128 } |
| 129 |
| 130 .outline-disclosure li.elements-drag-over .selection { |
| 131 display: block; |
| 132 margin-top: -2px; |
| 133 border-top: 2px solid rgb(56, 121, 217); |
| 134 } |
| 135 |
| 136 .outline-disclosure li.in-clipboard .highlight { |
| 137 outline: 1px dotted darkgrey; |
| 138 } |
| 139 |
| 140 .CodeMirror { |
| 141 /* Consistent with the .editing class in inspector.css */ |
| 142 box-shadow: rgba(0, 0, 0, .5) 3px 3px 4px; |
| 143 outline: 1px solid rgb(66%, 66%, 66%) !important; |
| 144 background-color: white; |
| 145 } |
| 146 |
| 147 .CodeMirror-lines { |
| 148 padding: 0; |
| 149 } |
| 150 |
| 151 .CodeMirror pre { |
| 152 padding: 0; |
| 153 } |
| 154 |
| 155 button, input, select { |
| 156 font-family: inherit; |
| 157 font-size: inherit; |
| 158 } |
| 159 |
| 160 .text-button { |
| 161 background-image: linear-gradient(hsl(0, 0%, 93%), hsl(0, 0%, 93%) 38%, hsl(
0, 0%, 87%)); |
| 162 border: 1px solid hsla(0, 0%, 0%, 0.25); |
| 163 border-radius: 2px; |
| 164 box-shadow: 0 1px 0 hsla(0, 0%, 0%, 0.08), inset 0 1px 2px hsla(0, 100%, 100
%, 0.75); |
| 165 color: hsl(0, 0%, 27%); |
| 166 font-size: 12px; |
| 167 margin: 0 1px 0 0; |
| 168 text-shadow: 0 1px 0 hsl(0, 0%, 94%); |
| 169 min-height: 2em; |
| 170 padding-left: 10px; |
| 171 padding-right: 10px; |
| 172 } |
| 173 |
| 174 .text-button:not(:disabled):hover { |
| 175 background-image: linear-gradient(hsl(0, 0%, 94%), hsl(0, 0%, 94%) 38%, hsl(
0, 0%, 88%)); |
| 176 border-color: hsla(0, 0%, 0%, 0.3); |
| 177 box-shadow: 0 1px 0 hsla(0, 0%, 0%, 0.12), inset 0 1px 2px hsla(0, 100%, 100
%, 0.95); |
| 178 color: hsl(0, 0%, 0%); |
| 179 } |
| 180 |
| 181 body.inactive button.text-button, .text-button:disabled { |
| 182 background-image: linear-gradient(#f1f1f1, #f1f1f1 38%, #e6e6e6); |
| 183 border-color: rgba(80, 80, 80, 0.2); |
| 184 box-shadow: 0 1px 0 rgba(80, 80, 80, 0.08), inset 0 1px 2px rgba(255, 255, 2
55, 0.75); |
| 185 color: #aaa; |
| 186 } |
| 187 |
| 188 .editing { |
| 189 -webkit-user-select: text; |
| 190 box-shadow: rgba(0, 0, 0, .5) 3px 3px 4px; |
| 191 outline: 1px solid rgb(66%, 66%, 66%) !important; |
| 192 background-color: white; |
| 193 -webkit-user-modify: read-write-plaintext-only; |
| 194 text-overflow: clip !important; |
| 195 padding-left: 2px; |
| 196 margin-left: -2px; |
| 197 padding-right: 2px; |
| 198 margin-right: -2px; |
| 199 margin-bottom: -1px; |
| 200 padding-bottom: 1px; |
| 201 opacity: 1.0 !important; |
| 202 } |
| 203 |
| 204 .editing, |
| 205 .editing * { |
| 206 color: #222 !important; |
| 207 text-decoration: none !important; |
| 208 } |
| 209 |
| 210 .editing br { |
| 211 display: none; |
| 212 } |
| 213 |
| 214 .elements-gutter-decoration { |
| 215 position: absolute; |
| 216 left: 1px; |
| 217 margin-top: 2px; |
| 218 height: 8px; |
| 219 width: 8px; |
| 220 border-radius: 4px; |
| 221 border: 1px solid orange; |
| 222 background-color: orange; |
| 223 } |
| 224 |
| 225 .elements-gutter-decoration.elements-has-decorated-children { |
| 226 opacity: 0.5; |
| 227 } |
| 228 |
| 229 .add-attribute { |
| 230 margin-left: 1px; |
| 231 margin-right: 1px; |
| 232 white-space: nowrap; |
| 233 } |
| 234 |
| 235 .elements-tree-element-pick-node-1 { |
| 236 border-radius: 3px; |
| 237 padding: 1px 0 1px 0; |
| 238 -webkit-animation: elements-tree-element-pick-node-animation-1 0.5s 1; |
| 239 } |
| 240 |
| 241 .elements-tree-element-pick-node-2 { |
| 242 border-radius: 3px; |
| 243 padding: 1px 0 1px 0; |
| 244 -webkit-animation: elements-tree-element-pick-node-animation-2 0.5s 1; |
| 245 } |
| 246 |
| 247 @-webkit-keyframes elements-tree-element-pick-node-animation-1 { |
| 248 from { background-color: rgb(255, 210, 126); } |
| 249 to { background-color: inherit; } |
| 250 } |
| 251 |
| 252 @-webkit-keyframes elements-tree-element-pick-node-animation-2 { |
| 253 from { background-color: rgb(255, 210, 126); } |
| 254 to { background-color: inherit; } |
| 255 } |
| 256 |
| 257 .pick-node-mode { |
| 258 cursor: pointer; |
| 259 } |
OLD | NEW |