feat(sidebar): sidebar styles

This commit is contained in:
Dmitry Nehaychik 2017-07-26 15:12:48 +03:00
parent dd7acac528
commit ecd5948e96
2 changed files with 13 additions and 0 deletions

View file

@ -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;

View file

@ -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);