OLD | NEW |
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 } | 92 } |
93 | 93 |
94 .overrides-view fieldset p label { | 94 .overrides-view fieldset p label { |
95 display: inline-block; | 95 display: inline-block; |
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 /* Network tab */ |
103 padding-top: 5px; | |
104 } | |
105 | 103 |
106 .overrides-network fieldset { | 104 .overrides-network fieldset { |
107 padding-top: 5px; | 105 padding-top: 5px; |
108 } | 106 } |
109 | 107 |
110 .overrides-network fieldset p { | 108 .overrides-network fieldset p { |
111 width: 100%; | 109 width: 100%; |
112 margin-left: 2px; | 110 margin-left: 2px; |
113 } | 111 } |
114 | 112 |
115 .overrides-network fieldset select { | 113 .overrides-network fieldset select { |
116 margin-bottom: 5px; | 114 margin-bottom: 5px; |
117 } | 115 } |
118 | 116 |
119 .overrides-network fieldset p label { | 117 .overrides-network fieldset p label { |
120 cursor: default; | 118 cursor: default; |
121 margin-right: 5px; | 119 margin-right: 5px; |
122 } | 120 } |
123 | 121 |
124 .overrides-network fieldset input[type='text'] { | 122 .overrides-network fieldset input[type='text'] { |
125 width: 100%; | 123 width: 100%; |
126 max-width: 400px; | 124 max-width: 400px; |
127 min-width: 120px; | 125 min-width: 120px; |
| 126 margin-left: 2px; |
| 127 } |
| 128 |
| 129 /* Device tab */ |
| 130 |
| 131 .overrides-device { |
| 132 width: 100%; |
128 } | 133 } |
129 | 134 |
130 .overrides-device > select { | 135 .overrides-device > select { |
131 margin-bottom: 10px; | 136 margin-bottom: 10px; |
132 width: 400px; | 137 width: 400px; |
133 max-width: 90%; | 138 max-width: 90%; |
134 } | 139 } |
135 | 140 |
136 .overrides-device button { | 141 .overrides-device input { |
137 margin-right: 10px; | 142 text-align: right; |
| 143 } |
| 144 |
| 145 .overrides-device input[type=range] { |
| 146 width: 100%; |
138 } | 147 } |
139 | 148 |
140 .overrides-device > label { | 149 .overrides-device > label { |
141 display: block; | 150 display: block; |
142 margin-bottom: 7px; | 151 margin-bottom: 7px; |
143 white-space: nowrap; | 152 white-space: nowrap; |
144 } | 153 } |
145 | 154 |
146 .overrides-device-value { | 155 .overrides-device-value { |
147 padding-left: 10px; | 156 padding-left: 10px; |
148 color: gray; | 157 color: gray; |
149 } | 158 } |
150 | 159 |
151 .overrides-device-value-label { | 160 .overrides-device-value-label { |
152 overflow: hidden; | 161 overflow: hidden; |
153 white-space: nowrap; | 162 white-space: nowrap; |
154 text-overflow: ellipsis; | 163 text-overflow: ellipsis; |
155 margin-top: 10px; | 164 margin-top: 10px; |
156 } | 165 } |
157 | 166 |
158 .overrides-viewport { | |
159 width: 100%; | |
160 } | |
161 | |
162 .overrides-viewport input { | |
163 text-align: right; | |
164 } | |
165 | |
166 .overrides-viewport input[type=range] { | |
167 width: 100%; | |
168 } | |
169 | |
170 button.overrides-swap { | 167 button.overrides-swap { |
171 height: 20px; | 168 height: 20px; |
172 } | 169 } |
173 | 170 |
| 171 .overrides-device label { |
| 172 margin-bottom: 10px; |
| 173 } |
| 174 |
| 175 .overrides-device table { |
| 176 margin-bottom: 5px; |
| 177 } |
| 178 |
| 179 .overrides-device > label { |
| 180 margin-bottom: 4px; |
| 181 } |
| 182 |
| 183 .overrides-device .help-footnote { |
| 184 border-top: 1px solid #EEEEEE; |
| 185 margin: 0; |
| 186 padding: 12px; |
| 187 } |
| 188 |
174 .overrides-view label { | 189 .overrides-view label { |
175 display: flex; | 190 display: flex; |
176 height: auto; | 191 height: auto; |
177 } | 192 } |
178 | 193 |
179 .overrides-viewport label { | 194 /* Screen tab */ |
180 margin-bottom: 10px; | 195 |
| 196 .overrides-viewport > label { |
| 197 margin-bottom: 4px; |
181 } | 198 } |
182 | 199 |
183 .overrides-viewport table { | 200 /* Sensors tab */ |
184 margin-bottom: 5px; | |
185 } | |
186 | |
187 .overrides-viewport > label { | |
188 margin-bottom: 8px; | |
189 } | |
190 | |
191 .overrides-viewport .help-footnote { | |
192 border-top: 1px solid #EEEEEE; | |
193 margin: 0; | |
194 padding: 12px; | |
195 } | |
196 | |
197 .overrides-user-agent input[type=text] { | |
198 width: 400px; | |
199 max-width: 90%; | |
200 } | |
201 | |
202 .overrides-user-agent select { | |
203 margin: 7px 0; | |
204 } | |
205 | 201 |
206 .overrides-sensors > label { | 202 .overrides-sensors > label { |
207 margin-bottom: 10px; | 203 margin-bottom: 10px; |
208 } | 204 } |
209 | 205 |
210 .overrides-device, .overrides-viewport, .overrides-user-agent, .overrides-networ
k, .overrides-sensors { | 206 .overrides-device, .overrides-viewport, .overrides-network, .overrides-sensors { |
211 flex: none !important; | 207 flex: none !important; |
212 } | 208 } |
213 | 209 |
214 .overrides-sensors input { | 210 .overrides-sensors input { |
215 text-align: right; | 211 text-align: right; |
216 } | 212 } |
217 | 213 |
218 .overrides-activate-device #tab-device, | 214 .overrides-activate-device #tab-device, |
219 .overrides-activate-viewport #tab-viewport, | 215 .overrides-activate-viewport #tab-viewport, |
220 .overrides-activate-user-agent #tab-user-agent, | |
221 .overrides-activate-network #tab-network, | 216 .overrides-activate-network #tab-network, |
222 .overrides-activate-sensors #tab-sensors { | 217 .overrides-activate-sensors #tab-sensors { |
223 color: rgb(25, 100, 228); | 218 color: rgb(25, 100, 228); |
224 opacity: 0.8; | 219 opacity: 0.8; |
225 } | 220 } |
226 | 221 |
227 .overrides-activate-device #tab-device.selected, | 222 .overrides-activate-device #tab-device.selected, |
228 .overrides-activate-viewport #tab-viewport.selected, | 223 .overrides-activate-viewport #tab-viewport.selected, |
229 .overrides-activate-user-agent #tab-user-agent.selected, | |
230 .overrides-activate-network #tab-network.selected, | 224 .overrides-activate-network #tab-network.selected, |
231 .overrides-activate-sensors #tab-sensors.selected { | 225 .overrides-activate-sensors #tab-sensors.selected { |
232 opacity: 1; | 226 opacity: 1; |
233 } | 227 } |
234 | 228 |
235 .overrides-view input[type=text]:enabled:focus, | 229 .overrides-view input[type=text]:enabled:focus, |
236 .overrides-view select:enabled:focus { | 230 .overrides-view select:enabled:focus { |
237 -webkit-transition: border-color 200ms; | 231 -webkit-transition: border-color 200ms; |
238 border-color: rgb(77, 144, 254); | 232 border-color: rgb(77, 144, 254); |
239 outline: none; | 233 outline: none; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 | 275 |
282 @media (-webkit-min-device-pixel-ratio: 1.5) { | 276 @media (-webkit-min-device-pixel-ratio: 1.5) { |
283 .overrides-view .overrides-footer::before { | 277 .overrides-view .overrides-footer::before { |
284 background-image: url(Images/statusbarButtonGlyphs_2x.png); | 278 background-image: url(Images/statusbarButtonGlyphs_2x.png); |
285 } | 279 } |
286 } /* media */ | 280 } /* media */ |
287 | 281 |
288 .overrides-view .overrides-footer .warning-icon-small { | 282 .overrides-view .overrides-footer .warning-icon-small { |
289 margin-right: 3px; | 283 margin-right: 3px; |
290 } | 284 } |
OLD | NEW |