2014-04-22 14:11:54 -04:00
|
|
|
.btn {
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-weight: 600;
|
2014-04-22 15:59:35 -04:00
|
|
|
font-size: 12px;
|
2014-04-25 15:12:21 -04:00
|
|
|
border-width: 2px;
|
2014-04-22 14:11:54 -04:00
|
|
|
color: $gray;
|
2014-04-30 11:43:04 -04:00
|
|
|
@include transition(background-color .2s ease-in-out);
|
|
|
|
@include transition(border-color .2s ease-in-out);
|
|
|
|
@include transition(color .2s ease-in-out);
|
2014-04-25 16:24:36 -04:00
|
|
|
outline: none;
|
2014-04-30 23:02:25 -04:00
|
|
|
outline-color: white;
|
2015-03-10 10:48:02 -07:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2017-03-21 14:39:57 -04:00
|
|
|
-webkit-transform: translateZ(0);
|
2014-04-22 14:11:54 -04:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: darken($gray, 10%);
|
|
|
|
background-color: lighten($gray-background, 5%);
|
|
|
|
}
|
|
|
|
|
2014-04-30 23:02:25 -04:00
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
outline-color: white;
|
|
|
|
outline: none;
|
|
|
|
box-shadow: none;
|
2014-04-22 14:11:54 -04:00
|
|
|
}
|
|
|
|
|
2014-04-24 13:47:14 -04:00
|
|
|
&.active {
|
2014-04-30 23:02:25 -04:00
|
|
|
outline-color: white;
|
|
|
|
outline: none;
|
2014-04-24 13:47:14 -04:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2014-08-22 17:00:26 -07:00
|
|
|
&.btn-primary {
|
2017-04-12 19:32:10 -04:00
|
|
|
color: $pink-dark;
|
2014-08-22 17:00:26 -07:00
|
|
|
background-color: transparent;
|
2017-04-12 19:32:10 -04:00
|
|
|
border: 2px solid $pink;
|
2014-08-22 17:00:26 -07:00
|
|
|
|
|
|
|
&:hover {
|
2017-04-12 19:32:10 -04:00
|
|
|
background-color: $light-pink;
|
|
|
|
color: darken($pink, 10%);
|
2014-08-22 17:00:26 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-04-22 14:11:54 -04:00
|
|
|
&.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%);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2014-04-22 15:59:35 -04:00
|
|
|
|
|
|
|
&.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-30 10:16:50 -04:00
|
|
|
&.btn-danger {
|
|
|
|
color: $red;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 2px solid $red;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: lighten($red, 38%);
|
|
|
|
color: darken($red, 10%);
|
|
|
|
}
|
2014-08-22 12:25:10 -07:00
|
|
|
}
|
|
|
|
|
2014-04-30 10:16:50 -04:00
|
|
|
|
2014-08-22 12:25:10 -07:00
|
|
|
&.active {
|
2017-04-12 19:32:10 -04:00
|
|
|
color: $pink-dark;
|
2014-08-22 12:25:10 -07:00
|
|
|
background-color: transparent;
|
2017-04-12 19:32:10 -04:00
|
|
|
border: 2px solid $pink;
|
2014-08-22 12:25:10 -07:00
|
|
|
|
|
|
|
&:hover {
|
2017-04-12 19:32:10 -04:00
|
|
|
background-color: $light-pink;
|
|
|
|
color: darken($pink, 10%);
|
2014-08-22 12:25:10 -07:00
|
|
|
}
|
2014-08-22 17:00:26 -07:00
|
|
|
|
|
|
|
&.btn-noactive {
|
|
|
|
color: inherit;
|
|
|
|
background-color: inherit;
|
|
|
|
border: 2px solid #ccc;
|
|
|
|
}
|
|
|
|
|
2014-04-30 10:16:50 -04:00
|
|
|
}
|
|
|
|
|
2014-06-02 11:49:01 -04:00
|
|
|
&.btn-mini {
|
|
|
|
font-size: 10px;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
2014-04-30 10:16:50 -04:00
|
|
|
|
2014-06-06 15:11:26 -04:00
|
|
|
&.btn-list {
|
|
|
|
font-size: 10px;
|
|
|
|
padding: 3px 5px 3px 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
2014-04-22 14:11:54 -04:00
|
|
|
}
|
2014-08-22 17:14:26 -07:00
|
|
|
|
|
|
|
.topbar {
|
|
|
|
.btn.icon {
|
|
|
|
min-width: 50px;
|
|
|
|
height: 33px;
|
2015-12-04 10:30:45 -06:00
|
|
|
padding: 6px 0;
|
|
|
|
svg {
|
|
|
|
height: 20px;
|
|
|
|
fill: currentColor;
|
2014-08-22 17:14:26 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|