Skip to content
Snippets Groups Projects
Commit a1c6ad54 authored by Gaelle Morin's avatar Gaelle Morin
Browse files

clean up

parent 5b308f5f
No related branches found
No related tags found
No related merge requests found
{ {
"dev": { "dev": {
"sdn": "http://127.0.0.1:8000", "sdn": "http://127.0.0.1:8000",
//"sdn": "https://test-paris.happy-dev.fr",
"cdn": "https://cdn.happy-dev.fr", "cdn": "https://cdn.happy-dev.fr",
"xmpp": "https://jabber.happy-dev.fr/http-bind/", "xmpp": "https://jabber.happy-dev.fr/http-bind/",
//"client_id": "833925"
"client_id": "499509" "client_id": "499509"
}, },
"prod": { "prod": {
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
border-bottom: 1px solid $color-grey1; border-bottom: 1px solid $color-grey1;
display: grid; display: grid;
grid-gap: 0px 15px; grid-gap: 0px 15px;
grid-template-columns: 50% auto; grid-template-columns: 50% 50%;
grid-template-rows: 3.5em 3.5em;
padding-bottom: 3em; padding-bottom: 3em;
label { label {
......
#profiles-list sib-display-lookuplist {
&[name$='skills'] {
display: flex;
li,
ul {
margin: 0;
padding: 0;
list-style: none;
}
ul {
display: flex;
flex-wrap: wrap;
margin: 1em -0.25em;
}
li {
padding: 0.3em 1.2em;
border: 1px solid;
border-radius: 2em;
margin: 0.25em;
background-color: $color-yellow;
color: $color-white;
font-weight: bold;
}
}
}
#profiles-list > div > sib-display {
cursor: pointer;
}
#profiles-list > div > sib-display {
display: flex;
flex-direction: column;
position: relative;
@extend %frame;
padding: 1em;
label {
display: none;
}
div[name='header'] {
border-bottom: 1px solid $color-grey-light;
padding-bottom: 1em;
padding: 0.5em;
margin-bottom: 1em;
display: flex;
flex-direction: column;
>*{
display: flex;
justify-content: center;
flex-basis: content;
}
sib-display-img {
flex-basis:150px;
img {
border-radius: 100%;
width:150px;
}
}
}
hdapp-userinfo {
@extend h1;
}
[name=infos] {
margin: 2em 0;
> * {
// display: block;
margin: 0.5em 0;
}
}
ul[name$='roles'] * {
@include icon('user');
}
ul[name$='cell'] * {
@include icon('location-pin');
}
[name$='user'] {
margin-bottom: 0em;
}
sib-display-div[name$='bio'] {
margin-top: 1em;
flex-basis : 5em;
}
a[href^='mailto'] {
display: flex;
border-radius: 25px;
border-style: solid;
border-color: $color-blue-light;
color: $color-blue-light;
margin: 1em;
padding: 1em;
text-decoration:none;
}
sib-display-tel {
display: block;
@include icon('phone');
}
hdapp-hyperlink {
display: block;
@include icon('link');
}
sib-display-div[name$='foaf:homepage'] * {
@include icon('link');
}
sib-display-div[name$='more']{
display: flex;
flex-direction: row-reverse;
}
}
#profiles-list { #profiles-list {
@extend .grid-layer; @extend .grid-layer;
> sib-form {
& > sib-form {
grid-column-start: start; grid-column-start: start;
grid-column-end: middle; grid-column-end: middle;
grid-row-start: start; grid-row-start: start;
grid-row-end: middle; grid-row-end: middle;
} }
> div {
& > div {
background: violet; background: violet;
grid-column-start: start; grid-column-start: start;
grid-column-end: end; grid-column-end: end;
...@@ -155,34 +34,142 @@ ...@@ -155,34 +34,142 @@
top: 0.5em; top: 0.5em;
width: 40%; width: 40%;
} }
&::before { &::before {
right: 5.8%; right: 5.8%;
} }
&::after { &::after {
left: 5.8%; left: 5.8%;
} }
} }
> sib-display {
cursor: pointer;
display: flex;
flex-direction: column;
position: relative;
@extend %frame;
padding: 1em;
label {
display: none;
}
div[name='header'] {
border-bottom: 1px solid $color-grey-light;
padding-bottom: 1em;
padding: 0.5em;
margin-bottom: 1em;
display: flex;
flex-direction: column;
> * {
display: flex;
justify-content: center;
flex-basis: content;
}
sib-display-img {
flex-basis:150px;
img {
border-radius: 100%;
width:150px;
}
}
}
hdapp-userinfo {
@extend h1;
}
[name=infos] {
margin: 2em 0;
> * {
// display: block;
margin: 0.5em 0;
}
}
ul[name$='roles'] * {
@include icon('user');
}
ul[name$='cell'] * {
@include icon('location-pin');
}
[name$='user'] {
margin-bottom: 0em;
}
sib-display-div[name$='bio'] {
margin-top: 1em;
flex-basis : 5em;
}
a[href^='mailto'] {
display: flex;
border-radius: 25px;
border-style: solid;
border-color: $color-blue-light;
color: $color-blue-light;
margin: 1em;
padding: 1em;
text-decoration:none;
}
sib-display-tel {
display: block;
@include icon('phone');
}
hdapp-hyperlink {
display: block;
@include icon('link');
}
sib-display-div[name$='foaf:homepage'] * {
@include icon('link');
}
sib-display-div[name$='more'] {
display: flex;
flex-direction: row-reverse;
}
}
} }
} }
#profiles-list > sib-form > form {
display: grid;
grid-template-columns: 50% 50%;
grid-template-rows: 3.5em 3.5em;
label { #profiles-list sib-display-lookuplist {
flex-basis: 5em; &[name$='skills'] {
flex-shrink: 0; display: flex;
}
input, select { li,
flex-grow: 1; ul {
min-width: 0; margin: 0;
} padding: 0;
list-style: none;
}
ul {
display: flex;
flex-wrap: wrap;
margin: 1em -0.25em;
}
input[type="submit"] { li {
display: none; padding: 0.3em 1.2em;
border: 1px solid;
border-radius: 2em;
margin: 0.25em;
background-color: $color-yellow;
color: $color-white;
font-weight: bold;
}
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment