8 changed files with 198 additions and 96 deletions
@ -0,0 +1,76 @@ |
|||
|
|||
|
|||
input, |
|||
button, |
|||
textarea { |
|||
border: none; |
|||
border-radius: 4px; |
|||
background: $white; |
|||
appearance: none; |
|||
font-family: $font-primary; |
|||
font-size: $font-20; |
|||
resize: none; |
|||
&::-ms-clear { |
|||
display: none; |
|||
} |
|||
&:focus {outline:none;} |
|||
&::-moz-focus-inner {border:0;} |
|||
} |
|||
|
|||
input[type=text], |
|||
input[type=password]{ |
|||
color: $gray; |
|||
padding: 10px 20px; |
|||
width: 100%; |
|||
text-align: left; |
|||
box-sizing: border-box; |
|||
&:focus::placeholder { |
|||
color: transparent; |
|||
} |
|||
} |
|||
|
|||
.input-text { |
|||
padding: 10px 20px; |
|||
} |
|||
|
|||
.input-textarea { |
|||
padding: 10px; |
|||
width: 100%; |
|||
} |
|||
|
|||
.button { |
|||
position: relative; |
|||
appearance: none; |
|||
color: $white; |
|||
border: none; |
|||
background: $black; |
|||
display: inline-block; |
|||
padding: 8px 20px 10px 20px; |
|||
text-align: center; |
|||
font-family: $font-20; |
|||
text-transform: uppercase; |
|||
font-weight: 500; |
|||
transition: opacity .3s; |
|||
white-space: nowrap; |
|||
outline: none; |
|||
cursor: pointer; |
|||
|
|||
&:disabled { |
|||
opacity: 0.5; |
|||
} |
|||
|
|||
&.button-white { |
|||
background: $white; |
|||
color: $black !important; |
|||
&:before { |
|||
content: ''; |
|||
height: 100%; |
|||
width: 100%; |
|||
position: absolute; |
|||
left: 0; |
|||
top: 0; |
|||
z-index: 1; |
|||
border: 1px solid $light-gray; |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue