blob: cb944cb6855e48fe7cc809a2bbb93359ef11fa36 [file] [log] [blame]
// Copyright (C) 2021 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
@import "widgets/theme";
.flags-page {
overflow-y: scroll;
}
.flags-content {
max-width: 100ch;
width: 60%;
margin: 0 auto;
padding: 3rem;
display: grid;
h1 {
font-size: larger;
margin: 1rem 1rem;
}
button {
background: none;
border: 1px solid rgb(218, 220, 224);
border-radius: $pf-border-radius;
color: rgb(25, 103, 210);
font-size: 0.8125rem;
padding: 8px 12px;
cursor: pointer;
font-weight: 500;
margin: 3px 0.5rem;
}
}
.flag-widget {
display: grid;
grid-template:
"title control" auto
"description control" auto / 1fr auto;
row-gap: 0.3rem;
padding: 1rem 1rem;
align-items: center;
select {
grid-area: control;
background: white;
border: 1px solid rgb(25, 103, 210);
color: rgb(25, 103, 210);
font-size: 0.8125rem;
height: 1.625rem;
letter-spacing: 0.01em;
max-width: 150px;
text-align-last: center;
width: 100%;
}
label {
font-weight: bold;
}
.description {
font-size: smaller;
}
}
.flag-widget:nth-child(2n + 1) {
background-color: #0000000a;
}