input, button { border: 1px solid $black; background: $white; border-radius: 0; height: 28px; } button { border: none; cursor: pointer; outline: 0 !important; &:active, &:focus, &:visited, &:hover { outline: 0 !important; } &:-moz-focusring { //color: transparent; text-shadow: 0 0 0 $black; } ::-moz-focus-inner {border:0;} } 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], input[type=number] { color: $dark-gray; background: $white; border-radius: 0; height: auto; display: block; padding: 10px 10px; border: 2px solid $white; @include font-style( $font-sans, 'regular', $font-18); 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; } &.input-gray { border: 2px solid $light-gray; background: $light-gray; } &:disabled { border-bottom: 2px solid $gray; & + .label-text, & + label { color: $gray; } } } select { appearance: none; background-image: url(/images/arrow-down.svg); background-size: auto 40%; background-repeat: no-repeat; background-position: right 3px center; border-bottom: 1px solid $gray; &:disabled { background-image: url(/images/arrow-down.svg); } &:focus { //background-image: url(/images/arrow-up.svg); } } .button { color: $white; background: transparent; border-radius: 0; height: auto; display: block; padding: 10px 15px; border: 2px solid $white; text-align: center; @include font-style( $font-sans, 'regular', $font-14); &.button-brown { background: $brown; color: $white; } &.button-big { padding: 10px 20px; font-size: $font-18; } &.button-small { height: 18px; line-height: $font-6; padding: 5px; } &.button-black { background: $dark-gray; color: $white; border: 2px solid $dark-gray; } &: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; } } } }