mirror of
https://github.com/tabler/tabler.git
synced 2026-07-22 13:31:50 +04:00
alert fixes, card header fixes
This commit is contained in:
@@ -317,6 +317,8 @@ $btn-font-weight: $font-weight-medium !default;
|
||||
$btn-border-radius: 3px !default;
|
||||
|
||||
//cards
|
||||
$card-title-spacer-y: 1.25rem !default;
|
||||
|
||||
$card-border-width: $border-width !default;
|
||||
$card-border-color: $border-color-transparent !default;
|
||||
$card-border-radius: $border-radius !default;
|
||||
|
||||
@@ -14,9 +14,13 @@
|
||||
border-color: transparent;
|
||||
background: var(--#{$variable-prefix}alert-color);
|
||||
color: #fff;
|
||||
font-weight: $font-weight-medium;
|
||||
|
||||
.alert-icon {
|
||||
.alert-icon,
|
||||
.alert-link {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.alert-link:hover {
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
@@ -44,6 +48,7 @@
|
||||
.alert-title {
|
||||
font-size: $h4-font-size;
|
||||
line-height: $h4-line-height;
|
||||
font-weight: $headings-font-weight;
|
||||
font-weight: $font-weight-bold;
|
||||
margin-bottom: .25rem;
|
||||
color: var(--tblr-alert-color);
|
||||
}
|
||||
@@ -215,7 +215,7 @@ Card footer
|
||||
|
||||
.card-subtitle {
|
||||
margin-top: -$card-spacer-y;
|
||||
margin-bottom: $card-spacer-y;
|
||||
margin-bottom: $card-title-spacer-y;
|
||||
color: $text-muted;
|
||||
|
||||
.card-header & {
|
||||
|
||||
Reference in New Issue
Block a user