initial commit
This commit is contained in:
commit
e869a1cab4
107 changed files with 9029 additions and 0 deletions
33
app/assets/less/mixins/button.less
Normal file
33
app/assets/less/mixins/button.less
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
|
||||
.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%;
|
||||
}
|
||||
Reference in a new issue