blob: 8b6c4cf2402d29609c2c46d35e716f6df41358b6 [file] [edit]
/*
* Copyright 2015 The Chromium Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
.network-config {
padding: var(--sys-size-6);
display: block;
}
.network-config-group {
display: flex;
padding-bottom: var(--sys-size-5);
flex-wrap: wrap;
flex: 0 0 auto;
min-height: var(--sys-size-12);
}
.network-config-title {
margin-right: var(--sys-size-8);
width: var(--sys-size-21);
}
.network-config-fields {
flex: 2 0 var(--sys-size-25);
}
.network-config-fields > span:first-of-type {
padding: var(--sys-size-2) 0;
}
.panel-section-separator {
height: var(--sys-size-1);
margin-bottom: var(--sys-size-6);
background: var(--sys-color-divider);
}
/* Disable cache */
.network-config-disable-cache {
line-height: var(--sys-size-12);
border-top: none;
padding-top: 0;
}
.network-config-input-validation-error {
color: var(--sys-color-error);
margin: var(--sys-size-3) 0;
}
.network-config-input-validation-error:empty {
display: none;
}
/* Network throttling */
.network-config-throttling {
select {
width: 100%;
max-width: var(--sys-size-28);
}
.network-config-fields {
display: flex;
column-gap: var(--sys-size-5);
}
& > .network-config-title {
line-height: var(--sys-size-11);
}
}
/* User agent */
.network-config-ua > .network-config-title {
line-height: var(--sys-size-9);
}
.network-config-ua-custom > input {
display: block;
width: calc(100% - var(--sys-size-9));
}
.network-config-ua-custom > input[type="text"],
.network-config-ua select {
margin-top: var(--sys-size-5);
}
.network-config-ua select {
width: calc(100% - var(--sys-size-9));
max-width: var(--sys-size-28);
}
.network-config-ua-custom {
padding-bottom: var(--sys-size-5);
> input,
> .user-agent-client-hints-form {
opacity: 38%;
pointer-events: none;
}
&.checked > input,
&.checked > .user-agent-client-hints-form {
opacity: revert;
pointer-events: revert;
}
}
.user-agent-client-hints-form {
display: block;
margin-top: var(--sys-size-7);
width: min(100%, var(--sys-size-32));
}
.status-text {
color: var(--sys-color-tertiary);
}