2020-06-17 09:52:03 +00:00
|
|
|
.wc-block-components-button:not(.is-link) {
|
|
|
|
@include reset-typography();
|
|
|
|
align-items: center;
|
|
|
|
display: inline-flex;
|
|
|
|
font-weight: bold;
|
|
|
|
min-height: 3em;
|
|
|
|
justify-content: center;
|
|
|
|
line-height: 1;
|
|
|
|
padding: 0 em($gap);
|
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
text-transform: none;
|
|
|
|
position: relative;
|
2022-02-09 17:32:05 +00:00
|
|
|
transition: box-shadow 0.1s linear;
|
2020-06-17 09:52:03 +00:00
|
|
|
|
2022-02-09 17:32:05 +00:00
|
|
|
&:focus {
|
|
|
|
box-shadow: 0 0 0 2px $studio-blue;
|
|
|
|
box-shadow: inset 0 0 0 1px $white, 0 0 0 2px $studio-blue;
|
|
|
|
outline: 3px solid transparent;
|
2020-06-17 09:52:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-components-button__text {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
> svg {
|
|
|
|
fill: currentColor;
|
|
|
|
}
|
|
|
|
}
|
2021-06-16 12:44:40 +00:00
|
|
|
.wc-block-components-spinner + .wc-block-components-button__text {
|
2020-06-17 09:52:03 +00:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
2022-02-09 17:32:05 +00:00
|
|
|
|
|
|
|
&.text {
|
|
|
|
color: $gray-900;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.contained {
|
|
|
|
background-color: $gray-900;
|
|
|
|
color: $white;
|
|
|
|
|
|
|
|
&:disabled,
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
background-color: $gray-900;
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.outlined {
|
|
|
|
background-color: transparent;
|
|
|
|
color: $gray-900;
|
|
|
|
|
2022-07-25 05:39:47 +00:00
|
|
|
&:not(:focus) {
|
|
|
|
box-shadow: inset 0 0 0 1px $gray-900;
|
|
|
|
}
|
|
|
|
|
2022-02-09 17:32:05 +00:00
|
|
|
&:disabled,
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
background-color: $gray-900;
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $gray-900;
|
|
|
|
color: $white;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2020-06-17 09:52:03 +00:00
|
|
|
}
|