| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 The Chromium Authors. All rights reserved. | 2 * Copyright 2015 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 :host { | 7 :host { |
| 8 overflow: hidden; | 8 overflow: hidden; |
| 9 align-items: stretch; | 9 align-items: stretch; |
| 10 flex: auto; | 10 flex: auto; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 } | 122 } |
| 123 | 123 |
| 124 .device-mode-screen-image { | 124 .device-mode-screen-image { |
| 125 position: absolute; | 125 position: absolute; |
| 126 left: 0; | 126 left: 0; |
| 127 top: 0; | 127 top: 0; |
| 128 width: 100%; | 128 width: 100%; |
| 129 height: 100%; | 129 height: 100%; |
| 130 } | 130 } |
| 131 | 131 |
| 132 .device-mode-outline-image { |
| 133 visibility: hidden; |
| 134 } |
| 135 |
| 136 .device-mode-outline-image.device-frame-visible { |
| 137 visibility: visible; |
| 138 } |
| 139 |
| 132 .device-mode-outline-image.device-frame-visible + .device-mode-screen-area { | 140 .device-mode-outline-image.device-frame-visible + .device-mode-screen-area { |
| 133 box-shadow: none; | 141 box-shadow: none; |
| 134 } | 142 } |
| 135 | 143 |
| 136 .device-mode-resizer { | 144 .device-mode-resizer { |
| 137 position: absolute; | 145 position: absolute; |
| 138 display: flex; | 146 display: flex; |
| 139 align-items: center; | 147 align-items: center; |
| 140 justify-content: center; | 148 justify-content: center; |
| 141 overflow: hidden; | 149 overflow: hidden; |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 .device-mode-ruler-top .device-mode-ruler-text { | 335 .device-mode-ruler-top .device-mode-ruler-text { |
| 328 left: 2px; | 336 left: 2px; |
| 329 top: -2px; | 337 top: -2px; |
| 330 } | 338 } |
| 331 | 339 |
| 332 .device-mode-ruler-left .device-mode-ruler-text { | 340 .device-mode-ruler-left .device-mode-ruler-text { |
| 333 left: -4px; | 341 left: -4px; |
| 334 top: -15px; | 342 top: -15px; |
| 335 transform: rotate(270deg); | 343 transform: rotate(270deg); |
| 336 } | 344 } |
| 345 |
| 346 @media (max-width : 520px) { |
| 347 .device-mode-outline-image.device-frame-visible { |
| 348 visibility: hidden; |
| 349 } |
| 350 |
| 351 .device-mode-outline-image.device-frame-visible + .device-mode-screen-area { |
| 352 box-shadow: hsl(240, 3%, 84%) 0 0 0 0.5px, hsla(0, 0%, 80%, 0.4) 0 0 20px; |
| 353 } |
| 354 } |
| OLD | NEW |