mirror of
https://github.com/pierre42100/comunic
synced 2024-11-17 11:01:13 +00:00
25 lines
386 B
SCSS
25 lines
386 B
SCSS
|
%button {
|
||
|
display: inline-block;
|
||
|
padding: 7px 20px;
|
||
|
|
||
|
&.button-small {
|
||
|
padding: 3px 10px;
|
||
|
font-size: $core-font-size - 0.1rem;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
@mixin button-color($color) {
|
||
|
background: $white;
|
||
|
color: $color;
|
||
|
border: 1px solid $color;
|
||
|
border-radius: 3px;
|
||
|
&:hover {
|
||
|
background: $color;
|
||
|
color: $white;
|
||
|
}
|
||
|
&:active {
|
||
|
box-shadow: 0 1px 0 darken($color, 12%);
|
||
|
}
|
||
|
}
|