3f2695edcd
Add styles to the right menu and fix bug on toggle Add styles to the form Add styles and HTML to circle-profile Add styles to sib-form-multiple-dropdown Clean up content.scss and circle-profile
215 lines
3.7 KiB
SCSS
215 lines
3.7 KiB
SCSS
.frame-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 0 auto;
|
|
min-height: 100vh;
|
|
padding: 6.8rem 8.5rem 10.2rem;
|
|
@extend %frame;
|
|
|
|
.form-view {
|
|
border-bottom: 1px solid $color-platinum;
|
|
padding-bottom: 2.55rem;
|
|
}
|
|
}
|
|
|
|
#circle-create,
|
|
#circle-edit,
|
|
#job-offer-create,
|
|
#project-create,
|
|
#project-edit {
|
|
font-size: 1.7rem;
|
|
|
|
h1 {
|
|
color: $color-purple-dark;
|
|
font-weight: bold;
|
|
font-size: 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
p.form-goal {
|
|
margin-bottom: 6.8rem;
|
|
text-align: center;
|
|
}
|
|
|
|
p[name$='-text'] {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 2em;
|
|
}
|
|
|
|
div[name^='block-'] {
|
|
display: flex;
|
|
|
|
> * {
|
|
margin-right: 4rem;
|
|
}
|
|
}
|
|
|
|
sib-form-auto-completion,
|
|
sib-form-checkbox,
|
|
sib-form-label-text,
|
|
sib-form-multiple-dropdown,
|
|
sib-form-textarea {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
> label {
|
|
@extend %label;
|
|
}
|
|
|
|
input,
|
|
select,
|
|
textarea {
|
|
background: $color-glitter;
|
|
border: none;
|
|
color: $color-purple-dark;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
input,
|
|
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 {
|
|
color: $color-dark-lava;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
|
|
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-selective-yellow;
|
|
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-taupe-gray;
|
|
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-taupe-gray;
|
|
color: $color-majorelle-blue;
|
|
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-white;
|
|
content: '';
|
|
height: 1rem;
|
|
position: absolute;
|
|
width: 1rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
}
|
|
|
|
sib-form-multiple-dropdown {
|
|
|
|
button {
|
|
appearance: none;
|
|
background-color: $color-white;
|
|
border: 1px solid;
|
|
border-radius: 100%;
|
|
color: $color-majorelle-blue;
|
|
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;
|
|
}
|
|
|
|
input[type='submit'] {
|
|
margin-top: 6rem;
|
|
@extend %submit-form;
|
|
}
|
|
}
|
|
|
|
#project-create,
|
|
#project-edit {
|
|
|
|
input,
|
|
textarea {
|
|
margin-bottom: 3.4rem;
|
|
}
|
|
}
|