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 | |
Michael Liao | 9c1e0ce | 2019-10-21 22:42:23 | [diff] [blame] | 43 | .network-config-input-validation-error { |
| 44 | color: var(--input-validation-error); |
| 45 | margin: 5px 0; |
| 46 | } |
| 47 | |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 48 | /* Network throttling */ |
| 49 | |
| 50 | .network-config-throttling .chrome-select { |
| 51 | width: 100%; |
| 52 | max-width: 250px; |
| 53 | } |
| 54 | |
| 55 | .network-config-throttling > .network-config-title { |
| 56 | line-height: 24px; |
| 57 | } |
| 58 | |
| 59 | /* User agent */ |
| 60 | |
| 61 | .network-config-ua > .network-config-title { |
| 62 | line-height: 20px; |
| 63 | } |
| 64 | |
Joel Einbinder | 7fbe24c | 2019-01-24 05:19:01 | [diff] [blame] | 65 | .network-config-ua span[is="dt-radio"].checked > * { |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 66 | display: none |
| 67 | } |
| 68 | |
Joel Einbinder | 7fbe24c | 2019-01-24 05:19:01 | [diff] [blame] | 69 | .network-config-ua input { |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 70 | display: block; |
| 71 | width: calc(100% - 20px); |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 72 | } |
| 73 | |
| 74 | .network-config-ua input[readonly] { |
| 75 | background-color: rgb(235, 235, 228); |
| 76 | } |
| 77 | |
| 78 | .network-config-ua input[type=text], .network-config-ua .chrome-select { |
| 79 | margin-top: 8px; |
| 80 | } |
| 81 | |
| 82 | .network-config-ua .chrome-select { |
| 83 | width: calc(100% - 20px); |
| 84 | max-width: 250px; |
| 85 | } |
| 86 | |
Joel Einbinder | 7fbe24c | 2019-01-24 05:19:01 | [diff] [blame] | 87 | .network-config-ua span[is="dt-radio"] { |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 88 | display: block; |
| 89 | } |
| 90 | |
Joel Einbinder | e1c93d9 | 2019-05-21 06:16:13 | [diff] [blame] | 91 | .network-config-ua-custom { |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 92 | opacity: 0.5; |
| 93 | } |
| 94 | |
Joel Einbinder | e1c93d9 | 2019-05-21 06:16:13 | [diff] [blame] | 95 | .network-config-ua-custom.checked { |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 96 | opacity: 1; |
| 97 | } |