@use '../../assets/styles/variables' as *; @use '../../assets/styles/mixins' as *; @use '../../assets/styles/headings' as *; .resets { border: none; cursor: pointer; } .button { @extend .resets; @extend %headingFont; @include transition(); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; color: $textColor; border-radius: $borderRadiusLarge; &:disabled { pointer-events: none; opacity: 0.5; } } .block { width: 100%; } .noWrap { white-space: nowrap; } .letterSpacing { letter-spacing: 0.08em; } .large { max-height: 48px; padding: 16px 32px; font-size: 14px; line-height: 16px; .icon { margin-right: 10px; } } .medium { max-height: 40px; padding: 12px 24px; font-size: 14px; line-height: 16px; .icon { margin-right: 10px; } } .small { max-height: 24px; padding: 6px 16px; font-size: 12px; line-height: 12px; .icon { margin-right: 6px; } } .noText { padding: 10px 12px; } .primary { background-color: $buttonColor; &:hover { background-color: $buttonColorHover; } } .secondary { background-color: $buttonColorSecondary; &:hover { background-color: $buttonColorSecondaryHover; } } .light { background-color: $buttonColorLight; &:hover { background-color: $buttonColorLightHover; } } .lightGreen { color: $successColor; background-color: $buttonColorLightGreen; &:hover { background-color: $buttonColorLightGreenHover; } } .grey { background-color: #414141; &:hover { background-color: #5e5e60; } } .gradient { background-image: $buttonColorGradient; position: relative; z-index: 1; &::before { @include transition(); content: ''; position: absolute; width: 100%; height: 100%; border-radius: $borderRadiusLarge; background-image: $buttonColorGradientHover; z-index: -1; opacity: 0; } &:hover { &::before { opacity: 1; } } } .transparent { padding: 0; background-color: transparent; &:hover { opacity: 0.5; } }