Skip to content

Commit 5adb22f

Browse files
Adriwin06claude
andcommitted
style: default download button to "Tire Burn", style set via one class
Ship six Burnout-textured treatments for the build-download button as .dv-* modifier classes (each swaps only the CTA body; shape, gold pills, hover lift and arrow cue stay shared). The active style is chosen by the dv-* class on #downloadGroup in index.html — dv-tireburn is the default. No in-page switcher; swap the one class to change it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 8870c60 commit 5adb22f

2 files changed

Lines changed: 75 additions & 3 deletions

File tree

‎bp_work_server/static/app.css‎

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,8 @@ h1 .accent {
338338
font-family: var(--font-mono);
339339
font-size: 10px;
340340
letter-spacing: 0.2px;
341-
color: rgba(255, 255, 255, 0.72);
341+
color: rgba(255, 255, 255, 0.78);
342+
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
342343
}
343344

344345
/* the counter + eye ARE .badge; this only adds icon layout + button reset.
@@ -384,6 +385,74 @@ h1 .accent {
384385
height: 15px;
385386
}
386387

388+
/* ---------- Download-button style variants ----------------------------------------
389+
The active style is set by the dv-* class on #downloadGroup in index.html — swap
390+
that one class to change it (dv-tireburn is the default). Each class only swaps the
391+
CTA *body*; the angled clip-path shape, the gold count/eye pills, the hover lift and
392+
arrow cue stay shared. No class = the plain red/gold base look above. Built from the
393+
game's own textures in /static/img/ui/. */
394+
395+
/* 1 · Asphalt — black banner, red splatter bleeding off the icon, gold baseline */
396+
.download-group.dv-asphalt .download-build {
397+
background:
398+
url("/static/img/ui/splatter-red.png") no-repeat -14px center / auto 150%,
399+
linear-gradient(0deg, var(--gold) 0, var(--gold) 2px, transparent 2px),
400+
linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 45%),
401+
url("/static/img/ui/banner-black.png") center / cover,
402+
#16100f;
403+
}
404+
405+
/* 2 · Crimson Streak — red banner body with a motion streak swiping across it */
406+
.download-group.dv-streak .download-build {
407+
background:
408+
url("/static/img/ui/streak-red.png") no-repeat right center / cover,
409+
linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0, rgba(0, 0, 0, 0.35) 2px, transparent 2px),
410+
url("/static/img/ui/banner-red.png") center / cover,
411+
linear-gradient(135deg, var(--red-bright), var(--red-deep));
412+
}
413+
.download-group.dv-streak .download-icon {
414+
color: #fff;
415+
}
416+
417+
/* 3 · Paradise Skyline — black asphalt, the city skyline glowing red along the base */
418+
.download-group.dv-skyline .download-build {
419+
background:
420+
url("/static/img/ui/skyline-red.png") no-repeat right bottom / auto 78%,
421+
radial-gradient(120% 150% at 12% 60%, rgba(236, 28, 36, 0.55), transparent 62%),
422+
linear-gradient(0deg, var(--red-bright) 0, var(--red-bright) 2px, transparent 2px),
423+
url("/static/img/ui/banner-black.png") center / cover,
424+
#0d0a0a;
425+
}
426+
427+
/* 4 · Tire Burn — asphalt + tire-track grit, bright splatter kicking up behind the arrow */
428+
.download-group.dv-tireburn .download-build {
429+
background:
430+
url("/static/img/ui/splatter-red-bright.png") no-repeat 2px center / auto 135%,
431+
url("/static/img/ui/tiretrack.png") repeat-x left center / auto 220%,
432+
linear-gradient(0deg, var(--gold) 0, var(--gold) 2px, transparent 2px),
433+
linear-gradient(180deg, #1c1413, #0f0b0b);
434+
}
435+
436+
/* 5 · Torn Poster — red brush body with a grunge-torn bottom edge */
437+
.download-group.dv-torn .download-build {
438+
padding-bottom: 11px;
439+
background:
440+
url("/static/img/ui/grunge-edge.png") no-repeat center bottom / 100% 9px,
441+
url("/static/img/ui/brush-black.png") no-repeat -20px center / auto 160%,
442+
linear-gradient(135deg, var(--red-bright), var(--red-deep));
443+
}
444+
.download-group.dv-torn .download-icon {
445+
color: var(--gold);
446+
}
447+
448+
/* 6 · Split Livery — diagonal black/red split with a splatter burst at the seam */
449+
.download-group.dv-split .download-build {
450+
background:
451+
url("/static/img/ui/splatter-black.png") no-repeat 44% center / auto 150%,
452+
linear-gradient(0deg, var(--gold) 0, var(--gold) 2px, transparent 2px),
453+
linear-gradient(100deg, #141010 0%, #141010 44%, var(--red-bright) 44%, var(--red-deep) 100%);
454+
}
455+
387456
/* build-contents preview (rendered in the shared detail drawer) */
388457
.zip-summary {
389458
margin-bottom: 12px;

‎bp_work_server/static/index.html‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
href="https://fonts.googleapis.com/css2?family=Anton&family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap"
4040
rel="stylesheet"
4141
/>
42-
<link rel="stylesheet" href="/static/app.css?v=15" />
42+
<link rel="stylesheet" href="/static/app.css?v=17" />
4343
</head>
4444
<body>
4545
<div class="bp-bg" aria-hidden="true">
@@ -66,7 +66,10 @@ <h1>Burnout Paradise Decompilation <span class="accent">Progress</span></h1>
6666
</div>
6767
</div>
6868
<div class="topbar-right">
69-
<div id="downloadGroup" class="download-group" hidden>
69+
<!-- Download-button style — change it by swapping the dv-* class below.
70+
Options: dv-asphalt · dv-streak · dv-skyline · dv-tireburn · dv-torn
71+
· dv-split (or remove the class for the plain red/gold default). -->
72+
<div id="downloadGroup" class="download-group dv-tireburn" hidden>
7073
<a
7174
id="downloadBuild"
7275
class="download-build"

0 commit comments

Comments
 (0)