mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-13 03:44:21 +01:00
refactor(card): extract card with select padding into theme
This commit is contained in:
parent
9946dbb6b6
commit
360846c6fb
6 changed files with 18 additions and 12 deletions
|
|
@ -28,9 +28,8 @@
|
|||
.chart-card nb-card-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-top: 0.45rem;
|
||||
padding-bottom: 0.45rem;
|
||||
border-bottom-color: transparent;
|
||||
padding-top: nb-theme(card-header-with-select-padding-top);
|
||||
padding-bottom: nb-theme(card-header-with-select-padding-bottom);
|
||||
}
|
||||
|
||||
.type-select {
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding-top: 0.45rem;
|
||||
padding-bottom: 0.45rem;
|
||||
padding-top: nb-theme(card-header-with-select-padding-top);
|
||||
padding-bottom: nb-theme(card-header-with-select-padding-bottom);
|
||||
}
|
||||
|
||||
ngx-traffic-chart {
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@
|
|||
|
||||
nb-card-header {
|
||||
flex-direction: row;
|
||||
padding-top: 0.45rem;
|
||||
padding-bottom: 0.45rem;
|
||||
padding-top: nb-theme(card-header-with-select-padding-top);
|
||||
padding-bottom: nb-theme(card-header-with-select-padding-bottom);
|
||||
}
|
||||
|
||||
nb-card-body {
|
||||
|
|
|
|||
|
|
@ -5,9 +5,8 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: nb-theme(card-padding);
|
||||
padding-top: 0.45rem;
|
||||
padding-bottom: 0.45rem;
|
||||
padding-top: nb-theme(card-header-with-select-padding-top);
|
||||
padding-bottom: nb-theme(card-header-with-select-padding-bottom);
|
||||
|
||||
@include nb-ltr(padding-right, 4rem);
|
||||
@include nb-rtl(padding-left, 4rem);
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border: none;
|
||||
padding-top: 0.45rem;
|
||||
padding-bottom: 0.45rem;
|
||||
padding-top: nb-theme(card-header-with-select-padding-top);
|
||||
padding-bottom: nb-theme(card-header-with-select-padding-bottom);
|
||||
}
|
||||
|
||||
nb-list {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue