Skip to content

Commit 1a8097f

Browse files
committed
Improve donate page for sponsors
1 parent 493825c commit 1a8097f

File tree

3 files changed

+562
-133
lines changed

3 files changed

+562
-133
lines changed

assets/css/styles.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,31 @@
2929
--bs-btn-primary-hover-border-color: #8ea1f2;
3030
}
3131

32+
/* Override Bootstrap's btn-secondary */
33+
.btn-secondary {
34+
/* Base color: lighter than primary blue, still clickable */
35+
background-color: var(--btn-secondary-bg);
36+
color: var(--btn-secondary-color);
37+
border-color: var(--btn-secondary-border);
38+
}
39+
40+
/* Hover state: slightly darker to emphasize interactivity */
41+
.btn-secondary:hover {
42+
background-color: var(--btn-secondary-bg-hover);
43+
border-color: var(--btn-secondary-border-hover);
44+
color: var(--btn-secondary-color-hover);
45+
}
46+
47+
/* Focus state: add visible outline for accessibility */
48+
.btn-secondary:focus {
49+
box-shadow: 0 0 0 0.25rem rgba(100, 150, 255, 0.4);
50+
}
51+
52+
/* Disabled state: reduce opacity */
53+
.btn-secondary:disabled {
54+
opacity: 0.65;
55+
}
56+
3257
/* Make dropdown full-width on mobile */
3358
@media (max-width: 991.98px) {
3459
.navbar .dropdown-menu {

0 commit comments

Comments
 (0)