skillbox/client/src/styles/_buttons.scss

46 lines
762 B
SCSS

.button {
background: transparent;
padding: 5px 15px;
font-family: $sans-serif-font-family;
font-weight: $font-weight-regular;
display: inline-flex;
cursor: pointer;
@include small-text;
@include button-border;
&--white-bg {
background-color: $color-white;
}
@mixin disabled {
cursor: default;
}
&--disabled {
@include disabled;
background-color: $color-silver-light;
}
&--disabled-alt {
@include disabled;
opacity: 0.3;
}
&--big {
padding: 15px;
}
}
.icon-button {
display: flex;
justify-content: center;
align-items: center;
width: 50px;
height: 50px;
&__icon {
width: 25px;
height: 25px;
fill: $color-silver-dark;
cursor: pointer;
justify-self: center;
}
}