2021-01-05 18:16:23 +00:00
|
|
|
@import "remixicon.css";
|
2021-01-23 18:53:14 +00:00
|
|
|
@import "./modal.css";
|
|
|
|
@import "./dark.css";
|
|
|
|
@import "./tooltip.css";
|
|
|
|
@import "./loader.css";
|
2023-06-23 12:43:48 +00:00
|
|
|
@import "./fonts.css";
|
2021-01-05 18:16:23 +00:00
|
|
|
|
2022-01-26 14:26:10 +00:00
|
|
|
@tailwind base;
|
|
|
|
@tailwind components;
|
|
|
|
@tailwind utilities;
|
|
|
|
|
2021-01-05 18:16:23 +00:00
|
|
|
:root {
|
|
|
|
--border-width-default: 2px;
|
|
|
|
--border-width-2: 3px;
|
|
|
|
--border-width-4: 5px;
|
|
|
|
--border-width-8: 8px;
|
2023-06-23 12:43:48 +00:00
|
|
|
font-family: 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
2023-10-02 09:34:07 +00:00
|
|
|
|
|
|
|
--bg-light: #fff;
|
|
|
|
--bg-dark: #101010;
|
setup: flex-ify, light/dark, keep page position on reload
got rid of a bunch of m[l/r/x/y]-x tailwind classes and used more
flex-[row/col] gap-2's. UI should be more consistent in general, and
with the admin UI.
The page you were on is actually read from the URL on reload, however
does not keep settings (implemented just for ease of UI editing,
really).
`missing-colors.js` preprocessor script now applies dark prefixes for
<section>s, but like with cards, does not apply a default ~neutral to
those without, so that <section class=""> looks different to <section
class="~neutral">.
Light/dark selector added to setup too, and the actual mode given to the
browser through CSS `color-scheme` is correct, meaning things like textareas, checkboxes and
controls are now colored according to the theme.
2024-08-21 15:13:17 +00:00
|
|
|
|
|
|
|
color-scheme: light;
|
2021-01-05 18:16:23 +00:00
|
|
|
}
|
|
|
|
|
2021-12-31 17:28:08 +00:00
|
|
|
.light {
|
2021-01-05 18:16:23 +00:00
|
|
|
--settings-section-button-filter: 90%;
|
|
|
|
}
|
|
|
|
|
2021-12-31 18:30:15 +00:00
|
|
|
.dark {
|
|
|
|
--settings-section-button-filter: 80%;
|
setup: flex-ify, light/dark, keep page position on reload
got rid of a bunch of m[l/r/x/y]-x tailwind classes and used more
flex-[row/col] gap-2's. UI should be more consistent in general, and
with the admin UI.
The page you were on is actually read from the URL on reload, however
does not keep settings (implemented just for ease of UI editing,
really).
`missing-colors.js` preprocessor script now applies dark prefixes for
<section>s, but like with cards, does not apply a default ~neutral to
those without, so that <section class=""> looks different to <section
class="~neutral">.
Light/dark selector added to setup too, and the actual mode given to the
browser through CSS `color-scheme` is correct, meaning things like textareas, checkboxes and
controls are now colored according to the theme.
2024-08-21 15:13:17 +00:00
|
|
|
color-scheme: dark !important;
|
2021-12-31 18:30:15 +00:00
|
|
|
}
|
|
|
|
|
2021-12-30 00:49:43 +00:00
|
|
|
.dark body {
|
2023-10-02 09:34:07 +00:00
|
|
|
background-color: var(--bg-dark);
|
2021-01-05 18:16:23 +00:00
|
|
|
}
|
|
|
|
|
2022-12-29 17:32:59 +00:00
|
|
|
html:not(.dark) body {
|
2023-10-02 09:34:07 +00:00
|
|
|
background-color: var(--bg-light);
|
2022-12-29 17:32:59 +00:00
|
|
|
}
|
|
|
|
|
2021-12-30 23:52:53 +00:00
|
|
|
.dark select, .dark option, .dark input {
|
|
|
|
background: #202020;
|
|
|
|
}
|
|
|
|
|
2022-12-29 17:32:59 +00:00
|
|
|
html:not(.dark) .card.\@low:not(.\~neutral):not(.\~positive):not(.\~urge):not(.\~warning):not(.\~info):not(.\~critical),
|
|
|
|
html:not(.dark) .card.\@low:not(.\~neutral):not(.\~positive):not(.\~urge):not(.\~warning):not(.\~info):not(.\~critical) > * {
|
|
|
|
/* Colors from ~neutral */
|
|
|
|
--color-fill-high: #64748b;
|
|
|
|
--color-fill-low: #e2e8f0;
|
|
|
|
--color-content-high: #f8fafc;
|
|
|
|
--color-content-low: #1e293b;
|
|
|
|
--color-accent-high: #475569;
|
|
|
|
--color-accent-low: #cbd5e1;
|
|
|
|
--color-muted-high: #475569;
|
|
|
|
--color-muted-low: #f1f5f9;
|
2021-12-31 17:28:08 +00:00
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
2021-12-30 23:52:53 +00:00
|
|
|
.light-only {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark-only {
|
|
|
|
display: initial;
|
|
|
|
}
|
|
|
|
|
2024-08-05 19:23:10 +00:00
|
|
|
@media screen and (max-width: 1024px) {
|
2021-01-05 18:16:23 +00:00
|
|
|
:root {
|
|
|
|
font-size: 0.9rem;
|
|
|
|
}
|
|
|
|
.table-responsive table {
|
2021-05-22 22:02:16 +00:00
|
|
|
min-width: 800px;
|
2021-01-05 18:16:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-07 17:20:35 +00:00
|
|
|
.chip.btn:hover:not([disabled]):not(.textarea),
|
|
|
|
.chip.btn:focus:not([disabled]):not(.textarea) {
|
|
|
|
filter: brightness(var(--button-filter-brightness,95%));
|
|
|
|
}
|
|
|
|
|
2021-01-24 23:05:04 +00:00
|
|
|
.banner {
|
|
|
|
margin: calc(-1 * var(--spacing-4,1rem));
|
|
|
|
}
|
|
|
|
|
|
|
|
.banner.header {
|
|
|
|
margin-bottom: var(--spacing-4,1rem);
|
2021-12-31 17:43:09 +00:00
|
|
|
max-width: calc(100% + 2.2rem); /* no idea why this works */
|
|
|
|
margin-left: -1.1rem;
|
2021-01-24 23:05:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.banner.footer {
|
|
|
|
margin-top: var(--spacing-4,1rem);
|
|
|
|
padding: var(--spacing-4,1rem);
|
|
|
|
}
|
|
|
|
|
|
|
|
div.card:contains(section.banner.footer) {
|
|
|
|
padding-bottom: 0px;
|
|
|
|
}
|
2021-01-05 18:16:23 +00:00
|
|
|
|
|
|
|
.row {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row.baseline {
|
|
|
|
align-items: baseline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.col {
|
|
|
|
flex: 1;
|
|
|
|
margin: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2021-05-08 14:53:42 +00:00
|
|
|
p.sm,
|
2021-05-21 20:10:32 +00:00
|
|
|
span.sm:not(.heading) {
|
2021-05-08 14:53:42 +00:00
|
|
|
font-size: 0.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-03-20 22:16:24 +00:00
|
|
|
.col.sm {
|
|
|
|
margin: .25rem;
|
|
|
|
}
|
|
|
|
|
2023-12-24 18:55:58 +00:00
|
|
|
/* Who knows for half of these to be honest */
|
2021-01-05 18:16:23 +00:00
|
|
|
@media screen and (max-width: 400px) {
|
|
|
|
.row {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
.col {
|
|
|
|
flex: 45%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sup.\~critical, .text-critical {
|
|
|
|
color: var(--color-critical-normal-content);
|
|
|
|
}
|
|
|
|
|
|
|
|
.grey {
|
|
|
|
color: var(--color-neutral-500);
|
|
|
|
}
|
|
|
|
|
|
|
|
.aside.sm {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
padding: 0.8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.support.lg {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge.lg {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input {
|
|
|
|
box-sizing: border-box; /* fixes weird length issue with inputs */
|
|
|
|
}
|
|
|
|
|
|
|
|
.button.lg {
|
|
|
|
height: 2.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.submit {
|
|
|
|
border: none;
|
|
|
|
outline: none; /* remove browser styling on submit buttons */
|
|
|
|
}
|
|
|
|
|
|
|
|
.full-width { /* full width inputs */
|
|
|
|
box-sizing: border-box; /* TODO: maybe remove if we figure out input thing? */
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2021-01-24 23:05:04 +00:00
|
|
|
.middle {
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2021-01-05 18:16:23 +00:00
|
|
|
.focused {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.unfocused {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rotated {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
-webkit-transition: all 0.3s cubic-bezier(0,.89,.27,.92);
|
|
|
|
-moz-transition: all 0.3s cubic-bezier(0,.89,.27,.92);
|
|
|
|
-o-transition: all 0.3s cubic-bezier(0,.89,.27,.92);
|
|
|
|
transition: all 0.3s cubic-bezier(0,.89,.27,.92);
|
|
|
|
}
|
|
|
|
|
|
|
|
.not-rotated {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
-webkit-transition: all 0.3s cubic-bezier(0,.89,.27,.92);
|
|
|
|
-moz-transition: all 0.3s cubic-bezier(0,.89,.27,.92);
|
|
|
|
-o-transition: all 0.3s cubic-bezier(0,.89,.27,.92);
|
|
|
|
transition: all 0.3s cubic-bezier(0,.89,.27,.92);
|
|
|
|
}
|
|
|
|
|
|
|
|
.stealth-input {
|
|
|
|
font-size: 1rem;
|
|
|
|
padding-top: 0.1rem;
|
|
|
|
padding-bottom: 0.1rem;
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
margin-right: 1rem;
|
|
|
|
max-width: 75%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stealth-input-hidden {
|
|
|
|
border-style: none;
|
|
|
|
--fallback-box-shadow: none;
|
|
|
|
--field-hover-box-shadow: none;
|
|
|
|
--field-focus-box-shadow: none;
|
|
|
|
padding-top: 0.1rem;
|
|
|
|
padding-bottom: 0.1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-section-button {
|
|
|
|
width: 100%;
|
|
|
|
height: 2.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-section-button:hover, .settings-section-button:focus {
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
height: 2.5rem;
|
|
|
|
background-color: var(--color-neutral-normal-fill);
|
|
|
|
filter: brightness(var(--settings-section-button-filter)) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-section-button.selected {
|
|
|
|
filter: brightness(var(--settings-section-button-filter)) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.setting {
|
|
|
|
margin-bottom: 0.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.textarea {
|
|
|
|
resize: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
.overflow {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
.overflow-y {
|
|
|
|
overflow-y: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
select, textarea {
|
|
|
|
color: inherit;
|
|
|
|
border: 0 solid var(--color-neutral-300);
|
|
|
|
appearance: none;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
|
|
|
|
2022-01-01 02:17:24 +00:00
|
|
|
html.dark textarea {
|
|
|
|
background-color: #202020
|
|
|
|
}
|
|
|
|
|
2021-01-05 18:16:23 +00:00
|
|
|
input {
|
|
|
|
color: inherit;
|
|
|
|
border: 0 solid var(--color-neutral-300);
|
|
|
|
}
|
|
|
|
|
2021-12-30 23:52:53 +00:00
|
|
|
table {
|
|
|
|
color: var(--color-content);
|
|
|
|
}
|
|
|
|
|
2023-12-24 14:34:04 +00:00
|
|
|
table.table.manual-pad th, table.table.manual-pad td {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2021-12-31 01:51:42 +00:00
|
|
|
|
2023-12-24 14:34:04 +00:00
|
|
|
table.table-p-0 th, table.table-p-0 td {
|
|
|
|
padding-left: 0 !important;
|
|
|
|
padding-right: 0 !important;
|
|
|
|
padding-top: 0 !important;
|
|
|
|
padding-bottom: 0 !important;
|
|
|
|
}
|
2021-12-31 01:51:42 +00:00
|
|
|
|
2021-01-05 18:16:23 +00:00
|
|
|
p.top {
|
|
|
|
margin-top: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-responsive {
|
|
|
|
overflow-x: auto;
|
2021-05-22 22:02:16 +00:00
|
|
|
font-size: 0.9rem;
|
2021-01-05 18:16:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#notification-box {
|
|
|
|
position: fixed;
|
|
|
|
right: 1rem;
|
|
|
|
bottom: 1rem;
|
|
|
|
z-index: 16;
|
|
|
|
}
|
2021-01-11 19:17:43 +00:00
|
|
|
|
|
|
|
.dropdown {
|
|
|
|
padding-bottom: 0.5rem;
|
|
|
|
margin-bottom: -0.5rem;
|
2023-02-05 00:47:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown.over-top {
|
2023-02-02 12:18:34 +00:00
|
|
|
position: absolute;
|
2021-01-11 19:17:43 +00:00
|
|
|
}
|
2021-02-22 16:40:37 +00:00
|
|
|
|
2021-05-22 22:18:43 +00:00
|
|
|
.dropdown-display.lg {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2021-12-29 22:33:07 +00:00
|
|
|
.dropdown-display.above {
|
|
|
|
top: auto;
|
|
|
|
bottom: 115%;
|
|
|
|
}
|
|
|
|
|
2021-02-22 16:40:37 +00:00
|
|
|
pre {
|
|
|
|
white-space: pre-wrap; /* css-3 */
|
|
|
|
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
|
|
|
|
white-space: -pre-wrap; /* Opera 4-6 */
|
|
|
|
white-space: -o-pre-wrap; /* Opera 7 */
|
|
|
|
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
2021-12-31 02:22:23 +00:00
|
|
|
background-color: var(--color-content-high) !important;
|
2021-12-31 15:09:33 +00:00
|
|
|
overflow-x: scroll;
|
2021-02-22 16:40:37 +00:00
|
|
|
}
|
2021-03-07 15:23:44 +00:00
|
|
|
|
|
|
|
.circle {
|
|
|
|
height: 0.5rem;
|
|
|
|
width: 0.5rem;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.circle.\~urge {
|
|
|
|
background-color: var(--color-urge-200);
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-box {
|
|
|
|
max-height: 20rem;
|
|
|
|
display: block;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
|
2021-03-20 19:04:26 +00:00
|
|
|
a:link:not(.lang-link):not(.\~urge) {
|
2021-03-07 15:23:44 +00:00
|
|
|
color: var(--color-urge-200);
|
|
|
|
}
|
|
|
|
|
2021-03-20 19:04:26 +00:00
|
|
|
a:visited:not(.lang-link):not(.\~urge) {
|
2021-03-07 15:23:44 +00:00
|
|
|
color: var(--color-urge-100);
|
|
|
|
}
|
|
|
|
|
2021-03-20 19:04:26 +00:00
|
|
|
a:hover:not(.lang-link):not(.\~urge), a:active:not(.lang-link):not(.\~urge) {
|
2021-03-07 15:23:44 +00:00
|
|
|
color: var(--color-urge-200);
|
|
|
|
}
|
2021-03-13 14:26:29 +00:00
|
|
|
|
2023-06-22 08:41:41 +00:00
|
|
|
a.button,
|
|
|
|
a.button:link,
|
|
|
|
a.button:visited,
|
|
|
|
a.button:focus,
|
|
|
|
a.buton:hover {
|
|
|
|
color: var(--color-content) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-05-07 00:08:12 +00:00
|
|
|
.link-center {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2023-06-14 16:15:24 +00:00
|
|
|
/* .search {
|
2021-03-13 14:26:29 +00:00
|
|
|
max-width: 15rem;
|
2021-03-20 19:23:54 +00:00
|
|
|
min-width: 10rem;
|
2023-06-14 16:15:24 +00:00
|
|
|
} */
|
2021-05-22 20:42:15 +00:00
|
|
|
|
|
|
|
td.img-circle {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
|
2021-05-23 18:50:03 +00:00
|
|
|
span.img-circle.lg {
|
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
|
|
|
}
|
|
|
|
|
2021-05-22 20:42:15 +00:00
|
|
|
span.shield.img-circle {
|
|
|
|
padding: 0.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
img.img-circle {
|
|
|
|
border-radius: 50%;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table td.sm {
|
|
|
|
padding-top: 0.1rem;
|
|
|
|
padding-bottom: 0.1rem;
|
|
|
|
}
|
2021-05-22 22:02:16 +00:00
|
|
|
|
|
|
|
.table-inline {
|
|
|
|
display: flex !important;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2021-06-11 20:56:53 +00:00
|
|
|
|
|
|
|
div.card:contains(section.banner.footer) {
|
|
|
|
padding-bottom: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card.sectioned {
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card.sectioned .section {
|
|
|
|
padding: var(--spacing-4, 1rem);
|
|
|
|
}
|
2021-12-24 19:21:18 +00:00
|
|
|
|
2021-12-30 00:49:43 +00:00
|
|
|
.button.discord.\@low {
|
2021-12-24 19:21:18 +00:00
|
|
|
background-color: rgba(88, 101, 242,60%);
|
|
|
|
}
|
|
|
|
|
2021-12-30 00:49:43 +00:00
|
|
|
.button.discord.\@low:not(.lang-link) {
|
2021-12-24 19:21:18 +00:00
|
|
|
color: rgba(38, 51, 192, 90%);
|
|
|
|
}
|
2021-12-31 01:51:42 +00:00
|
|
|
|
|
|
|
.pb-0i {
|
|
|
|
padding-bottom: 0px !important
|
|
|
|
}
|
2022-01-01 02:17:24 +00:00
|
|
|
|
2023-06-14 16:15:24 +00:00
|
|
|
.mx-0i {
|
|
|
|
margin-left: 0px !important;
|
|
|
|
margin-right: 0px !important
|
|
|
|
}
|
|
|
|
|
2022-01-01 02:17:24 +00:00
|
|
|
.text-center-i {
|
|
|
|
text-align: center !important;
|
|
|
|
}
|
2022-01-29 11:33:25 +00:00
|
|
|
|
2022-01-29 12:49:44 +00:00
|
|
|
input[type="checkbox" i], [class^="ri-"], [class*=" ri-"], .ri-refresh-line:before, .modal-close {
|
2022-01-29 11:33:25 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2023-06-15 16:35:51 +00:00
|
|
|
|
|
|
|
.g-recaptcha {
|
|
|
|
overflow: hidden;
|
|
|
|
width: 296px;
|
|
|
|
height: 72px;
|
|
|
|
transform: scale(1.1);
|
|
|
|
transform-origin: top left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.g-recaptcha iframe {
|
|
|
|
margin: -2px 0px 0px -4px;
|
|
|
|
}
|
2023-12-22 21:40:56 +00:00
|
|
|
|
|
|
|
.dropdown-manual-toggle {
|
|
|
|
margin-bottom: -0.5rem;
|
|
|
|
padding-bottom: 0.5rem;
|
|
|
|
}
|
setup: flex-ify, light/dark, keep page position on reload
got rid of a bunch of m[l/r/x/y]-x tailwind classes and used more
flex-[row/col] gap-2's. UI should be more consistent in general, and
with the admin UI.
The page you were on is actually read from the URL on reload, however
does not keep settings (implemented just for ease of UI editing,
really).
`missing-colors.js` preprocessor script now applies dark prefixes for
<section>s, but like with cards, does not apply a default ~neutral to
those without, so that <section class=""> looks different to <section
class="~neutral">.
Light/dark selector added to setup too, and the actual mode given to the
browser through CSS `color-scheme` is correct, meaning things like textareas, checkboxes and
controls are now colored according to the theme.
2024-08-21 15:13:17 +00:00
|
|
|
|
|
|
|
section.section:not(.\~neutral) {
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
@layer components {
|
|
|
|
.switch input {
|
|
|
|
@apply mr-1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|