refactor buttons pt1

This commit is contained in:
Dmitriy Zaporozhets 2013-01-29 22:18:19 +02:00
parent 9fdbdc662a
commit 033aa1a885
75 changed files with 139 additions and 150 deletions

View file

@ -7,11 +7,7 @@
color: #333;
}
&.btn-white {
background: #FFF;
}
&.primary {
&.btn-primary {
background: #2a79A3;
@include linear-gradient(#47A7b7, #2585b5);
border-color: #2A79A3;
@ -58,21 +54,17 @@
}
}
&.save-btn {
&.btn-create {
@extend .wide;
@extend .primary;
@extend .success;
}
&.cancel-btn {
float: right;
&.btn-save {
@extend .wide;
@extend .btn-primary;
}
&.wide {
padding-left: 30px;
padding-right: 30px;
}
&.danger {
&.btn-remove {
@extend .btn-danger;
border-color: #BD362F;
@ -82,8 +74,13 @@
}
}
&.danger {
@extend .btn-danger;
&.btn-cancel {
float: right;
}
&.wide {
padding-left: 20px;
padding-right: 20px;
}
&.small {