update: better look of user panel on mobile
This commit is contained in:
parent
57d775fa01
commit
eaa7478196
@ -127,9 +127,13 @@ sib-notifications {
|
||||
}
|
||||
|
||||
&:focus {
|
||||
background-color: var(--color-user-panel-header-background-open);
|
||||
background-color: transparent;
|
||||
color: var(--color-user-panel-header-text-open);
|
||||
outline: none;
|
||||
|
||||
@include breakpoint(lg) {
|
||||
background-color: var(--color-user-panel-header-background-open);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -143,14 +147,14 @@ sib-notifications {
|
||||
}
|
||||
|
||||
hubl-user-avatar {
|
||||
height: 4.8rem;
|
||||
margin-right: 2rem;
|
||||
width: 4.8rem;
|
||||
height: 3.3rem;
|
||||
margin-right: 0;
|
||||
width: 3.3rem;
|
||||
|
||||
@include breakpoint(sm) {
|
||||
height: 3.3rem;
|
||||
margin-right: 0;
|
||||
width: 3.3rem;
|
||||
@include breakpoint(lg) {
|
||||
height: 4.8rem;
|
||||
margin-right: 2rem;
|
||||
width: 4.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
@ -178,8 +182,14 @@ sib-notifications {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
top: 83px;
|
||||
/* Quick fix for mobile version */
|
||||
width: 215px;
|
||||
top: 42px;
|
||||
|
||||
@include breakpoint (lg) {
|
||||
width: 100%;
|
||||
top: 83px;
|
||||
}
|
||||
|
||||
> nav {
|
||||
background-color: var(--color-user-panel-list-background);
|
||||
@ -245,12 +255,12 @@ sib-notifications {
|
||||
|
||||
.mobile-menu-icon {
|
||||
|
||||
display: none;
|
||||
display: block;
|
||||
padding-left: 0;
|
||||
font-size: 24px;
|
||||
|
||||
@include breakpoint(sm) {
|
||||
display: block;
|
||||
padding-left: 0;
|
||||
font-size: 24px;
|
||||
@include breakpoint(lg) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user