File "ButtonElement.module.scss"
Full Path: /home/rubycabfbt/www/wp-content/plugins/envato-elements/src/js/react/components/Buttons/ButtonElement.module.scss
File size: 1.32 KB
MIME-type: text/plain
Charset: utf-8
@import '../../../../scss/mixins';
.button {
border-radius: 4px;
padding: 0 12px;
min-height: $buttonAndInputHeight;
font-size: 12px;
line-height: 20px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
font-weight: 400;
text-decoration: none;
cursor: pointer;
display: inline-flex;
align-items: center;
white-space: nowrap;
&[disabled] {
cursor: not-allowed;
}
@media screen and (width >= 1281px) {
font-size: 14px;
padding: 0 16px;
}
}
.primary {
@extend .button;
background: #9cee69;
border: 1px solid #9cee69;
color: #1a4200;
&:active,
&:focus,
&:hover {
background: #6cc832;
border-color: #6cc832;
color: #1a4200;
}
}
.ghost,
.secondary {
@extend .button;
background: #fff;
border: 1px solid #979797;
color: #979797;
&:active,
&:focus,
&:hover {
border-color: #23282d;
color: #23282d;
}
}
.warning {
@extend .button;
background: #fff;
border: 1px solid #ef3962;
color: #ef3962;
&:active,
&:focus,
&:hover {
background: #ef3962;
color: #fff;
}
}
.attention {
@extend .button;
background: #fff;
border: 1px solid #ef8539;
color: #ef8539;
&:active,
&:focus,
&:hover {
background: #ef8539;
color: #fff;
}
}