Skip to content

Commit

Permalink
CSS Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy-set-studio authored Apr 9, 2020
1 parent 3ec2abd commit e22d428
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/scss/components/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,42 @@ label {
display: block;
font-weight: 600;
}

form br {
display: none;
}

input,
textarea,
select {
background-color: #fff;
@include apply-utility('font', 'base');
font-size: 1.25rem;
border: 1px solid;
margin-top: .15rem;
padding: .25em .5em;
width: 100%;

@include apply-utility('font', 'base');
}

input:focus,
select:focus,
textarea:focus {
background-color: #ffffeb;
}

label input {
margin: -.25rem .5rem 0 0;
width: auto;
vertical-align: middle;
}

fieldset {
border: 0;
margin: 0;
padding: 0;
}

legend {
display: block;
font-weight: bold;
Expand All @@ -42,9 +49,10 @@ legend {
padding: 0;
list-style: none;
}

.field-list__field-group {
margin-bottom: 2rem;
transition: transform .15s;
transition: transform 150ms;

&__description {
display: block;
Expand Down

0 comments on commit e22d428

Please sign in to comment.