Refactor buttons

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2015-10-07 17:32:00 +02:00
parent 2acb030bea
commit b8e4d6bdbe
No known key found for this signature in database
GPG key ID: 161B5D6A44D3D88A
2 changed files with 9 additions and 28 deletions

View file

@ -156,12 +156,15 @@
} }
} }
.btn { .btn {
@include btn-default; @include btn-default;
@include btn-white; @include btn-white;
&.btn-success { &.btn-success,
&.btn-new,
&.btn-create,
&.btn-save,
&.btn-green {
@include btn-green; @include btn-green;
} }
@ -169,20 +172,10 @@
@include btn-gray; @include btn-gray;
} }
&.btn-new { &.btn-danger,
@extend .btn-success; &.btn-remove,
} &.btn-red {
@include btn-red;
&.btn-create {
@extend .btn-success;
}
&.btn-save {
@extend .btn-success;
}
&.btn-remove {
@extend .btn-danger;
} }
&.btn-cancel { &.btn-cancel {
@ -212,14 +205,6 @@
margin-right: 0px; margin-right: 0px;
} }
} }
&.btn-save {
@extend .btn-primary;
}
&.btn-new, &.btn-create {
@extend .btn-success;
}
} }
.btn-block { .btn-block {

View file

@ -142,11 +142,7 @@
} }
} }
} }
.btn-green {
@include btn-green;
cursor: pointer;
}
.projects-search-form { .projects-search-form {
.input-group .form-control { .input-group .form-control {