blob: 3dfc0961ceb21b7b3c966141e403e1bb7e61197a [file] [log] [blame]
Blink Reformat4c46d092018-04-07 15:32:371/*
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 Liao9c1e0ce2019-10-21 22:42:2343.network-config-input-validation-error {
44 color: var(--input-validation-error);
45 margin: 5px 0;
46}
47
Blink Reformat4c46d092018-04-07 15:32:3748/* 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 Einbinder7fbe24c2019-01-24 05:19:0165.network-config-ua span[is="dt-radio"].checked > * {
Blink Reformat4c46d092018-04-07 15:32:3766 display: none
67}
68
Joel Einbinder7fbe24c2019-01-24 05:19:0169.network-config-ua input {
Blink Reformat4c46d092018-04-07 15:32:3770 display: block;
71 width: calc(100% - 20px);
Blink Reformat4c46d092018-04-07 15:32:3772}
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 Einbinder7fbe24c2019-01-24 05:19:0187.network-config-ua span[is="dt-radio"] {
Blink Reformat4c46d092018-04-07 15:32:3788 display: block;
89}
90
Joel Einbindere1c93d92019-05-21 06:16:1391.network-config-ua-custom {
Blink Reformat4c46d092018-04-07 15:32:3792 opacity: 0.5;
93}
94
Joel Einbindere1c93d92019-05-21 06:16:1395.network-config-ua-custom.checked {
Blink Reformat4c46d092018-04-07 15:32:3796 opacity: 1;
97}