/*--------------------------- Forms ----------------------------*/ label { font-weight: 700; line-height: 1; margin-bottom: 10px; color: $color-primary; &.error { color: red; font-size: 14px; font-weight: 400; margin: 7px 0 0 0; } } .form-group { position: relative; margin-bottom: 30px; } .form-control { font-size: 14px; height: 60px; padding: 0 20px; border-radius: 4px; background-color: $color-white; border: 2px solid #e6e8eb; &:focus { border-color: $color-primary; background-color: $color-white; } &::-webkit-input-placeholder { color: #26365e; } &:-moz-placeholder { color: #26365e; } &::-moz-placeholder { color: #26365e; } &:-ms-input-placeholder { color: #26365e; } } .custom-control { display: flex; align-items: center; } textarea.form-control { min-height: 120px; padding-top: 16px; } .form-title { font-size: 18px; line-height: 1; margin-bottom: 20px; } .checkbox-controls .custom-checkbox { margin-right: 30px; margin-bottom: 13px; label { color: $color-body; } } /* Input Radio */ .label-radio { display: block; position: relative; padding-left: 26px; margin-bottom: 0; cursor: pointer; font-size: 13px; font-weight: 400; color: $color-body; } .label-radio input { position: absolute; z-index: -1; opacity: 0; } .radio-indicator { position: absolute; top: -1px; left: 0; height: 17px; width: 17px; background: transparent; border: 2px solid #eaeaea; border-radius: 50%; } .label-radio input:checked~.radio-indicator { background: transparent; } .label-radio:hover input:not([disabled]):checked~.radio-indicator, .label-radio input:checked:focus~.radio-indicator { background: transparent; } .radio-indicator:after { content: ''; position: absolute; display: none; left: 3px; top: 3px; height: 7px; width: 7px; border-radius: 50%; background: $color-primary; } .label-radio input:checked~.radio-indicator:after { display: block; } .custom-control-label { font-weight: 400; &:before { position: absolute; top: -2px; left: -1.5rem; width: 1rem; height: 1rem; pointer-events: none; content: ""; background-color: #fff; border: 1px solid #e7ebef; border-radius: 0; } &:after { position: absolute; top: 2px; left: -20px; width: 1rem; height: 1rem; content: ""; background: no-repeat 50%/50% 50%; border-radius: 1px; } } .custom-checkbox .custom-control-input:checked~.custom-control-label::after { background-image: none; background-color: $color-secondary; width: 8px; height: 8px; } .custom-checkbox .custom-control-label::before { border-radius: 0; } .custom-control-input:not(:disabled):active~.custom-control-label::before { background-color: transparent; border-color: transparent; } .custom-control-input:checked~.custom-control-label::before { border: 1px solid $color-primary !important; background-color: transparent; } .custom-control-input:focus~.custom-control-label::before { box-shadow: none; } input[type=checkbox], input[type=radio] { box-shadow: none !important; } .nice-select { width: 100%; height: 60px; line-height: 60px; border-radius: 2px; margin-bottom: 30px; .list { width: 100%; } .current, .option { color: $color-body; } } .form-group-icon { position: absolute; top: 23px; left: 23px; z-index: 2; color: #d7d8da; pointer-events: none; +.form-control, +select+.form-control { padding-left: 45px; } +.form-control[type="date"], +.form-control[type="time"] { padding: 0 15px; } } .form-group-date { .form-group-icon { top: 22px; left: auto; right: 14px; width: 30px; height: 30px; text-align: center; border-radius: 50%; background-color: $color-white; } } ::-webkit-inner-spin-button, ::-webkit-calendar-picker-indicator { opacity: 0; } /* Extra Small Devices */ @include xs-sm-screens { .form-group, .nice-select { margin-bottom: 20px; } }