Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(377)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/network/networkConfigView.css

Issue 2875193002: DevTools: update text inputs to new style (Closed)
Patch Set: ac Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 } 58 }
59 59
60 .network-config-ua label[is="dt-radio"].checked > * { 60 .network-config-ua label[is="dt-radio"].checked > * {
61 display: none 61 display: none
62 } 62 }
63 63
64 .network-config-ua input:not(.dt-radio-button) { 64 .network-config-ua input:not(.dt-radio-button) {
65 display: block; 65 display: block;
66 width: calc(100% - 20px); 66 width: calc(100% - 20px);
67 max-width: 250px; 67 max-width: 250px;
68 border: 1px solid #bfbfbf;
69 border-radius: 2px;
70 min-height: 2em;
71 padding: 3px;
72 } 68 }
73 69
74 .network-config-ua input[readonly] { 70 .network-config-ua input[readonly] {
75 background-color: rgb(235, 235, 228); 71 background-color: rgb(235, 235, 228);
76 } 72 }
77 73
78 .network-config-ua input[type=text], .network-config-ua .chrome-select { 74 .network-config-ua input[type=text], .network-config-ua .chrome-select {
79 margin-top: 8px; 75 margin-top: 8px;
80 } 76 }
81 77
82 .network-config-ua input[type="text"]:invalid {
83 outline: auto 2px red;
84 outline-offset: -2px;
85 }
86
87 .network-config-ua .chrome-select { 78 .network-config-ua .chrome-select {
88 width: calc(100% - 20px); 79 width: calc(100% - 20px);
89 max-width: 250px; 80 max-width: 250px;
90 } 81 }
91 82
92 .network-config-ua label[is="dt-radio"] { 83 .network-config-ua label[is="dt-radio"] {
93 display: block; 84 display: block;
94 } 85 }
95 86
96 .network-config-ua-auto, .network-config-ua-custom { 87 .network-config-ua-auto, .network-config-ua-custom {
97 opacity: 0.5; 88 opacity: 0.5;
98 } 89 }
99 90
100 .network-config-ua-auto.checked, .network-config-ua-custom.checked { 91 .network-config-ua-auto.checked, .network-config-ua-custom.checked {
101 opacity: 1; 92 opacity: 1;
102 } 93 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698