fix contrast for buttons and links in alert boxes

turns out, i broke the "Review patch" button link (.btn.btn-primary) in
the "this thread contains a patchset" info alert when trying to fix the
legacy OAuth link contrast.

this fixes both the "Review patch" button, and the legacy OAuth link,
and shouldn't break the contrast for any links and buttons in alert
boxes.

contrast for links on danger alert is fixed as well.

partially reverts commit 1dd2f363ce
This commit is contained in:
Jackson 2024-01-16 00:45:24 +01:00 committed by Drew DeVault
parent 7fc2c6ca49
commit 30ca6902c6
1 changed files with 5 additions and 5 deletions

View File

@ -56,7 +56,7 @@ code {
border-color: darken(#bee5eb, 10);
color: black;
a, a.btn {
a:not(.btn), a.btn.btn-link {
color: darken($primary, 20);
}
}
@ -66,7 +66,7 @@ code {
border-color: darken(#c3e6cb, 10);
color: $black;
a, a.btn {
a:not(.btn), a.btn.btn-link {
color: darken($primary, 20);
}
}
@ -76,8 +76,8 @@ code {
border-color: darken(#f5c6cb, 10);
color: $black;
a, a.btn {
color: darken($primary, 15);
a:not(.btn), a.btn.btn-link {
color: darken($primary, 25);
}
}
@ -86,7 +86,7 @@ code {
border-color: darken(#ffeeba, 10);
color: $black;
a, a.btn {
a:not(.btn), a.btn.btn-link {
color: darken($primary, 15);
}
}