mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-30 16:50:47 +08:00
Redesign the entire app with a new UI kit. Typography, colors, icons, avatars, and border radii have all been updated for a more polished, consistent appearance that matches our other products like radicle-explorer. - Replace blockies-based avatars with a new DID-based avatar system - Move Settings and Create Issue into fullscreen modals - Change the default theme to follow the system theme - Remove window decorations on macOS for a cleaner, more native feel - Update the app icon - Fix popovers and tooltips Navigation: - Rewrite app navigation and layouts - Add a sidebar that gives you access to all your repos - Change the startup screen to open directly to the notification inbox - Add a getting started guide shown to new users on first launch Settings: - Add a setting to disable the notification badge - Add a code font setting Bug fixes: - Fix reactions and edits incorrectly targeting the root comment instead of the intended reply - Restrict issue/patch state, labels and assignees to delegates only
180 lines
3.3 KiB
CSS
180 lines
3.3 KiB
CSS
* {
|
|
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;
|
|
}
|
|
}
|