added card header style mixins (#5354)

* added card header style mixins

* fix color variable naming
This commit is contained in:
kossel 2017-03-16 22:46:50 -05:00 committed by 偏右
parent 4382d4ea23
commit 621f44e79c
2 changed files with 10 additions and 3 deletions

View File

@ -20,8 +20,9 @@
}
&-head {
height: 48px;
line-height: 48px;
height: @card-head-height;
line-height: @card-head-height;
background-color: @card-head-background;
border-bottom: @border-width-base @border-style-base @border-color-split;
padding: 0 24px;
@ -32,7 +33,7 @@
width: 100%;
overflow: hidden;
white-space: nowrap;
color: @heading-color;
color: @card-head-color;
font-weight: 500;
}
}

View File

@ -264,3 +264,9 @@
// ---
@rate-star-color: #f5a623;
@rate-star-bg: #e9e9e9;
// Card
// ---
@card-head-height: 48px;
@card-head-color: @heading-color;
@card-head-background: @component-background;