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

Side by Side Diff: Source/devtools/front_end/overrides.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 (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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 } 96 }
97 97
98 .overrides-view .field-error-message { 98 .overrides-view .field-error-message {
99 display: none; 99 display: none;
100 } 100 }
101 101
102 .overrides-user-agent fieldset { 102 .overrides-user-agent fieldset {
103 padding-top: 5px; 103 padding-top: 5px;
104 } 104 }
105 105
106 .overrides-network fieldset {
107 padding-top: 5px;
108 }
109
110 .overrides-network fieldset p {
111 width: 100%;
112 }
113
114 .overrides-network fieldset .explanation {
115 margin-top: 5px;
116 font-size: 11px;
117 }
118
119 .overrides-network input[type=text] {
120 width: 100%;
121 max-width: 400px;
122 min-width: 120px;
123 }
124
106 .overrides-device > select { 125 .overrides-device > select {
107 margin-bottom: 10px; 126 margin-bottom: 10px;
108 width: 400px; 127 width: 400px;
109 max-width: 90%; 128 max-width: 90%;
110 } 129 }
111 130
112 .overrides-device button { 131 .overrides-device button {
113 margin-right: 10px; 132 margin-right: 10px;
114 } 133 }
115 134
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 } 195 }
177 196
178 .overrides-user-agent select { 197 .overrides-user-agent select {
179 margin: 7px 0; 198 margin: 7px 0;
180 } 199 }
181 200
182 .overrides-sensors > label { 201 .overrides-sensors > label {
183 margin-bottom: 10px; 202 margin-bottom: 10px;
184 } 203 }
185 204
186 .overrides-device, .overrides-viewport, .overrides-user-agent, .overrides-sensor s { 205 .overrides-device, .overrides-viewport, .overrides-user-agent, .overrides-networ k, .overrides-sensors {
187 flex: none !important; 206 flex: none !important;
188 } 207 }
189 208
190 .overrides-sensors input { 209 .overrides-sensors input {
191 text-align: right; 210 text-align: right;
192 } 211 }
193 212
194 .overrides-activate-device #tab-device, 213 .overrides-activate-device #tab-device,
195 .overrides-activate-viewport #tab-viewport, 214 .overrides-activate-viewport #tab-viewport,
196 .overrides-activate-user-agent #tab-user-agent, 215 .overrides-activate-user-agent #tab-user-agent,
216 .overrides-activate-network #tab-network,
197 .overrides-activate-sensors #tab-sensors { 217 .overrides-activate-sensors #tab-sensors {
198 color: rgb(25, 100, 228); 218 color: rgb(25, 100, 228);
199 opacity: 0.8; 219 opacity: 0.8;
200 } 220 }
201 221
202 .overrides-activate-device #tab-device.selected, 222 .overrides-activate-device #tab-device.selected,
203 .overrides-activate-viewport #tab-viewport.selected, 223 .overrides-activate-viewport #tab-viewport.selected,
204 .overrides-activate-user-agent #tab-user-agent.selected, 224 .overrides-activate-user-agent #tab-user-agent.selected,
225 .overrides-activate-network #tab-network.selected,
205 .overrides-activate-sensors #tab-sensors.selected { 226 .overrides-activate-sensors #tab-sensors.selected {
206 opacity: 1; 227 opacity: 1;
207 } 228 }
208 229
209 .overrides-view input[type=text]:enabled:focus, 230 .overrides-view input[type=text]:enabled:focus,
210 .overrides-view select:enabled:focus { 231 .overrides-view select:enabled:focus {
211 -webkit-transition: border-color 200ms; 232 -webkit-transition: border-color 200ms;
212 border-color: rgb(77, 144, 254); 233 border-color: rgb(77, 144, 254);
213 outline: none; 234 outline: none;
214 } 235 }
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 276
256 @media (-webkit-min-device-pixel-ratio: 1.5) { 277 @media (-webkit-min-device-pixel-ratio: 1.5) {
257 .overrides-view .overrides-footer::before { 278 .overrides-view .overrides-footer::before {
258 background-image: url(Images/statusbarButtonGlyphs_2x.png); 279 background-image: url(Images/statusbarButtonGlyphs_2x.png);
259 } 280 }
260 } /* media */ 281 } /* media */
261 282
262 .overrides-view .overrides-footer .warning-icon-small { 283 .overrides-view .overrides-footer .warning-icon-small {
263 margin-right: 3px; 284 margin-right: 3px;
264 } 285 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698