2018-12-06 16:51:04 +00:00
|
|
|
#header {
|
2020-06-03 15:36:01 +00:00
|
|
|
max-height: 50px;
|
|
|
|
height: 50px;
|
2020-06-01 15:11:24 +00:00
|
|
|
display: flex;
|
2019-02-04 08:48:39 +00:00
|
|
|
align-items: center;
|
2020-05-11 15:15:59 +00:00
|
|
|
background-color: var(--color-header-background);
|
|
|
|
color: var(--color-black);
|
2019-02-04 08:48:39 +00:00
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.09);
|
2018-12-06 16:51:04 +00:00
|
|
|
flex-shrink: 0;
|
2018-12-07 16:25:05 +00:00
|
|
|
position: relative;
|
2020-06-02 07:29:42 +00:00
|
|
|
z-index: 1;
|
2018-12-06 16:51:04 +00:00
|
|
|
|
2020-06-03 12:16:29 +00:00
|
|
|
@include breakpoint(lg) {
|
|
|
|
max-height: 83px;
|
|
|
|
height: 83px;
|
|
|
|
}
|
|
|
|
|
2020-05-13 07:25:33 +00:00
|
|
|
&.is-spaced {
|
2020-06-03 12:16:29 +00:00
|
|
|
padding: 0 0.8rem;
|
|
|
|
|
|
|
|
@include breakpoint(lg) {
|
|
|
|
padding: 0 2.5rem;
|
|
|
|
}
|
|
|
|
}
|
2020-05-19 07:07:18 +00:00
|
|
|
|
2020-06-03 12:16:29 +00:00
|
|
|
>*:not(:first-child) {
|
|
|
|
margin-left: 2rem;
|
|
|
|
|
|
|
|
@include breakpoint(lg) {
|
|
|
|
margin-left: 0;
|
2020-05-19 07:07:18 +00:00
|
|
|
}
|
2019-06-26 10:42:34 +00:00
|
|
|
}
|
2020-01-19 12:57:34 +00:00
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
.logo {
|
2020-05-13 07:25:33 +00:00
|
|
|
flex: 1 0 0;
|
|
|
|
align-items: stretch;
|
2020-01-19 12:57:34 +00:00
|
|
|
}
|
2020-06-03 12:16:29 +00:00
|
|
|
|
|
|
|
/* To remove the place taken by this element */
|
|
|
|
sib-widget[name='hubl-user-avatar'] {
|
|
|
|
display: contents;
|
|
|
|
}
|
2020-05-18 08:47:43 +00:00
|
|
|
}
|
2019-02-04 08:48:39 +00:00
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
/* General styling for both notification and user's panel */
|
|
|
|
details {
|
2020-06-03 12:16:29 +00:00
|
|
|
margin-right: 0;
|
2020-05-18 08:47:43 +00:00
|
|
|
position: relative;
|
2020-01-19 12:57:34 +00:00
|
|
|
|
2020-06-03 12:16:29 +00:00
|
|
|
@include breakpoint(lg) {
|
|
|
|
margin-right: 2.5rem;
|
2020-05-18 08:47:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
summary {
|
|
|
|
|
|
|
|
&::-moz-list-bullet {
|
|
|
|
list-style-type: none; /* To remove the disclosure triangle on Firefox v.<69 */
|
2020-01-19 12:57:34 +00:00
|
|
|
}
|
2020-05-18 08:47:43 +00:00
|
|
|
|
|
|
|
&::-webkit-details-marker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* End */
|
|
|
|
|
|
|
|
sib-notifications {
|
|
|
|
color: var(--color-bell);
|
|
|
|
|
|
|
|
@include breakpoint(sm) {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sib-notifications__container {
|
|
|
|
position: relative;
|
2019-02-04 08:48:39 +00:00
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
.sib-notifications__button {
|
|
|
|
@include icon('bell');
|
2020-06-03 15:36:01 +00:00
|
|
|
font-size: 2.5rem;
|
|
|
|
|
|
|
|
@include breakpoint(lg) {
|
|
|
|
font-size: 3rem;
|
|
|
|
}
|
2019-06-26 10:42:34 +00:00
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
&::before {
|
|
|
|
margin-left: 0;
|
2019-02-04 08:48:39 +00:00
|
|
|
}
|
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
img {
|
2019-06-26 10:42:34 +00:00
|
|
|
display: none;
|
2019-02-04 08:48:39 +00:00
|
|
|
}
|
2019-06-26 10:42:34 +00:00
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
.sib-notifications__counter {
|
2020-06-03 15:36:01 +00:00
|
|
|
left: 2rem;
|
2019-06-26 10:42:34 +00:00
|
|
|
position: absolute;
|
2020-06-03 15:36:01 +00:00
|
|
|
top: 1px;
|
|
|
|
|
|
|
|
@include breakpoint(lg) {
|
|
|
|
left: 2.1rem;
|
|
|
|
top: -3px;
|
|
|
|
}
|
2019-06-26 10:42:34 +00:00
|
|
|
}
|
2019-02-28 09:44:32 +00:00
|
|
|
}
|
2019-06-26 10:42:34 +00:00
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
.sib-notifications__list {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 5.6rem;
|
2019-06-26 10:42:34 +00:00
|
|
|
}
|
2020-05-18 08:47:43 +00:00
|
|
|
}
|
|
|
|
}
|
2019-07-19 21:02:10 +00:00
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
#user-controls {
|
|
|
|
padding: 0;
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
summary {
|
|
|
|
cursor: pointer;
|
|
|
|
display: block; /* To remove the disclosure triangle on Firefox v.>=69 */
|
|
|
|
|
2020-06-03 12:16:29 +00:00
|
|
|
@include breakpoint(lg) {
|
|
|
|
padding: 18px;
|
|
|
|
}
|
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
&:focus {
|
|
|
|
background-color: var(--color-user-panel-header-background-open);
|
|
|
|
color: var(--color-user-panel-header-text-open);
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#user-controls__profile {
|
|
|
|
div {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2019-07-19 21:02:10 +00:00
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
hubl-user-avatar {
|
|
|
|
height: 4.8rem;
|
|
|
|
margin-right: 2rem;
|
|
|
|
width: 4.8rem;
|
|
|
|
|
|
|
|
@include breakpoint(sm) {
|
2020-05-19 07:07:18 +00:00
|
|
|
height: 3.3rem;
|
2020-05-18 08:47:43 +00:00
|
|
|
margin-right: 0;
|
2020-05-19 07:07:18 +00:00
|
|
|
width: 3.3rem;
|
2019-07-19 21:02:10 +00:00
|
|
|
}
|
2020-05-18 08:47:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sib-display-value[name='first_name'] {
|
|
|
|
@include icon('arrow-down');
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
font-size: 1.8rem;
|
|
|
|
font-weight: 600;
|
2019-07-19 21:02:10 +00:00
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
&::before {
|
|
|
|
margin-left: 1.5rem;
|
2019-06-26 10:42:34 +00:00
|
|
|
}
|
2020-01-19 09:48:22 +00:00
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
@include breakpoint(sm) {
|
|
|
|
display: none;
|
2019-03-11 18:48:51 +00:00
|
|
|
}
|
|
|
|
}
|
2018-12-16 00:28:51 +00:00
|
|
|
}
|
2020-05-18 08:47:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#user-controls__panel {
|
|
|
|
height: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
z-index: 1;
|
|
|
|
width: 100%;
|
|
|
|
top: 83px;
|
|
|
|
|
|
|
|
> nav {
|
|
|
|
background-color: var(--color-user-panel-list-background);
|
|
|
|
box-shadow: 0 7px 8px 0 rgba(0, 0, 0, 0.16);
|
2019-03-11 18:48:51 +00:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2020-05-18 08:47:43 +00:00
|
|
|
top: 0;
|
2019-06-26 10:42:34 +00:00
|
|
|
width: 100%;
|
2019-03-11 18:48:51 +00:00
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2019-03-11 18:48:51 +00:00
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
li {
|
|
|
|
|
|
|
|
sib-link {
|
|
|
|
color: var(--color-grey-4);
|
|
|
|
display: block;
|
|
|
|
border-bottom: 1px solid var(--color-user-panel-list-border);
|
|
|
|
margin-right: 0;
|
|
|
|
padding: 1.6rem 1.3rem;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-user-panel-list-text-hover);
|
2019-06-26 10:42:34 +00:00
|
|
|
}
|
2019-03-11 18:48:51 +00:00
|
|
|
}
|
|
|
|
}
|
2020-05-18 08:47:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
color: var(--color-grey-4);
|
|
|
|
padding: 1.6rem 1.3rem;
|
|
|
|
text-align: left;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-user-panel-list-text-hover);
|
2019-06-26 10:42:34 +00:00
|
|
|
}
|
2019-03-11 18:48:51 +00:00
|
|
|
}
|
2018-12-16 00:28:51 +00:00
|
|
|
}
|
2020-05-18 08:47:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&[open] {
|
|
|
|
background-color: var(--color-user-panel-header-background);
|
|
|
|
color: var(--color-user-panel-header-text);
|
|
|
|
|
|
|
|
#user-controls__profile {
|
|
|
|
|
|
|
|
div {
|
|
|
|
|
|
|
|
sib-display-value[name='first_name'] {
|
|
|
|
@include icon('close');
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
margin-left: 1.5rem;
|
2019-06-18 06:48:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-05-18 08:47:43 +00:00
|
|
|
}
|
2020-01-19 09:48:22 +00:00
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
.mobile-menu-icon {
|
2020-06-03 15:36:01 +00:00
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
display: none;
|
2020-01-19 09:48:22 +00:00
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
@include breakpoint(sm) {
|
|
|
|
display: block;
|
|
|
|
padding-left: 0;
|
2020-05-19 07:07:18 +00:00
|
|
|
font-size: 24px;
|
2020-01-19 09:48:22 +00:00
|
|
|
}
|
2019-07-19 21:02:10 +00:00
|
|
|
}
|
|
|
|
|