2022-10-11 08:55:08 -05:00
|
|
|
:root {
|
|
|
|
--color-bg: var(--figma-color-bg);
|
|
|
|
--color-bg-hover: var(--figma-color-bg-hover);
|
|
|
|
--color-bg-active: var(--figma-color-bg-pressed);
|
|
|
|
--color-border: var(--figma-color-border);
|
|
|
|
--color-border-focus: var(--figma-color-border-selected);
|
|
|
|
--color-icon: var(--figma-color-icon);
|
|
|
|
--color-text: var(--figma-color-text);
|
|
|
|
--color-bg-brand: var(--figma-color-bg-brand);
|
|
|
|
--color-bg-brand-hover: var(--figma-color-bg-brand-hover);
|
|
|
|
--color-bg-brand-active: var(--figma-color-bg-brand-pressed);
|
|
|
|
--color-border-brand: var(--figma-color-border-brand);
|
|
|
|
--color-border-brand-focus: var(--figma-color-border-selected-strong);
|
|
|
|
--color-text-brand: var(--figma-color-text-onbrand);
|
|
|
|
}
|
|
|
|
|
|
|
|
html,
|
|
|
|
body,
|
|
|
|
main {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body,
|
|
|
|
input,
|
|
|
|
button {
|
2024-04-08 04:43:30 -05:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
|
|
'Open Sans', 'Helvetica Neue', sans-serif;
|
2022-10-11 08:55:08 -05:00
|
|
|
font-size: 1rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background: var(--color-bg);
|
|
|
|
color: var(--color-text);
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
background: var(--color-bg);
|
|
|
|
color: var(--color-text);
|
|
|
|
cursor: pointer;
|
|
|
|
border: 1px solid var(--color-border);
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
}
|
2024-04-08 04:43:30 -05:00
|
|
|
|
2022-10-11 08:55:08 -05:00
|
|
|
button:hover {
|
|
|
|
background-color: var(--color-bg-hover);
|
|
|
|
}
|
2024-04-08 04:43:30 -05:00
|
|
|
|
2022-10-11 08:55:08 -05:00
|
|
|
button:active {
|
|
|
|
background-color: var(--color-bg-active);
|
|
|
|
}
|
2024-04-08 04:43:30 -05:00
|
|
|
|
2022-10-11 08:55:08 -05:00
|
|
|
button:focus-visible {
|
|
|
|
border: none;
|
|
|
|
outline-color: var(--color-border-focus);
|
|
|
|
}
|
2024-04-08 04:43:30 -05:00
|
|
|
|
2024-04-08 10:03:34 -05:00
|
|
|
button:disabled {
|
|
|
|
background-color: black;
|
|
|
|
color: var(--color-text);
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
2022-10-11 08:55:08 -05:00
|
|
|
button.brand {
|
|
|
|
--color-bg: var(--color-bg-brand);
|
|
|
|
--color-text: var(--color-text-brand);
|
|
|
|
--color-bg-hover: var(--color-bg-brand-hover);
|
|
|
|
--color-bg-active: var(--color-bg-brand-active);
|
|
|
|
--color-border: transparent;
|
|
|
|
--color-border-focus: var(--color-border-brand-focus);
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
background: 1px solid var(--color-bg);
|
|
|
|
border: 1px solid var(--color-border);
|
|
|
|
color: 1px solid var(--color-text);
|
|
|
|
padding: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:focus-visible {
|
|
|
|
border-color: var(--color-border-focus);
|
|
|
|
outline-color: var(--color-border-focus);
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
2024-04-08 04:43:30 -05:00
|
|
|
stroke: var(--color-icon, rgb(0 0 0 / 90%));
|
2024-04-12 11:52:19 -05:00
|
|
|
height: auto;
|
|
|
|
width: 2rem;
|
2022-10-11 08:55:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
section {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
2023-01-30 03:11:55 -05:00
|
|
|
|
2022-10-11 08:55:08 -05:00
|
|
|
section > * + * {
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
}
|
2024-04-08 04:43:30 -05:00
|
|
|
|
2022-10-11 08:55:08 -05:00
|
|
|
footer > * + * {
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2023-01-30 03:11:55 -05:00
|
|
|
.missing-fonts small {
|
|
|
|
font-size: 0.5rem;
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding: 0;
|
|
|
|
list-style-type: none;
|
2024-04-08 04:43:30 -05:00
|
|
|
}
|