mirror of https://github.com/status-im/consul.git
104 lines
2.1 KiB
SCSS
104 lines
2.1 KiB
SCSS
.btn {
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
border-width: 2px;
|
|
color: $gray;
|
|
@include transition(background-color .2s ease-in-out);
|
|
@include transition(border-color .2s ease-in-out);
|
|
@include transition(color .2s ease-in-out);
|
|
|
|
outline: none;
|
|
outline-color: white;
|
|
|
|
&:hover {
|
|
color: darken($gray, 10%);
|
|
background-color: lighten($gray-background, 5%);
|
|
}
|
|
|
|
&:focus {
|
|
outline: none;
|
|
outline-color: white;
|
|
outline: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
&.active {
|
|
outline-color: white;
|
|
outline: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
&.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%);
|
|
}
|
|
}
|
|
|
|
&.btn-danger {
|
|
color: $red;
|
|
background-color: transparent;
|
|
border: 2px solid $red;
|
|
|
|
&:hover {
|
|
background-color: lighten($red, 38%);
|
|
color: darken($red, 10%);
|
|
}
|
|
}
|
|
|
|
|
|
&.active {
|
|
color: $purple-dark;
|
|
background-color: transparent;
|
|
border: 2px solid $purple;
|
|
|
|
&:hover {
|
|
background-color: $light-purple;
|
|
color: darken($purple, 10%);
|
|
}
|
|
}
|
|
|
|
&.btn-mini {
|
|
font-size: 10px;
|
|
padding: 8px;
|
|
}
|
|
|
|
&.btn-list {
|
|
font-size: 10px;
|
|
padding: 3px 5px 3px 5px;
|
|
margin-right: 5px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
}
|
|
|
|
.active {
|
|
.btn {
|
|
color: $purple-dark;
|
|
background-color: transparent;
|
|
border: 2px solid $purple;
|
|
|
|
&:hover {
|
|
background-color: $light-purple;
|
|
color: darken($purple, 10%);
|
|
}
|
|
}
|
|
}
|