mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-04-03 07:01:38 +00:00
111 lines
3.5 KiB
SCSS
111 lines
3.5 KiB
SCSS
/* Variables */
|
|
$fuse-vertical-navigation-compact-width: 112;
|
|
|
|
fuse-vertical-navigation {
|
|
|
|
/* Compact appearance overrides */
|
|
&.fuse-vertical-navigation-appearance-compact {
|
|
width: #{$fuse-vertical-navigation-compact-width}px;
|
|
min-width: #{$fuse-vertical-navigation-compact-width}px;
|
|
max-width: #{$fuse-vertical-navigation-compact-width}px;
|
|
|
|
/* Left positioned */
|
|
&.fuse-vertical-navigation-position-left {
|
|
|
|
/* Side mode */
|
|
&.fuse-vertical-navigation-mode-side {
|
|
margin-left: -#{$fuse-vertical-navigation-compact-width}px;
|
|
}
|
|
|
|
/* Opened */
|
|
&.fuse-vertical-navigation-opened {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
/* Right positioned */
|
|
&.fuse-vertical-navigation-position-right {
|
|
|
|
/* Side mode */
|
|
&.fuse-vertical-navigation-mode-side {
|
|
margin-right: -#{$fuse-vertical-navigation-compact-width}px;
|
|
}
|
|
|
|
/* Opened */
|
|
&.fuse-vertical-navigation-opened {
|
|
margin-right: 0;
|
|
}
|
|
|
|
/* Aside wrapper */
|
|
.fuse-vertical-navigation-aside-wrapper {
|
|
left: auto;
|
|
right: #{$fuse-vertical-navigation-compact-width}px;
|
|
}
|
|
}
|
|
|
|
/* Wrapper */
|
|
.fuse-vertical-navigation-wrapper {
|
|
|
|
/* Content */
|
|
.fuse-vertical-navigation-content {
|
|
|
|
> fuse-vertical-navigation-aside-item,
|
|
> fuse-vertical-navigation-basic-item {
|
|
|
|
.fuse-vertical-navigation-item-wrapper {
|
|
margin: 4px 8px 0 8px;
|
|
|
|
.fuse-vertical-navigation-item {
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
padding: 12px;
|
|
border-radius: 6px;
|
|
|
|
.fuse-vertical-navigation-item-icon {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.fuse-vertical-navigation-item-title-wrapper {
|
|
margin-top: 8px;
|
|
|
|
.fuse-vertical-navigation-item-title {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
line-height: 16px;
|
|
}
|
|
|
|
.fuse-vertical-navigation-item-subtitle {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
.fuse-vertical-navigation-item-badge {
|
|
position: absolute;
|
|
top: 12px;
|
|
left: 64px;
|
|
}
|
|
}
|
|
}
|
|
|
|
> fuse-vertical-navigation-collapsable-item {
|
|
display: none
|
|
}
|
|
|
|
> fuse-vertical-navigation-group-item {
|
|
|
|
> .fuse-vertical-navigation-item-wrapper {
|
|
display: none
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Aside wrapper */
|
|
.fuse-vertical-navigation-aside-wrapper {
|
|
left: #{$fuse-vertical-navigation-compact-width}px;
|
|
}
|
|
}
|
|
}
|