input, button { border: 1px solid $black; background: $white; border-radius: 0; height: 28px; } button { border: none; cursor: pointer; } input, select, textarea { font-size: $font-12; border-radius: 0; background: $white; width: 100%; outline: none !important; &:active, &:focus{ outline: none !important; } &:-moz-focusring { //color: transparent; text-shadow: 0 0 0 $black; } &:-webkit-autofill { -webkit-text-fill-color: $black; box-shadow: 0 0 0px 1000px $white inset !important; &:focus, &:hover { -webkit-text-fill-color: $black; box-shadow: 0 0 0px 1000px $white inset !important; } } } select, input[type=text], input[type=password], input[type=email], input[type=tel], input[type=date] { border: none; border-bottom: 1px solid $black; height: 30px; box-shadow: unset; text-transform: initial !important; & + .label-text, & + label { color: $gray; top: -1*$font-10; position: absolute; display: block; @include font-style($font-sans, 'regular', $font-10); text-transform: uppercase; } &:required { & + .label-text, & + label { &::after { content: ' *'; } & ~ .error-message { display: none; color: $red; @include font-style($font-sans, 'regular', $font-10); } } } &.has-error { border-bottom: 1px solid $red; & + .label-text, & + label { color: $red; text-transform: uppercase; & ~ .error-message { display: block; color: $red; text-transform: uppercase; } } } &.transparent { background: transparent; } &:disabled { border-bottom: 1px solid $gray; & + .label-text, & + label { color: $gray; } } } fieldset, .fieldset { position: relative; padding-bottom: 35px; .label-text { color: $gray; &.required { &:after { content: '*'; } } } &.has-error { .label-text { color: $red; text-transform: uppercase; font-size: $font-10; } .error-message { color: $red; display: block !important; text-transform: uppercase; font-size: $font-10; } input { border-bottom: 1px solid $red; } } } select { appearance: none; background-image: url(/images/arrow-down.svg); background-size: auto 40%; background-repeat: no-repeat; background-position: right 3px center; &:disabled { background-image: url(/images/arrow-down-gray.svg); } &:focus { //background-image: url(/images/arrow-up.svg); } } .button { border: none; color: $black; background: transparent; border-radius: 0; height: auto; display: block; padding: 10px 20px; text-align: center; @include font-style( $font-sans, 'regular', $font-18); text-transform: uppercase; &.button-blue { background: $blue; color: $white; } &.button-small { height: 18px; line-height: $font-6; padding: 5px; } &:disabled { opacity: 0.5; } } .checkbox { display: inline-block; position: relative; padding-left: 25px; margin-bottom: 12px; cursor: pointer; user-select: none; width: 100%; float: left; line-height: 12px; .checkmark { position: absolute; top: 0; left: 0; height: 15px; width: 15px; background: none; border: 1px solid $black; &:disabled { border-bottom: 1px solid $gray; } &:after { content: ''; position: absolute; display: none; } } input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; &:checked ~ .checkmark { background: $black; &:after { display: block; } } } }