Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

Commit

Permalink
Review changes
Browse files Browse the repository at this point in the history
- Moved stuff to align left on mobile.
- Fixed spacing on process page with class that removes color since
  block__bg basically provides the spacing for everything in the
sidebar.
  • Loading branch information
KimberlyMunoz committed Oct 25, 2016
1 parent 91dd2fe commit 07239fd
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/closing-disclosure/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h1 class="page-title">Closing Disclosure Explainer</h1>
block__flush-top
block__padded-top
block__flush-bottom
u-right">
u-right-on-desktop">
{{ social_media.render( {
'title': 'Check out this page from the @CFPB'
} ) }}
Expand Down
2 changes: 1 addition & 1 deletion src/explore-rates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h2 class="page-title">Explore interest rates<sup class="beta">BETA</sup></h2>
block__flush-top
block__padded-top
block__flush-bottom
u-right">
u-right-on-desktop">
{{ social_media.render( {
'title': 'Check out this page from the @CFPB'
} ) }}
Expand Down
2 changes: 1 addition & 1 deletion src/loan-estimate/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1 class="page-title">Loan Estimate Explainer</h1>
block__flush-top
block__padded-top
block__flush-bottom
u-right">
u-right-on-desktop">
{{ social_media.render( {
'title': 'Check out this page from the @CFPB'
} ) }}
Expand Down
2 changes: 1 addition & 1 deletion src/loan-options/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1>Understand loan options</h1>
block__flush-top
block__flush-bottom
block__padded-bottom
social-media_container">
u-right-on-desktop">
{{ social_media.render( {
'title': 'Check out this page from the @CFPB'
} ) }}
Expand Down
2 changes: 1 addition & 1 deletion src/process/_process-step.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ <h3 class="h6 u-mb15">Tools for this Phase</h3>
</div>
{% endfor %}
</section>
<div class="block">
<div class="block block__bg u-no-bg">
{{ social_media.render( {
'title': 'Check out this page from the @CFPB'
} ) }}
Expand Down
15 changes: 12 additions & 3 deletions src/static/css/module/helpers.less
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,10 @@ object {
background-color: @block__bg;
}

.u-no-bg {
background-color: transparent;
}

.content-l_col {
.respond-to-min(@tablet-min, {
&.content-l_col-1-3 + &.content-l_col-2-3,
Expand All @@ -378,13 +382,18 @@ object {

.content-l_col-1-4 {
.respond-to-min(@tablet-min, {
.grid_column(1, 4);
.grid_column(1, 4);
});
}

.content-l_col-3-4 {
.content-l_col-3-4 {
.respond-to-min(@tablet-min, {
.grid_column(3, 4);
.grid_column(3, 4);
});
}

.u-right-on-desktop {
.respond-to-min( 801px, {
text-align: right;
});
}
6 changes: 0 additions & 6 deletions src/static/css/module/loan-options.less
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ ul.unindent-ul{
}
}

.respond-to-min( 801px, {
.content__loan-options .social-media_container {
text-align: right;
}
});

// Expandables

.type-details {
Expand Down

0 comments on commit 07239fd

Please sign in to comment.