* {
box-sizing: border-box;
}
:root {
--border-radius-xs: 0.0625rem;
--border-radius-sm: 0.125rem;
--border-radius-md: 0.25rem;
--border-radius-lg: 0.5rem;
--border-radius-full: 99rem;
}
html {
height: 100%;
width: 100%;
/* Prevent rubber-band effect when scrolling via touchpad on macOS. */
overscroll-behavior: none;
cursor: default;
-webkit-touch-callout: none;
-webkit-user-select: none;
user-select: none;
}
body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
color: var(--color-text-primary);
background-color: var(--color-surface-base);
}
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
color: inherit;
text-decoration: none;
background: transparent;
cursor: pointer;
}
a {
display: inline;
font-weight: inherit;
font-style: inherit;
font-size: inherit;
line-height: inherit;
font-family: inherit;
}
::selection {
background: var(--color-feedback-warning-border);
color: var(--color-text-primary);
}
.global-flex {
display: flex;
align-items: center;
gap: 0.5rem;
}
.global-tab {
padding-left: 0.5rem;
border-left: 1px solid var(--color-border-mid);
margin-left: 1rem;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
column-gap: 0.5rem;
}
.global-chip {
display: flex;
align-items: center;
justify-content: center;
background-color: var(--color-surface-strong);
border-radius: var(--border-radius-sm);
height: 1.5rem;
padding: 0 0.5rem;
min-width: 1.5rem;
font: var(--txt-body-s-regular);
flex-shrink: 0;
}
.global-counter-badge {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.25rem;
min-width: 1.25rem;
padding: 0.125rem 0.25rem;
border-radius: 1px;
background-color: var(--color-surface-alpha-subtle);
color: var(--color-text-secondary);
font: var(--txt-body-s-regular);
flex-shrink: 0;
}
.global-link {
color: var(--color-text-secondary);
text-decoration: none;
}
.global-link:hover {
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 2px;
}
:root {
.global-os-theme-radicle {
--os-size: 16px;
--os-handle-border-radius: 4px;
--os-padding-perpendicular: 4px;
--os-padding-axis: 2px;
--os-handle-bg: var(--color-border-mid);
--os-handle-bg-hover: var(--color-border-mid);
--os-handle-bg-active: var(--color-border-mid);
--os-track-bg: transparent;
}
}
:root {
--elevation-low: 0 0 48px 0 #000000ee;
}
[data-theme="light"] {
--elevation-low: 0 0 16px 0 #00000022;
}
/*
Breakpoints
===========
mobile 0px - 719.98px
small desktop 720px - 1010.98px
medium desktop 1011px - 1349.98px
desktop 1350px - ∞ px
*/
@media (max-width: 719.98px) {
body {
min-width: 0;
}
.global-hide-on-mobile-down {
display: none !important;
}
}
@media (max-width: 1010.98px) {
.global-hide-on-small-desktop-down {
display: none !important;
}
}
@media (max-width: 1349.98px) {
.global-hide-on-medium-desktop-down {
display: none !important;
}
}
@media (min-width: 720px) {
.global-hide-on-small-desktop-up {
display: none !important;
}
}
@media (min-width: 1011px) {
.global-hide-on-medium-desktop-up {
display: none !important;
}
}
@media (min-width: 1350px) {
.global-hide-on-desktop-up {
display: none !important;
}
}