2012-08-29 20:23:43 +02:00
|
|
|
.btn {
|
2012-11-25 19:25:33 +01:00
|
|
|
@include linear-gradient(#f7f7f7, #d5d5d5);
|
2013-01-17 21:53:40 +01:00
|
|
|
border-color: #BBB;
|
2012-08-29 20:23:43 +02:00
|
|
|
&:hover {
|
|
|
|
@include bg-gray-gradient;
|
2012-11-23 17:51:38 +01:00
|
|
|
border-color: #bbb;
|
|
|
|
color: #333;
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|
|
|
|
|
2013-01-08 06:14:05 +01:00
|
|
|
&.btn-white {
|
|
|
|
background: #FFF;
|
|
|
|
}
|
|
|
|
|
2012-08-30 08:26:45 +02:00
|
|
|
&.primary {
|
2012-11-23 17:51:38 +01:00
|
|
|
background: #2a79A3;
|
2012-11-25 19:25:33 +01:00
|
|
|
@include linear-gradient(#47A7b7, #2585b5);
|
2012-08-29 20:23:43 +02:00
|
|
|
border-color: #2A79A3;
|
2012-11-23 17:51:38 +01:00
|
|
|
color: #fff;
|
2012-10-22 22:37:50 +02:00
|
|
|
text-shadow: 0 1px 1px #268;
|
|
|
|
&:hover {
|
2012-11-25 20:03:14 +01:00
|
|
|
background: $primary_color;
|
2012-11-23 17:51:38 +01:00
|
|
|
color: #fff;
|
2012-10-22 22:37:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
2012-11-23 17:51:38 +01:00
|
|
|
color: #fff;
|
|
|
|
background: #29B;
|
2012-10-22 22:37:50 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.btn-info {
|
2012-11-23 17:51:38 +01:00
|
|
|
background: #5aB9C3;
|
2012-11-25 20:03:14 +01:00
|
|
|
border-color: $primary_color;
|
2012-11-23 17:51:38 +01:00
|
|
|
color: #fff;
|
2012-08-30 08:26:45 +02:00
|
|
|
text-shadow: 0 1px 1px #268;
|
2012-08-29 20:23:43 +02:00
|
|
|
&:hover {
|
2012-11-25 20:03:14 +01:00
|
|
|
background: $primary_color;
|
2012-11-23 17:51:38 +01:00
|
|
|
color: #fff;
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|
2012-08-30 08:26:45 +02:00
|
|
|
|
|
|
|
&.disabled {
|
2012-11-23 17:51:38 +01:00
|
|
|
color: #fff;
|
|
|
|
background: #29B;
|
2012-08-30 08:26:45 +02:00
|
|
|
}
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.success {
|
2012-09-05 07:56:59 +02:00
|
|
|
@extend .btn-success;
|
2012-08-29 20:23:43 +02:00
|
|
|
|
|
|
|
&:hover {
|
2012-09-05 07:56:59 +02:00
|
|
|
@extend .btn-success;
|
|
|
|
background: #51a351;
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|
2012-08-30 08:26:45 +02:00
|
|
|
|
|
|
|
&.disabled {
|
2012-11-23 17:51:38 +01:00
|
|
|
color: #fff;
|
|
|
|
background: #2b2;
|
2012-08-30 08:26:45 +02:00
|
|
|
}
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|
|
|
|
|
2012-08-30 08:09:42 +02:00
|
|
|
&.save-btn {
|
2012-08-29 20:23:43 +02:00
|
|
|
@extend .wide;
|
|
|
|
@extend .primary;
|
|
|
|
}
|
|
|
|
|
2012-08-30 08:09:42 +02:00
|
|
|
&.cancel-btn {
|
2012-11-23 17:33:43 +01:00
|
|
|
float: right;
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|
|
|
|
|
2012-08-30 08:09:42 +02:00
|
|
|
&.wide {
|
2012-11-23 17:33:43 +01:00
|
|
|
padding-left: 30px;
|
|
|
|
padding-right: 30px;
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|
|
|
|
|
2012-09-05 07:56:59 +02:00
|
|
|
&.danger {
|
|
|
|
@extend .btn-danger;
|
2012-08-29 20:23:43 +02:00
|
|
|
border-color: #BD362F;
|
|
|
|
|
|
|
|
&:hover {
|
2012-11-23 17:51:38 +01:00
|
|
|
color: #fff;
|
2012-08-29 20:23:43 +02:00
|
|
|
background: #EE4E49;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.danger {
|
|
|
|
@extend .btn-danger;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.small {
|
|
|
|
@extend .btn-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
2012-11-23 17:51:38 +01:00
|
|
|
border-color: #aaa;
|
|
|
|
background-color: #ccc;
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|
2012-08-29 21:29:50 +02:00
|
|
|
|
|
|
|
&.very_small {
|
2012-11-23 17:33:43 +01:00
|
|
|
font-size: 11px;
|
2012-11-23 17:51:38 +01:00
|
|
|
padding: 2px 6px;
|
2012-11-20 22:05:15 +01:00
|
|
|
line-height: 16px;
|
2012-11-23 17:33:43 +01:00
|
|
|
margin: 2px;
|
2012-08-29 21:29:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.grouped {
|
2012-11-23 17:33:43 +01:00
|
|
|
margin-right: 7px;
|
|
|
|
float: left;
|
2012-08-29 21:29:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.padded {
|
2012-11-23 17:33:43 +01:00
|
|
|
margin-right: 3px;
|
2012-11-23 17:51:38 +01:00
|
|
|
padding: 4px 10px 4px;
|
2012-08-29 21:29:50 +02:00
|
|
|
}
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|