Skip to content

Commit

Permalink
Fix styles for forgotten password link
Browse files Browse the repository at this point in the history
Our secondary action links have a few context dependent
styles, so I've added a new one and I've pulled them
into their own file.

Also removed a duplicated import.
  • Loading branch information
pcraig3 committed Feb 20, 2017
1 parent 77267a3 commit e2213ae
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
9 changes: 0 additions & 9 deletions app/assets/scss/_brief_submission.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,3 @@ ol.steps {
@extend %markdown-description;
padding-bottom: 30px;
}

.secondary-action-link {
margin-top: 30px;
}

button.button-save + .secondary-action-link,
input.button-save + .secondary-action-link {
margin-top: 5px;
}
13 changes: 13 additions & 0 deletions app/assets/scss/_secondary-action-link.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.secondary-action-link {
margin-top: 30px;
}

.question + .secondary-action-link {
margin-top: -36px;
margin-bottom: 40px;
}

.button-save + .secondary-action-link,
.button-save + .secondary-action-link-bigger {
margin-top: 5px;
}
2 changes: 1 addition & 1 deletion app/assets/scss/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ $path: "/static/images/";
@import "toolkit/forms/_textboxes.scss";
@import "toolkit/forms/_validation.scss";
@import "toolkit/search/_search-result.scss";
@import "toolkit/_secondary-action-link.scss";

#wrapper {
@extend %site-width-container;
Expand All @@ -62,6 +61,7 @@ $path: "/static/images/";
@import "_service-page.scss";
@import "_index-page.scss";
@import "_search-page.scss";
@import "_secondary-action-link.scss";
@import "_pagination.scss";
@import "_publication.scss";
@import "_supplier-a-to-z.scss";
Expand Down

0 comments on commit e2213ae

Please sign in to comment.