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

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

Powered by Google App Engine
This is Rietveld 408576698