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