Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/unepwcmc/grasp
Browse files Browse the repository at this point in the history
  • Loading branch information
WKocur committed Jul 30, 2021
2 parents 230a099 + e8feb32 commit 76e6d32
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
17 changes: 17 additions & 0 deletions app/assets/stylesheets/components/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,23 @@
@content
}

@mixin button--outline {
@include button {
background-color: transparent;
border: 1px solid $white;
color: $white;
padding: 10px;
text-decoration: none;

display: inline-block;

&:hover {
background-color: $button__bg-color;
color: $white;
}
}
}

.button, .button.button-primary, button.button-primary, input.button-primary[type="submit"], input.button-primary[type="reset"], input.button-primary[type="button"] {
@include button;

Expand Down
5 changes: 5 additions & 0 deletions app/assets/stylesheets/components/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
}
}

@include e(button) {
@include button--outline;
font-weight: 300;
}

@include e(item) {
margin-bottom: 2.5rem;
font-size: 1.25rem;
Expand Down
9 changes: 8 additions & 1 deletion app/views/layouts/_footer.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<footer class="footer">
<div class="footer__inner row">
<div class="two columns"><img class="footer__logo" src="<%= image_path("grasp_logo_footer.png") %>" alt=""></div>
<div class="two columns">
<img class="footer__logo" src="<%= image_path("grasp_logo_footer.png") %>" alt="">
<div class="footer__item">
<a class="footer__button" href="http://grasp.wcmc.happyfox.com/kb/" target="_blank">
Support Centre
</a>
</div>
</div>
<div class="two columns">
<div class="footer__item">
<h5 class="footer__header">
Expand Down

0 comments on commit 76e6d32

Please sign in to comment.