Skip to content
This repository has been archived by the owner on Dec 8, 2017. It is now read-only.

Commit

Permalink
added social icons
Browse files Browse the repository at this point in the history
  • Loading branch information
gemfarmer committed Feb 24, 2016
1 parent 5137587 commit a7c9a0e
Show file tree
Hide file tree
Showing 8 changed files with 163 additions and 45 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{% load static from staticfiles %}

<footer class="usa-footer usa-footer-medium usa-sans" role="contentinfo">
<div class="usa-grid usa-footer-return-to-top">
<a href="#">Return to top</a>
</div>
<div class="usa-footer-primary-section">
<div class="usa-grid-full">
<nav class="usa-footer-nav">
<ul class="usa-unstyled-list">
<li class="usa-width-one-sixth usa-footer-primary-content">
<a class="usa-footer-primary-link" href="#">Primary link</a>
</li>
<li class="usa-width-one-sixth usa-footer-primary-content">
<a class="usa-footer-primary-link" href="#">Primary link</a>
</li>
<li class="usa-width-one-sixth usa-footer-primary-content">
<a class="usa-footer-primary-link" href="#">Primary link</a>
</li>
<li class="usa-width-one-sixth usa-footer-primary-content">
<a class="usa-footer-primary-link" href="#">Primary link</a>
</li>
<li class="usa-width-one-sixth usa-footer-primary-content">
<a class="usa-footer-primary-link" href="#">Primary link</a>
</li>
</ul>
</nav>
</div>
</div>

<div class="usa-footer-secondary_section">
<div class="usa-grid">
<div class="usa-footer-logo usa-width-one-half">
<img class="usa-footer-logo-img" src="{% static 'assets/img/nav-logo.jpg' %}" alt="GSA Logo" />
<h3 class="usa-footer-logo-heading">U.S. General Services Administration</h3>
</div>

<div class="usa-footer-contact-links usa-width-one-half">
<div class="usa-social-links">
<a href="#">
<span class="fa-stack">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-facebook fa-stack-1x fa-inverse" role="img" aria-label="Facebook"></i>
</span>
</a>
<a href="#">
<span class="fa-stack">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-twitter fa-stack-1x fa-inverse" role="img" aria-label="Twitter"></i>
</span>
</a>
<a href="#">
<span class="fa-stack">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-youtube fa-stack-1x fa-inverse" role="img" aria-label="Youtube"></i>
</span>
</a>
<a href="#">
<span class="fa-stack">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-instagram fa-stack-1x fa-inverse" role="img" aria-label="Instagram"></i>
</span>
</a>
<a href="#">
<span class="fa-stack">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-pinterest fa-stack-1x fa-inverse" role="img" aria-label="Pinterest"></i>
</span>
</a>
<a href="#">
<span class="fa-stack">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-envelope-o fa-stack-1x fa-inverse" role="img" aria-label="Email"></i>
</span>
</a>
</div>

<address>
<h3 class="usa-footer-contact-heading">JOIN THE CONVERSATION</h3>
</address>
</div>
</div>
</div>
</footer>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{% load static from staticfiles %}

<header class="header" role="banner">
<div>
<h3 class="header-title">
<a href="/" accesskey="1" title="Home" aria-label="Home" class="header-logo_link">
<img src="{% static 'assets/img/nav-logo.jpg' %}" alt="GSA Logo" class="header-logo" />
</a>
<span class="header-title_text">

{% block page_title %}
Forecast of Contracting Opportunities
{% endblock %}
</span>
</h3>
</div>
</header>
17 changes: 3 additions & 14 deletions forecast-admin/forecast/opportunities/templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,15 @@

</head>
<body>
<header class="header" role="banner">
<div>
<h3 class="header-title">
<a href="/" accesskey="1" title="Home" aria-label="Home" class="header-logo_link">
<img src="{% static 'assets/img/nav-logo.jpg' %}" alt="GSA Logo" class="header-logo" />
</a>
<span class="header-title_text">
{% include 'includes/header.html' %}

{% block page_title %}
Forecast of Contracting Opportunities
{% endblock %}
</span>
</h3>
</div>
</header>
<div class="usa-grid">
<div class="usa-width-one-whole">
{% block content %}{% endblock %}
</div>
</div>

{% include 'includes/footer.html' %}
</body>
{% block scripts %}{% endblock %}
</html>
55 changes: 35 additions & 20 deletions forecast-admin/forecast/static/assets/_scss/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

.usa-footer-return-to-top {
padding: {
bottom: 2rem;
bottom: 2rem;
top: 2rem;
}
}
Expand All @@ -50,7 +50,7 @@
left: 0;
right: 0;
}
}
}
}

