Chromium Code Reviews| 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 30 matching lines...) Expand all Loading... | |
| 41 overflow: hidden; | 41 overflow: hidden; |
| 42 flex: auto; | 42 flex: auto; |
| 43 } | 43 } |
| 44 | 44 |
| 45 .device-mode-media-container { | 45 .device-mode-media-container { |
| 46 flex: none; | 46 flex: none; |
| 47 overflow: hidden; | 47 overflow: hidden; |
| 48 box-shadow: inset 0 -1px #ccc; | 48 box-shadow: inset 0 -1px #ccc; |
| 49 } | 49 } |
| 50 | 50 |
| 51 .device-mode-content-clip:not(.device-mode-rulers-visible) .device-mode-media-co ntainer { | |
| 52 margin-bottom: 20px; | |
| 53 } | |
| 54 | |
| 55 .device-mode-presets-container { | 51 .device-mode-presets-container { |
| 56 flex: 0 0 20px; | 52 flex: 0 0 20px; |
| 57 display: flex; | 53 display: flex; |
| 58 } | 54 } |
| 59 | 55 |
| 60 .device-mode-presets-container-inner { | 56 .device-mode-presets-container-inner { |
| 61 flex: auto; | 57 flex: auto; |
| 62 justify-content: center; | 58 justify-content: center; |
| 63 position: relative; | 59 position: relative; |
| 64 background-color: hsl(0, 0%, 90%); | 60 background-color: hsl(0, 0%, 90%); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 115 margin: 0; | 111 margin: 0; |
| 116 } | 112 } |
| 117 | 113 |
| 118 .device-mode-screen-area { | 114 .device-mode-screen-area { |
| 119 position: absolute; | 115 position: absolute; |
| 120 left: 0; | 116 left: 0; |
| 121 right: 0; | 117 right: 0; |
| 122 width: 0; | 118 width: 0; |
| 123 height: 0; | 119 height: 0; |
| 124 background-color: #171717; | 120 background-color: #171717; |
| 125 box-shadow: hsl(240, 3%, 84%) 0 0 0 0.5px, hsla(0, 0%, 80%, 0.4) 0 0 20px; | 121 box-shadow: hsl(0, 0%, 88%) 1px 1px 0 1px, hsla(0, 0%, 80%, 0.6) 0 0 16px; |
|
dgozman
2016/03/21 21:08:39
Why this change?
mmccoy
2016/03/21 22:03:05
Not sure exactly! I think I c+p the wrong style fr
| |
| 126 } | 122 } |
| 127 | 123 |
| 128 .device-mode-screen-image { | 124 .device-mode-screen-image { |
| 129 position: absolute; | 125 position: absolute; |
| 130 left: 0; | 126 left: 0; |
| 131 top: 0; | 127 top: 0; |
| 132 width: 100%; | 128 width: 100%; |
| 133 height: 100%; | 129 height: 100%; |
| 134 } | 130 } |
| 135 | 131 |
| 132 .device-mode-outline-image.device-frame-visible + .device-mode-screen-area { | |
| 133 box-shadow: none; | |
| 134 } | |
| 135 | |
| 136 .device-mode-resizer { | 136 .device-mode-resizer { |
| 137 position: absolute; | 137 position: absolute; |
| 138 display: flex; | 138 display: flex; |
| 139 align-items: center; | 139 align-items: center; |
| 140 justify-content: center; | 140 justify-content: center; |
| 141 overflow: hidden; | 141 overflow: hidden; |
| 142 transition: background-color 0.1s ease, opacity 0.1s ease; | 142 transition: background-color 0.1s ease, opacity 0.1s ease; |
| 143 } | 143 } |
| 144 | 144 |
| 145 .device-mode-resizer:hover { | 145 .device-mode-resizer:hover { |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 327 .device-mode-ruler-top .device-mode-ruler-text { | 327 .device-mode-ruler-top .device-mode-ruler-text { |
| 328 left: 2px; | 328 left: 2px; |
| 329 top: -2px; | 329 top: -2px; |
| 330 } | 330 } |
| 331 | 331 |
| 332 .device-mode-ruler-left .device-mode-ruler-text { | 332 .device-mode-ruler-left .device-mode-ruler-text { |
| 333 left: -4px; | 333 left: -4px; |
| 334 top: -15px; | 334 top: -15px; |
| 335 transform: rotate(270deg); | 335 transform: rotate(270deg); |
| 336 } | 336 } |
| OLD | NEW |