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

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

Issue 1581763002: Revert of [DevTools] Device Mode polish. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 21 matching lines...) Expand all
32 min-width: 93px; 32 min-width: 93px;
33 } 33 }
34 34
35 .device-mode-toolbar-right { 35 .device-mode-toolbar-right {
36 flex: 0 1000 115px; 36 flex: 0 1000 115px;
37 min-width: 40px; 37 min-width: 40px;
38 display: flex; 38 display: flex;
39 } 39 }
40 40
41 .device-mode-toolbar-middle-container { 41 .device-mode-toolbar-middle-container {
42 flex: 1 1 160px; 42 flex: 1 1 120px;
43 position: relative; 43 position: relative;
44 } 44 }
45 45
46 .device-mode-toolbar-middle { 46 .device-mode-toolbar-middle {
47 display: flex; 47 display: flex;
48 justify-content: flex-start; 48 justify-content: flex-start;
49 overflow: hidden; 49 overflow: hidden;
50 } 50 }
51 51
52 .device-mode-toolbar-middle .toolbar { 52 .device-mode-toolbar-middle .toolbar {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 .device-mode-page-area { 147 .device-mode-page-area {
148 position: absolute; 148 position: absolute;
149 left: 0; 149 left: 0;
150 right: 0; 150 right: 0;
151 width: 0; 151 width: 0;
152 height: 0; 152 height: 0;
153 display: flex; 153 display: flex;
154 background-color: #fcfcfc; 154 background-color: #fcfcfc;
155 } 155 }
156 156
157 .device-mode-blueprint-container {
158 display: flex;
159 justify-content: center;
160 pointer-events: none;
161 }
162
163 .device-mode-blueprint {
164 flex-direction: column;
165 justify-content: flex-end;
166 flex: none;
167 position: relative;
168 pointer-events: auto;
169 }
170
171 .device-mode-blueprint-border {
172 position: absolute;
173 left: 0;
174 right: 0;
175 top: 0;
176 bottom: 0;
177 display: flex;
178 align-items: flex-end;
179 justify-content: flex-end;
180 color: #aaa;
181 border: 1px solid #dcdcdc;
182 margin-top: -1px;
183 }
184
185 .device-mode-blueprint-border:hover {
186 border-color: #aaa;
187 }
188
189 .device-mode-blueprint-border > span {
190 transition: opacity 150ms;
191 opacity: 0;
192 padding: 3px;
193 }
194
195 .device-mode-blueprint-border:hover > span {
196 opacity: 1;
197 }
198
199 .device-mode-blueprint-inside {
200 position: absolute;
201 left: 20px;
202 right: 20px;
203 top: 20px;
204 bottom: 20px;
205 }
206
157 .device-mode-ruler { 207 .device-mode-ruler {
158 pointer-events: none; 208 pointer-events: none;
159 position: relative; 209 position: relative;
160 } 210 }
161 211
162 .device-mode-ruler-top { 212 .device-mode-ruler-top {
163 flex: 0 0 20px; 213 flex: 0 0 20px;
164 } 214 }
165 215
166 .device-mode-ruler-left { 216 .device-mode-ruler-left {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 .device-mode-ruler-top .device-mode-ruler-text { 272 .device-mode-ruler-top .device-mode-ruler-text {
223 left: 2px; 273 left: 2px;
224 top: -2px; 274 top: -2px;
225 } 275 }
226 276
227 .device-mode-ruler-left .device-mode-ruler-text { 277 .device-mode-ruler-left .device-mode-ruler-text {
228 left: -4px; 278 left: -4px;
229 top: -15px; 279 top: -15px;
230 transform: rotate(270deg); 280 transform: rotate(270deg);
231 } 281 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698