Skip to content
This repository was archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into class-function
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Willhite committed Jun 22, 2017
2 parents ca79489 + d4a0770 commit 541c97d
Show file tree
Hide file tree
Showing 9 changed files with 345 additions and 54 deletions.
360 changes: 339 additions & 21 deletions LICENSE.txt

Large diffs are not rendered by default.

9 changes: 0 additions & 9 deletions components/_patterns/00-base/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

/// Mixin - list-reset
/// Reset list item defaults when no margin, padding, list styles needed

@mixin list-reset {
list-style: none;
margin: 0;
Expand All @@ -32,14 +31,6 @@
padding: .8em;
}

/// Mixin - Icon with circular bg
/// Mixin for the circular icon-bg (see source/patterns/01-atoms/headings for usage)
@mixin icon-bg($color: $black) {
background-color: $color;
border-radius: 20px;
margin-right: .4em;
}

/// Mixin - Outer container
/// Outer container mixin for large screens
@mixin outer-container {
Expand Down
10 changes: 0 additions & 10 deletions components/_patterns/01-atoms/04-images/icons/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,3 @@
@include with-icon;
}
}

.inline-arrow-down--bg {
display: flex;

&:before {
@include sprite-arrow-down;
@include with-icon;
@include icon-bg($gray-light);
}
}
6 changes: 0 additions & 6 deletions components/_patterns/01-atoms/04-images/icons/icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,4 @@ If you look in `_icon_sprite.scss`, you will notice there is a mixin and class f
@include ICONNAME; // e.g., sprite-chevron-right
@include with-icon;
}
.TEXT_WITH_COLOR_BACKGROUND_ICON_BEFORE_IT {
@include ICONNAME; // e.g., sprite-chevron-right-white
@include with-icon;
@include icon-bg(COLOR); // color optional
}
```
2 changes: 0 additions & 2 deletions components/_patterns/01-atoms/04-images/icons/icons.twig
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,3 @@
<h3 class="heading-3">Inline icon examples</h3>

<p class="inline-arrow-down">See below for instructions</p>

<p class="inline-arrow-down--bg">See below for instructions</p>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<footer class="site-footer">
<footer class="footer">
{{ content }}
</footer>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<header class="site-header">
<header class="header">
<div class="navigation">
{{ content }}
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

header,
main,
footer {
.header,
.main,
.footer {
@include outer-container;
margin-bottom: 4em;
}
Expand Down
2 changes: 1 addition & 1 deletion components/_patterns/05-pages/_page.twig
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

{{ messages }}

<main role="main">
<main role="main" class="main">
<a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #}

{% if page.sidebar %}
Expand Down

0 comments on commit 541c97d

Please sign in to comment.