| OLD | NEW |
| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 105 |
| 106 .responsive-design-suite { | 106 .responsive-design-suite { |
| 107 display: flex; | 107 display: flex; |
| 108 flex-direction: row; | 108 flex-direction: row; |
| 109 align-items: stretch; | 109 align-items: stretch; |
| 110 justify-content: flex-start; | 110 justify-content: flex-start; |
| 111 padding-top: 2px; | 111 padding-top: 2px; |
| 112 padding-bottom: 2px; | 112 padding-bottom: 2px; |
| 113 } | 113 } |
| 114 | 114 |
| 115 .responsive-design-section > :not(:nth-child(1)) { | |
| 116 margin-left: 18px; | |
| 117 } | |
| 118 | |
| 119 .responsive-design-suite-separator { | 115 .responsive-design-suite-separator { |
| 120 flex: none; | 116 flex: none; |
| 121 width: 1px; | 117 width: 1px; |
| 122 background-color: rgb(43, 43, 43); | 118 background-color: rgb(43, 43, 43); |
| 123 margin: 0 3px; | 119 margin: 0 3px; |
| 124 } | 120 } |
| 125 | 121 |
| 126 .responsive-design-suite > div:not(.responsive-design-suite-separator) { | 122 .responsive-design-suite > div:not(.responsive-design-suite-separator) { |
| 127 flex: auto; | 123 flex: auto; |
| 128 display: flex; | 124 display: flex; |
| 129 flex-direction: row; | 125 flex-direction: row; |
| 130 align-items: center; | 126 align-items: center; |
| 131 justify-content: space-between; | 127 justify-content: space-between; |
| 132 height: 22px; | 128 height: 22px; |
| 133 overflow: hidden; | 129 overflow: hidden; |
| 134 } | 130 } |
| 135 | 131 |
| 132 .responsive-design-button { |
| 133 height: 19px; |
| 134 min-width: 70px; |
| 135 background: rgb(64, 64, 64); |
| 136 display: flex; |
| 137 align-items: center; |
| 138 justify-content: center !important; |
| 139 cursor: pointer; |
| 140 } |
| 141 |
| 142 .responsive-design-button:hover, |
| 143 .responsive-design-button:active { |
| 144 background: linear-gradient(to top, rgb(102, 102, 102), rgb(64, 64, 64)); |
| 145 } |
| 146 |
| 136 /* Toolbar controls */ | 147 /* Toolbar controls */ |
| 137 | 148 |
| 138 .responsive-design-toolbar fieldset, | 149 .responsive-design-toolbar fieldset, |
| 139 .responsive-design-toolbar p { | 150 .responsive-design-toolbar p { |
| 140 margin: 0; | 151 margin: 0; |
| 141 border: 0; | 152 border: 0; |
| 142 padding: 0; | 153 padding: 0; |
| 143 display: inline-block; | 154 display: inline-block; |
| 144 } | 155 } |
| 145 | 156 |
| 146 .responsive-design-toolbar .field-error-message { | 157 .responsive-design-toolbar .field-error-message { |
| 147 display: none; | 158 display: none; |
| 148 } | 159 } |
| 149 | 160 |
| 161 .responsive-design-toolbar label { |
| 162 margin-right: 5px; |
| 163 cursor: default !important; |
| 164 } |
| 165 |
| 150 .responsive-design-toolbar input[type='text'] { | 166 .responsive-design-toolbar input[type='text'] { |
| 151 text-align: left; | 167 text-align: left; |
| 152 background-color: transparent; | 168 background-color: transparent; |
| 153 border: none; | 169 border: none; |
| 154 margin: 0; | 170 margin: 0; |
| 155 padding-bottom: 4px; | 171 padding-bottom: 4px; |
| 156 } | 172 } |
| 157 | 173 |
| 158 .responsive-design-toolbar input[type='text'].numeric { | 174 .responsive-design-toolbar input[type='text'].numeric { |
| 159 text-align: center; | 175 text-align: center; |
| 160 } | 176 } |
| 161 | 177 |
| 162 .responsive-design-toolbar input[type='text']:not(.numeric) { | |
| 163 width: 100%; | |
| 164 } | |
| 165 | |
| 166 .responsive-design-toolbar fieldset:disabled input, | 178 .responsive-design-toolbar fieldset:disabled input, |
| 167 .responsive-design-toolbar fieldset:disabled button { | 179 .responsive-design-toolbar fieldset:disabled button { |
| 168 opacity: 0.7; | 180 opacity: 0.7; |
| 169 } | 181 } |
| 170 | 182 |
| 171 .responsive-design-toolbar input[type='checkbox'] { | 183 .responsive-design-toolbar input[type='checkbox'] { |
| 172 -webkit-appearance: none; | 184 -webkit-appearance: none; |
| 173 margin: auto 5px auto 0; | 185 margin: auto 5px auto 0; |
| 174 border: 1px solid rgb(45, 45, 45); | 186 border: 1px solid rgb(45, 45, 45); |
| 175 border-radius: 3px; | 187 border-radius: 3px; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 192 background: rgb(220, 220, 220); | 204 background: rgb(220, 220, 220); |
| 193 } | 205 } |
| 194 | 206 |
| 195 .responsive-design-toolbar input.error-input { | 207 .responsive-design-toolbar input.error-input { |
| 196 color: red; | 208 color: red; |
| 197 text-decoration: line-through; | 209 text-decoration: line-through; |
| 198 } | 210 } |
| 199 | 211 |
| 200 .responsive-design-toolbar select { | 212 .responsive-design-toolbar select { |
| 201 height: 18px; | 213 height: 18px; |
| 202 width: 220px; | |
| 203 background-color: rgb(81, 81, 81); | 214 background-color: rgb(81, 81, 81); |
| 204 border: 0; | 215 border: 0; |
| 205 margin-left: 10px; | 216 margin-left: 10px; |
| 206 line-height: 16px; | 217 line-height: 16px; |
| 207 } | 218 } |
| 208 | 219 |
| 209 body.platform-mac .responsive-design-toolbar select { | 220 body.platform-mac .responsive-design-toolbar select { |
| 210 position: relative; | 221 position: relative; |
| 211 top: 1px; | 222 top: 1px; |
| 212 } | 223 } |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 opacity: 1; | 278 opacity: 1; |
| 268 } | 279 } |
| 269 | 280 |
| 270 .responsive-design-icon-swap:active { | 281 .responsive-design-icon-swap:active { |
| 271 opacity: 0.8; | 282 opacity: 0.8; |
| 272 } | 283 } |
| 273 | 284 |
| 274 /* Expand button */ | 285 /* Expand button */ |
| 275 | 286 |
| 276 .responsive-design-section-expand { | 287 .responsive-design-section-expand { |
| 277 padding: 0 !important; | 288 padding: 3px !important; |
| 278 } | |
| 279 | |
| 280 .responsive-design-expand-button { | |
| 281 height: 19px; | |
| 282 min-width: 70px; | |
| 283 background: rgb(64, 64, 64); | |
| 284 display: flex; | |
| 285 align-items: center; | |
| 286 justify-content: center; | |
| 287 margin: 3px; | |
| 288 cursor: pointer; | |
| 289 } | |
| 290 | |
| 291 .responsive-design-expand-button:hover, | |
| 292 .responsive-design-expand-button:active { | |
| 293 background: linear-gradient(to top, rgb(102, 102, 102), rgb(64, 64, 64)); | |
| 294 } | 289 } |
| 295 | 290 |
| 296 .responsive-design-icon-expand { | 291 .responsive-design-icon-expand { |
| 297 -webkit-mask-position: -48px 0; | 292 -webkit-mask-position: -48px 0; |
| 298 top: 0 !important; | 293 top: 0 !important; |
| 299 margin-right: 2px; | 294 margin-right: 2px; |
| 300 } | 295 } |
| 301 | 296 |
| 302 .responsive-design-toolbar.expanded .responsive-design-icon-expand { | 297 .responsive-design-toolbar.expanded .responsive-design-icon-expand { |
| 303 transform: rotate(180deg); | 298 transform: rotate(180deg); |
| 304 } | 299 } |
| 305 | 300 |
| 306 /* Device section */ | 301 /* Device section */ |
| 307 | 302 |
| 308 .responsive-design-section-device { | 303 .responsive-design-section-device { |
| 309 width: 340px; | 304 width: 290px; |
| 310 } | 305 } |
| 311 | 306 |
| 312 .responsive-design-section-device .responsive-design-section-separator { | 307 .responsive-design-section-device .responsive-design-section-separator { |
| 313 background: linear-gradient(to bottom, rgb(255, 186, 68), rgb(255, 119, 0)); | 308 background: linear-gradient(to bottom, rgb(255, 186, 68), rgb(255, 119, 0)); |
| 314 } | 309 } |
| 315 | 310 |
| 311 .responsive-design-section-device select { |
| 312 width: 220px; |
| 313 } |
| 314 |
| 316 .responsive-design-section-device input[type='text'], | 315 .responsive-design-section-device input[type='text'], |
| 316 .responsive-design-section-device input[type='text']::-webkit-input-placeholder, |
| 317 .responsive-design-section-device select { | 317 .responsive-design-section-device select { |
| 318 color: rgb(255, 156, 0); | 318 color: rgb(255, 156, 0); |
| 319 } | 319 } |
| 320 | 320 |
| 321 .responsive-design-section-device .expanded-only input[type='checkbox']:checked:
after { | 321 .responsive-design-section-device .expanded-only input[type='checkbox']:checked:
after { |
| 322 background: rgb(255, 156, 0); | 322 background: rgb(255, 156, 0); |
| 323 } | 323 } |
| 324 | 324 |
| 325 /* Network section */ | 325 /* Network section */ |
| 326 | 326 |
| 327 .responsive-design-section-network { | 327 .responsive-design-section-network { |
| 328 width: 280px; | 328 width: 230px; |
| 329 } | 329 } |
| 330 | 330 |
| 331 .responsive-design-section-network select { | 331 .responsive-design-section-network select { |
| 332 width: 150px; | 332 width: 150px; |
| 333 } |
| 334 |
| 335 .responsive-design-section-network input[type='text'] { |
| 336 width: 190px; |
| 337 } |
| 338 |
| 339 .responsive-design-section-network input[type='text'], |
| 340 .responsive-design-section-network input[type='text']::-webkit-input-placeholder
, |
| 341 .responsive-design-section-network select { |
| 333 color: rgb(65, 175, 255); | 342 color: rgb(65, 175, 255); |
| 334 } | 343 } |
| 335 | 344 |
| 336 .responsive-design-section-network .responsive-design-section-separator { | 345 .responsive-design-section-network .responsive-design-section-separator { |
| 337 background: linear-gradient(to bottom, rgb(77, 170, 243), rgb(0, 130, 255)); | 346 background: linear-gradient(to bottom, rgb(77, 170, 243), rgb(0, 130, 255)); |
| 338 } | 347 } |
| 339 | 348 |
| 340 /* Warning message */ | 349 /* Warning message */ |
| 341 | 350 |
| 342 .responsive-design-warning { | 351 .responsive-design-warning { |
| 343 background-color: rgb(252, 234, 156); | 352 background-color: rgb(252, 234, 156); |
| 344 color: #222; | 353 color: #222; |
| 345 position: absolute; | 354 position: absolute; |
| 346 left: 0; | 355 left: 0; |
| 347 right: 0; | 356 right: 0; |
| 348 top: 0; | 357 top: 0; |
| 349 padding: 2px 4px; | 358 padding: 2px 4px; |
| 350 white-space: nowrap; | 359 white-space: nowrap; |
| 351 display: flex; | 360 display: flex; |
| 352 align-items: center; | 361 align-items: center; |
| 353 border-bottom: 1px solid rgb(171, 171, 171); | 362 border-bottom: 1px solid rgb(171, 171, 171); |
| 354 } | 363 } |
| 355 | 364 |
| 356 .responsive-design-warning > span { | 365 .responsive-design-warning > span { |
| 357 flex: auto; | 366 flex: auto; |
| 358 padding-left: 3px; | 367 padding-left: 3px; |
| 359 } | 368 } |
| OLD | NEW |