Skip to content

Commit

Permalink
[ux] making buttons prettier, changing bg color to suit the header
Browse files Browse the repository at this point in the history
  • Loading branch information
thefoxis committed Dec 13, 2012
1 parent 791007b commit 51f93e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions app/assets/stylesheets/bootstrap_and_overrides.css.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// Gives us our custom designed buttons
@buttonRadius: 20px;
@btnBorder: #c3c3c3;
@btnBackground: #e4e4e4;
@btnBackground: #eaeaea;

// Gives us our flat buttons
.buttonBackgroundOverrides(@color, @textColor: #fff, @textShadow: 0 -1px 0 rgba(0,0,0,.25)) {
Expand All @@ -33,8 +33,9 @@

.btn {
.border-radius(@buttonRadius);
.box-shadow(~"inset 0 3px 2px rgba(255,255,255,.5), 0 1px 2px rgba(0,0,0,.2)");
.box-shadow(~"inset 0 1px 0 rgba(255,255,255,.9), 0 1px 0 rgba(0, 0, 0, .3)");
.buttonBackgroundOverrides(@btnBackground, @grayDark, 0 1px 1px rgba(255,255,255,.75));
text-shadow: 0 1px 0 #fff;
padding: 7px 12px;

&:hover {
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/site.css.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import 'variables.css.scss';

body{
background-color: #e3e3e3;
background-color: #a63636;
margin:0;
padding:0;
}
Expand Down

0 comments on commit 51f93e9

Please sign in to comment.