Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(smart-table): fix #1000 smart table style bug #1001

Merged
merged 1 commit into from
Apr 20, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 31 additions & 6 deletions src/app/pages/tables/components/smartTables/smartTables.scss
Original file line number Diff line number Diff line change
@@ -1,19 +1,37 @@
@import "../../../../theme/sass/conf/conf";

.ng2-smart-table-container table.ng2-smart-table {
.widgets {
ba-card {
width: 100%;
}
}

ng2-smart-table {
th, td {
border: 1px solid $border-light !important;
line-height: 35px;
vertical-align: middle;
}

table tr td {
padding: 0 8px!important;
}

color: $default-text;

input {
line-height: 1.5 !important;
}

ng2-smart-table-cell {
color: $default-text;
line-height: 35px;
}

tbody {
tr {
color: $default-text;
}
tr:hover {
background: rgba(0, 0, 0, 0.03);
}
Expand Down Expand Up @@ -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;
color: $default-text;
padding: 0 5px;
Expand All @@ -51,9 +73,12 @@
font-size: 25px !important;
}
}
}

nav.ng2-smart-pagination-nav {
display: flex;
justify-content: center;
nav.ng2-smart-pagination-nav {
display: flex;
justify-content: center;
}
}