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

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

Issue 1613233005: Merge to 2623 "[DevTools] Fix various bugs in Device Mode." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2623
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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/emulation/deviceModeToolbar.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
11 background-color: hsl(0, 0%, 98%); 11 background-color: hsl(0, 0%, 98%);
12 } 12 }
13 13
14 .device-mode-toolbar { 14 .device-mode-toolbar {
15 flex: none; 15 flex: none;
16 background-color: hsl(0, 0%, 98%); 16 background-color: hsl(0, 0%, 98%);
17 border-bottom: 1px solid #ccc; 17 border-bottom: 1px solid #ccc;
18 display: flex; 18 display: flex;
19 flex-direction: row; 19 flex-direction: row;
20 align-items: stretch; 20 align-items: stretch;
21 } 21 }
22 22
23 .device-mode-toolbar .toolbar { 23 .device-mode-toolbar .toolbar {
24 overflow: hidden; 24 overflow: hidden;
25 flex: none; 25 flex: 0 100000 auto;
26 padding: 0 5px; 26 padding: 0 5px;
27 } 27 }
28 28
29 .device-mode-toolbar .toolbar.device-mode-toolbar-fixed-size {
30 flex: 0 1 auto;
31 }
32
29 .device-mode-toolbar-spacer { 33 .device-mode-toolbar-spacer {
30 flex: 1 1 0; 34 flex: 1 1 0;
31 display: flex; 35 display: flex;
32 flex-direction: row; 36 flex-direction: row;
37 overflow: hidden;
33 } 38 }
34 39
35 .device-mode-content-clip { 40 .device-mode-content-clip {
36 overflow: hidden; 41 overflow: hidden;
37 flex: auto; 42 flex: auto;
38 } 43 }
39 44
40 .device-mode-media-container { 45 .device-mode-media-container {
41 flex: none; 46 flex: none;
42 overflow: hidden; 47 overflow: hidden;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 top: 0; 131 top: 0;
127 width: 100%; 132 width: 100%;
128 height: 100%; 133 height: 100%;
129 } 134 }
130 135
131 .device-mode-resizer { 136 .device-mode-resizer {
132 position: absolute; 137 position: absolute;
133 display: flex; 138 display: flex;
134 align-items: center; 139 align-items: center;
135 justify-content: center; 140 justify-content: center;
141 overflow: hidden;
136 transition: background-color 0.1s ease; 142 transition: background-color 0.1s ease;
137 } 143 }
138 144
139 .device-mode-resizer:hover { 145 .device-mode-resizer:hover {
140 background-color: hsla(0, 0%, 0%, 0.1); 146 background-color: hsla(0, 0%, 0%, 0.1);
141 } 147 }
142 148
143 .device-mode-resizer > div { 149 .device-mode-resizer > div {
144 pointer-events: none; 150 pointer-events: none;
145 } 151 }
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 .device-mode-ruler-top .device-mode-ruler-text { 286 .device-mode-ruler-top .device-mode-ruler-text {
281 left: 2px; 287 left: 2px;
282 top: -2px; 288 top: -2px;
283 } 289 }
284 290
285 .device-mode-ruler-left .device-mode-ruler-text { 291 .device-mode-ruler-left .device-mode-ruler-text {
286 left: -4px; 292 left: -4px;
287 top: -15px; 293 top: -15px;
288 transform: rotate(270deg); 294 transform: rotate(270deg);
289 } 295 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/emulation/deviceModeToolbar.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698