2019-05-14 15:32:42 +00:00
|
|
|
.no-sidebar {
|
|
|
|
flex: 1;
|
|
|
|
@extend %padding-main;
|
|
|
|
}
|
|
|
|
|
|
|
|
.with-sidebar {
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
2019-05-14 16:19:30 +00:00
|
|
|
flex-direction: row;
|
2019-05-14 15:32:42 +00:00
|
|
|
align-items: stretch;
|
2019-12-18 18:50:47 +00:00
|
|
|
overflow: hidden;
|
2019-05-14 15:32:42 +00:00
|
|
|
|
|
|
|
.views-container {
|
|
|
|
flex: 1 0 0;
|
2020-01-18 14:51:43 +00:00
|
|
|
/*-webkit-backface-visibility: hidden;*/
|
2019-05-14 16:19:30 +00:00
|
|
|
|
|
|
|
&.sidebar-is-closed {
|
2020-01-20 12:57:03 +00:00
|
|
|
@include breakpoint(769px, 0) {
|
|
|
|
margin-left: -15.5rem;
|
|
|
|
transform: translate(15.5rem);
|
|
|
|
}
|
2019-05-14 16:19:30 +00:00
|
|
|
}
|
2019-05-14 15:32:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
>div {
|
|
|
|
transition: all 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
2020-05-11 18:20:13 +00:00
|
|
|
background: var(--color-right-menu-background);
|
2019-05-14 15:32:42 +00:00
|
|
|
transition: all 0.5s;
|
2020-01-18 14:51:43 +00:00
|
|
|
width: 25rem;
|
2019-05-14 15:32:42 +00:00
|
|
|
|
|
|
|
>sib-router {
|
2020-05-11 18:20:13 +00:00
|
|
|
color: var(--color-right-menu-text);
|
2019-05-14 15:32:42 +00:00
|
|
|
flex: 0 0 auto;
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
|
|
>ul {
|
|
|
|
cursor: pointer;
|
2019-11-05 18:58:40 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-05-14 15:32:42 +00:00
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
align-items: center;
|
2020-05-11 18:20:13 +00:00
|
|
|
border-bottom: 1px solid var(--color-right-menu-link-border);
|
2019-05-14 15:32:42 +00:00
|
|
|
display: flex;
|
|
|
|
margin: 0;
|
2019-10-27 17:21:17 +00:00
|
|
|
padding: 2.15rem 2.55rem;
|
2019-05-14 15:32:42 +00:00
|
|
|
position: relative;
|
2020-01-18 14:51:43 +00:00
|
|
|
/*width: 12em;*/
|
2020-04-13 17:02:51 +00:00
|
|
|
|
2019-05-14 15:32:42 +00:00
|
|
|
&::before {
|
|
|
|
float: left;
|
|
|
|
font-size: 4rem;
|
|
|
|
margin-left: 0;
|
2020-01-18 14:51:43 +00:00
|
|
|
margin-right: 2.85rem;
|
2019-05-14 15:32:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
>li {
|
|
|
|
@include icon('arrow-right-circle');
|
|
|
|
}
|
|
|
|
|
|
|
|
>sib-route {
|
|
|
|
|
2019-11-07 11:05:17 +00:00
|
|
|
&[name*='circle'],
|
2020-01-07 23:59:44 +00:00
|
|
|
&[name*='project'] {
|
2019-05-14 15:32:42 +00:00
|
|
|
|
|
|
|
>li::before {
|
|
|
|
font-size: 4rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-08 10:57:05 +00:00
|
|
|
&[name*='users'] {
|
|
|
|
|
|
|
|
>li::before {
|
|
|
|
font-size: 5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-14 15:32:42 +00:00
|
|
|
&[name$='chat']>li {
|
|
|
|
@include ci('chat');
|
|
|
|
}
|
|
|
|
|
|
|
|
&[name$='create']>li {
|
|
|
|
@include ci('offer');
|
|
|
|
}
|
|
|
|
|
|
|
|
&[name$='edit']>li {
|
|
|
|
@include ci('list');
|
|
|
|
}
|
|
|
|
|
2019-10-24 20:03:15 +00:00
|
|
|
&[name$='profile']>li, &[name$='information']>li {
|
2019-11-07 11:07:43 +00:00
|
|
|
@include ci('information');
|
2019-05-14 15:32:42 +00:00
|
|
|
}
|
2019-06-05 09:45:41 +00:00
|
|
|
|
|
|
|
&[name$='drive']>li {
|
|
|
|
@include ci('file');
|
|
|
|
}
|
2019-11-07 11:05:17 +00:00
|
|
|
|
2020-04-13 17:02:51 +00:00
|
|
|
&[name='admin-users']>li::before {
|
2020-05-11 18:20:13 +00:00
|
|
|
background-color: var(--color-secondary);
|
2020-04-13 17:02:51 +00:00
|
|
|
content: '';
|
|
|
|
display: inline-block;
|
|
|
|
height: 40px;
|
|
|
|
mask: url('/images/add-user.svg') 1% 1% / 1px 1px no-repeat;
|
|
|
|
mask-size: cover;
|
|
|
|
-webkit-mask: url('/images/add-user.svg') 1% 1% / 1px 1px no-repeat;
|
|
|
|
-webkit-mask-size: cover;
|
|
|
|
width: 40px;
|
2020-04-08 10:57:05 +00:00
|
|
|
}
|
|
|
|
|
2019-11-07 11:05:17 +00:00
|
|
|
&[name='admin-circles']>li {
|
|
|
|
@include ci('bubble-add');
|
|
|
|
}
|
2020-01-07 23:59:44 +00:00
|
|
|
|
|
|
|
&[name='admin-projects']>li {
|
|
|
|
@include ci('add');
|
|
|
|
}
|
2020-04-13 17:02:51 +00:00
|
|
|
|
|
|
|
&[active] {
|
2020-05-11 18:20:13 +00:00
|
|
|
background-color: var(--color-right-menu-active-background);
|
|
|
|
color: var(--color-right-menu-active-text);
|
2020-04-13 17:02:51 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active-color[active] {
|
|
|
|
>li::before {
|
2020-05-11 18:20:13 +00:00
|
|
|
background-color: var(--color-right-menu-active-icon);
|
2020-04-13 17:02:51 +00:00
|
|
|
}
|
|
|
|
}
|
2019-05-14 15:32:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-20 12:57:03 +00:00
|
|
|
&.jsRightMenu {
|
|
|
|
|
|
|
|
@include breakpoint(sm) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.jsRightMenu:not([open]) {
|
2019-05-14 15:32:42 +00:00
|
|
|
transform: translate(15.5rem);
|
|
|
|
|
|
|
|
& .jsOffsiteToggle::before {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
}
|
2020-01-19 12:19:25 +00:00
|
|
|
|
2020-01-20 12:57:03 +00:00
|
|
|
&.jsRightMenu[open] {
|
2020-01-19 12:19:25 +00:00
|
|
|
|
|
|
|
@include breakpoint(sm) {
|
2020-01-20 12:57:03 +00:00
|
|
|
display: block;
|
2020-05-11 18:20:13 +00:00
|
|
|
background: var(--color-right-menu-background);
|
2020-01-19 12:19:25 +00:00
|
|
|
bottom: 0;
|
|
|
|
box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.12);
|
|
|
|
min-width: 60%;
|
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
|
|
|
top: 83px;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
}
|
2019-05-14 15:32:42 +00:00
|
|
|
}
|
2020-05-11 18:20:13 +00:00
|
|
|
}
|