ui: update to 0.7

- dependancies updated
- new favicon
- html updated
- clean up
- css updated
This commit is contained in:
Gaëlle Morin
2019-04-22 16:13:24 +02:00
parent d8b74d7dc5
commit a1aa92074b
22 changed files with 88 additions and 172 deletions

View File

@ -10,6 +10,8 @@
input, select {
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
border-style: none;
box-shadow: 0 0 5px 0 rgba(133, 140, 148, 0.09);
color: $color-taupe-gray;
@ -18,8 +20,6 @@
margin-top: 1.36rem;
padding: 0.9rem;
width: 95%;
-moz-appearance: none;
-webkit-appearance: none;
}
input[type="submit"] {

View File

@ -12,6 +12,10 @@
}
}
@include styleTemplateFieldset('fee');
@include styleTemplateFieldset('customer');
@include styleTemplateFieldset('team');
#circle-create,
#circle-edit,
#job-offer-create,
@ -42,14 +46,13 @@
flex-direction: column;
}
@include styleTemplateFieldset('fee');
@include styleTemplateFieldset('customer');
@include styleTemplateFieldset('team');
sib-form-auto-completion,
sib-form-checkbox,
sib-form-dropdown,
sib-form-label-text,
sib-form-multiple-dropdown,
sib-form-number,
sib-form-textarea {
display: flex;
flex-direction: column;
@ -69,19 +72,18 @@
}
input,
select,
textarea {
padding: 1.7rem;
}
select {
margin-bottom: 1.7rem;
padding: 0.85rem;
}
}
sib-form-auto-completion,
sib-form-checkbox,
sib-form-dropdown,
sib-form-multiple-dropdown {
label {
@ -166,19 +168,22 @@
}
}
/* A REFACTORISER. PAS ENCORE UTILISE SUR L'APPLI */
sib-form-dropdown {
select {
background: $color-glitter;
border: none;
color: $color-purple-dark;
line-height: 1.5;
margin-left: 1rem;
padding: 0.85rem;
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
background-image: url("/images/chevron-down.png");
background-position: right 12px top 60%;
background-repeat: no-repeat;
background-size: 14px 9px;
box-sizing: border-box;
}
}
/* A REFACTORISER. PAS ENCORE UTILISE SUR L'APPLI */
sib-form-multiple-dropdown {
button {

View File

@ -48,32 +48,9 @@
}
}
> hdapp-userinfo {
> label {
display: none;
}
}
div[name='teammate-name'] {
grid-column: 3 / span 2;
grid-row: 1 / span 1;
sib-display-div[name='first_name'] {
display: inline;
> div {
display: inline;
}
}
sib-display-div[name='last_name'] {
display: inline;
> div {
display: inline;
}
}
}
> div[name='teammate-pseudonym'] {
@ -81,20 +58,17 @@
font-size: 1.2rem;
grid-column: 3 / span 2;
grid-row: 2 / span 1;
> * > * {
display: inline;
}
}
> sib-display-div[name='teammate-profile'] {
> sib-display-value[name='teammate-profile'] {
color: $color-dark-lava;
display: block;
font-size: 1.2rem;
grid-column: 1 / span 2;
grid-row: 3 / span 1;
}
> sib-link {
> sib-display-value[name='teammate-contact'] {
color: $color-majorelle-blue;
font-size: 1.2rem;
justify-self: stretch;

View File

@ -10,7 +10,7 @@
position: relative;
z-index: 1;
> * {
> *:not(sib-widget) {
padding: 0 2.5rem;
}
}
@ -138,20 +138,16 @@ details#user-controls {
width: 4.8rem;
}
sib-display-div[name='first_name'] {
sib-display-value[name='first_name'] {
@include icon('arrow-down');
align-items: center;
display: flex;
flex-direction: row-reverse;
font-size: 1.8rem;
font-weight: 600;
div[name='first_name'] {
align-items: flex-end;
display: flex;
font-size: 1.8rem;
font-weight: 600;
@include icon('arrow-down');
&::before {
margin-left: 1.5rem;
}
&::before {
margin-left: 1.5rem;
}
}
}
@ -205,14 +201,11 @@ details#user-controls {
div {
sib-display-div[name='first_name'] {
sib-display-value[name='first_name'] {
@include icon('close');
div[name='first_name'] {
@include icon('close');
&::before {
margin-left: 1.5rem;
}
&::before {
margin-left: 1.5rem;
}
}
}

View File

@ -70,11 +70,12 @@
}
[name='creationDate'] {
display: block;
margin-bottom: 0.7rem;
margin-top: 2rem;
}
sib-display-div[name='title'] {
[name='title'] {
@extend h3;
display: block;
font-weight: bold;
@ -82,6 +83,7 @@
}
[name='description'] {
display: block;
line-height: 1.6;
margin-bottom: 1.6rem;
}

View File

@ -48,7 +48,7 @@
display: flex;
grid-area: name;
> sib-display-div[name^='user.'] {
> sib-display-value[name^='user.'] {
color: $color-dark-lava;
font-weight: bold;
@extend h1;
@ -60,15 +60,15 @@
}
}
sib-display-div[name='user.username'] {
sib-display-value[name='user.username'] {
grid-area: pseudo;
div[name='user.username']::before {
&::before {
content: '@';
}
}
sib-display-div[name='bio'] {
sib-display-value[name='bio'] {
grid-area: bio;
}

View File

@ -58,7 +58,6 @@
justify-content: center;
margin: 3.75rem 0;
position: relative;
z-index: 1;
&::before {
border-top: 1px solid $color-timberwolf;
@ -147,7 +146,7 @@
@extend h1;
}
sib-display-div[name$='bio'] {
sib-display-value[name$='bio'] {
display: flex;
flex-basis: 3.5em;
line-height: 1.6;

View File

@ -124,6 +124,10 @@
div[name='project'] {
display: flex;
sib-display-value {
display: block;
}
sib-display-div[name='dash'] {
margin: 0 0.4em;

View File

@ -4,13 +4,14 @@
margin-top: 5.1rem;
[name^='label-'] {
display: block;
font-weight: bold;
margin-bottom: 1.4rem;
text-transform: uppercase;
@extend h2;
}
sib-display-div:not(:first-of-type),
sib-display-value:not(:first-of-type),
ul,
[name*='job'] {
font-size: 1.5rem;
@ -34,7 +35,7 @@
padding: 0;
}
> sib-display-div[name='name'] {
> sib-display-value[name='name'] {
padding-left: 0.85rem;
}
@ -61,6 +62,8 @@
justify-content: space-between;
[name='description'] {
display: flex;
flex-direction: column;
width: 90%;
}

View File

@ -69,7 +69,7 @@ $color-majorelle-blue: hsl(244, 73%, 62%);
sib-multiple[name^='user.'],
> member-info > div,
> sib-display-div > div {
> sib-display-value {
display: flex;
flex-wrap: wrap;
margin-bottom: 0;
@ -93,7 +93,7 @@ $color-majorelle-blue: hsl(244, 73%, 62%);
@include mdi('cellphone-iphone');
}
[name="foaf:homepage"] * {
[name="foaf:homepage"] {
@include mdi('link-variant');
}
}