1
0

Separate select & input @mixins

This commit is contained in:
Nad Chishtie
2019-08-20 12:17:00 -07:00
committed by Jorik Schellekens
parent da19eb18be
commit cc8fa83fcc

View File

@@ -72,26 +72,15 @@ h1 {
margin: 1rem;
}
@mixin select {
padding: 0.4rem;
font-size: 1rem;
background-color: $secondary;
border-width: 0.1rem;
border-radius: 0.5rem;
color: lighten($font, 20%);
margin-bottom: 1rem;
border-style: solid;
border-color: darken($secondary, 50%);
}
input {
@include select;
padding: 0.4rem;
font-size: 0.6rem;
border-style: none;
background: white;
border-radius: 4rem;
color: $font;
padding: 0.4rem 1.2rem;
margin-bottom: 1rem;
}
input[type=checkbox] {
@@ -119,7 +108,6 @@ pre {
}
select {
@include select;
height: 1.6rem;
font-size: 0.6rem;
border-style: none;