134 lines
2.3 KiB
SCSS
Executable File
134 lines
2.3 KiB
SCSS
Executable File
.button,
|
|
%button {
|
|
@extend %light;
|
|
@extend %small;
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 3px;
|
|
color: $white;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
padding: .4rem 2rem;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
transition: all .2s linear;
|
|
vertical-align: middle;
|
|
&:hover {
|
|
color: $white;
|
|
transition: all .2s linear;
|
|
}
|
|
&:visited {
|
|
color: $white;
|
|
}
|
|
&.loading {
|
|
span {
|
|
animation: loading .5s linear;
|
|
}
|
|
}
|
|
span {
|
|
color: $white;
|
|
}
|
|
.icon {
|
|
color: $white;
|
|
}
|
|
&.disabled,
|
|
&[disabled] {
|
|
background: $whitish;
|
|
box-shadow: none;
|
|
color: $gray-light;
|
|
cursor: not-allowed;
|
|
opacity: .65;
|
|
&:hover {
|
|
background: $whitish;
|
|
color: $gray-light;
|
|
}
|
|
}
|
|
}
|
|
.trans-button {
|
|
@extend %medium;
|
|
@extend %title;
|
|
@extend %button;
|
|
span,
|
|
.icon {
|
|
color: $blackish;
|
|
transition: color .2s linear;
|
|
}
|
|
.icon {
|
|
margin-right: .5rem;
|
|
}
|
|
&:visited {
|
|
color: $blackish;
|
|
}
|
|
}
|
|
.submit-button {
|
|
width: 100%;
|
|
}
|
|
.button-green,
|
|
a.button-green {
|
|
@extend %button;
|
|
background: $primary;
|
|
&:hover,
|
|
&.active {
|
|
background: $primary-light;
|
|
color: $white;
|
|
}
|
|
}
|
|
.button-gray,
|
|
a.button-gray {
|
|
@extend %button;
|
|
background: $gray;
|
|
&:hover,
|
|
&.active {
|
|
background: $primary-light;
|
|
color: $white;
|
|
}
|
|
}
|
|
.button-blackish {
|
|
@extend %button;
|
|
background: $blackish;
|
|
color: $whitish;
|
|
&:hover {
|
|
background: $blackish;
|
|
color: $white;
|
|
}
|
|
}
|
|
.button-red {
|
|
@extend %button;
|
|
background: $red-light;
|
|
&:hover {
|
|
background: $red;
|
|
color: $white;
|
|
}
|
|
.icon {
|
|
color: $white;
|
|
}
|
|
}
|
|
|
|
.button-bulk {
|
|
@extend %button;
|
|
background: $primary;
|
|
padding: .35rem .5rem;
|
|
.icon {
|
|
fill: currentColor;
|
|
margin-right: 0;
|
|
position: relative;
|
|
top: 1px;
|
|
}
|
|
&:hover {
|
|
background: $primary-light;
|
|
}
|
|
}
|
|
.button-auth {
|
|
@extend %button;
|
|
background: $grayer;
|
|
.icon,
|
|
img {
|
|
@extend %large;
|
|
color: $white;
|
|
margin-right: .5rem;
|
|
}
|
|
&:hover {
|
|
background: $black;
|
|
}
|
|
}
|