aboutsummaryrefslogtreecommitdiff
path: root/static/style.css
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-19 21:42:49 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-19 21:42:49 +0800
commit63df4f5009ac4b8a8cb44acead457250ab4c5702 (patch)
treefb6cb1f280d389b9619a81c8fe5a6008debaffa2 /static/style.css
parentrepo/index: Add button to show merge requests (diff)
downloadforge-63df4f5009ac4b8a8cb44acead457250ab4c5702.tar.gz
forge-63df4f5009ac4b8a8cb44acead457250ab4c5702.tar.zst
forge-63df4f5009ac4b8a8cb44acead457250ab4c5702.zip
css: Fix button text colors
Diffstat (limited to '')
-rw-r--r--static/style.css10
1 files changed, 5 insertions, 5 deletions
diff --git a/static/style.css b/static/style.css
index 3e4d729..693d459 100644
--- a/static/style.css
+++ b/static/style.css
@@ -259,28 +259,28 @@ th.tdinput input[type=password] {
}
/* Button styles */
-.btn-primary {
+.btn-primary, a.btn-primary {
background: var(--primary-color);
color: var(--primary-color-contrast);
border: var(--lighter-border-color) 1px solid;
font-weight: bold;
}
-.btn-danger {
+.btn-danger, a.btn-danger {
background: var(--danger-color);
color: var(--danger-color-contrast);
border: var(--lighter-border-color) 1px solid;
font-weight: bold;
}
-.btn-white {
+.btn-white, a.btn-white {
background: var(--primary-color-contrast);
color: var(--primary-color);
border: var(--lighter-border-color) 1px solid;
}
-.btn-normal,
+.btn-normal, a.btn-normal,
input[type=file]::file-selector-button {
background: var(--lighter-box-background-color);
border: var(--lighter-border-color) 1px solid !important;
- color: var(--light-text-color);
+ color: var(--text-color);
}
.btn, .btn-white, .btn-danger, .btn-normal, .btn-primary,
input[type=submit],