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

Side by Side Diff: Source/devtools/front_end/overrides.css

Issue 341543003: DevTools: make responsive design a master switch for emulation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 .overrides-view .tabbed-pane-header-tab { 60 .overrides-view .tabbed-pane-header-tab {
61 background-color: transparent; 61 background-color: transparent;
62 border: none transparent; 62 border: none transparent;
63 font-weight: normal; 63 font-weight: normal;
64 text-shadow: none; 64 text-shadow: none;
65 color: #777; 65 color: #777;
66 height: 22px; 66 height: 22px;
67 padding-left: 0; 67 padding-left: 0;
68 padding-left: 10px; 68 padding-left: 10px;
69 border-left: 6px solid transparent; 69 border-left: 8px solid transparent;
70 } 70 }
71 71
72 .overrides-view .tabbed-pane-header-tab:not(.selected) { 72 .overrides-view .tabbed-pane-header-tab:not(.selected) {
73 cursor: pointer !important; 73 cursor: pointer !important;
74 } 74 }
75 75
76 .overrides-view .tabbed-pane-header-tab.selected { 76 .overrides-view .tabbed-pane-header-tab.selected {
77 color: inherit; 77 color: inherit;
78 border: none transparent; 78 border: none transparent;
79 border-left: 6px solid #666; 79 border-left: 8px solid #666;
80 } 80 }
81 81
82 .overrides-view fieldset { 82 .overrides-view fieldset {
83 border: none; 83 border: none;
84 padding: 0 0 5px 15px; 84 padding: 0 0 5px 15px;
85 } 85 }
86 86
87 .overrides-view fieldset p { 87 .overrides-view fieldset p {
88 display: inline-block; 88 display: inline-block;
89 padding: 0; 89 padding: 0;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 padding: 12px; 186 padding: 12px;
187 } 187 }
188 188
189 .overrides-view label { 189 .overrides-view label {
190 display: flex; 190 display: flex;
191 height: auto; 191 height: auto;
192 } 192 }
193 193
194 /* Screen tab */ 194 /* Screen tab */
195 195
196 .overrides-viewport > label { 196 .overrides-media > label {
197 margin-bottom: 4px; 197 margin-bottom: 4px;
198 } 198 }
199 199
200 /* Sensors tab */ 200 /* Sensors tab */
201 201
202 .overrides-sensors > label { 202 .overrides-sensors > label {
203 margin-bottom: 10px; 203 margin-bottom: 10px;
204 } 204 }
205 205
206 .overrides-device, .overrides-viewport, .overrides-network, .overrides-sensors { 206 .overrides-device, .overrides-media, .overrides-network, .overrides-sensors {
207 flex: none !important; 207 flex: none !important;
208 } 208 }
209 209
210 .overrides-sensors input { 210 .overrides-sensors input {
211 text-align: right; 211 text-align: right;
212 } 212 }
213 213
214 .overrides-activate-device #tab-device, 214 .overrides-activate-device #tab-device,
215 .overrides-activate-viewport #tab-viewport, 215 .overrides-activate-media #tab-viewport,
216 .overrides-activate-network #tab-network, 216 .overrides-activate-network #tab-network,
217 .overrides-activate-sensors #tab-sensors { 217 .overrides-activate-sensors #tab-sensors {
218 color: rgb(25, 100, 228);
219 opacity: 0.8; 218 opacity: 0.8;
220 } 219 }
221 220
221 .overrides-activate-device #tab-device .tabbed-pane-header-tab-title::after,
222 .overrides-activate-media #tab-viewport .tabbed-pane-header-tab-title::after,
223 .overrides-activate-network #tab-network .tabbed-pane-header-tab-title::after,
224 .overrides-activate-sensors #tab-sensors .tabbed-pane-header-tab-title::after {
225 padding-left: 3px;
226 content: "\2713";
227 color: rgb(25, 100, 228);
228 }
229
222 .overrides-activate-device #tab-device.selected, 230 .overrides-activate-device #tab-device.selected,
223 .overrides-activate-viewport #tab-viewport.selected, 231 .overrides-activate-media #tab-viewport.selected,
224 .overrides-activate-network #tab-network.selected, 232 .overrides-activate-network #tab-network.selected,
225 .overrides-activate-sensors #tab-sensors.selected { 233 .overrides-activate-sensors #tab-sensors.selected {
226 opacity: 1; 234 opacity: 1;
227 } 235 }
228 236
229 .overrides-view input[type=text]:enabled:focus, 237 .overrides-view input[type=text]:enabled:focus,
230 .overrides-view select:enabled:focus { 238 .overrides-view select:enabled:focus {
231 -webkit-transition: border-color 200ms; 239 -webkit-transition: border-color 200ms;
232 border-color: rgb(77, 144, 254); 240 border-color: rgb(77, 144, 254);
233 outline: none; 241 outline: none;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 283
276 @media (-webkit-min-device-pixel-ratio: 1.5) { 284 @media (-webkit-min-device-pixel-ratio: 1.5) {
277 .overrides-view .overrides-footer::before { 285 .overrides-view .overrides-footer::before {
278 background-image: url(Images/statusbarButtonGlyphs_2x.png); 286 background-image: url(Images/statusbarButtonGlyphs_2x.png);
279 } 287 }
280 } /* media */ 288 } /* media */
281 289
282 .overrides-view .overrides-footer .warning-icon-small { 290 .overrides-view .overrides-footer .warning-icon-small {
283 margin-right: 3px; 291 margin-right: 3px;
284 } 292 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/main/AdvancedApp.js ('k') | Source/devtools/front_end/sdk/OverridesSupport.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698