| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The Chromium Authors. All rights reserved. | 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 | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 .elements-disclosure { | 7 .elements-disclosure { |
| 8 width: 100%; | 8 width: 100%; |
| 9 display: inline-block; | 9 display: inline-block; |
| 10 line-height: normal; | 10 line-height: normal; |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 color: white; | 314 color: white; |
| 315 } | 315 } |
| 316 | 316 |
| 317 ol:focus li.selected .webkit-html-attribute-name { | 317 ol:focus li.selected .webkit-html-attribute-name { |
| 318 color: #ccc; | 318 color: #ccc; |
| 319 } | 319 } |
| 320 | 320 |
| 321 .elements-disclosure .gutter-container { | 321 .elements-disclosure .gutter-container { |
| 322 position: absolute; | 322 position: absolute; |
| 323 top: 0; | 323 top: 0; |
| 324 } | 324 left: 0; |
| 325 | |
| 326 .elements-disclosure li.selected .gutter-container:not(.has-decorations) { | |
| 327 left: 0px; | |
| 328 width: 16.25px; | |
| 329 height: 18px; | |
| 330 transform: rotate(-90deg) translateX(-13px) scale(0.8); | |
| 331 transform-origin: 0% 0%; | |
| 332 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); | |
| 333 -webkit-mask-position: -201px -27px; | |
| 334 -webkit-mask-size: 352px 168px; | |
| 335 background-color: white; | |
| 336 cursor: pointer; | 325 cursor: pointer; |
| 337 } | 326 } |
| 338 | 327 |
| 339 @media (-webkit-min-device-pixel-ratio: 1.1) { | 328 .gutter-menu-icon { |
| 340 .elements-disclosure li.selected .gutter-container:not(.has-decorations) { | 329 display: none; |
| 341 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); | 330 transform: rotate(-90deg) scale(0.8); |
| 331 background-color: white; |
| 332 position: relative; |
| 333 left: -7px; |
| 334 top: -3px; |
| 342 } | 335 } |
| 343 } /* media */ | 336 |
| 337 .elements-disclosure li.selected .gutter-container:not(.has-decorations) .gutter
-menu-icon { |
| 338 display: block; |
| 339 } |
| 344 | 340 |
| 345 /** Guide line */ | 341 /** Guide line */ |
| 346 li.selected { | 342 li.selected { |
| 347 z-index: 0; | 343 z-index: 0; |
| 348 } | 344 } |
| 349 | 345 |
| 350 li.hovered:not(.always-parent) + ol.children, .elements-tree-outline ol.shadow-r
oot, li.selected:not(.always-parent) + ol.children { | 346 li.hovered:not(.always-parent) + ol.children, .elements-tree-outline ol.shadow-r
oot, li.selected:not(.always-parent) + ol.children { |
| 351 margin-left: 5px; | 347 margin-left: 5px; |
| 352 -webkit-padding-start: 6px; | 348 -webkit-padding-start: 6px; |
| 353 border-width: 1px; | 349 border-width: 1px; |
| 354 border-left-style: solid; | 350 border-left-style: solid; |
| 355 } | 351 } |
| 356 | 352 |
| 357 li.hovered:not(.always-parent) + ol.children:not(.shadow-root) { | 353 li.hovered:not(.always-parent) + ol.children:not(.shadow-root) { |
| 358 border-color: hsla(0,0%,0%,0.1); | 354 border-color: hsla(0,0%,0%,0.1); |
| 359 } | 355 } |
| 360 | 356 |
| 361 .elements-tree-outline ol.shadow-root { | 357 .elements-tree-outline ol.shadow-root { |
| 362 border-color: hsla(0,0%,80%,1); | 358 border-color: hsla(0,0%,80%,1); |
| 363 } | 359 } |
| 364 | 360 |
| 365 li.selected:not(.always-parent) + ol.children { | 361 li.selected:not(.always-parent) + ol.children { |
| 366 border-color: hsla(216,68%,80%,1) !important; | 362 border-color: hsla(216,68%,80%,1) !important; |
| 367 } | 363 } |
| OLD | NEW |