Polishing

This commit is contained in:
Karol Orzeł 2015-01-23 14:03:30 +01:00
parent 6c527b241e
commit 290dda2c24
3 changed files with 15 additions and 18 deletions

View file

@ -589,24 +589,22 @@ td {
border: 1px solid #d8d8d8; } border: 1px solid #d8d8d8; }
.button { .button {
background: #fff; background: #87b672;
color: #87b672; color: #fff;
border: 1px solid #87b672; border: 1px solid #87b672; }
border-radius: 3px; }
.button:hover { .button:hover {
background: #87b672; background: #fff;
color: #fff; } color: #87b672; }
.button:active { .button:active {
box-shadow: 0 1px 0 #679b50; } box-shadow: 0 1px 0 #679b50; }
.button-secondary { .button-secondary {
background: #fff; background: #F6635E;
color: #F6635E; color: #fff;
border: 1px solid #F6635E; border: 1px solid #F6635E; }
border-radius: 3px; }
.button-secondary:hover { .button-secondary:hover {
background: #F6635E; background: #fff;
color: #fff; } color: #F6635E; }
.button-secondary:active { .button-secondary:active {
box-shadow: 0 1px 0 #f32b24; } box-shadow: 0 1px 0 #f32b24; }

File diff suppressed because one or more lines are too long

View file

@ -10,13 +10,12 @@
} }
@mixin button-color($color) { @mixin button-color($color) {
background: $white; background: $color;
color: $color; color: $white;
border: 1px solid $color; border: 1px solid $color;
border-radius: 3px;
&:hover { &:hover {
background: $color; background: $white;
color: $white; color: $color;
} }
&:active { &:active {
box-shadow: 0 1px 0 darken($color, 12%); box-shadow: 0 1px 0 darken($color, 12%);