fix: varaibles

This commit is contained in:
Lucas
2026-10-26 16:34:17 +01:00
parent 883f52f911
commit dac9557749
3 changed files with 29 additions and 17 deletions
+10 -8
View File
@@ -72,21 +72,21 @@
--transition-base: 180ms;
/* ---------- Header ---------- */
--header-height: 50px;
--header-height: 2.8rem;
--font-size-header: 1rem;
--tab-height: calc(var(--header-height) * 0.75);
/* ---------- Card ---------- */
--card-width: 500px;
--card-control-height: 40px;
--card-control-height: 2.2rem;
/* ---------- Button ---------- */
--disabled-opacity: 0.45;
/* ---------- SideBar ---------- */
--sidebar-width-collapsed: calc(var(--header-height) * 0.85 + 2 * var(--space-3));
--sidebar-width-expanded: 200px;
--sidebar-width-expanded: 11rem;
/* ---------- DSP ---------- */
--dsp-control-heigth: 40%;
@@ -97,13 +97,15 @@
--safe-left: env(safe-area-inset-left, 0px);
--safe-right: env(safe-area-inset-right, 0px);
--topbar-h: calc(var(--header-height) + var(--safe-top));
--touch-target: 2.45rem;
}
@media (max-width: 768px) {
@media (max-width: 768px), (max-height: 500px) and (pointer: coarse) {
:root {
--header-height: 56px;
--tab-height: 40px;
--sidebar-width-collapsed: 56px;
--sidebar-width-expanded: min(80vw, 280px);
--header-height: 3.1rem;
--tab-height: 2.2rem;
--sidebar-width-collapsed: 3.1rem;
--sidebar-width-expanded: min(80vw, 15.5rem);
--touch-target: 2.45rem;
}
}