Changeset 39dab6b in Klonkt for src/assets/css
- Timestamp:
- 08/12/2026 09:43:20 PM (3 months ago)
- Children:
- 5e0fea7
- Parents:
- 2086ea2
- File:
-
- 1 edited
-
src/assets/css/ward.css (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/assets/css/ward.css
r2086ea2 r39dab6b 6 6 --dim: #9aa7bb; 7 7 --accent: #5a32e6; 8 --on-accent: #ffffff; 9 --bg-top: #1a2233; 10 --bg-bottom: #0d1017; 8 11 --alarm: #ef9f27; 9 12 --ok: #46c26a; … … 17 20 body { 18 21 margin: 0; padding: 16px calc(16px + env(safe-area-inset-right)) 32px calc(16px + env(safe-area-inset-left)); 19 background: var(--bg); color: var(--ink); 22 background: linear-gradient(var(--bg-top), var(--bg-bottom)) fixed, var(--bg); 23 color: var(--ink); 20 24 font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; 21 25 } … … 27 31 .help button { 28 32 width: 100%; padding: 18px; border: 0; border-radius: 14px; 29 background: var(--accent); color: #fff; font-size: 1.1rem; font-weight: 600;33 background: var(--accent); color: var(--on-accent); font-size: 1.1rem; font-weight: 600; 30 34 } 31 35 .help button:disabled { background: #3a3f4d; color: var(--dim); } … … 50 54 51 55 /* ── De feed ──────────────────────────────────────────────────────────── */ 52 .cards { display: grid; gap: 12px; }53 56 .post { background: var(--card); border-radius: 12px; padding: 12px 14px; border: 2px solid transparent; } 54 57 .post .avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; } … … 84 87 dialog#help-dialog menu { display: flex; gap: 8px; justify-content: flex-end; margin: 14px 0 0; padding: 0; } 85 88 dialog#help-dialog button { border: 0; border-radius: 10px; padding: 10px 14px; background: #2a3342; color: var(--ink); font: inherit; } 86 dialog#help-dialog button.primary { background: var(--accent); color: #fff; font-weight: 600; }89 dialog#help-dialog button.primary { background: var(--accent); color: var(--on-accent); font-weight: 600; } 87 90 88 91 /* Voor schermlezers, niet voor het oog. */ … … 138 141 background: #131a25; color: var(--ink); padding: 10px 16px; font: inherit; 139 142 } 140 #thread-form button { border: 0; border-radius: 999px; padding: 10px 18px; background: var(--accent); color: #fff; font: inherit; font-weight: 600; }143 #thread-form button { border: 0; border-radius: 999px; padding: 10px 18px; background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 600; } 141 144 142 145 /* ── Het zwaai-paneel ─────────────────────────────────────────────────── */ … … 148 151 dialog#wave-dialog h2 { margin: 0 0 12px; font-size: 1.05rem; } 149 152 .wave-answers { display: grid; gap: 8px; } 150 .wave-answers button { border: 0; border-radius: 10px; padding: 12px; background: var(--accent); color: #fff; font: inherit; font-weight: 600; }153 .wave-answers button { border: 0; border-radius: 10px; padding: 12px; background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 600; } 151 154 #wave-cancel { margin-top: 10px; border: 0; background: none; color: var(--dim); font: inherit; } 152 155 … … 170 173 .feed-head { display: flex; align-items: center; gap: 12px; } 171 174 .feed-head h2 { margin: 24px 0 10px; } 172 #compose-open { margin-left: auto; border: 0; border-radius: 999px; padding: 8px 16px; background: var(--accent); color: #fff; font: inherit; font-weight: 600; }175 #compose-open { margin-left: auto; border: 0; border-radius: 999px; padding: 8px 16px; background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 600; } 173 176 174 177 dialog#compose-dialog { … … 180 183 .compose-head #compose-cancel { border: 0; background: #2a3342; color: var(--ink); border-radius: 10px; padding: 8px 12px; font-size: 1rem; } 181 184 .compose-head #compose-vis { flex: 1; border-radius: 10px; border: 1px solid #2a3342; background: #131a25; color: var(--ink); padding: 8px; font: inherit; } 182 .compose-head .primary { border: 0; border-radius: 10px; padding: 8px 16px; background: var(--accent); color: #fff; font: inherit; font-weight: 600; }185 .compose-head .primary { border: 0; border-radius: 10px; padding: 8px 16px; background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 600; } 183 186 .compose-head .primary:disabled { background: #3a3f4d; color: var(--dim); } 184 187 #compose-text { width: 100%; border-radius: 12px; border: 1px solid #2a3342; background: #131a25; color: var(--ink); padding: 10px; font: inherit; resize: vertical; } … … 192 195 .compose-tools .tool { font-size: 1.4rem; cursor: pointer; padding: 4px 8px; border-radius: 10px; background: #131a25; } 193 196 .compose-tools .hint { margin-left: auto; } 197 198 /* ── Het kaartraster: meer kolommen naarmate er ruimte is ─────────────── */ 199 /* Robins wens (12-8): op desktop net als op mobiel en tablet MEERDERE 200 kolommen. auto-fill met een minimum vult zelf op: één kolom op een smalle 201 telefoon, twee op een tablet, drie of meer op een breed scherm. */ 202 .cards { 203 display: grid; 204 grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 205 gap: 12px; 206 align-items: start; 207 } 208 209 /* ── De mini-speler ───────────────────────────────────────────────────── */ 210 #mini-player { 211 position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); 212 z-index: 45; display: flex; align-items: center; gap: 10px; 213 padding: 8px 12px; border-radius: 14px; 214 background: var(--card); box-shadow: 0 6px 24px rgba(0,0,0,.4); 215 max-width: 520px; margin: 0 auto; 216 } 217 #mini-player #mini-toggle { border: 0; border-radius: 50%; width: 40px; height: 40px; background: var(--accent); color: var(--on-accent); font-size: 1rem; } 218 #mini-player #mini-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } 219 #mini-player #mini-close { border: 0; background: none; color: var(--dim); font-size: 1rem; } 220 221 /* ── De themakiezer ───────────────────────────────────────────────────── */ 222 .icon-btn { border: 0; background: #2a3342; border-radius: 999px; width: 38px; height: 38px; font-size: 1.1rem; } 223 dialog#theme-dialog { 224 border: 0; border-radius: 16px; padding: 18px; max-width: 320px; width: calc(100% - 48px); 225 background: var(--card); color: var(--ink); text-align: center; 226 } 227 dialog#theme-dialog::backdrop { background: rgba(0,0,0,.4); } 228 dialog#theme-dialog h2 { margin: 0 0 14px; font-size: 1.05rem; } 229 .swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } 230 .swatch { width: 100%; aspect-ratio: 1; border: 3px solid transparent; border-radius: 50%; cursor: pointer; } 231 .swatch.chosen { border-color: var(--ink); } 232 #theme-close { margin-top: 14px; border: 0; background: none; color: var(--dim); font: inherit; }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)