fix: fix card-header border-radius

This commit is contained in:
Kazhnuz 2021-07-28 17:42:27 +02:00
parent 600ee0b428
commit 2e1b180e56

View file

@ -37,7 +37,6 @@ $header-margin: $lineheight;
@mixin card-header($size) { @mixin card-header($size) {
font-size:1.1em; font-size:1.1em;
font-weight: $fontweight_big; font-weight: $fontweight_big;
border-radius: 0;
padding: $size/2; padding: $size/2;
padding-left:0; padding-left:0;
padding-right:0; padding-right:0;
@ -46,7 +45,6 @@ $header-margin: $lineheight;
margin-top:$lineheight_half; margin-top:$lineheight_half;
line-height:$lineheight; line-height:$lineheight;
white-space: nowrap; white-space: nowrap;
@include border-radius();
position:relative; position:relative;
left: -$size*1.25; left: -$size*1.25;
@ -54,6 +52,15 @@ $header-margin: $lineheight;
width:85%; width:85%;
@include button-style($size); @include button-style($size);
border-radius:0;
&:first-child {
border-top-left-radius: $border-radius;
border-top-right-radius: $border-radius;
}
&:last-child {
border-bottom-left-radius: $border-radius;
border-bottom-right-radius: $border-radius;
}
h1, h2, h3, h4, h5, h6, h7, h8, h9, h10 { h1, h2, h3, h4, h5, h6, h7, h8, h9, h10 {
font-family:$basefont; font-family:$basefont;