Update flags.css

This commit is contained in:
Alexander David Frick 2023-01-25 04:36:17 -06:00 committed by GitHub
parent 9638fd67a9
commit 9705698c1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
/* Copyright 2012 The Chromium Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
@ -67,6 +67,17 @@ html {
}
}
body {
color: var(--primary-color);
display: flex;
flex-direction: column;
font-family: Roboto;
font-size: 0.8125em;
/* Force the vertical scrollbar to always be displayed, to avoid UI jumps. */
height: 100vh;
margin: 0;
}
.logo {
width: 48px;
height: 48px;
@ -83,17 +94,6 @@ html {
margin-bottom: 1.05em;
}
body {
color: var(--primary-color);
display: flex;
flex-direction: column;
font-family: Roboto;
font-size: 0.8125em;
/* Force the vertical scrollbar to always be displayed, to avoid UI jumps. */
height: 100vh;
margin: 0;
}
a {
color: var(--link-color);
font-size: .8125rem;
@ -343,7 +343,7 @@ button:not(.primary):hover {
.match,
.referenced h3 {
.referenced h2 {
/* This UI is intentionally the same in light and dark mode. */
background: yellow;
color: var(--google-grey-900);
@ -429,43 +429,46 @@ textarea {
.tabs {
display: flex;
list-style: none;
margin: 0;
padding: 0;
position: relative;
text-align: left; /* csschecker-disable-line left-right */
width: 100%;
}
.tabs li {
display: block;
flex: 1 1 auto;
width: 50%;
}
.tab {
border-bottom: 1px solid currentColor;
color: var(--secondary-color);
cursor: pointer;
display: block;
flex: 1;
font-size: 1rem;
font-weight: normal;
padding: 14px 21px;
position: relative;
text-align: center;
text-decoration: none;
top: 4px;
transition: all 200ms var(--ease-in-out);
transition: color 200ms var(--ease-in-out);
user-select: none;
width: 50%;
z-index: 1;
}
.tabs .selected .tab,
.tabs .selected .tab:focus {
border-bottom-width: 2px;
.tab::before {
background: currentColor;
bottom: 0;
content: '';
display: block;
height: 1px;
left: 0;
position: absolute;
transition: height 200ms var(--ease-in-out);
width: 100%;
}
.tabs .tab.selected,
.tabs .tab.selected:focus {
color: var(--interactive-color);
padding-top: 17px;
top: 0;
}
.tabs .tab.selected::before,
.tabs .tab.selected:focus::before {
height: 2px;
}
html:not(.focus-outline-visible) .tab:focus {