consul/ui/styles/_buttons.scss

59 lines
1.2 KiB
SCSS
Raw Normal View History

2014-04-22 18:11:54 +00:00
.btn {
text-transform: uppercase;
font-weight: 600;
font-size: 12px;
2014-04-25 19:12:21 +00:00
border-width: 2px;
2014-04-22 18:11:54 +00:00
color: $gray;
@include transition(background-color .1s ease-in-out);
2014-04-25 20:24:36 +00:00
outline: none;
2014-04-22 18:11:54 +00:00
&:hover {
color: darken($gray, 10%);
background-color: lighten($gray-background, 5%);
}
.btn-default {
}
&.active {
box-shadow: none;
-webkit-box-shadow: none;
}
&.btn-primary, &.active {
2014-04-25 19:12:21 +00:00
color: $purple-dark;
2014-04-22 18:11:54 +00:00
background-color: transparent;
2014-04-25 19:12:21 +00:00
border: 2px solid $purple-dark;
2014-04-22 18:11:54 +00:00
&:hover {
background-color: $light-purple;
color: darken($purple, 10%);
}
}
&.btn-warning {
color: $orange-faded;
background-color: transparent;
border: 2px solid $orange-faded;
&:hover {
background-color: lighten($orange-faded, 29%);
color: darken($orange-faded, 10%);
}
}
&.btn-success {
color: $green-dark;
background-color: transparent;
border: 2px solid $green-dark;
&:hover {
background-color: lighten($green-faded, 24%);
color: darken($green-dark, 10%);
}
}
2014-04-22 18:11:54 +00:00
}