king-addons
/
includes
/
extensions
/
Template_Catalog_Button
/
assets
/
template-catalog-button.css
template-catalog-button.css in King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder 51.1.76, at includes/extensions/Template_Catalog_Button/assets/template-catalog-button.css
| 1 | /** |
| 2 | * King Addons Template Catalog Button Styles |
| 3 | * Styles for the template catalog button in Elementor content area |
| 4 | */ |
| 5 | |
| 6 | /* Content Area Button Container */ |
| 7 | .king-addons-template-catalog-content-area { |
| 8 | display: flex; |
| 9 | flex-direction: column; |
| 10 | align-items: center; |
| 11 | justify-content: center; |
| 12 | padding: 40px 20px; |
| 13 | text-align: center; |
| 14 | min-height: 200px; |
| 15 | border: 2px dashed #e0e0e0; |
| 16 | border-radius: 12px; |
| 17 | background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); |
| 18 | margin: 20px; |
| 19 | transition: all 0.3s ease; |
| 20 | } |
| 21 | |
| 22 | .king-addons-template-catalog-content-area:hover { |
| 23 | border-color: #6366f1; |
| 24 | background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%); |
| 25 | } |
| 26 | |
| 27 | /* Overlay Container */ |
| 28 | .king-addons-template-catalog-overlay { |
| 29 | position: fixed; |
| 30 | top: 50%; |
| 31 | left: 50%; |
| 32 | transform: translate(-50%, -50%); |
| 33 | z-index: 999999; |
| 34 | background: white; |
| 35 | padding: 30px; |
| 36 | border-radius: 12px; |
| 37 | box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); |
| 38 | text-align: center; |
| 39 | max-width: 400px; |
| 40 | } |
| 41 | |
| 42 | /* Main Button Styles */ |
| 43 | .king-addons-template-catalog-btn { |
| 44 | display: inline-flex; |
| 45 | align-items: center; |
| 46 | justify-content: center; |
| 47 | padding: 16px 32px; |
| 48 | background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); |
| 49 | color: #ffffff; |
| 50 | border: none; |
| 51 | border-radius: 12px; |
| 52 | font-size: 16px; |
| 53 | font-weight: 600; |
| 54 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; |
| 55 | text-decoration: none; |
| 56 | cursor: pointer; |
| 57 | transition: all 0.3s ease; |
| 58 | box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); |
| 59 | outline: none; |
| 60 | user-select: none; |
| 61 | min-width: 200px; |
| 62 | } |
| 63 | |
| 64 | /* Content Area Button Specific Styles */ |
| 65 | .king-addons-template-catalog-btn.king-addons-content-area-btn { |
| 66 | padding: 18px 36px; |
| 67 | font-size: 18px; |
| 68 | border-radius: 14px; |
| 69 | box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4); |
| 70 | } |
| 71 | |
| 72 | /* Button Hover State */ |
| 73 | .king-addons-template-catalog-btn:hover { |
| 74 | background: linear-gradient(135deg, #5855eb 0%, #7c3aed 100%); |
| 75 | box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5); |
| 76 | transform: translateY(-2px); |
| 77 | color: #ffffff; |
| 78 | } |
| 79 | |
| 80 | .king-addons-content-area-btn:hover { |
| 81 | box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6); |
| 82 | transform: translateY(-3px); |
| 83 | } |
| 84 | |
| 85 | /* Button Active State */ |
| 86 | .king-addons-template-catalog-btn:active { |
| 87 | transform: translateY(0); |
| 88 | box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); |
| 89 | } |
| 90 | |
| 91 | /* Button Focus State */ |
| 92 | .king-addons-template-catalog-btn:focus { |
| 93 | box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2), 0 4px 12px rgba(99, 102, 241, 0.3); |
| 94 | } |
| 95 | |
| 96 | /* Icon Styles */ |
| 97 | .king-addons-template-catalog-btn i { |
| 98 | margin-right: 12px; |
| 99 | font-size: 18px; |
| 100 | line-height: 1; |
| 101 | } |
| 102 | |
| 103 | .king-addons-content-area-btn i { |
| 104 | font-size: 20px; |
| 105 | margin-right: 14px; |
| 106 | } |
| 107 | |
| 108 | /* Text Styles */ |
| 109 | .king-addons-template-catalog-btn .king-addons-btn-text { |
| 110 | font-weight: 600; |
| 111 | letter-spacing: 0.025em; |
| 112 | } |
| 113 | |
| 114 | /* Title and Subtitle in Content Area */ |
| 115 | .king-addons-template-catalog-content-area h3 { |
| 116 | margin: 0 0 16px 0; |
| 117 | font-size: 24px; |
| 118 | font-weight: 600; |
| 119 | color: #334155; |
| 120 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; |
| 121 | } |
| 122 | |
| 123 | .king-addons-template-catalog-content-area p { |
| 124 | margin: 0 0 24px 0; |
| 125 | font-size: 16px; |
| 126 | color: #64748b; |
| 127 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; |
| 128 | line-height: 1.5; |
| 129 | } |
| 130 | |
| 131 | /* Responsive Adjustments */ |
| 132 | @media (max-width: 768px) { |
| 133 | .king-addons-template-catalog-content-area { |
| 134 | padding: 30px 15px; |
| 135 | min-height: 150px; |
| 136 | margin: 15px; |
| 137 | } |
| 138 | |
| 139 | .king-addons-template-catalog-content-area h3 { |
| 140 | font-size: 20px; |
| 141 | } |
| 142 | |
| 143 | .king-addons-template-catalog-content-area p { |
| 144 | font-size: 14px; |
| 145 | } |
| 146 | |
| 147 | .king-addons-template-catalog-btn { |
| 148 | padding: 14px 28px; |
| 149 | font-size: 15px; |
| 150 | min-width: 180px; |
| 151 | } |
| 152 | |
| 153 | .king-addons-content-area-btn { |
| 154 | padding: 16px 30px; |
| 155 | font-size: 16px; |
| 156 | } |
| 157 | |
| 158 | .king-addons-template-catalog-btn i { |
| 159 | font-size: 16px; |
| 160 | margin-right: 10px; |
| 161 | } |
| 162 | |
| 163 | .king-addons-content-area-btn i { |
| 164 | font-size: 18px; |
| 165 | margin-right: 12px; |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | @media (max-width: 480px) { |
| 170 | .king-addons-template-catalog-content-area { |
| 171 | padding: 25px 10px; |
| 172 | margin: 10px; |
| 173 | } |
| 174 | |
| 175 | .king-addons-template-catalog-btn { |
| 176 | padding: 12px 24px; |
| 177 | font-size: 14px; |
| 178 | min-width: 160px; |
| 179 | } |
| 180 | |
| 181 | .king-addons-template-catalog-overlay { |
| 182 | max-width: 90%; |
| 183 | padding: 20px; |
| 184 | } |
| 185 | } |
| 186 | |
| 187 | /* Animation for smooth appearance */ |
| 188 | @keyframes king-addons-fade-in { |
| 189 | from { |
| 190 | opacity: 0; |
| 191 | transform: translateY(20px); |
| 192 | } |
| 193 | to { |
| 194 | opacity: 1; |
| 195 | transform: translateY(0); |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | .king-addons-template-catalog-content-area { |
| 200 | animation: king-addons-fade-in 0.5s ease-out; |
| 201 | } |
| 202 | |
| 203 | .king-addons-template-catalog-overlay { |
| 204 | animation: king-addons-fade-in 0.3s ease-out; |
| 205 | } |
| 206 | |
| 207 | /* Dark Mode Support */ |
| 208 | @media (prefers-color-scheme: dark) { |
| 209 | .king-addons-template-catalog-content-area { |
| 210 | background: linear-gradient(135deg, #1e293b 0%, #334155 100%); |
| 211 | border-color: #475569; |
| 212 | } |
| 213 | |
| 214 | .king-addons-template-catalog-content-area h3 { |
| 215 | color: #f1f5f9; |
| 216 | } |
| 217 | |
| 218 | .king-addons-template-catalog-content-area p { |
| 219 | color: #cbd5e1; |
| 220 | } |
| 221 | |
| 222 | .king-addons-template-catalog-overlay { |
| 223 | background: #1e293b; |
| 224 | color: #f1f5f9; |
| 225 | } |
| 226 | |
| 227 | .king-addons-template-catalog-btn { |
| 228 | box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5); |
| 229 | } |
| 230 | } |
| 231 | |
| 232 | /* High Contrast Mode Support */ |
| 233 | @media (prefers-contrast: high) { |
| 234 | .king-addons-template-catalog-btn { |
| 235 | border: 2px solid #ffffff; |
| 236 | font-weight: 700; |
| 237 | } |
| 238 | |
| 239 | .king-addons-template-catalog-content-area { |
| 240 | border-width: 3px; |
| 241 | border-style: solid; |
| 242 | } |
| 243 | } |
| 244 | |
| 245 | /* Reduced Motion Support */ |
| 246 | @media (prefers-reduced-motion: reduce) { |
| 247 | .king-addons-template-catalog-btn { |
| 248 | transition: none; |
| 249 | } |
| 250 | |
| 251 | .king-addons-template-catalog-btn:hover { |
| 252 | transform: none; |
| 253 | } |
| 254 | |
| 255 | .king-addons-template-catalog-content-area { |
| 256 | animation: none; |
| 257 | transition: none; |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | /* Print Styles */ |
| 262 | @media print { |
| 263 | .king-addons-template-catalog-content-area, |
| 264 | .king-addons-template-catalog-overlay { |
| 265 | display: none; |
| 266 | } |
| 267 | } |
| 268 |