You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

86 lines
1.5 KiB

input,select,button{
border-radius: 3px;
margin: 5px 0;
-webkit-appearance: none;
&::-ms-clear {
display: none;
}
&:focus {outline:none;}
&::-moz-focus-inner {border:0;}
outline: none !important;
}
input[type=text],
input[type=password],
select{
border: 1px solid $grey;
color: $grey;
padding: 5px 20px;
width: 100%;
text-align: left;
box-sizing: border-box;
}
input[type=button],
input[type=submit],
button{
background-color: $green;
color: white;
text-align: center;
padding: 5px 20px;
font-size: $font-12;
line-height: 23px;
cursor: pointer;
border: none;
transition: .5s;
&:hover{
color: white;
background-color: $grey;
}
}
select{
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
background-color: white;
background-image: url(../images/angle-down.png);
background-position: right 5px center;
background-size: 20px;
background-repeat: no-repeat;
}
input[type="radio"],
input[type="checkbox"]{
display: none;
&+label::before {
content: "";
display: inline-block;
width: 12px;
height: 12px;
border: solid 1px black;
background: transparent;
cursor: pointer;
vertical-align: middle;
margin: -4px 4px 0 0;
font-size: 1rem;
line-height: 10px;
}
&:checked{
&+label::before{
font-family: 'FontAwesome';
content: "\f00c";
padding: 0 0 1px 0;
}
}
}