feature: new header and left-menu
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
header {
|
||||
height: 72px;
|
||||
height: 50px;
|
||||
position: fixed;
|
||||
z-index: 10000;
|
||||
|
||||
@ -14,28 +14,21 @@ header {
|
||||
|
||||
solid-link {
|
||||
align-self: center;
|
||||
|
||||
img.logo {
|
||||
max-width: 200px;
|
||||
max-height: 34px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.tag {
|
||||
align-self: flex-start;
|
||||
padding: 4px 15px;
|
||||
margin-top: 16px;
|
||||
margin-left: 60px;
|
||||
height: auto !important;
|
||||
letter-spacing: 0.16px !important;
|
||||
line-height: normal !important;
|
||||
padding: 1px 8px !important;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
solid-notifications {
|
||||
color: var(--color-heading);
|
||||
align-self: center;
|
||||
|
||||
@media(min-width: 768.01px) {
|
||||
margin-right: 23px;
|
||||
}
|
||||
margin-top: 9px;
|
||||
|
||||
.solid-notifications__container {
|
||||
position: relative;
|
||||
@ -62,14 +55,17 @@ header {
|
||||
}
|
||||
|
||||
.solid-notifications__counter {
|
||||
left: 12px;
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
left: 17px;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
top: 5px;
|
||||
|
||||
span {
|
||||
background-color: var(--color-primary);
|
||||
color: white;
|
||||
font-size: 11px;
|
||||
line-height: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -97,7 +93,7 @@ header {
|
||||
position: absolute;
|
||||
width: 0;
|
||||
height: 0;
|
||||
margin-left: -5em;
|
||||
margin-left: -5.05em;
|
||||
top: 0px;
|
||||
left: 50%;
|
||||
border: 1em solid black;
|
||||
@ -260,9 +256,7 @@ header {
|
||||
summary {
|
||||
display: block; /* To remove the disclosure triangle on Firefox v.>=69 */
|
||||
cursor: pointer;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
height: 72px;
|
||||
height: 50px;
|
||||
|
||||
/* To remove the disclosure triangle on Chrome (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#Customizing_the_disclosure_widget) */
|
||||
&::marker,
|
||||
@ -270,6 +264,10 @@ header {
|
||||
display: none;
|
||||
}
|
||||
/* End */
|
||||
|
||||
solid-display {
|
||||
padding-top: 13px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -279,8 +277,8 @@ header {
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
/* Quick fix for mobile version */
|
||||
width: 100%;
|
||||
top: 72px;
|
||||
width: 227px;
|
||||
top: 50px;
|
||||
|
||||
>nav {
|
||||
box-shadow: 0 7px 8px 0 rgba(0, 0, 0, 0.16);
|
||||
@ -301,10 +299,6 @@ header {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@media (max-width: 768px) {
|
||||
height: 50px;
|
||||
|
||||
@ -317,7 +311,7 @@ header {
|
||||
margin: 0;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
|
||||
details.user-menu {
|
||||
|
||||
.user-firstname {
|
||||
@ -331,6 +325,10 @@ header {
|
||||
height: 50px;
|
||||
padding: 0;
|
||||
|
||||
solid-display {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
>.labelled-avatar .avatar {
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
@ -372,8 +370,7 @@ header {
|
||||
.user-firstname {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
padding: 13px;
|
||||
width: 100%;
|
||||
|
||||
[name="segment3"] {
|
||||
@ -389,6 +386,7 @@ header {
|
||||
top: 72px;
|
||||
height: calc(100vh - 72px);
|
||||
background: white;
|
||||
width: calc(100vw);
|
||||
|
||||
>nav {
|
||||
box-shadow: none;
|
||||
|
Reference in New Issue
Block a user