From ec87e12d0f34e96bd29af78b9a3719511ce10561 Mon Sep 17 00:00:00 2001 From: gaelle morin Date: Wed, 25 Nov 2020 15:34:06 +0100 Subject: [PATCH] feature: form: clean --- src/styles/base/form.scss | 95 +-------------------------------------- 1 file changed, 1 insertion(+), 94 deletions(-) diff --git a/src/styles/base/form.scss b/src/styles/base/form.scss index 0316a94..029123a 100644 --- a/src/styles/base/form.scss +++ b/src/styles/base/form.scss @@ -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,