298 lines
5.2 KiB
SCSS
298 lines
5.2 KiB
SCSS
@include style-template-fieldset('fee');
|
|
@include style-template-fieldset('customer');
|
|
@include style-template-fieldset('team');
|
|
|
|
.frame-form {
|
|
&.full-wide {
|
|
display: flex;
|
|
flex: 1;
|
|
font-size: 1.5rem;
|
|
flex-direction: column;
|
|
margin: 0 auto;
|
|
min-height: 100vh;
|
|
padding: 6.8rem 8.5rem 10.2rem;
|
|
background: $color-0-0-100;
|
|
}
|
|
|
|
.form-view {
|
|
border-bottom: 1px solid $color-210-17-91;
|
|
padding-bottom: 2.55rem;
|
|
}
|
|
|
|
h1 {
|
|
color: $color-233-18-29;
|
|
font-weight: bold;
|
|
font-size: 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
p.form-goal {
|
|
margin-bottom: 6.8rem;
|
|
text-align: center;
|
|
}
|
|
|
|
[name$='-text'] {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 2em;
|
|
}
|
|
|
|
div[name^='block-'] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
input {
|
|
-webkit-appearance: none;
|
|
align-items: center;
|
|
background: $color-222-57-95;
|
|
border: none;
|
|
color: $color-233-18-29;
|
|
display: inline-flex;
|
|
justify-content: flex-start;
|
|
line-height: 1.5;
|
|
vertical-align: top;
|
|
}
|
|
|
|
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;
|
|
|
|
> label {
|
|
color: $color-244-10-70;
|
|
font-weight: 600;
|
|
margin: 2em 0 0.5em;
|
|
text-transform: uppercase;
|
|
|
|
> div {
|
|
padding-bottom: 1rem;
|
|
}
|
|
}
|
|
|
|
select,
|
|
textarea {
|
|
background: $color-222-57-95;
|
|
border: none;
|
|
color: $color-233-18-29;
|
|
line-height: 1.5;
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
select,
|
|
textarea {
|
|
padding: 1.7rem;
|
|
}
|
|
|
|
select {
|
|
margin-bottom: 1.7rem;
|
|
}
|
|
}
|
|
|
|
sib-form-auto-completion,
|
|
sib-form-checkbox,
|
|
sib-form-multiple-dropdown {
|
|
|
|
label {
|
|
color: $color-216-4-22;
|
|
font-weight: 600;
|
|
text-transform: initial;
|
|
}
|
|
}
|
|
|
|
sib-form-auto-completion {
|
|
|
|
div.choices__inner {
|
|
background-color: inherit;
|
|
border: none;
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
padding-left: 0;
|
|
|
|
div.choices__list {
|
|
margin-top: 1.7rem;
|
|
|
|
div.choices__item {
|
|
/*@extend %skill;*/
|
|
|
|
button.choices__button {
|
|
border-left: 1px solid $color-43-100-50;
|
|
opacity: 1;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
input[type='text'].choices__input {
|
|
max-width: 27.2rem;
|
|
min-width: 27.2rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
sib-form-checkbox {
|
|
flex-direction: row;
|
|
|
|
[type='checkbox'] {
|
|
cursor: pointer;
|
|
position: relative;
|
|
margin-top: 2em;
|
|
|
|
&:before {
|
|
border: 2px solid $color-210-5-56;
|
|
content: '';
|
|
height: 1rem;
|
|
left: 0;
|
|
margin-left: 1rem;
|
|
padding-bottom: 0.2rem;
|
|
position: absolute;
|
|
width: 1.2rem;
|
|
z-index: 1;
|
|
}
|
|
|
|
&:checked {
|
|
&:before {
|
|
border: 2px solid $color-210-5-56;
|
|
color: $color-244-73-62;
|
|
height: 1rem;
|
|
left: 0;
|
|
margin-left: 1rem;
|
|
padding-bottom: 0.2rem;
|
|
position: absolute;
|
|
width: 1.2rem;
|
|
z-index: 1;
|
|
@include mdi('check');
|
|
}
|
|
}
|
|
|
|
&:after {
|
|
background: $color-0-0-100;
|
|
content: '';
|
|
height: 1rem;
|
|
position: absolute;
|
|
width: 1rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
sib-form-dropdown {
|
|
|
|
select {
|
|
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 {
|
|
appearance: none;
|
|
background-color: $color-0-0-100;
|
|
border: 1px solid;
|
|
border-radius: 100%;
|
|
color: $color-244-73-62;
|
|
cursor: pointer;
|
|
font-size: 2.55rem;
|
|
height: 1em;
|
|
line-height: 0;
|
|
margin: 0.34rem;
|
|
padding: 0 0.04em 0.08em;
|
|
vertical-align: middle;
|
|
width: 1em;
|
|
}
|
|
}
|
|
|
|
sib-form-textarea {
|
|
align-items: stretch;
|
|
}
|
|
|
|
sib-multiple-form {
|
|
|
|
> label {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
input[type='submit'] {
|
|
margin-top: 6rem;
|
|
background-color: $color-233-18-29;
|
|
color: $color-0-0-100;
|
|
float: right;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
}
|
|
}
|
|
|
|
#project-create,
|
|
#project-edit {
|
|
|
|
input,
|
|
textarea {
|
|
margin-bottom: 3.4rem;
|
|
}
|
|
}
|
|
|
|
.is-horizontal {
|
|
display: flex;
|
|
}
|
|
|
|
.field {
|
|
margin-right: 0.75rem;
|
|
max-width: 50%;
|
|
}
|
|
|
|
.is-expanded {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
sib-multiple-form[name='members'] {
|
|
|
|
> div {
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
|
|
> div:not(:nth-child(-n + 2)) {
|
|
|
|
label {
|
|
|
|
> div {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
button {
|
|
appearance: none;
|
|
background-color: $color-0-0-100;
|
|
border: 1px solid;
|
|
border-radius: 100%;
|
|
color: $color-244-73-62;
|
|
cursor: pointer;
|
|
font-size: 2.55rem;
|
|
height: 1em;
|
|
line-height: 0;
|
|
margin: 0.34rem;
|
|
padding: 0 0.04em 0.08em;
|
|
vertical-align: middle;
|
|
width: 1em;
|
|
|
|
&::after {
|
|
content: Add;
|
|
}
|
|
}
|
|
}
|