Theme: Pills-Abstand, Repo-Button-Zeile ohne Box, Heatmap leere Tage hell
- .overflow-menu-items: gap, damit Nav-Pills (Repo-Tabs, Explore, Profil) nicht mehr aneinanderkleben (echter Flex-Container, nicht das .menu). - .repo-button-row: transparenter Hintergrund statt weisser Karte hinter Branch/Go-to-file/Add-File/Code — nur die Pills bleiben. - --color-secondary-alpha-*: definiert; Heatmap-Stufe 0 (leere Tage) war schwarz (ungueltiger SVG-fill), jetzt helle warme Toene. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+39
-1
@@ -250,7 +250,6 @@ nav#navbar {
|
|||||||
.ui.attached.header,
|
.ui.attached.header,
|
||||||
h4.file-header,
|
h4.file-header,
|
||||||
.file-header,
|
.file-header,
|
||||||
.repo-button-row,
|
|
||||||
.ui.attached.segment {
|
.ui.attached.segment {
|
||||||
background: var(--ob-panel) !important;
|
background: var(--ob-panel) !important;
|
||||||
color: var(--ob-text) !important;
|
color: var(--ob-text) !important;
|
||||||
@@ -795,3 +794,42 @@ a.avatar img,
|
|||||||
overflow: hidden !important;
|
overflow: hidden !important;
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ─── Repo-Button-Zeile (Branch · Go to file · Add File · Code)
|
||||||
|
Kein Karten-Hintergrund — nur die Pills/Buttons schweben frei. */
|
||||||
|
.repo-button-row,
|
||||||
|
.repo-button-row-left,
|
||||||
|
.repo-button-row-right {
|
||||||
|
background: transparent !important;
|
||||||
|
border: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
.repo-button-row {
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ─── Pills nicht aneinanderkleben ──────────────────────────
|
||||||
|
Der echte Flex-Container der Nav-Items ist .overflow-menu-items
|
||||||
|
(Repo-Tabs, Explore: Repositories/Users/Organizations, Profil-Tabs).
|
||||||
|
gap am äusseren .menu greift nicht — daher hier. */
|
||||||
|
.overflow-menu-items {
|
||||||
|
gap: 8px !important;
|
||||||
|
align-items: center !important;
|
||||||
|
flex-wrap: wrap !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ─── Beitrags-Heatmap: leere Tage hell statt schwarz ───────
|
||||||
|
Gitea färbt Stufe 0 mit var(--color-secondary-alpha-*), die das
|
||||||
|
Basis-Theme hier nicht definiert → ungültiger SVG-fill = schwarz.
|
||||||
|
Wir definieren sie als helle, warme Töne (passend zur Palette). */
|
||||||
|
:root {
|
||||||
|
--color-secondary-alpha-10: hsl(35 14% 93%);
|
||||||
|
--color-secondary-alpha-20: hsl(35 14% 92%);
|
||||||
|
--color-secondary-alpha-30: hsl(35 14% 91%);
|
||||||
|
--color-secondary-alpha-40: hsl(35 14% 91%);
|
||||||
|
--color-secondary-alpha-50: hsl(35 14% 90%);
|
||||||
|
--color-secondary-alpha-60: hsl(35 14% 90%);
|
||||||
|
--color-secondary-alpha-70: hsl(35 14% 88%);
|
||||||
|
--color-secondary-alpha-80: hsl(35 14% 86%);
|
||||||
|
--color-secondary-alpha-90: hsl(35 14% 84%);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user