mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
Fixes #7150: colorize links in alerts
This commit is contained in:
@@ -24,6 +24,12 @@
|
||||
hr {
|
||||
border-top-color: darken(@state-warning-border, 5%);
|
||||
}
|
||||
// Inherit color for immediate links and bolden them some
|
||||
> a,
|
||||
> p > a {
|
||||
font-weight: 500;
|
||||
color: darken(@state-warning-text, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
// Adjust close link position
|
||||
@@ -45,6 +51,10 @@
|
||||
hr {
|
||||
border-top-color: darken(@state-success-border, 5%);
|
||||
}
|
||||
> a,
|
||||
> p > a {
|
||||
color: darken(@state-success-text, 10%);
|
||||
}
|
||||
}
|
||||
.alert-danger,
|
||||
.alert-error {
|
||||
@@ -54,6 +64,10 @@
|
||||
hr {
|
||||
border-top-color: darken(@state-error-border, 5%);
|
||||
}
|
||||
> a,
|
||||
> p > a {
|
||||
color: darken(@state-error-text, 10%);
|
||||
}
|
||||
}
|
||||
.alert-info {
|
||||
background-color: @state-info-background;
|
||||
@@ -62,6 +76,10 @@
|
||||
hr {
|
||||
border-top-color: darken(@state-info-border, 5%);
|
||||
}
|
||||
> a,
|
||||
> p > a {
|
||||
color: darken(@state-info-text, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
// Block alerts
|
||||
|
||||
Reference in New Issue
Block a user