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
4 * found in the LICENSE file.
9 background-color: rgb
(0, 0, 0);
13 .responsive-design-view {
17 .responsive-design-canvas {
21 .responsive-design-sliders-container {
26 .responsive-design-generic-outline-container {
35 .responsive-design-generic-outline {
42 background-color: rgb
(51, 51, 51);
43 box-shadow: rgb
(20, 20, 20) 3px 3px 4px;
46 .responsive-design-slider-width {
54 justify-content: center
;
57 .responsive-design-slider-height {
65 justify-content: center
;
68 .responsive-design-slider-corner {
76 .responsive-design-thumb-handle {
77 content: url
(Images/toolbarResizerHorizontal.png);
81 .responsive-design-slider-height .responsive-design-thumb-handle {
82 transform: rotate
(90deg);
85 .responsive-design-page-container {
86 background-color: #171717;
89 .responsive-design-page-container-image {
97 .responsive-design-page-scale-container {
98 position: absolute
!important
;
102 background-color: rgba
(0, 0, 0, 0.3);
106 .responsive-design-page-scale-label {
112 cursor: default
!important
;
115 .responsive-design-page-scale-container .responsive-design-page-scale-button > .glyph {
119 border: 1px solid transparent
;
123 .responsive-design-page-scale-container .responsive-design-page-scale-button:not(:disabled):hover {
124 box-shadow: rgb
(255, 255, 255) 0 0 3px;
127 .responsive-design-page-scale-container .responsive-design-page-scale-button {
129 background-color: transparent
;
133 .responsive-design-page-scale-container .responsive-design-page-scale-button > .glyph {
134 background-color: rgb
(180, 180, 180);
135 -webkit-mask-image: url
(Images/responsiveDesign.png);
136 -webkit-mask-size: 112px 16px;
140 @media (-webkit-min-device-pixel-ratio: 1.5) {
141 .responsive-design-page-scale-container .responsive-design-page-scale-button > .glyph {
142 -webkit-mask-image: url
(Images/responsiveDesign_2x.png);
146 .responsive-design-page-scale-increase > .glyph {
147 -webkit-mask-position: -80px 0;
150 .responsive-design-page-scale-decrease > .glyph {
151 -webkit-mask-position: -96px 0;
156 .responsive-design-toolbar {
159 background: linear-gradient
(to bottom
, rgb
(83, 81, 81), rgb
(59, 59, 59));
160 color: rgb
(255, 255, 255);
162 border-bottom: 1px solid rgb
(71, 71, 71);
165 .responsive-design-separator {
168 background-color: rgb
(46, 46, 46);
169 border-right: 1px solid rgb
(75, 75, 75);
172 .responsive-design-section {
175 flex-direction: column
;
177 align-items: stretch
;
178 justify-content: flex-start
;
182 .responsive-design-section-decorator {
189 .responsive-design-suite {
193 color: rgb
(180, 180, 180);
196 .responsive-design-suite.responsive-design-suite-top {
197 color: rgb
(255, 255, 255);
200 .responsive-design-suite-separator {
203 background-color: rgb
(43, 43, 43);
207 .responsive-design-suite > div:not(.responsive-design-suite-separator) {
212 justify-content: space-between
;
217 /* Toolbar controls */
219 .responsive-design-toolbar fieldset
,
220 .responsive-design-toolbar p {
224 display: inline-block
;
227 .responsive-design-toolbar .field-error-message {
231 .responsive-design-toolbar label {
232 cursor: default
!important
;
236 .responsive-design-toolbar input[type='text'] {
238 background-color: transparent
;
244 .responsive-design-toolbar input[type='text'].numeric {
248 .responsive-design-toolbar input:focus::-webkit-input-placeholder {
249 color: transparent
!important
;
252 .responsive-design-toolbar
fieldset:disabled input
,
253 .responsive-design-toolbar fieldset:disabled button {
257 .responsive-design-toolbar input.error-input {
258 color: red
!important
;
259 text-decoration: line-through
;
262 .responsive-design-toolbar select {
264 background-color: rgb
(87, 87, 87);
270 .responsive-design-toolbar input:focus {
271 background-color: rgb
(81, 81, 81);
276 .responsive-design-icon {
277 background-color: rgb
(180, 180, 180);
278 -webkit-mask-image: url
(Images/responsiveDesign.png);
279 -webkit-mask-size: 112px 16px;
282 .responsive-design-icon {
283 display: inline-block
;
290 div
.responsive-design-icon:disabled
{
291 opacity: 1 !important
;
294 @media (-webkit-min-device-pixel-ratio: 1.5) {
295 .responsive-design-icon {
296 -webkit-mask-image: url
(Images/responsiveDesign_2x.png);
300 .responsive-design-icon-resolution {
301 -webkit-mask-position: 0 0;
304 .responsive-design-icon-dpr {
305 -webkit-mask-position: -16px 0;
308 .responsive-design-icon-swap {
309 background-color: rgb
(255, 170, 0);
310 -webkit-mask-position: -32px 0;
311 -webkit-appearance: none
;
316 .responsive-design-icon-swap {
321 .responsive-design-icon-swap:hover {
322 background-color: rgb
(255, 180, 0);
325 .responsive-design-icon-swap:active {
329 /* Buttons section */
331 .responsive-design-section-buttons {
333 background: rgb
(17, 17, 17);
336 .responsive-design-more-button-container {
339 justify-content: flex-end
;
340 align-items: flex-end
;
344 .responsive-design-more-button {
345 -webkit-appearance: none
;
347 background-color: transparent
;
351 text-shadow: black
1px 1px;
354 .responsive-design-more-button:hover {
358 .responsive-design-more-button:active {
364 .responsive-design-section-device .responsive-design-section-decorator {
365 background: linear-gradient
(to bottom
, rgb
(255, 186, 68), rgb
(255, 119, 0));
369 .responsive-design-section-device .device-select {
373 .responsive-design-section-device .mode-container {
374 display: inline-block
;
379 .responsive-design-section-device .mode-select select {
383 .responsive-design-section-device .mode-select label {
385 color: rgb
(255, 156, 0);
390 .responsive-design-section-device input
[type
='text'],
391 .responsive-design-section-device input
[type
='text']::-webkit-input-placeholder
,
392 .responsive-design-section-device select {
393 color: rgb
(255, 156, 0);
396 .responsive-design-section-device input[type='checkbox']:checked:after {
397 background: rgb
(255, 156, 0);
400 /* Network section */
402 .responsive-design-section-network select {
406 .responsive-design-section-network input[type='text'] {
409 text-overflow: ellipsis
;
412 .responsive-design-section-network input
[type
='text'],
413 .responsive-design-section-network input
[type
='text']::-webkit-input-placeholder
,
414 .responsive-design-section-network select {
415 color: rgb
(65, 175, 255);
418 .responsive-design-section-network .responsive-design-section-decorator {
419 background: linear-gradient
(to bottom
, rgb
(77, 170, 243), rgb
(0, 130, 255));
422 /* Warning message */
424 .responsive-design-warning {
430 border-bottom: 1px solid rgb
(187, 187, 187);
433 /* Media query inspector */
435 .responsive-design-media-container {
443 /* Media query bars */
445 .media-inspector-marker-container {
451 .media-inspector-marker {
459 .media-inspector-marker-inactive {
460 -webkit-filter: brightness
(80%);
463 .media-inspector-marker:hover {
466 -webkit-filter: brightness
(115%) !important
;
469 .media-inspector-marker-max-width {
470 background: linear-gradient
(to left
, rgba
(255, 255, 255, 0.27), rgba
(0,0,0,0) 30px), linear-gradient
(to bottom
, rgb
(72, 139, 249), rgb
(26, 113, 233));
471 border-radius: 0 2px 2px 0;
472 border-right: 2px solid rgb
(171, 207, 255);
475 .media-inspector-marker-min-max-width {
476 background: linear-gradient
(to right
, rgba
(255, 255, 255, 0.27), rgba
(0,0,0,0) 30px), linear-gradient
(to left
, rgba
(255, 255, 255, 0.27), rgba
(0,0,0,0) 30px), linear-gradient
(to bottom
, rgb
(112, 174, 7), rgb
(3, 131, 0));
478 border-left: 2px solid rgb
(80, 226, 40);
479 border-right: 2px solid rgb
(80, 226, 40);
482 .media-inspector-marker-min-max-width:hover {
486 .media-inspector-marker-min-width {
487 background: linear-gradient
(to right
, rgba
(255, 255, 255, 0.27), rgba
(0,0,0,0) 30px), linear-gradient
(to bottom
, rgb
(222, 129, 30), rgb
(204, 104, 31));
488 border-radius: 2px 0 0 2px;
489 border-left: 2px solid rgb
(255, 181, 142);
492 /* Media query labels */
494 .media-inspector-marker:not(:hover) .media-inspector-marker-label-container {
498 .media-inspector-marker-label-container {
502 .media-inspector-marker-label-container-left {
506 .media-inspector-marker-label-container-right {
510 .media-inspector-marker-label {
516 text-shadow: rgba
(0, 0, 0, 0.6) 1px 1px;
517 pointer-events: none
;
520 .media-inspector-label-right {
524 .media-inspector-label-left {