This commit is contained in:
Mateusz Gruszczyński
2026-05-08 23:10:31 +02:00
parent dd09b428fa
commit c3516470fb
5 changed files with 24 additions and 12 deletions

View File

@@ -1,9 +1,10 @@
:root {
--app-font-family:
Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
--topbar: 50px;
--statusbar: 34px;
--sidebar: 270px;
--ui-scale: 1;
--topbar: calc(50px * var(--ui-scale));
--statusbar: calc(34px * var(--ui-scale));
--sidebar: calc(270px * var(--ui-scale));
--torrent-progress-complete: #198754;
}
[data-bs-theme="dark"] {
@@ -49,13 +50,13 @@ body {
}
body {
overflow: hidden;
font-size: 13px;
padding: 8px;
font-size: calc(13px * var(--ui-scale));
padding: calc(8px * var(--ui-scale));
background: #05070a;
font-family: var(--app-font-family);
}
.app-shell {
height: calc(100vh - 16px);
height: calc(100vh - (16px * var(--ui-scale)));
display: grid;
grid-template-rows: var(--topbar) 1fr var(--statusbar);
background: var(--bs-body-bg);