Saved: 2017-10-30 07:05

Torey Heinz committed Oct 30, 2017
commit a355cbdad74ed799657d67fa8eece6ee6f213648
Showing 3 changed files with 29 additions and 3 deletions
app/views/pages/layouts/default.liquid +3 -3
@@ @@ -11,7 +11,7 @@ is_layout: true
<head>
{% include 'metatags' %}
- {{ 'app.css' | stylesheet_tag }}
+ {{ 'app.css' | stylesheet_tag(:all) }}
<script src="https://use.fontawesome.com/2c75e31fa5.js"></script>
<!-- Global Site Tag (gtag.js) - Google Analytics -->
@@ @@ -46,9 +46,9 @@ is_layout: true
</div>
</header>
- <div class="title-bar" data-responsive-toggle="sidebar-nav" data-hide-for="large">
+ <div class="row column title-bar" data-responsive-toggle="sidebar-nav" data-hide-for="large">
<button class="menu-icon" type="button" data-toggle="sidebar-nav"></button>
- <div class="contact-info float-right">
+ <div class="contact-info">
<i class="fa fa-phone fa-lg">&nbsp;</i><a href="tel:16169566800">(616) 956-6800</a>
&nbsp;
<i class="fa fa-envelope fa-lg">&nbsp;</i><a href="mailto:contact@vs-america.com">contact@vs-america.com</a>
public/stylesheets/_print.scss +22 -0
@@ @@ -0,0 +1,22 @@
+ @media print {
+ a, a:visited { text-decoration: underline;}
+ a[href]:after { content: ''; }
+
+ .menu-wrapper, .sidebar, .menu-icon {
+ display: none;
+ }
+
+ .banner {
+ // text-align: center;
+ img {
+ width: 250px
+ }
+ }
+
+ .title-bar {
+ .contact-info {
+ float: none;
+ text-align: left;
+ }
+ }
+ }
public/stylesheets/app.scss +4 -0
@@ @@ -136,6 +136,8 @@ header {
.title-bar {
.contact-info {
+ float: right;
+
@include breakpoint(small only) {
font-size: 0.75rem;
}
@@ @@ -157,3 +159,5 @@ header {
box-shadow: 3px 1px 3px -2px rgba(0,0,0,0.12);
// border-right: 2px solid $primary-color;
}
+
+ @import 'print';