Chromium Code Reviews| 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 label[is="dt-radio"].checked > * { | 60 .network-config-ua input { |
|
einbinder
2017/01/25 22:55:28
This css wasn't used. There are no radio buttons i
| |
| 61 display: none | |
| 62 } | |
| 63 | |
| 64 .network-config-ua input:not(.dt-radio-button) { | |
| 65 display: block; | 61 display: block; |
| 66 width: calc(100% - 20px); | 62 width: calc(100% - 20px); |
| 67 max-width: 250px; | 63 max-width: 250px; |
| 68 border: 1px solid #bfbfbf; | 64 border: 1px solid #bfbfbf; |
| 69 border-radius: 2px; | 65 border-radius: 2px; |
| 70 box-sizing: border-box; | 66 box-sizing: border-box; |
| 71 color: #444; | 67 color: #444; |
| 72 font: inherit; | 68 font: inherit; |
| 73 border-width: 1px; | 69 border-width: 1px; |
| 74 min-height: 2em; | 70 min-height: 2em; |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 86 .network-config-ua input[type="text"]:invalid { | 82 .network-config-ua input[type="text"]:invalid { |
| 87 outline: auto 2px red; | 83 outline: auto 2px red; |
| 88 outline-offset: -2px; | 84 outline-offset: -2px; |
| 89 } | 85 } |
| 90 | 86 |
| 91 .network-config-ua .chrome-select { | 87 .network-config-ua .chrome-select { |
| 92 width: calc(100% - 20px); | 88 width: calc(100% - 20px); |
| 93 max-width: 250px; | 89 max-width: 250px; |
| 94 } | 90 } |
| 95 | 91 |
| 96 .network-config-ua label[is="dt-radio"] { | |
| 97 display: block; | |
| 98 } | |
| 99 | |
| 100 .network-config-ua-auto, .network-config-ua-custom { | 92 .network-config-ua-auto, .network-config-ua-custom { |
| 101 opacity: 0.5; | 93 opacity: 0.5; |
| 102 } | 94 } |
| 103 | 95 |
| 104 .network-config-ua-auto.checked, .network-config-ua-custom.checked { | 96 .network-config-ua-auto.checked, .network-config-ua-custom.checked { |
| 105 opacity: 1; | 97 opacity: 1; |
| 106 } | 98 } |
| OLD | NEW |