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

Side by Side Diff: Source/devtools/front_end/emulation/responsiveDesignView.css

Issue 1178643004: [DevTools] Initial implementation of device modes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Turn into class Created 5 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
« no previous file with comments | « Source/devtools/front_end/emulation/overrides.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 2014 The Chromium Authors. All rights reserved. 2 * Copyright 2014 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 .responsive-design { 7 .responsive-design {
8 position: relative; 8 position: relative;
9 background-color: rgb(0, 0, 0); 9 background-color: rgb(0, 0, 0);
10 overflow: hidden; 10 overflow: hidden;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 .responsive-design-thumb-handle { 76 .responsive-design-thumb-handle {
77 content: url(Images/toolbarResizerHorizontal.png); 77 content: url(Images/toolbarResizerHorizontal.png);
78 pointer-events: none; 78 pointer-events: none;
79 } 79 }
80 80
81 .responsive-design-slider-height .responsive-design-thumb-handle { 81 .responsive-design-slider-height .responsive-design-thumb-handle {
82 transform: rotate(90deg); 82 transform: rotate(90deg);
83 } 83 }
84 84
85 .responsive-design-page-container {
86 background-color: #171717;
87 }
88
85 .responsive-design-page-scale-container { 89 .responsive-design-page-scale-container {
86 position: absolute !important; 90 position: absolute !important;
87 top: 0; 91 top: 0;
88 right: 0; 92 right: 0;
89 padding: 10px; 93 padding: 10px;
90 background-color: rgba(0, 0, 0, 0.3); 94 background-color: rgba(0, 0, 0, 0.3);
91 align-items: center; 95 align-items: center;
92 } 96 }
93 97
94 .responsive-design-page-scale-label { 98 .responsive-design-page-scale-label {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 padding: 0; 215 padding: 0;
212 display: inline-block; 216 display: inline-block;
213 } 217 }
214 218
215 .responsive-design-toolbar .field-error-message { 219 .responsive-design-toolbar .field-error-message {
216 display: none; 220 display: none;
217 } 221 }
218 222
219 .responsive-design-toolbar label { 223 .responsive-design-toolbar label {
220 cursor: default !important; 224 cursor: default !important;
225 margin: 0 2px;
221 } 226 }
222 227
223 .responsive-design-toolbar input[type='text'] { 228 .responsive-design-toolbar input[type='text'] {
224 text-align: left; 229 text-align: left;
225 background-color: transparent; 230 background-color: transparent;
226 border: none; 231 border: none;
227 margin: 0 1px 1px 0; 232 margin: 0 1px 1px 0;
228 padding: 3px 2px; 233 padding: 3px 2px;
229 } 234 }
230 235
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 .responsive-design-icon-swap { 300 .responsive-design-icon-swap {
296 background-color: rgb(255, 170, 0); 301 background-color: rgb(255, 170, 0);
297 -webkit-mask-position: -32px 0; 302 -webkit-mask-position: -32px 0;
298 -webkit-appearance: none; 303 -webkit-appearance: none;
299 padding: 0; 304 padding: 0;
300 border: 0; 305 border: 0;
301 } 306 }
302 307
303 .responsive-design-icon-swap { 308 .responsive-design-icon-swap {
304 margin-left: 1px; 309 margin-left: 1px;
310 top: 4px;
305 } 311 }
306 312
307 .responsive-design-icon-swap:hover { 313 .responsive-design-icon-swap:hover {
308 background-color: rgb(255, 180, 0); 314 background-color: rgb(255, 180, 0);
309 } 315 }
310 316
311 .responsive-design-icon-swap:active { 317 .responsive-design-icon-swap:active {
312 opacity: 0.8; 318 opacity: 0.8;
313 } 319 }
314 320
(...skipping 30 matching lines...) Expand all
345 opacity: 0.8; 351 opacity: 0.8;
346 } 352 }
347 353
348 /* Device section */ 354 /* Device section */
349 355
350 .responsive-design-section-device .responsive-design-section-decorator { 356 .responsive-design-section-device .responsive-design-section-decorator {
351 background: linear-gradient(to bottom, rgb(255, 186, 68), rgb(255, 119, 0)); 357 background: linear-gradient(to bottom, rgb(255, 186, 68), rgb(255, 119, 0));
352 margin-left: 0; 358 margin-left: 0;
353 } 359 }
354 360
355 .responsive-design-section-device select { 361 .responsive-design-section-device .device-select {
356 width: 283px; 362 width: 140px;
363 }
364
365 .responsive-design-section-device .mode-container {
366 display: inline-block;
367 width: 150px;
368 padding: 0 10px;
369 }
370
371 .responsive-design-section-device .mode-select select {
372 width: 116px;
373 }
374
375 .responsive-design-section-device .mode-select label {
376 margin-left: 4px;
377 color: rgb(255, 156, 0);
378 position: relative;
379 top: 1px;
357 } 380 }
358 381
359 .responsive-design-section-device input[type='text'], 382 .responsive-design-section-device input[type='text'],
360 .responsive-design-section-device input[type='text']::-webkit-input-placeholder, 383 .responsive-design-section-device input[type='text']::-webkit-input-placeholder,
361 .responsive-design-section-device select { 384 .responsive-design-section-device select {
362 color: rgb(255, 156, 0); 385 color: rgb(255, 156, 0);
363 } 386 }
364 387
365 .responsive-design-section-device input[type='checkbox']:checked:after { 388 .responsive-design-section-device input[type='checkbox']:checked:after {
366 background: rgb(255, 156, 0); 389 background: rgb(255, 156, 0);
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 pointer-events: none; 494 pointer-events: none;
472 } 495 }
473 496
474 .media-inspector-label-right { 497 .media-inspector-label-right {
475 right: 4px; 498 right: 4px;
476 } 499 }
477 500
478 .media-inspector-label-left { 501 .media-inspector-label-left {
479 left: 4px; 502 left: 4px;
480 } 503 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/emulation/overrides.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698