2019-05-14 15:32:42 +00:00
|
|
|
#main__menu {
|
2020-05-11 18:20:13 +00:00
|
|
|
background-color: var(--color-menu-background);
|
|
|
|
color: var(--color-menu-text);
|
2019-12-12 16:32:00 +00:00
|
|
|
/*transition: flex-basis 0.5s ease-in-out;*/
|
2019-01-25 14:47:14 +00:00
|
|
|
|
|
|
|
&.open {
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
2020-05-08 13:27:44 +00:00
|
|
|
|
|
|
|
.unread {
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
2019-01-25 14:47:14 +00:00
|
|
|
|
|
|
|
sib-router {
|
|
|
|
|
|
|
|
.menu-wrapper {
|
|
|
|
&.is-closed {
|
|
|
|
.sub-menu {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.menu-chevron {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-06-02 07:29:42 +00:00
|
|
|
|
|
|
|
sib-link {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2019-01-25 14:47:14 +00:00
|
|
|
|
|
|
|
.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;
|
2020-02-24 14:10:02 +00:00
|
|
|
padding: 1.2rem;
|
2019-01-25 14:47:14 +00:00
|
|
|
|
|
|
|
&[active] {
|
2020-05-11 18:20:13 +00:00
|
|
|
background-color: var(--color-menu-highlight-primary);
|
2019-01-25 14:47:14 +00:00
|
|
|
|
|
|
|
.menu-icon:before {
|
2020-05-11 18:20:13 +00:00
|
|
|
background-color: var(--color-menu-icon-background-active);
|
2019-01-25 14:47:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-notification > sib-display > div:first-child {
|
2020-05-11 18:20:13 +00:00
|
|
|
background-color: var(--color-menu-badge-background);
|
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;
|
|
|
|
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
|
|
|
|
2020-01-06 11:19:08 +00:00
|
|
|
/* Specific styles for the "Projects" tab */
|
2019-12-11 17:06:42 +00:00
|
|
|
|
2020-01-06 11:19:08 +00:00
|
|
|
.project-tab>div>sib-display>div:nth-child(1) {
|
|
|
|
|
|
|
|
sib-set-default[name='project'] {
|
|
|
|
|
|
|
|
.project-customer,
|
2020-02-24 14:10:02 +00:00
|
|
|
.project-name>div {
|
2020-01-06 11:19:08 +00:00
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2019-12-11 17:06:42 +00:00
|
|
|
|
2020-01-06 11:19:08 +00:00
|
|
|
.project-customer {
|
2020-06-03 13:33:10 +00:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
@include breakpoint(lg) {
|
|
|
|
width: 150px;
|
|
|
|
}
|
2020-01-06 11:19:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.project-name {
|
2020-02-24 14:10:02 +00:00
|
|
|
display: block;
|
2020-06-03 13:33:10 +00:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
@include breakpoint(lg) {
|
|
|
|
width: 150px;
|
|
|
|
}
|
2020-01-06 11:19:08 +00:00
|
|
|
}
|
2019-12-11 17:06:42 +00:00
|
|
|
}
|
2019-12-20 15:29:05 +00:00
|
|
|
|
2020-05-08 13:27:44 +00:00
|
|
|
hubl-counter {
|
2020-01-06 11:19:08 +00:00
|
|
|
margin-top: 16px;
|
2019-12-11 17:06:42 +00:00
|
|
|
}
|
|
|
|
}
|
2020-01-06 11:19:08 +00:00
|
|
|
/* End of specific styles of "Projects" tab */
|
2020-01-27 12:29:54 +00:00
|
|
|
|
2020-05-20 14:42:11 +00:00
|
|
|
sib-display.nosub>sib-form[fields="name"]>hubl-search-users>input {
|
2020-06-03 12:37:41 +00:00
|
|
|
margin-left: 30px;
|
|
|
|
max-width: 87%;
|
|
|
|
width: 87%;
|
2020-05-19 17:09:59 +00:00
|
|
|
display: block;
|
|
|
|
background-color: var(--color-secondary);
|
|
|
|
color: var(--color-grey-6);
|
|
|
|
border: 1px solid var(--color-grey-4);
|
|
|
|
border-radius: 3px;
|
|
|
|
padding: 4px;
|
2020-06-03 12:37:41 +00:00
|
|
|
|
|
|
|
@include breakpoint(lg) {
|
|
|
|
margin: auto;
|
|
|
|
width: auto;
|
|
|
|
}
|
2020-05-19 17:09:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sib-display.nosub>nav {
|
|
|
|
text-align: center;
|
2020-05-27 06:44:54 +00:00
|
|
|
overflow: hidden;
|
2020-05-19 17:09:59 +00:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto 50% auto;
|
|
|
|
grid-template-areas: "left middle right";
|
|
|
|
>* {
|
|
|
|
color: var(--color-grey-6);
|
|
|
|
}
|
|
|
|
>[data-id="prev"] {
|
|
|
|
grid-area: left;
|
|
|
|
}
|
|
|
|
>[data-id="next"] {
|
|
|
|
grid-area: right;
|
|
|
|
}
|
|
|
|
>span {
|
|
|
|
grid-area: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-19 17:42:32 +00:00
|
|
|
hubl-menu-publicprivate {
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
div {
|
|
|
|
font-family: simple-line-icons;
|
|
|
|
width: 20px;
|
|
|
|
font-size: 0.8em;
|
|
|
|
padding-top: 0.1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-27 12:29:54 +00:00
|
|
|
>sib-display.nosub>div>sib-display>div {
|
2020-02-24 14:10:02 +00:00
|
|
|
padding: 1rem 1rem 1rem 3rem;
|
2020-01-27 12:29:54 +00:00
|
|
|
}
|
|
|
|
|
2019-06-07 21:01:08 +00:00
|
|
|
sib-display>div {
|
2019-09-26 09:43:21 +00:00
|
|
|
|
|
|
|
.create {
|
2020-05-11 18:20:13 +00:00
|
|
|
color: var(--color-white);
|
2019-09-26 09:43:21 +00:00
|
|
|
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 {
|
2020-05-11 18:20:13 +00:00
|
|
|
color: var(--color-grey-6);
|
2019-06-07 21:01:08 +00:00
|
|
|
cursor: pointer;
|
2020-05-08 13:27:44 +00:00
|
|
|
>hubl-menu-fix-url-circle>sib-display>div,
|
|
|
|
>hubl-menu-fix-url-project>sib-display>div {
|
2020-02-24 14:10:02 +00:00
|
|
|
padding: 1rem 1rem 1rem 3rem;
|
2020-01-27 12:29:54 +00:00
|
|
|
}
|
2019-12-11 17:06:42 +00:00
|
|
|
}
|
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
|
|
|
|
2020-01-27 12:18:28 +00:00
|
|
|
&>sib-display[active]>div,
|
2020-05-08 13:27:44 +00:00
|
|
|
&>sib-display>div>hubl-menu-fix-url-circle>sib-display[active]>div,
|
|
|
|
&>sib-display>div>hubl-menu-fix-url-project>sib-display[active]>div {
|
2020-05-11 18:20:13 +00:00
|
|
|
background-color: var(--color-menu-highlight-primary);
|
|
|
|
color: var(--color-menu-text-active);
|
2019-06-07 21:01:08 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2019-01-25 14:47:14 +00:00
|
|
|
}
|
2019-06-05 08:50:33 +00:00
|
|
|
|
|
|
|
&.menu-notification {
|
2020-05-08 13:27:44 +00:00
|
|
|
> sib-display > div > sib-display > div > hubl-menu-fix-url-circle,
|
|
|
|
> sib-display > div > sib-display > div > hubl-menu-fix-url-project {
|
2020-01-24 18:30:36 +00:00
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
> sib-display > div > sib-display > div,
|
2020-05-08 13:27:44 +00:00
|
|
|
> sib-display > div > sib-display > div > hubl-menu-fix-url-circle > sib-display > div,
|
|
|
|
> sib-display > div > sib-display > div > hubl-menu-fix-url-project > sib-display > div {
|
2019-06-05 08:50:33 +00:00
|
|
|
display: flex;
|
|
|
|
sib-display-div {
|
|
|
|
flex: 3;
|
2020-06-03 13:33:10 +00:00
|
|
|
|
|
|
|
@include breakpoint(lg) {
|
|
|
|
max-width: 150px;
|
|
|
|
}
|
2019-06-05 08:50:33 +00:00
|
|
|
}
|
2020-05-08 13:27:44 +00:00
|
|
|
hubl-counter {
|
2019-06-05 08:50:33 +00:00
|
|
|
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;
|
2020-05-11 18:20:13 +00:00
|
|
|
color: var(--color-secondary);
|
2019-06-05 08:50:33 +00:00
|
|
|
}
|
|
|
|
}
|
2020-06-02 17:03:31 +00:00
|
|
|
|
|
|
|
sib-display-div {
|
|
|
|
|
2020-06-03 13:33:10 +00:00
|
|
|
@include breakpoint(lg) {
|
|
|
|
max-width: 150px;
|
|
|
|
|
|
|
|
>div[name='name'] {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2020-06-02 17:03:31 +00:00
|
|
|
}
|
|
|
|
}
|
2019-06-05 08:50:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-02-04 08:48:39 +00:00
|
|
|
|
|
|
|
.divider {
|
|
|
|
height: 1px;
|
2020-05-11 18:20:13 +00:00
|
|
|
background-color: var(--color-grey-11);
|
|
|
|
opacity: 0.2;
|
2019-02-04 08:48:39 +00:00
|
|
|
}
|
2019-01-25 14:47:14 +00:00
|
|
|
}
|
|
|
|
}
|
2020-03-12 07:53:39 +00:00
|
|
|
|
2020-06-03 12:37:41 +00:00
|
|
|
/* Styles for hovering (only on large screens) */
|
2020-06-02 17:03:31 +00:00
|
|
|
#main__menu sib-router .sub-menu.menu-notification>sib-display>div>sib-display>div>hubl-menu-fix-url-project>sib-display>div:hover,
|
|
|
|
#main__menu sib-router .sub-menu.menu-notification>sib-display>div>sib-display>div>hubl-menu-fix-url-circle>sib-display>div:hover,
|
|
|
|
#main__menu sib-router .sub-menu.menu-notification>sib-display.nosub>div>sib-display>div:hover {
|
2020-06-03 12:37:41 +00:00
|
|
|
|
|
|
|
@include breakpoint(lg) {
|
|
|
|
background-color: var(--color-secondary);
|
|
|
|
color: var(--color-white);
|
|
|
|
display: block;
|
|
|
|
box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.26);
|
|
|
|
opacity: 70%;
|
|
|
|
width: 250px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
font-weight: normal;
|
2020-06-02 17:03:31 +00:00
|
|
|
|
|
|
|
|
2020-06-03 12:37:41 +00:00
|
|
|
>hubl-menu-publicprivate {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-06-02 17:03:31 +00:00
|
|
|
|
2020-06-03 12:37:41 +00:00
|
|
|
>hubl-counter {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-06-03 08:31:45 +00:00
|
|
|
|
2020-06-03 12:37:41 +00:00
|
|
|
/* Hover for projects */
|
|
|
|
>sib-set-default[name='project']>.project-customer {
|
|
|
|
width: 250px;
|
2020-06-02 17:03:31 +00:00
|
|
|
white-space: break-spaces;
|
|
|
|
text-align: left;
|
2020-06-03 12:37:41 +00:00
|
|
|
font-weight: normal;
|
2020-06-02 17:03:31 +00:00
|
|
|
}
|
|
|
|
|
2020-06-03 12:37:41 +00:00
|
|
|
sib-set-default[name='project']>.project-name {
|
|
|
|
padding-left: 0;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&>div {
|
|
|
|
white-space: break-spaces;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hover for circles */
|
|
|
|
>sib-display-div[name="name"] {
|
|
|
|
padding-left: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-06-02 17:03:31 +00:00
|
|
|
|
2020-06-03 12:37:41 +00:00
|
|
|
/* Hover for private messages */
|
|
|
|
sib-display-div {
|
2020-06-02 17:03:31 +00:00
|
|
|
|
2020-06-03 12:37:41 +00:00
|
|
|
>div[name="name"] {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
2020-06-02 17:03:31 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-12 07:53:39 +00:00
|
|
|
// Temporary fix for badges
|
|
|
|
sib-fix-badge {
|
|
|
|
display: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-size: 12px;
|
|
|
|
background-color: var(--sib-notifications-theme, gray);
|
|
|
|
color: #36383a;
|
|
|
|
border-radius: 50%;
|
|
|
|
line-height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
text-align: center;
|
|
|
|
font-weight: bold;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|