css fix bugs: menu + header(wip)

This commit is contained in:
Gaelle Morin 2018-12-16 01:28:51 +01:00
parent a98370de85
commit 67e1cd595c
5 changed files with 68 additions and 61 deletions

View File

@ -22,6 +22,7 @@ div.grid-layer
widget-foaf:hompage='hdapp-hyperlink',
widget-roles='sib-display-lookuplist',
widget-skills='sib-display-lookuplist',
search-range-roles=`${sdn}/role/`,
search-range-skills=`${sdn}/skills/`,
search-fields='name, roles, skills',
@ -30,7 +31,7 @@ div.grid-layer
search-label-roles='Filter by role',
search-label-skills='Search by skills',
search-widget-name='sib-form-placeholder-text',
search-widget-roles='sib-form-placeholder-text',
search-widget-skills='sib-form-placeholder-text',
next='member')
div.grid-layer-links.containerV

View File

@ -19,7 +19,6 @@
width: 95%;
-moz-appearance: none;
-webkit-appearance: none;
}
input[type="submit"] {

View File

@ -63,24 +63,28 @@
}
#profile {
> * {
vertical-align: middle;
}
img {
width: 48px;
height: 48px;
object-fit: cover;
object-position: center;
border-radius: 100%;
margin-right: 1rem;
}
span {
color: $color-black;
font-size: 16px;
font-weight: 600;
letter-spacing: 0.38px;
padding: 0 0.5rem;
div {
display: flex;
flex-direction: row-reverse;
> * {
vertical-align: middle;
}
img {
width: 48px;
height: 48px;
object-fit: cover;
object-position: center;
border-radius: 100%;
margin-right: 1rem;
}
span {
color: $color-black;
font-size: 16px;
font-weight: 600;
letter-spacing: 0.38px;
padding: 0 0.5rem;
}
}
}

View File

@ -6,17 +6,17 @@
grid-row-start: start;
grid-row-end: middle;
}
> div {
grid-column-start: start;
grid-column-end: end;
grid-row-start: middle;
grid-row-end: end;
&:first-of-type {
margin-top: 3em;
}
> sib-display {
@extend %frame;
display: block;
@ -30,7 +30,7 @@
display: block;
font-weight: bold;
}
label {
display: none;
}
@ -38,6 +38,29 @@
}
}
[name='creation'] {
margin-top: 20px;
}
[name='description'] {
line-height: 1.6;
}
[name='status'] {
float: right;
display: flex;
align-items: center;
margin: -0.25em;
> * {
margin: 0.25em;
}
strong {
@extend %status-open;
}
}
[name='user-thumb'] {
align-items: center;
color: $color-black-light;
@ -66,26 +89,3 @@
padding: calc(16px - 0.8em) 0.7em;
}
}
[name='status'] {
float: right;
display: flex;
align-items: center;
margin: -0.25em;
> * {
margin: 0.25em;
}
strong {
@extend %status-open;
}
}
[name='creation'] {
margin-top: 20px;
}
[name='description'] {
line-height: 1.6;
}

View File

@ -88,7 +88,7 @@ sib-router {
// transform: perspective(1000px) translateZ(1px) scale(0.8);
}
.menu-notification > div {
.menu-notification > sib-display > div:first-child {
background-color: $color-purple-dark;
color: $color-yellow-light;
font-size: 12px;
@ -149,7 +149,8 @@ sib-router {
letter-spacing: 0.17px;
font-size: 16px;
}
/*
/*Fix: presque doublon avec main.scss ligne 71 qui gère le nombre de notifications sur la cloche */
.menu-notification {
//flex-basis: 3em;
width: 2em;
@ -160,19 +161,21 @@ sib-router {
justify-content: center;
align-items: center;
> div {
color: $color-black;
display: flex;
justify-content: center;
align-items: center;
width: 1.7em;
height: 1.7em;
border-radius: 100%;
background-color: $color-yellow-light;
font-size: 12px;
> sib-display {
> div:first-of-type {
color: $color-black;
display: flex;
justify-content: center;
align-items: center;
width: 1.7em;
height: 1.7em;
border-radius: 100%;
background-color: $color-yellow-light;
font-size: 12px;
}
}
}
*/
&[id-prefix] {
display: none;
}