taiga-front/app/styles/components/buttons.scss

117 lines
1.9 KiB
SCSS
Executable File

// Buttons components
.trans-button {
@extend %large;
@extend %title;
text-transform: uppercase;
&:hover,
&.active {
@include transition (color .3s linear);
color: $green-taiga;
}
.icon {
margin-right: .3rem;
}
}
%button,
.button {
@extend %medium;
@extend %title;
@include transition (background .3s linear);
display: inline-block;
padding: 7px 40px 6px;
text-transform: uppercase;
&:hover {
@include transition (background .3s linear);
}
.icon {
margin-right: .3rem;
}
}
a.button-green {
background: $green-taiga;
color: $white;
vertical-align: middle;
&:hover,
&.active {
background: $fresh-taiga;
}
span {
color: $white;
}
}
.button-gray {
background: $button-gray;
&:hover {
background: $button-gray-hover;
color: $white;
}
span {
color: $white;
}
}
.button-blackish {
background: $blackish;
color: $whitish;
&:hover {
background: $button-gray-hover;
color: $white;
}
span {
color: $white;
}
}
.button-red {
background: $red-light;
&:hover {
background: $red;
color: $white;
}
span {
color: $white;
}
}
.button-orange {
background: $orange;
&:hover {
background: lighten($orange, 10%);
color: $white;
}
span {
color: $white;
}
}
.button-block {
background: $white;
color: $red;
&:hover {
background: $red-light;
color: $white;
}
}
.button-bulk {
@extend %button;
background: $green-taiga;
font-size: 22px;
margin-left: 2px;
padding: 5px;
vertical-align: middle;
span {
color: $white;
}
.icon {
margin-right: 0;
}
&:hover {
@include transition (background .3s linear);
background: $fresh-taiga;
}
}