Skip to content

Commit

Permalink
updated Next Step button style; refs #41
Browse files Browse the repository at this point in the history
  • Loading branch information
kpettinga committed Nov 25, 2014
1 parent ab219c8 commit 93ef209
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 14 deletions.
20 changes: 12 additions & 8 deletions app/assets/stylesheets/partials/_layout-models.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ body {
color: #FFF;
text-decoration: none;
transition: all 250ms ease;
@include clearfix;
&:hover {
background: $orange;
&:after {
.arrow {
border-left-color: $orange;
}
}
&:after {
content: "";
.arrow {
position: absolute;
left: 100%;
top: 0;
Expand All @@ -50,15 +50,19 @@ body {
border-bottom: 19px solid rgba(0, 0, 0, 0);
transition: all 250ms ease;
}

.next,
.text {
display: block;
box-sizing: border-box;
float: left;
padding: 11px 15px;
}
.next {
background: $blue;
padding: 11px 15px;
float: left;
text-align: center;
}
.text {
padding: 11px 15px;
float: left;

}
}
}
Expand Down
8 changes: 4 additions & 4 deletions app/assets/stylesheets/partials/media-queries/_medium.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@
display: block;
margin: 12px 0;

.next, .text {
display: inline-block;
float: none;
.next,
.text {
width: 50%;
text-align: center;
}
.next {
background: $light_blue;
color: $dark_blue;
width: 9%;
}
}

Expand Down
6 changes: 6 additions & 0 deletions app/assets/stylesheets/partials/media-queries/_small.scss
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,12 @@
.timeline_menu nav.menu_nav ul li.register {
margin-left: 0;
}

.wrap .next_step {
.next { width: 25%; }
.text { width: 75%; }
}


.search .user_lists { width: 100%; }
.search .user_lists li { margin-right: 35px; }
Expand Down
4 changes: 2 additions & 2 deletions app/views/schools/compare.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
%span.next
= 'Next'
%span.text
= 'Step 3 - Compare & Rank'

= 'Step 4 - Get Ready!'
%span.arrow


.result.clearfix
Expand Down
2 changes: 2 additions & 0 deletions app/views/schools/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
= 'Next'
%span.text
= 'Step 3 - Compare & Rank'
%span.arrow



.result
Expand Down

0 comments on commit 93ef209

Please sign in to comment.