| 1 |
.ezd-btn { |
| 2 |
--btn-fs: var(--fs-16); |
| 3 |
--btn-ff: #{$font}; |
| 4 |
--btn-py: 0.5rem; |
| 5 |
--btn-px: 1.6rem; |
| 6 |
|
| 7 |
@include btn(); |
| 8 |
|
| 9 |
&-sm { |
| 10 |
--btn-py: 0.3125rem; |
| 11 |
} |
| 12 |
|
| 13 |
&-lg { |
| 14 |
--btn-py: 0.625rem; |
| 15 |
} |
| 16 |
|
| 17 |
&-xl { |
| 18 |
--btn-py: 0.75rem; |
| 19 |
} |
| 20 |
|
| 21 |
&-none { |
| 22 |
--btn-radius: 0; |
| 23 |
} |
| 24 |
|
| 25 |
&-round { |
| 26 |
--btn-radius: 0.375rem; |
| 27 |
} |
| 28 |
|
| 29 |
&-rounded { |
| 30 |
--btn-radius: 1.875rem; |
| 31 |
} |
| 32 |
|
| 33 |
&-round-full { |
| 34 |
--btn-radius: 50%; |
| 35 |
} |
| 36 |
|
| 37 |
&-disabled { |
| 38 |
pointer-events: none; |
| 39 |
opacity: 0.65; |
| 40 |
} |
| 41 |
|
| 42 |
&-black-light { |
| 43 |
@include btn-color(rgba(#0D0E2B, 0.1), #0D0E2B, $border-color: transparent, $h-bg: rgba(#0D0E2B, 0.1), $h-color: #0D0E2B, $h-border-color: #0D0E2B, $f-width: 0); |
| 44 |
} |
| 45 |
|
| 46 |
&-green-light { |
| 47 |
@include btn-color(rgba(#2DB22D, 0.1), #2DB22D, $border-color: transparent, $h-bg: rgba(#2DB22D, 0.1), $h-color: #2DB22D, $h-border-color: #2DB22D, $f-width: 0); |
| 48 |
} |
| 49 |
|
| 50 |
&-blue-light { |
| 51 |
@include btn-color(rgba(#0275D8, 0.1), #0275D8, $border-color: transparent, $h-bg: rgba(#0275D8, 0.1), $h-color: #0275D8, $h-border-color: #0275D8, $f-width: 0); |
| 52 |
} |
| 53 |
|
| 54 |
&-orange-light { |
| 55 |
@include btn-color(rgba(#CC8033, 0.1), #CC8033, $border-color: transparent, $h-bg: rgba(#CC8033, 0.1), $h-color: #CC8033, $h-border-color: #CC8033, $f-width: 0); |
| 56 |
} |
| 57 |
|
| 58 |
&-gray-light { |
| 59 |
@include btn-color(rgba(#424242, 0.1), #424242, $border-color: transparent, $h-bg: rgba(#424242, 0.1), $h-color: #424242, $h-border-color: #424242, $f-width: 0); |
| 60 |
} |
| 61 |
|
| 62 |
// &-outline-black { |
| 63 |
// @include btn-outline(var(--clr-black)); |
| 64 |
// } |
| 65 |
|
| 66 |
&-blue { |
| 67 |
@include btn-color(var(--frmx_brand_color), $f-color: #4141E6); |
| 68 |
} |
| 69 |
|
| 70 |
&-outline-blue { |
| 71 |
@include btn-outline(#4141E6); |
| 72 |
} |
| 73 |
|
| 74 |
&-white { |
| 75 |
@include btn-color(var(--clr-white), $f-color: #fff); |
| 76 |
} |
| 77 |
|
| 78 |
&-outline-white { |
| 79 |
@include btn-outline(var(--clr-white), var(--clr-black)); |
| 80 |
} |
| 81 |
|
| 82 |
&-gray { |
| 83 |
@include btn-color(rgba(#252733, 0.1), $color: var(--clr-dark), $h-bg: var(--frmx_brand_color), $border-color: transparent, $h-color: var(--clr-white), $h-border-color: transparent, $f-width: 0); |
| 84 |
} |
| 85 |
} |
| 86 |
|
| 87 |
// Empty state actions styling |
| 88 |
.forumax-empty-actions { |
| 89 |
display: flex; |
| 90 |
align-items: center; |
| 91 |
justify-content: center; |
| 92 |
gap: 12px; |
| 93 |
margin-top: 20px; |
| 94 |
|
| 95 |
.ezd-btn { |
| 96 |
display: inline-flex; |
| 97 |
align-items: center; |
| 98 |
gap: 6px; |
| 99 |
|
| 100 |
.dashicons { |
| 101 |
font-size: 18px; |
| 102 |
width: 18px; |
| 103 |
height: 18px; |
| 104 |
line-height: 1; |
| 105 |
} |
| 106 |
} |
| 107 |
} |
| 108 |
|
| 109 |
.forumax-actions-separator { |
| 110 |
color: #6b7280; |
| 111 |
font-size: 14px; |
| 112 |
font-weight: 500; |
| 113 |
} |
| 114 |
|
| 115 |
// Import Demo Data button styling |
| 116 |
.forumax-import-demo-btn { |
| 117 |
background: linear-gradient(135deg, #7c3aed, #a855f7) !important; |
| 118 |
border-color: transparent !important; |
| 119 |
color: #fff !important; |
| 120 |
transition: all 0.3s ease; |
| 121 |
|
| 122 |
&:hover { |
| 123 |
background: linear-gradient(135deg, #6d28d9, #9333ea) !important; |
| 124 |
transform: translateY(-1px); |
| 125 |
box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3); |
| 126 |
} |
| 127 |
|
| 128 |
&:focus { |
| 129 |
outline: none; |
| 130 |
box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3); |
| 131 |
} |
| 132 |
|
| 133 |
.dashicons { |
| 134 |
color: #fff; |
| 135 |
} |
| 136 |
} |