Archived
1
0
Fork 0
This repository has been archived on 2026-04-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
httpcb/app/assets/less/mixins/button.less
2017-09-01 17:10:27 +02:00

33 lines
625 B
Text

.button-variant(@color, @background, @hover: darken(@background, 10%)) {
color: @color;
background-color: @background;
&:hover,
&:active {
color: @color;
background-color: @hover;
}
}
.button-outline-variant(@color, @background) {
box-shadow: inset 0 0 0 2px @background;
color: @background;
&:hover,
&:active {
color: @color;
background-color: @background;
}
}
.button-circle(@width) {
display: block;
text-align: center;
width: @width;
height: @width;
line-height: @width;
border-radius: 50%;
}