Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(664)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/emulation/deviceModeView.css

Issue 1650243004: [DevTools] Option to show device frames in emulation mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Place device frame art options behind experiment Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698