mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-12 19:34:20 +01:00
Add material style overrides
This commit is contained in:
parent
ed0f1670f8
commit
ea9d7d56ea
10 changed files with 50 additions and 12 deletions
32
src/app/@theme/styles/material/_material.scss
Normal file
32
src/app/@theme/styles/material/_material.scss
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
@import './ripple';
|
||||
|
||||
@include nb-install() {
|
||||
@include ngx-ripple();
|
||||
|
||||
@include nb-for-themes(material-dark, material-light) {
|
||||
nb-layout-header {
|
||||
box-shadow: nb-theme(header-shadow) !important;
|
||||
background-color: nb-theme(color-primary-default) !important;
|
||||
|
||||
.logo-container, nb-action {
|
||||
a, nb-icon, .user-name {
|
||||
color: nb-theme(text-control-color) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
nb-sidebar {
|
||||
background-color: nb-theme(background-basic-color-2) !important;
|
||||
transition: width 0.3s;
|
||||
|
||||
.main-container {
|
||||
transition: width 0.3s;
|
||||
}
|
||||
}
|
||||
|
||||
nb-card, nb-reveal-card {
|
||||
border: none !important;
|
||||
box-shadow: nb-theme(shadow) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue