mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-04-02 13:22:39 +00:00
28 lines
469 B
SCSS
28 lines
469 B
SCSS
@import "../variables.scss";
|
|
|
|
@mixin set-button-style($color, $shadow-color) {
|
|
box-sizing: border-box;
|
|
border-radius: 10px;
|
|
background: $color;
|
|
border: 1.5px solid $color;
|
|
|
|
font-style: normal;
|
|
font-weight: bold;
|
|
font-size: 14px;
|
|
line-height: 26px;
|
|
height: $space;
|
|
margin-right: $tiny;
|
|
color: $tao-btn-font-color;
|
|
outline: none;
|
|
|
|
&:active {
|
|
opacity: 0.5;
|
|
box-shadow: none;
|
|
}
|
|
|
|
&:hover {
|
|
box-shadow: 0 0 8px $shadow-color;
|
|
}
|
|
}
|
|
|