Skip to content

Commit

Permalink
Added padding to submit form and background to intro paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
ginestra committed Jan 26, 2018
1 parent f838124 commit 7d52581
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -575,15 +575,19 @@ caption,
margin-bottom: rem-calc(4);
}

input[required],
input:required {
background: scale-color($tertiary-color, $lightness: 95%);
border: 1px solid $primary-color;
}

input[type="file"] {
background: $primary-color;
color: $white;
}

input[required],
input:required {
background: scale-color($tertiary-color, $lightness: 95%);
border: 1px solid $primary-color;
input[type="submit"] {
margin-bottom: rem-calc(24);
}

label {
Expand Down
2 changes: 1 addition & 1 deletion sup/templates/sup/form_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h2 class="subtitle">Application form</h2>
<h1>{{ page.title }}</h1>
</div>
<div class="rich-text">
<div class="rich-text gray-bg intro">
<p>{{ page.intro|richtext }}</p>
</div>

Expand Down

0 comments on commit 7d52581

Please sign in to comment.