Add custom Button styles
This commit is contained in:
parent
5f3b1dadce
commit
a991011115
1 changed files with 20 additions and 3 deletions
|
|
@ -7,14 +7,16 @@
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
font-size: $font-button;
|
font-size: $font-button;
|
||||||
font-weight: $normal;
|
font-weight: $normal;
|
||||||
|
justify-content: center;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
transition: 0.18s opacity ease-in-out;
|
transition: 0.18s opacity ease-in-out;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
|
align-items: center;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
display: block;
|
display: flex;
|
||||||
width: 100%;
|
// width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
|
|
@ -35,6 +37,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Modifiers
|
// Modifiers
|
||||||
|
&.full {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.grow {
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
|
||||||
&.blended {
|
&.blended {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
@ -108,6 +118,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@include breakpoint(phone) {
|
||||||
|
&.remixed {
|
||||||
|
.text {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Sizes
|
// Sizes
|
||||||
&.icon {
|
&.icon {
|
||||||
aspect-ratio: 1 / 1;
|
aspect-ratio: 1 / 1;
|
||||||
|
|
@ -215,7 +233,6 @@
|
||||||
|
|
||||||
&.options {
|
&.options {
|
||||||
box-shadow: 0px 1px 3px rgb(0 0 0 / 14%);
|
box-shadow: 0px 1px 3px rgb(0 0 0 / 14%);
|
||||||
|
|
||||||
left: 8px;
|
left: 8px;
|
||||||
top: 8px;
|
top: 8px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue