mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
feat(sidebar): sidebar styles
This commit is contained in:
parent
dd7acac528
commit
ecd5948e96
2 changed files with 13 additions and 0 deletions
|
|
@ -3,6 +3,16 @@
|
|||
@include nga-install-root-component() {
|
||||
|
||||
nga-sidebar {
|
||||
|
||||
margin-top: nga-theme(sidebar-header-gap);
|
||||
|
||||
/deep/ .scrollable {
|
||||
height: calc(#{nga-theme(sidebar-height)} - #{nga-theme(header-height)} - #{nga-theme(sidebar-header-gap)})!important;
|
||||
border-top-right-radius: 0.75rem;
|
||||
}
|
||||
|
||||
background: transparent;
|
||||
|
||||
.main-btn {
|
||||
display: block;
|
||||
padding: 1rem 3rem;
|
||||
|
|
|
|||
|
|
@ -8,12 +8,15 @@ $nga-enabled-themes: (default, light, cosmic);
|
|||
|
||||
$nga-themes: nga-register-theme((
|
||||
// app wise variables for each theme
|
||||
sidebar-header-gap: 2rem,
|
||||
), default, default);
|
||||
|
||||
$nga-themes: nga-register-theme((
|
||||
// app wise variables for each theme
|
||||
sidebar-header-gap: 2rem,
|
||||
), cosmic, cosmic);
|
||||
|
||||
$nga-themes: nga-register-theme((
|
||||
// app wise variables for each theme
|
||||
sidebar-header-gap: 2rem,
|
||||
), light, light);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue