2019-05-14 15:32:42 +00:00
|
|
|
#main__menu {
|
2019-05-13 16:50:34 +00:00
|
|
|
background-color: $color-233-18-29;
|
|
|
|
color: $color-0-0-100;
|
2019-02-04 08:48:39 +00:00
|
|
|
display: block;
|
2019-12-11 17:06:42 +00:00
|
|
|
max-width: 250px;
|
2019-12-12 16:32:00 +00:00
|
|
|
overflow: auto;
|
|
|
|
/*transition: flex-basis 0.5s ease-in-out;*/
|
2019-01-25 14:47:14 +00:00
|
|
|
|
|
|
|
&.open {
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
sib-router {
|
|
|
|
|
|
|
|
.menu-wrapper {
|
|
|
|
&.is-closed {
|
|
|
|
.sub-menu {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.menu-chevron {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu {
|
2019-02-04 08:48:39 +00:00
|
|
|
cursor: pointer;
|
2019-01-25 14:47:14 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
font-weight: bold;
|
2019-02-04 08:48:39 +00:00
|
|
|
padding: 1.6rem;
|
2019-01-25 14:47:14 +00:00
|
|
|
|
|
|
|
&[active] {
|
2019-05-13 16:50:34 +00:00
|
|
|
background-color: $color-46-100-67;
|
|
|
|
color: $color-233-18-29;
|
2019-01-25 14:47:14 +00:00
|
|
|
|
|
|
|
.menu-icon:before {
|
2019-05-13 16:50:34 +00:00
|
|
|
background-color: $color-233-18-29;
|
|
|
|
color: $color-0-0-100;
|
2019-01-25 14:47:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-notification > sib-display > div:first-child {
|
2019-05-13 16:50:34 +00:00
|
|
|
background-color: $color-233-18-29;
|
|
|
|
color: $color-46-100-67;
|
2019-01-25 14:47:14 +00:00
|
|
|
}
|
|
|
|
}
|
2019-11-15 12:29:41 +00:00
|
|
|
|
2019-01-25 14:47:14 +00:00
|
|
|
.menu-icon {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2019-02-04 08:48:39 +00:00
|
|
|
justify-content: center;
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
font-size: 1.7rem;
|
|
|
|
width: 3.2em;
|
2019-01-25 14:47:14 +00:00
|
|
|
|
|
|
|
&:before {
|
2019-02-04 08:48:39 +00:00
|
|
|
border-radius: 100%;
|
2019-01-25 14:47:14 +00:00
|
|
|
height: 1.9em;
|
|
|
|
line-height: 1.9em;
|
2019-02-04 08:48:39 +00:00
|
|
|
width: 1.9em;
|
2019-01-25 14:47:14 +00:00
|
|
|
}
|
|
|
|
}
|
2019-02-04 08:48:39 +00:00
|
|
|
|
|
|
|
.menu-label {
|
2019-01-25 14:47:14 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
2019-02-04 08:48:39 +00:00
|
|
|
flex-shrink: 0;
|
|
|
|
font-weight: 600;
|
2019-01-25 14:47:14 +00:00
|
|
|
justify-content: center;
|
2019-02-04 08:48:39 +00:00
|
|
|
letter-spacing: 0.017rem;
|
2019-01-25 14:47:14 +00:00
|
|
|
text-transform: uppercase;
|
2019-02-04 08:48:39 +00:00
|
|
|
width: 8em;
|
2019-01-25 14:47:14 +00:00
|
|
|
}
|
2019-02-04 08:48:39 +00:00
|
|
|
|
|
|
|
.menu-chevron {
|
|
|
|
align-items: center;
|
2019-05-13 16:50:34 +00:00
|
|
|
color: $color-244-10-70;
|
2019-02-04 08:48:39 +00:00
|
|
|
display: flex;
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
justify-content: center;
|
|
|
|
width: 2em;
|
2019-01-25 14:47:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
> sib-display {
|
|
|
|
display: block;
|
2019-02-04 08:48:39 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sub-menu {
|
2019-12-11 17:06:42 +00:00
|
|
|
|
|
|
|
sib-set-default[name='project'] {
|
|
|
|
padding: 1rem 1rem 1rem 3.2rem;
|
|
|
|
|
|
|
|
.project-customer,
|
|
|
|
.project-name {
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.project-customer {
|
|
|
|
font-weight: bold;
|
|
|
|
width: 150px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.project-name {
|
|
|
|
padding-left: 14px;
|
|
|
|
width: calc(150px - 10px);
|
|
|
|
/* 10px = padding of the sib-set-default = better alignment */
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $color-233-20-17;
|
|
|
|
box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.26);
|
|
|
|
color: $color-218-100-98;
|
|
|
|
/* transition: all 0.6s cubic-bezier(0.39, 0.575, 0.565, 1); Need better animation */
|
|
|
|
width: auto;
|
|
|
|
z-index: 1000;
|
|
|
|
|
|
|
|
.project-customer,
|
|
|
|
.project-name {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-02-04 08:48:39 +00:00
|
|
|
|
2019-06-07 21:01:08 +00:00
|
|
|
sib-display>div {
|
2019-09-26 09:43:21 +00:00
|
|
|
|
|
|
|
.create {
|
|
|
|
color: $color-244-10-70;
|
|
|
|
margin: 1rem 1rem 2.2rem 3.2rem;
|
|
|
|
}
|
2019-06-07 21:01:08 +00:00
|
|
|
|
|
|
|
&>sib-display {
|
|
|
|
|
|
|
|
&:last-child>div {
|
|
|
|
margin-bottom: 2.2rem;
|
2019-04-22 14:13:24 +00:00
|
|
|
}
|
2019-06-07 21:01:08 +00:00
|
|
|
|
|
|
|
>div {
|
|
|
|
color: $color-244-10-70;
|
|
|
|
cursor: pointer;
|
2019-12-11 17:06:42 +00:00
|
|
|
padding: 1rem 1rem 1rem 3.2rem;
|
|
|
|
}
|
2019-12-10 14:56:06 +00:00
|
|
|
|
2019-12-11 17:06:42 +00:00
|
|
|
&[fields="project(customer.name, name), badge"]>div {
|
|
|
|
padding: 0;
|
2019-01-25 14:47:14 +00:00
|
|
|
}
|
|
|
|
}
|
2019-06-07 21:01:08 +00:00
|
|
|
|
|
|
|
&>sib-display[active]>div {
|
|
|
|
background-color: $color-46-100-67;
|
|
|
|
color: $color-233-18-29;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2019-01-25 14:47:14 +00:00
|
|
|
}
|
2019-06-05 08:50:33 +00:00
|
|
|
|
|
|
|
&.menu-notification {
|
|
|
|
> sib-display > div > sib-display > div {
|
|
|
|
display: flex;
|
|
|
|
sib-display-div {
|
|
|
|
flex: 3;
|
|
|
|
}
|
|
|
|
hd-counter {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
margin-right: 1em;
|
2019-06-25 08:19:26 +00:00
|
|
|
div.counter:not([data-nb-unread="0"]) {
|
2019-06-05 08:50:33 +00:00
|
|
|
text-align: center;
|
|
|
|
display: block;
|
|
|
|
background-color: var(--sib-notifications-theme, gray);
|
|
|
|
border-radius: 50%;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
padding-bottom: 0;
|
|
|
|
color: $color-216-4-22;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-02-04 08:48:39 +00:00
|
|
|
|
|
|
|
.divider {
|
|
|
|
height: 1px;
|
2019-05-13 16:50:34 +00:00
|
|
|
background-color: $color-213-13-86;
|
2019-02-04 08:48:39 +00:00
|
|
|
}
|
2019-01-25 14:47:14 +00:00
|
|
|
}
|
|
|
|
}
|