Skip to content

Commit

Permalink
Looks like the green and red colors are not going to work very well
Browse files Browse the repository at this point in the history
  • Loading branch information
brzaik committed Jul 15, 2012
1 parent d9b37e5 commit f88f8ad
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions app/assets/stylesheets/application/controls/buttons.scss.erb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
@include vertical-gradient(#f7adab, #ee5f5b);
border-color: #ee5f5b;
}

&.active {
@include vertical-gradient(#ee5f5b, #bd362f);
}
}
// Success appears as green
&.success {
Expand All @@ -51,6 +55,10 @@
@include vertical-gradient(#9bee9b, #62c462);
border-color: #62c462;
}

&.active {
@include vertical-gradient(#62c462, #51a351);
}
}
// Info appears as a neutral blue
&.info {
Expand Down
4 changes: 2 additions & 2 deletions app/views/submissions/_index_body.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
<div class="form-stacked">
<div class="moderate-select" class="btn-toolbar">
<div class="btn-group" data-toggle="buttons-radio">
<button class="btn success approve">Approve</button>
<button class="btn danger deny">Deny</button>
<button class="btn approve">Approve</button>
<button class="btn deny">Deny</button>
</div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions app/views/submissions/_show_body.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<h4>Moderate Content</h4>
<div id="moderate-select" class="btn-toolbar">
<div class="btn-group" data-toggle="buttons-radio">
<button class="btn success approve">Approve</button>
<button class="btn danger deny">Deny</button>
<button class="btn approve">Approve</button>
<button class="btn deny">Deny</button>
</div>
</div>

Expand Down

0 comments on commit f88f8ad

Please sign in to comment.