1
0
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:
codecalm
2021-03-14 17:29:57 +01:00
parent 4ec2bff5f4
commit 2329cf5737
3 changed files with 11 additions and 4 deletions
+2
View File
@@ -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;
+8 -3
View File
@@ -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);
}
+1 -1
View File
@@ -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 & {