Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| 3 | * Use of this source code is governed by a BSD-style license that can be |
| 4 | * found in the LICENSE file. |
| 5 | */ |
| 6 | |
| 7 | .network-config { |
| 8 | padding: 12px; |
| 9 | display: block; |
| 10 | } |
| 11 | |
| 12 | .network-config-group { |
| 13 | display: flex; |
| 14 | margin-bottom: 10px; |
| 15 | flex-wrap: wrap; |
| 16 | flex: 0 0 auto; |
| 17 | min-height: 30px; |
| 18 | } |
| 19 | |
| 20 | .network-config-title { |
| 21 | margin-right: 16px; |
| 22 | width: 130px; |
| 23 | } |
| 24 | |
| 25 | .network-config-fields { |
| 26 | flex: 2 0 200px; |
| 27 | } |
| 28 | |
| 29 | .panel-section-separator { |
| 30 | height: 1px; |
| 31 | margin-bottom: 10px; |
| 32 | background: #f0f0f0; |
| 33 | } |
| 34 | |
| 35 | /* Disable cache */ |
| 36 | |
| 37 | .network-config-disable-cache { |
| 38 | line-height: 28px; |
| 39 | border-top: none; |
| 40 | padding-top: 0; |
| 41 | } |
| 42 | |
| 43 | /* Network throttling */ |
| 44 | |
| 45 | .network-config-throttling .chrome-select { |
| 46 | width: 100%; |
| 47 | max-width: 250px; |
| 48 | } |
| 49 | |
| 50 | .network-config-throttling > .network-config-title { |
| 51 | line-height: 24px; |
| 52 | } |
| 53 | |
| 54 | /* User agent */ |
| 55 | |
| 56 | .network-config-ua > .network-config-title { |
| 57 | line-height: 20px; |
| 58 | } |
| 59 | |
| 60 | .network-config-ua label[is="dt-radio"].checked > * { |
| 61 | display: none |
| 62 | } |
| 63 | |
| 64 | .network-config-ua input:not(.dt-radio-button) { |
| 65 | display: block; |
| 66 | width: calc(100% - 20px); |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 67 | } |
| 68 | |
| 69 | .network-config-ua input[readonly] { |
| 70 | background-color: rgb(235, 235, 228); |
| 71 | } |
| 72 | |
| 73 | .network-config-ua input[type=text], .network-config-ua .chrome-select { |
| 74 | margin-top: 8px; |
| 75 | } |
| 76 | |
| 77 | .network-config-ua .chrome-select { |
| 78 | width: calc(100% - 20px); |
| 79 | max-width: 250px; |
| 80 | } |
| 81 | |
| 82 | .network-config-ua label[is="dt-radio"] { |
| 83 | display: block; |
| 84 | } |
| 85 | |
| 86 | .network-config-ua-auto, .network-config-ua-custom { |
| 87 | opacity: 0.5; |
| 88 | } |
| 89 | |
| 90 | .network-config-ua-auto.checked, .network-config-ua-custom.checked { |
| 91 | opacity: 1; |
| 92 | } |