OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The Chromium Authors. All rights reserved. | 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 | 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 .network-config { | 7 .network-config { |
8 padding: 12px; | 8 padding: 12px; |
9 display: block; | 9 display: block; |
10 } | 10 } |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 .network-config-throttling > .network-config-title { | 50 .network-config-throttling > .network-config-title { |
51 line-height: 24px; | 51 line-height: 24px; |
52 } | 52 } |
53 | 53 |
54 /* User agent */ | 54 /* User agent */ |
55 | 55 |
56 .network-config-ua > .network-config-title { | 56 .network-config-ua > .network-config-title { |
57 line-height: 20px; | 57 line-height: 20px; |
58 } | 58 } |
59 | 59 |
60 .network-config-ua input { | 60 .network-config-ua label[is="dt-radio"].checked > * { |
| 61 display: none |
| 62 } |
| 63 |
| 64 .network-config-ua input:not(.dt-radio-button) { |
61 display: block; | 65 display: block; |
62 width: calc(100% - 20px); | 66 width: calc(100% - 20px); |
63 max-width: 250px; | 67 max-width: 250px; |
64 border: 1px solid #bfbfbf; | 68 border: 1px solid #bfbfbf; |
65 border-radius: 2px; | 69 border-radius: 2px; |
66 box-sizing: border-box; | 70 box-sizing: border-box; |
67 color: #444; | 71 color: #444; |
68 font: inherit; | 72 font: inherit; |
69 border-width: 1px; | 73 border-width: 1px; |
70 min-height: 2em; | 74 min-height: 2em; |
(...skipping 11 matching lines...) Expand all Loading... |
82 .network-config-ua input[type="text"]:invalid { | 86 .network-config-ua input[type="text"]:invalid { |
83 outline: auto 2px red; | 87 outline: auto 2px red; |
84 outline-offset: -2px; | 88 outline-offset: -2px; |
85 } | 89 } |
86 | 90 |
87 .network-config-ua .chrome-select { | 91 .network-config-ua .chrome-select { |
88 width: calc(100% - 20px); | 92 width: calc(100% - 20px); |
89 max-width: 250px; | 93 max-width: 250px; |
90 } | 94 } |
91 | 95 |
| 96 .network-config-ua label[is="dt-radio"] { |
| 97 display: block; |
| 98 } |
| 99 |
92 .network-config-ua-auto, .network-config-ua-custom { | 100 .network-config-ua-auto, .network-config-ua-custom { |
93 opacity: 0.5; | 101 opacity: 0.5; |
94 } | 102 } |
95 | 103 |
96 .network-config-ua-auto.checked, .network-config-ua-custom.checked { | 104 .network-config-ua-auto.checked, .network-config-ua-custom.checked { |
97 opacity: 1; | 105 opacity: 1; |
98 } | 106 } |
OLD | NEW |