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

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

Issue 544013003: DevTools: MQs should start at zero in the grid (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix for MQ background Created 6 years, 3 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 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 .responsive-design-toolbar { 115 .responsive-design-toolbar {
116 display: flex; 116 display: flex;
117 flex: none; 117 flex: none;
118 background: linear-gradient(to bottom, rgb(83, 81, 81), rgb(59, 59, 59)); 118 background: linear-gradient(to bottom, rgb(83, 81, 81), rgb(59, 59, 59));
119 color: rgb(255, 255, 255); 119 color: rgb(255, 255, 255);
120 overflow: hidden; 120 overflow: hidden;
121 border-bottom: 1px solid rgb(71, 71, 71); 121 border-bottom: 1px solid rgb(71, 71, 71);
122 } 122 }
123 123
124 .responsive-design-toolbar-wrapper {
125 flex-grow: inherit;
dgozman 2014/09/08 11:44:26 Why do you need this?
pbakaus 2014/09/08 12:02:34 The "more" icon does not float at the right if I r
126 }
127
124 .responsive-design-separator { 128 .responsive-design-separator {
125 flex: none; 129 flex: none;
126 width: 3px; 130 width: 3px;
127 background-color: rgb(46, 46, 46); 131 background-color: rgb(46, 46, 46);
128 border-right: 1px solid rgb(75, 75, 75); 132 border-right: 1px solid rgb(75, 75, 75);
129 } 133 }
130 134
131 .responsive-design-section { 135 .responsive-design-section {
132 display: flex; 136 display: flex;
133 flex: none; 137 flex: none;
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 454
451 /* Media query inspector */ 455 /* Media query inspector */
452 456
453 .responsive-design-media-container { 457 .responsive-design-media-container {
454 position: absolute; 458 position: absolute;
455 right: 0; 459 right: 0;
456 } 460 }
457 461
458 /* Media query bars */ 462 /* Media query bars */
459 463
464 .media-inspector-view {
465 background-color: rgb(43, 43, 43);
466 box-shadow: inset 0px 5px 7px rgba(0, 0, 0, 0.7);
467 }
468
460 .media-inspector-marker-container { 469 .media-inspector-marker-container {
461 position: relative; 470 position: relative;
462 height: 14px; 471 height: 14px;
463 margin: 2px 0; 472 margin: 2px 0;
473 z-index: 1;
dgozman 2014/09/08 11:44:26 If you want to place media inspector above the can
pbakaus 2014/09/08 12:02:34 Cannot do in this case. The order goes like this:
464 } 474 }
465 475
466 .media-inspector-marker { 476 .media-inspector-marker {
467 position: absolute; 477 position: absolute;
468 top: 0px; 478 top: 0px;
469 bottom: 0px; 479 bottom: 0px;
470 white-space: nowrap; 480 white-space: nowrap;
471 border-radius: 2px; 481 border-radius: 2px;
472 } 482 }
473 483
474 .media-inspector-marker-inactive { 484 .media-inspector-marker-inactive {
475 -webkit-filter: brightness(85%); 485 -webkit-filter: brightness(65%);
476 } 486 }
477 487
478 .media-inspector-marker-highlight { 488 .media-inspector-marker-highlight {
479 -webkit-filter: brightness(115%) !important; 489 -webkit-filter: brightness(115%) !important;
480 } 490 }
481 491
482 .media-inspector-marker-max-width { 492 .media-inspector-marker-max-width {
483 background: linear-gradient(to bottom, rgb(72, 139, 249), rgb(26, 113, 233)) ; 493 background: linear-gradient(to left, rgba(255, 255, 255, 0.27), rgba(0,0,0,0 ) 10%), linear-gradient(to bottom, rgb(72, 139, 249), rgb(26, 113, 233));
484 box-shadow: rgb(0, 0, 0) 1px 0 1px;
485 border-radius: 0 2px 2px 0; 494 border-radius: 0 2px 2px 0;
495 border-right: 2px solid rgb(171, 207, 255);
486 } 496 }
487 497
488 .media-inspector-marker-min-max-width { 498 .media-inspector-marker-min-max-width {
489 background: linear-gradient(to bottom, rgb(102, 186, 11), rgb(4, 166, 0)); 499 background: linear-gradient(to bottom, rgb(119, 203, 28), rgb(4, 166, 0));
490 box-shadow: rgb(0, 0, 0) -1px 0 1px, rgb(0, 0, 0) 1px 0 1px;
491 border-radius: 2px; 500 border-radius: 2px;
501 border-left: 2px solid rgb(80, 226, 40);
502 border-right: 2px solid rgb(80, 226, 40);
492 } 503 }
493 504
494 .media-inspector-marker-min-width { 505 .media-inspector-marker-min-width {
495 background: linear-gradient(to bottom, rgb(222, 129, 30), rgb(204, 104, 31)) ; 506 background: linear-gradient(to right, rgba(255, 255, 255, 0.27), rgba(0,0,0, 0) 10%), linear-gradient(to bottom, rgb(222, 129, 30), rgb(204, 104, 31));
496 box-shadow: rgb(0, 0, 0) -1px 0 1px;
497 border-radius: 2px 0 0 2px; 507 border-radius: 2px 0 0 2px;
508 border-left: 2px solid rgb(255, 181, 142);
498 } 509 }
499 510
500 .media-inspector-marker-under-highlighted { 511 .media-inspector-marker-under-highlighted {
501 background: transparent !important; 512 background: transparent !important;
502 box-shadow: none !important; 513 border: none !important;
503 } 514 }
504 515
505 /* Media query labels */ 516 /* Media query labels */
506 517
507 .media-inspector-marker:not(.media-inspector-marker-highlight) .media-inspector- marker-label-container { 518 .media-inspector-marker:not(.media-inspector-marker-highlight) .media-inspector- marker-label-container {
508 display: none; 519 display: none;
509 } 520 }
510 521
511 .media-inspector-marker-label-container { 522 .media-inspector-marker-label-container {
512 position: absolute; 523 position: absolute;
513 } 524 }
514 525
515 .media-inspector-marker-label-container-left { 526 .media-inspector-marker-label-container-left {
516 left: 0; 527 left: -2px;
517 } 528 }
518 529
519 .media-inspector-marker-label-container-right { 530 .media-inspector-marker-label-container-right {
520 right: 0; 531 right: -2px;
521 } 532 }
522 533
523 .media-inspector-marker-serif { 534 .media-inspector-marker-serif {
524 position: absolute; 535 position: absolute;
525 top: -60px; 536 top: -60px;
526 bottom: -60px; 537 bottom: -60px;
527 width: 1px; 538 width: 1px;
528 } 539 }
529 540
530 .media-inspector-marker-max-width .media-inspector-marker-serif { 541 .media-inspector-marker-max-width .media-inspector-marker-serif {
531 background-color: rgb(26, 113, 233); 542 background-color: rgb(26, 113, 233);
532 } 543 }
533 544
534 .media-inspector-marker-min-max-width .media-inspector-marker-serif { 545 .media-inspector-marker-min-max-width .media-inspector-marker-serif {
535 background-color: rgb(4, 166, 0); 546 background-color: rgb(4, 166, 0);
536 } 547 }
537 548
538 .media-inspector-marker-min-width .media-inspector-marker-serif { 549 .media-inspector-marker-min-width .media-inspector-marker-serif {
539 background-color: rgb(204, 104, 31); 550 background-color: rgb(204, 104, 31);
540 } 551 }
541 552
542 .media-inspector-marker-label { 553 .media-inspector-marker-label {
543 color: rgb(230, 230, 230); 554 color: rgb(230, 230, 230);
544 position: absolute; 555 position: absolute;
545 top: -1px; 556 top: 1px;
546 bottom: 0; 557 bottom: 0;
547 font-size: 13px; 558 font-size: 10px;
548 text-shadow: rgb(0, 0, 0) 1px 1px; 559 text-shadow: rgba(0, 0, 0, 0.5) 1px 0;
549 } 560 }
550 561
551 .media-inspector-label-right { 562 .media-inspector-label-right {
552 right: 2px; 563 right: 4px;
553 } 564 }
554 565
555 .media-inspector-label-left { 566 .media-inspector-label-left {
556 left: 2px; 567 left: 4px;
557 } 568 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698