feature: form: clean

This commit is contained in:
gaelle morin 2020-11-25 15:34:06 +01:00
parent 1cd4fbf5e7
commit ec87e12d0f
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C

View File

@ -6,16 +6,11 @@ solid-form {
.form form {
margin-left: -25px;
transition: all .3s ease;
/*display: block;
height: fit-content;
margin-bottom: 75px;
transition: all .3s ease;
@include breakpoint(lg) {
display: flex;
flex-direction: column;
margin-bottom: 0;
transition: all .3s ease;
}*/
label {
@ -56,94 +51,6 @@ solid-form {
}
}
.form-label {
/*flex: 1 1 auto;*/
display: flex;
flex-direction: column; /* To align label and input vertically */
font-weight: 600;
margin-bottom: 0.8rem;
margin-top: 1.8rem;
text-transform: uppercase;
/*&.is-light {
color: var(--color-label-light);
}*/
}
[name^='line-'] {
@include breakpoint(lg) {
display: flex;
justify-content: space-between;
}
}
.is-full-width {
box-sizing: border-box;
flex: 1 1 100%;
}
.is-half-width {
box-sizing: border-box;
flex: 0 1 calc(50% - 2.5rem);
}
/*.input-text-like input:not([type='file']):not([type='search']):not([type='submit']),
.input-text-like textarea {
-webkit-tap-highlight-color: var(--color-grey-7);
background-color: var(--color-input-background);
box-sizing: border-box;
border: 2px solid var(--color-input-background);
color: var(--color-input-text);*/
/*flex: 1 1 0; Problem on Firefox for input type date*/
/* line-height: 1;
margin-top: 0.8rem;
min-width: 0;
padding: 1rem;
&:focus,
&:active {
border-bottom: 2px solid var(--color-input-active);
}
}*/
/*textarea {
height: 100px;
resize: vertical;
}*/
/*.content-box {
&.with-form {
solid-set-default:not([name='user-thumb']) {
clear: both;
display: flex!important;
flex-wrap: wrap;
max-width: 100%;
solid-form-label-text {
float: left;
width: 50%;
}
}
}
}*/
/*solid-form[set-user-id-select] {
input[type="submit"] {
margin-left: 0;
margin-top: 0;
}
select {
display: none;
}
}*/
/* WIDGETS SIB (let in .content-box to override default styles) */
solid-form-dropdown-autocompletion,