mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
un-nest .alert-heading & .alert-link
This commit is contained in:
parent
d0c2a82ea8
commit
10f703f3b0
@ -12,17 +12,6 @@
|
||||
border: 1px solid transparent;
|
||||
@include border-radius($alert-border-radius);
|
||||
|
||||
// Headings for larger alerts
|
||||
.alert-heading {
|
||||
margin-top: 0;
|
||||
// Specified to prevent conflicts of changing $headings-color
|
||||
color: inherit;
|
||||
}
|
||||
// Provide class for links that match alerts
|
||||
.alert-link {
|
||||
font-weight: $alert-link-font-weight;
|
||||
}
|
||||
|
||||
// Improve alignment and spacing of inner content
|
||||
> p,
|
||||
> ul {
|
||||
@ -33,6 +22,18 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Headings for larger alerts
|
||||
.alert-heading {
|
||||
margin-top: 0;
|
||||
// Specified to prevent conflicts of changing $headings-color
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
// Provide class for links that match alerts
|
||||
.alert-link {
|
||||
font-weight: $alert-link-font-weight;
|
||||
}
|
||||
|
||||
// Dismissible alerts
|
||||
//
|
||||
// Expand the right padding and account for the close button's positioning.
|
||||
|
Loading…
x
Reference in New Issue
Block a user