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

View File

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

View File

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

View File

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