| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 } | 126 } |
| 127 | 127 |
| 128 .device-mode-screen-image { | 128 .device-mode-screen-image { |
| 129 position: absolute; | 129 position: absolute; |
| 130 left: 0; | 130 left: 0; |
| 131 top: 0; | 131 top: 0; |
| 132 width: 100%; | 132 width: 100%; |
| 133 height: 100%; | 133 height: 100%; |
| 134 } | 134 } |
| 135 | 135 |
| 136 .device-mode-outline-image:not(.hidden) + .device-mode-screen-area { |
| 137 box-shadow: none; |
| 138 } |
| 139 |
| 136 .device-mode-resizer { | 140 .device-mode-resizer { |
| 137 position: absolute; | 141 position: absolute; |
| 138 display: flex; | 142 display: flex; |
| 139 align-items: center; | 143 align-items: center; |
| 140 justify-content: center; | 144 justify-content: center; |
| 141 overflow: hidden; | 145 overflow: hidden; |
| 142 transition: background-color 0.1s ease, opacity 0.1s ease; | 146 transition: background-color 0.1s ease, opacity 0.1s ease; |
| 143 } | 147 } |
| 144 | 148 |
| 145 .device-mode-resizer:hover { | 149 .device-mode-resizer:hover { |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 background-color: #fcfcfc; | 263 background-color: #fcfcfc; |
| 260 } | 264 } |
| 261 | 265 |
| 262 .device-mode-ruler { | 266 .device-mode-ruler { |
| 263 pointer-events: none; | 267 pointer-events: none; |
| 264 position: relative; | 268 position: relative; |
| 265 } | 269 } |
| 266 | 270 |
| 267 .device-mode-ruler-top { | 271 .device-mode-ruler-top { |
| 268 flex: 0 0 20px; | 272 flex: 0 0 20px; |
| 273 z-index: 1; |
| 269 } | 274 } |
| 270 | 275 |
| 271 .device-mode-ruler-left { | 276 .device-mode-ruler-left { |
| 272 position: absolute; | 277 position: absolute; |
| 273 left: 0; | 278 left: 0; |
| 274 width: 20px; | 279 width: 20px; |
| 275 top: 0; | 280 top: 0; |
| 276 bottom: 0; | 281 bottom: 0; |
| 277 transform: translateX(-20px); | 282 transform: translateX(-20px); |
| 278 } | 283 } |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 .device-mode-ruler-top .device-mode-ruler-text { | 332 .device-mode-ruler-top .device-mode-ruler-text { |
| 328 left: 2px; | 333 left: 2px; |
| 329 top: -2px; | 334 top: -2px; |
| 330 } | 335 } |
| 331 | 336 |
| 332 .device-mode-ruler-left .device-mode-ruler-text { | 337 .device-mode-ruler-left .device-mode-ruler-text { |
| 333 left: -4px; | 338 left: -4px; |
| 334 top: -15px; | 339 top: -15px; |
| 335 transform: rotate(270deg); | 340 transform: rotate(270deg); |
| 336 } | 341 } |
| OLD | NEW |