提交 2329cf57 编写于 作者: C codecalm

alert fixes, card header fixes

上级 4ec2bff5
......@@ -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);
}
\ No newline at end of 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 & {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册