fix(tables): fix #1000 (#1001)

This commit is contained in:
Mihail 2017-04-20 16:56:38 +03:00 committed by Lex Zhukov
parent e033edf838
commit 4b98e0ee36

View file

@ -1,19 +1,37 @@
@import "../../../../theme/sass/conf/conf"; @import "../../../../theme/sass/conf/conf";
.ng2-smart-table-container table.ng2-smart-table { .widgets {
ba-card {
width: 100%;
}
}
ng2-smart-table {
th, td { th, td {
border: 1px solid $border-light !important; border: 1px solid $border-light !important;
line-height: 35px; line-height: 35px;
vertical-align: middle; vertical-align: middle;
} }
table tr td {
padding: 0 8px!important;
}
color: $default-text; color: $default-text;
input { input {
line-height: 1.5 !important; line-height: 1.5 !important;
} }
ng2-smart-table-cell {
color: $default-text;
line-height: 35px;
}
tbody { tbody {
tr {
color: $default-text;
}
tr:hover { tr:hover {
background: rgba(0, 0, 0, 0.03); background: rgba(0, 0, 0, 0.03);
} }
@ -41,7 +59,11 @@
} }
} }
a.ng2-smart-action { .ng2-smart-actions-title-add {
text-align: center;
}
a.ng2-smart-action, .ng2-smart-title {
font-size: 14px !important; font-size: 14px !important;
color: $default-text; color: $default-text;
padding: 0 5px; padding: 0 5px;
@ -51,9 +73,12 @@
font-size: 25px !important; font-size: 25px !important;
} }
} }
nav.ng2-smart-pagination-nav {
display: flex;
justify-content: center;
}
} }
nav.ng2-smart-pagination-nav {
display: flex;
justify-content: center;
}