.usa-grid-full {
Expand All @@ -66,13 +66,13 @@
.width-one-sixth {
@include media($medium) {
@include span-columns(2);
}
}
}

.usa-footer-medium {
.usa-footer-primary-section {
padding: 0;

@include media($medium-screen) {
padding: {
top: 1rem;
Expand All @@ -84,9 +84,9 @@
.usa-footer-nav ul {
@include media($medium-screen) {
align-items: center;
display: flex;
display: flex;
}
}
}
}

.usa-footer-slim {
Expand All @@ -97,7 +97,7 @@

.usa-footer-primary-section {
padding-bottom: 2rem;

@include media($medium-screen) {
padding: {
bottom: 1rem;
Expand All @@ -106,16 +106,16 @@

.usa-grid-full {
align-items: center;
display: flex;
}
display: flex;
}
}
}
}

ul.usa-footer-primary-content,
li.usa-footer-primary-content,
li.usa-footer-primary-content {
border-top: 1px solid $color-base;
border-top: 1px solid $color-base;

&:last-child {
border-bottom: 1px solid $color-base;
Expand Down Expand Up @@ -155,7 +155,7 @@ li.usa-footer-primary-content {
@include media($medium-screen) {
float: right;
padding: 0;
}
}
}

.usa-footer-secondary_section {
Expand All @@ -173,7 +173,7 @@ li.usa-footer-primary-content {
.usa-footer-big-secondary-section {
@include media($medium-screen) {
padding-top: 5rem;
}
}
}

.usa-footer-contact-links {
Expand All @@ -188,7 +188,7 @@ li.usa-footer-primary-content {
padding: {
top: 3rem;
bottom: 4rem;
}
}
}
}

Expand All @@ -209,7 +209,7 @@ li.usa-footer-primary-content {

@include media($medium-screen) {
padding-bottom: 0;
}
}

.usa-footer-primary-link {
background-image: url('../img/arrow-down.png');
Expand All @@ -229,7 +229,7 @@ li.usa-footer-primary-content {
&.hidden {
padding-bottom: 0;

.usa-footer-primary-link {
.usa-footer-primary-link {
background-image: url('../img/arrow-right.png');
background-image: url('../img/arrow-right.svg');
cursor: pointer;
Expand All @@ -238,9 +238,9 @@ li.usa-footer-primary-content {
@include media($medium-screen) {
background: none;
padding-left: 0;
}
}
}

li { display: none; }
}
}
Expand All @@ -264,7 +264,7 @@ li.usa-footer-primary-content {

.usa-footer-slim-logo-img {
float: left;
max-width: 10rem;
max-width: 10rem;
}

.usa-footer-logo-heading {
Expand All @@ -273,9 +273,9 @@ li.usa-footer-primary-content {

.usa-footer-contact-heading {
margin-top: 0;

@include media($medium-screen) {
margin-top: 1rem;
margin-top: 1rem;
}
}

Expand All @@ -290,3 +290,18 @@ li.usa-footer-primary-content {
}
}
}

.usa-footer-secondary_section {
background-color: $color-bisque;
}

.usa-footer-logo-img {
width: $gsa-logo-width;
height: $gsa-logo-width;
}

.usa-footer-logo-heading {
display: inline-block;
padding-left: $base-padding;
padding-right: $base-padding;
}
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
$logo-width: 60px;


.header {
padding-bottom: $base-padding-lite;
padding-left: $grid-margins;
padding-right: $grid-margins;
padding-top: $base-padding-lite;
background-color: $gray-slate;
color: $white;
background-color: $color-gray-slate;
color: $color-white;
font-family: $font-sans;
display: table;
width: 100%;
}

.header-logo,
.header-logo_link {
width: $logo-width;
height: $logo-width;
width: $gsa-logo-width;
height: $gsa-logo-width;
display: inline-block;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ $color-focus: #3e94cf;
$color-visited: #4c2c92;


$gray-slate: #505050;
$white: #fff;
$color-gray-slate: #505050;
$color-bisque: #e9e0c7;


// Mobile First Breakpoints
Expand All @@ -95,3 +95,7 @@ $border-radius: rem(3px);
$box-shadow: 0 0 2px rgba(#000, .3);
$focus-shadow: 0 0 3px $color-focus, 0 0 7px $color-focus;
$grid-margins: 3rem;

// Assets

$gsa-logo-width: 60px;
14 changes: 13 additions & 1 deletion forecast-admin/forecast/static/assets/css/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion forecast-admin/forecast/static/assets/css/main.css.map

Large diffs are not rendered by default.

0 comments on commit a7c9a0e

Please sign in to comment.