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.
71 lines
1.2 KiB
71 lines
1.2 KiB
|
|
|
|
input,button{
|
|
border-radius: 3px;
|
|
margin: 5px 0;
|
|
-webkit-appearance: none;
|
|
&::-ms-clear {
|
|
display: none;
|
|
}
|
|
&:focus {outline:none;}
|
|
&::-moz-focus-inner {border:0;}
|
|
}
|
|
|
|
input[type=text],
|
|
input[type=password]{
|
|
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;
|
|
cursor: pointer;
|
|
border: none;
|
|
transition: .5s;
|
|
|
|
&:hover{
|
|
color: white;
|
|
background-color: $grey;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|