1
0
mirror of synced 2024-11-27 15:26:02 +03:00
select2/themes/learn2/scss/theme/modules/_buttons.scss

21 lines
371 B
SCSS
Raw Normal View History

2017-09-03 03:34:47 +03:00
%button {
display: inline-block;
padding: 7px 12px;
&:active {
margin: 2px 0 -2px 0;
}
}
@mixin button-color($color) {
background: $color;
color: $white;
box-shadow: 0 3px 0 darken($color, 6%);
&:hover {
background: darken($color, 6%);
box-shadow: 0 3px 0 darken($color, 12%);
color: $white;
}
&:active {
box-shadow: 0 1px 0 darken($color, 12%);
}
}