File: /www/wwwroot/gxdaosen.net/wp-content/themes/blossom-shop/scss/components/_forms.scss
/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
display: inline-block;
background-color: #202020;
border: none;
color: $white_color;
font-weight: 700;
font-size: 0.7em;
border-radius: 0;
padding: 12px 30px;
cursor: pointer;
text-transform: uppercase;
letter-spacing: 2px;
@include transition(all ease 0.35s);
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
background-color: $primary_color;
color: $black_color;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
color: #000;
border: 1px solid rgba($black_color, 0.1);
border-radius: 0;
padding: 10px 15px;
width: 100%;
height: 50px;
font-size: 0.7em;
font-weight: 600;
}
select:not([multiple="multiple"]) {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-image: url('data:image/svg+xml; utf-8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23777" d="M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"></path></svg>');
background-repeat: no-repeat;
background-position: calc(100% - 12px) 50%;
background-size: 12px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
color: #000;
outline: 1px dotted;
}
textarea {
width: 100%;
height: 150px;
}