mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-03-09 23:22:34 +01:00
feat: update to Angular 8, Nebular 4 (#2114)
This commit is contained in:
parent
537e6a77b0
commit
e9600b4a07
323 changed files with 7421 additions and 14161 deletions
55
src/app/pages/tables/smart-table/smart-table.component.scss
Normal file
55
src/app/pages/tables/smart-table/smart-table.component.scss
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
@import '../../../@theme/styles/themes';
|
||||
|
||||
@include nb-install-component() {
|
||||
nb-card {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
ng2-smart-table ::ng-deep {
|
||||
.ng2-smart-action-add-add {
|
||||
background-color: nb-theme(button-filled-primary-background-color);
|
||||
border-color: nb-theme(button-filled-primary-border-color);
|
||||
color: nb-theme(button-filled-primary-text-color);
|
||||
|
||||
&:focus {
|
||||
border-color: nb-theme(button-filled-primary-focus-border-color);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: nb-theme(button-filled-primary-hover-background-color);
|
||||
border-color: nb-theme(button-filled-primary-hover-border-color);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: nb-theme(button-filled-primary-active-background-color);
|
||||
border-color: nb-theme(button-filled-primary-active-border-color);
|
||||
}
|
||||
}
|
||||
|
||||
nav.ng2-smart-pagination-nav .pagination li {
|
||||
a, > span {
|
||||
background-color: transparent;
|
||||
color: nb-theme(button-outline-primary-text-color);
|
||||
|
||||
&:focus {
|
||||
border-color: nb-theme(button-outline-primary-focus-border-color);
|
||||
color: nb-theme(button-outline-primary-focus-text-color);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border-color: nb-theme(button-outline-primary-hover-border-color);
|
||||
color: nb-theme(button-outline-primary-hover-text-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ng2-smart-pagination .page-item.disabled {
|
||||
.page-link,
|
||||
.page-link:focus,
|
||||
.page-link:hover {
|
||||
background-color: transparent;
|
||||
color: nb-theme(button-outline-primary-disabled-text-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6,11 +6,7 @@ import { SmartTableData } from '../../../@core/data/smart-table';
|
|||
@Component({
|
||||
selector: 'ngx-smart-table',
|
||||
templateUrl: './smart-table.component.html',
|
||||
styles: [`
|
||||
nb-card {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
`],
|
||||
styleUrls: ['./smart-table.component.scss'],
|
||||
})
|
||||
export class SmartTableComponent {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue