2012-08-29 20:23:43 +02:00
|
|
|
.btn {
|
2012-09-05 07:56:59 +02:00
|
|
|
@include bg-gradient(#f7f7f7, #d5d5d5);
|
2012-08-29 20:23:43 +02:00
|
|
|
border-color:#aaa;
|
|
|
|
&:hover {
|
|
|
|
@include bg-gray-gradient;
|
|
|
|
border-color:#bbb;
|
|
|
|
color:#333;
|
|
|
|
}
|
|
|
|
|
2012-08-30 08:26:45 +02:00
|
|
|
&.primary {
|
2012-08-30 08:09:42 +02:00
|
|
|
background:#2a79A3;
|
2012-09-05 07:56:59 +02:00
|
|
|
@include bg-gradient(#47A7b7, #2585b5);
|
2012-08-29 20:23:43 +02:00
|
|
|
border-color: #2A79A3;
|
2012-08-30 08:26:45 +02:00
|
|
|
color:#fff;
|
|
|
|
text-shadow: 0 1px 1px #268;
|
2012-08-29 20:23:43 +02:00
|
|
|
&:hover {
|
|
|
|
background:$blue_link;
|
|
|
|
color:#fff;
|
|
|
|
}
|
2012-08-30 08:26:45 +02:00
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
color:#fff;
|
|
|
|
background:#29B;
|
|
|
|
}
|
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 {
|
|
|
|
color:#fff;
|
|
|
|
background:#2b2;
|
|
|
|
}
|
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-08-29 20:23:43 +02:00
|
|
|
float:right;
|
|
|
|
}
|
|
|
|
|
2012-08-30 08:09:42 +02:00
|
|
|
&.wide {
|
2012-08-29 20:23:43 +02:00
|
|
|
padding-left:30px;
|
|
|
|
padding-right:30px;
|
|
|
|
}
|
|
|
|
|
2012-09-05 07:56:59 +02:00
|
|
|
&.danger {
|
|
|
|
@extend .btn-danger;
|
2012-08-29 20:23:43 +02:00
|
|
|
border-color: #BD362F;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color:#fff;
|
|
|
|
background: #EE4E49;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.danger {
|
|
|
|
@extend .btn-danger;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.small {
|
|
|
|
@extend .btn-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
border-color:#aaa;
|
|
|
|
background-color:#ccc;
|
|
|
|
}
|
2012-08-29 21:29:50 +02:00
|
|
|
|
|
|
|
&.very_small {
|
|
|
|
font-size:11px;
|
|
|
|
padding:2px 6px;
|
|
|
|
margin:2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.grouped {
|
|
|
|
margin-right:7px;
|
|
|
|
float:left;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.padded {
|
|
|
|
margin-right:3px;
|
|
|
|
padding:4px 10px 4px;
|
|
|
|
}
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|