2012-08-29 20:23:43 +02:00
|
|
|
.btn {
|
2012-08-30 08:26:45 +02:00
|
|
|
background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.076, #f7f7f7), to(#d5d5d5));
|
|
|
|
background-image: -webkit-linear-gradient(#f7f7f7 7.6%, #d5d5d5);
|
|
|
|
background-image: -moz-linear-gradient(#f7f7f7 7.6%, #d5d5d5);
|
|
|
|
background-image: -o-linear-gradient(#f7f7f7 7.6%, #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-08-29 20:23:43 +02:00
|
|
|
border-color: #2A79A3;
|
2012-08-30 08:26:45 +02:00
|
|
|
background-image: -webkit-linear-gradient(#47A7b7 7.6%, #2585b5);
|
|
|
|
background-image: -moz-linear-gradient(#47A7b7 7.6%, #2585b5);
|
|
|
|
background-image: -o-linear-gradient(#47A7b7 7.6%, #2585b5);
|
|
|
|
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-08-30 08:26:45 +02:00
|
|
|
border-color: #4A4;
|
|
|
|
background-image: -webkit-linear-gradient(#82D482 7.6%, #22B442);
|
|
|
|
background-image: -moz-linear-gradient(#82D482 7.6%, #22B442);
|
|
|
|
background-image: -o-linear-gradient(#82D482 7.6%, #22B442);
|
2012-08-29 20:23:43 +02:00
|
|
|
color: #fff;
|
2012-08-30 08:26:45 +02:00
|
|
|
text-shadow: 0 1px 1px #141;
|
2012-08-29 20:23:43 +02:00
|
|
|
|
|
|
|
&:hover {
|
2012-08-30 08:26:45 +02:00
|
|
|
background: #6C6;
|
2012-08-29 20:23:43 +02:00
|
|
|
color: #fff;
|
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.danger,
|
|
|
|
&.btn-danger {
|
|
|
|
color:#fff;
|
|
|
|
background: #DA4E49;
|
|
|
|
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
|
|
|
}
|