Use translucent box shadow on hr elements; colorize hr elements within alert components
This commit is contained in:
parent
4c0719ea5f
commit
ecfdecea00
3 changed files with 78 additions and 22 deletions
|
|
@ -13,15 +13,21 @@
|
|||
background-color: @state-warning-background;
|
||||
border: 1px solid @state-warning-border;
|
||||
border-radius: @border-radius-base;
|
||||
}
|
||||
.alert h4 {
|
||||
margin-top: 0;
|
||||
// Specified for the h4 to prevent conflicts of changing @headingsColor
|
||||
color: inherit;
|
||||
|
||||
// Headings for larger alerts
|
||||
h4 {
|
||||
margin-top: 0;
|
||||
// Specified for the h4 to prevent conflicts of changing @headingsColor
|
||||
color: inherit;
|
||||
}
|
||||
// Match the hr to the border of the alert
|
||||
hr {
|
||||
border-top-color: darken(@state-warning-border, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
// Adjust close link position
|
||||
.alert .close {
|
||||
.close {
|
||||
position: relative;
|
||||
top: -2px;
|
||||
right: -21px;
|
||||
|
|
@ -36,17 +42,26 @@
|
|||
background-color: @state-success-background;
|
||||
border-color: @state-success-border;
|
||||
color: @state-success-text;
|
||||
hr {
|
||||
border-top-color: darken(@state-success-border, 5%);
|
||||
}
|
||||
}
|
||||
.alert-danger,
|
||||
.alert-error {
|
||||
background-color: @state-error-background;
|
||||
border-color: @state-error-border;
|
||||
color: @state-error-text;
|
||||
hr {
|
||||
border-top-color: darken(@state-error-border, 5%);
|
||||
}
|
||||
}
|
||||
.alert-info {
|
||||
background-color: @state-info-background;
|
||||
border-color: @state-info-border;
|
||||
color: @state-info-text;
|
||||
hr {
|
||||
border-top-color: darken(@state-info-border, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
// Block alerts
|
||||
|
|
|
|||
|
|
@ -178,6 +178,7 @@ hr {
|
|||
border: 0;
|
||||
border-top: 1px solid @hr-border;
|
||||
border-bottom: 1px solid #fff;
|
||||
border-bottom: 1px solid rgba(255,255,255,.5);
|
||||
}
|
||||
|
||||
// Abbreviations and acronyms
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue