82 lines
2.1 KiB
SCSS
82 lines
2.1 KiB
SCSS
// Import order: variables → typography → animations
|
|
@use 'variables' as *;
|
|
@use 'typography';
|
|
@use 'animations';
|
|
|
|
// ─── Global reset additions ──────────────────────────────────────────────────
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
overflow: hidden; // Tauri + app shell handle scroll internally
|
|
}
|
|
|
|
#app {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
// ─── Scrollbar styling ───────────────────────────────────────────────────────
|
|
|
|
::-webkit-scrollbar {
|
|
width: 4px;
|
|
height: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--color-dim);
|
|
border-radius: var(--radius-full);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--color-muted);
|
|
}
|
|
|
|
// ─── Selection ───────────────────────────────────────────────────────────────
|
|
|
|
::selection {
|
|
background: var(--color-signal);
|
|
color: var(--color-cream);
|
|
}
|
|
|
|
// ─── Focus visible ───────────────────────────────────────────────────────────
|
|
|
|
:focus-visible {
|
|
outline: 2px solid var(--color-signal);
|
|
outline-offset: 2px;
|
|
border-radius: var(--radius-xs);
|
|
}
|
|
|
|
// ─── Utility ─────────────────────────────────────────────────────────────────
|
|
|
|
.sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
.truncate {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|