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

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

Issue 315003008: [DevTools] UI for network conditions 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 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 overflow: hidden; 8 overflow: hidden;
9 position: relative; 9 position: relative;
10 } 10 }
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 .responsive-design-toolbar > .responsive-design-composite-section { 121 .responsive-design-toolbar > .responsive-design-composite-section {
122 border-right: 1px solid rgb(163, 163, 163); 122 border-right: 1px solid rgb(163, 163, 163);
123 } 123 }
124 124
125 .responsive-design-toolbar .field-error-message { 125 .responsive-design-toolbar .field-error-message {
126 display: none; 126 display: none;
127 } 127 }
128 128
129 .responsive-design-toolbar input[type='text'] { 129 .responsive-design-toolbar input[type='text'] {
130 color: rgb(255, 156, 0); 130 color: rgb(255, 156, 0);
131 text-align: center; 131 text-align: left;
132 background-color: transparent; 132 background-color: transparent;
133 border: none; 133 border: none;
134 margin: 0; 134 margin: 0;
135 padding-bottom: 4px; 135 padding-bottom: 4px;
136 } 136 }
137 137
138 .responsive-design-toolbar input[type='text'].numeric {
139 text-align: center;
140 }
141
142 .responsive-design-toolbar input[type='text']::-webkit-input-placeholder {
143 color: rgba(255, 156, 0, 0.5);
144 }
145
138 .responsive-design-toolbar input[type='text']:not(.numeric) { 146 .responsive-design-toolbar input[type='text']:not(.numeric) {
139 width: 100%; 147 width: 100%;
140 margin-left: 7px; 148 margin-left: 7px;
141 } 149 }
142 150
143 .responsive-design-toolbar input:disabled, 151 .responsive-design-toolbar input:disabled,
144 .responsive-design-toolbar input[readonly], 152 .responsive-design-toolbar input[readonly],
145 .responsive-design-toolbar button:disabled { 153 .responsive-design-toolbar button:disabled {
146 opacity: 0.7; 154 opacity: 0.7;
147 } 155 }
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 .responsive-design-icon-expand { 274 .responsive-design-icon-expand {
267 -webkit-mask-position: -48px 0; 275 -webkit-mask-position: -48px 0;
268 top: 0 !important; 276 top: 0 !important;
269 margin-right: 2px; 277 margin-right: 2px;
270 } 278 }
271 279
272 .responsive-design-expand.expanded .responsive-design-icon-expand { 280 .responsive-design-expand.expanded .responsive-design-icon-expand {
273 transform: rotate(180deg); 281 transform: rotate(180deg);
274 } 282 }
275 283
284 .responsive-design-network select {
285 width: 120px;
286 }
287
276 .responsive-design-warning { 288 .responsive-design-warning {
277 background-color: rgb(64, 64, 64); 289 background-color: rgb(64, 64, 64);
278 color: rgb(180, 180, 180); 290 color: rgb(180, 180, 180);
279 height: 19px; 291 height: 19px;
280 padding: 2px; 292 padding: 2px;
281 white-space: nowrap; 293 white-space: nowrap;
282 } 294 }
283 295
284 .responsive-design-warning::before { 296 .responsive-design-warning::before {
285 background-image: url(Images/statusbarButtonGlyphs.png); 297 background-image: url(Images/statusbarButtonGlyphs.png);
286 background-size: 320px 144px; 298 background-size: 320px 144px;
287 width: 10px; 299 width: 10px;
288 height: 10px; 300 height: 10px;
289 content: ""; 301 content: "";
290 position: relative; 302 position: relative;
291 top: 2px; 303 top: 2px;
292 background-position: -202px -107px; 304 background-position: -202px -107px;
293 float: left; 305 float: left;
294 margin-right: 4px; 306 margin-right: 4px;
295 margin-left: 2px; 307 margin-left: 2px;
296 } 308 }
297 309
298 @media (-webkit-min-device-pixel-ratio: 1.5) { 310 @media (-webkit-min-device-pixel-ratio: 1.5) {
299 .responsive-design-warning::before { 311 .responsive-design-warning::before {
300 background-image: url(Images/statusbarButtonGlyphs_2x.png); 312 background-image: url(Images/statusbarButtonGlyphs_2x.png);
301 } 313 }
302 } /* media */ 314 } /* media */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698