| 1 |
.king-addons-testimonials-wall { |
| 2 |
--ka-tw-gap: 24px; |
| 3 |
--ka-tw-cols: 3; |
| 4 |
--ka-tw-item-min: 220px; |
| 5 |
--ka-tw-max-width: 100%; |
| 6 |
--ka-tw-text-color: #0f172a; |
| 7 |
--ka-tw-text-line-height: 1.6em; |
| 8 |
--ka-tw-muted-color: #64748b; |
| 9 |
--ka-tw-border-color: #e2e8f0; |
| 10 |
--ka-tw-card-bg: #ffffff; |
| 11 |
--ka-tw-card-hover-translate: 4px; |
| 12 |
--ka-tw-card-hover-duration: 0.2s; |
| 13 |
--ka-tw-filters-gap: 12px; |
| 14 |
--ka-tw-filter-group-gap: 8px; |
| 15 |
--ka-tw-chip-text: #0f172a; |
| 16 |
--ka-tw-chip-bg: #f1f5f9; |
| 17 |
--ka-tw-chip-border: #e2e8f0; |
| 18 |
--ka-tw-chip-active-text: #ffffff; |
| 19 |
--ka-tw-chip-active-bg: #111827; |
| 20 |
--ka-tw-chip-active-border: #111827; |
| 21 |
--ka-tw-star-size: 16px; |
| 22 |
--ka-tw-star-gap: 2px; |
| 23 |
--ka-tw-star-color: #f59e0b; |
| 24 |
--ka-tw-star-muted: #e2e8f0; |
| 25 |
--ka-tw-row: 8px; |
| 26 |
--ka-tw-skeleton-base: #e2e8f0; |
| 27 |
--ka-tw-skeleton-shine: #f8fafc; |
| 28 |
color: var(--ka-tw-text-color); |
| 29 |
} |
| 30 |
|
| 31 |
.king-addons-testimonials-wall__inner { |
| 32 |
max-width: var(--ka-tw-max-width, 100%); |
| 33 |
margin: 0 auto; |
| 34 |
} |
| 35 |
|
| 36 |
.king-addons-testimonials-wall__layout { |
| 37 |
display: flex; |
| 38 |
flex-direction: column; |
| 39 |
gap: var(--ka-tw-gap); |
| 40 |
} |
| 41 |
|
| 42 |
.king-addons-testimonials-wall--filters-left .king-addons-testimonials-wall__layout { |
| 43 |
display: grid; |
| 44 |
grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); |
| 45 |
align-items: start; |
| 46 |
} |
| 47 |
|
| 48 |
.king-addons-testimonials-wall__filters { |
| 49 |
display: flex; |
| 50 |
flex-wrap: wrap; |
| 51 |
gap: var(--ka-tw-filters-gap); |
| 52 |
align-items: center; |
| 53 |
justify-content: flex-start; |
| 54 |
} |
| 55 |
|
| 56 |
.king-addons-testimonials-wall--filters-left .king-addons-testimonials-wall__filters { |
| 57 |
flex-direction: column; |
| 58 |
align-items: stretch; |
| 59 |
} |
| 60 |
|
| 61 |
.king-addons-testimonials-wall__filter-group { |
| 62 |
display: flex; |
| 63 |
flex-wrap: wrap; |
| 64 |
gap: var(--ka-tw-filter-group-gap); |
| 65 |
align-items: center; |
| 66 |
} |
| 67 |
|
| 68 |
.king-addons-testimonials-wall--filters-left .king-addons-testimonials-wall__filter-group { |
| 69 |
width: 100%; |
| 70 |
} |
| 71 |
|
| 72 |
.king-addons-testimonials-wall__filter-chip { |
| 73 |
display: inline-flex; |
| 74 |
align-items: center; |
| 75 |
justify-content: center; |
| 76 |
gap: 6px; |
| 77 |
padding: 6px 12px; |
| 78 |
border-radius: 999px; |
| 79 |
border: 1px solid var(--ka-tw-chip-border); |
| 80 |
background-color: var(--ka-tw-chip-bg); |
| 81 |
color: var(--ka-tw-chip-text); |
| 82 |
font-size: 13px; |
| 83 |
font-weight: 600; |
| 84 |
cursor: pointer; |
| 85 |
transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; |
| 86 |
} |
| 87 |
|
| 88 |
.king-addons-testimonials-wall[data-chip-style="outline"] .king-addons-testimonials-wall__filter-chip { |
| 89 |
background-color: transparent; |
| 90 |
} |
| 91 |
|
| 92 |
.king-addons-testimonials-wall__filter-chip:hover { |
| 93 |
transform: translateY(-1px); |
| 94 |
} |
| 95 |
|
| 96 |
.king-addons-testimonials-wall__filter-chip.is-active { |
| 97 |
background-color: var(--ka-tw-chip-active-bg); |
| 98 |
color: var(--ka-tw-chip-active-text); |
| 99 |
border-color: var(--ka-tw-chip-active-border); |
| 100 |
} |
| 101 |
|
| 102 |
.king-addons-testimonials-wall__filter-chip:focus-visible, |
| 103 |
.king-addons-testimonials-wall__read-more:focus-visible, |
| 104 |
.king-addons-testimonials-wall__load-more-btn:focus-visible, |
| 105 |
.king-addons-testimonials-wall__search-input:focus-visible, |
| 106 |
.king-addons-testimonials-wall__rating-select:focus-visible { |
| 107 |
outline: 2px solid var(--ka-tw-text-color); |
| 108 |
outline-offset: 2px; |
| 109 |
} |
| 110 |
|
| 111 |
.king-addons-testimonials-wall__search-input, |
| 112 |
.king-addons-testimonials-wall__rating-select { |
| 113 |
width: 100%; |
| 114 |
min-width: 200px; |
| 115 |
padding: 8px 12px; |
| 116 |
border-radius: 10px; |
| 117 |
border: 1px solid var(--ka-tw-border-color); |
| 118 |
background-color: #ffffff; |
| 119 |
color: var(--ka-tw-text-color); |
| 120 |
font-size: 14px; |
| 121 |
} |
| 122 |
|
| 123 |
.king-addons-testimonials-wall__search-input::placeholder { |
| 124 |
color: var(--ka-tw-muted-color); |
| 125 |
} |
| 126 |
|
| 127 |
.king-addons-testimonials-wall__grid { |
| 128 |
display: grid; |
| 129 |
gap: var(--ka-tw-gap); |
| 130 |
grid-template-columns: repeat(var(--ka-tw-cols), minmax(0, 1fr)); |
| 131 |
} |
| 132 |
|
| 133 |
.king-addons-testimonials-wall[data-auto-cols="yes"] .king-addons-testimonials-wall__grid { |
| 134 |
grid-template-columns: repeat(auto-fit, minmax(var(--ka-tw-item-min, 220px), 1fr)); |
| 135 |
} |
| 136 |
|
| 137 |
.king-addons-testimonials-wall--layout-masonry.is-masonry .king-addons-testimonials-wall__grid { |
| 138 |
grid-auto-rows: var(--ka-tw-row, 8px); |
| 139 |
} |
| 140 |
|
| 141 |
.king-addons-testimonials-wall__item { |
| 142 |
transition: opacity 0.2s ease, transform 0.2s ease; |
| 143 |
} |
| 144 |
|
| 145 |
.king-addons-testimonials-wall__item.is-hidden { |
| 146 |
display: none; |
| 147 |
} |
| 148 |
|
| 149 |
.king-addons-testimonials-wall__item.is-fading-out, |
| 150 |
.king-addons-testimonials-wall__item.is-revealing { |
| 151 |
opacity: 0; |
| 152 |
transform: translateY(8px); |
| 153 |
} |
| 154 |
|
| 155 |
.king-addons-testimonials-wall__card { |
| 156 |
display: flex; |
| 157 |
flex-direction: column; |
| 158 |
gap: 12px; |
| 159 |
height: 100%; |
| 160 |
padding: 20px; |
| 161 |
background-color: var(--ka-tw-card-bg); |
| 162 |
border: 1px solid var(--ka-tw-border-color); |
| 163 |
border-radius: 16px; |
| 164 |
box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06); |
| 165 |
transition: transform var(--ka-tw-card-hover-duration) ease, box-shadow var(--ka-tw-card-hover-duration) ease; |
| 166 |
} |
| 167 |
|
| 168 |
.king-addons-testimonials-wall__card:hover { |
| 169 |
transform: translateY(calc(var(--ka-tw-card-hover-translate) * -1)); |
| 170 |
} |
| 171 |
|
| 172 |
.king-addons-testimonials-wall__header { |
| 173 |
display: flex; |
| 174 |
align-items: center; |
| 175 |
gap: 12px; |
| 176 |
} |
| 177 |
|
| 178 |
.king-addons-testimonials-wall__avatar { |
| 179 |
width: 44px; |
| 180 |
height: 44px; |
| 181 |
border-radius: 50%; |
| 182 |
overflow: hidden; |
| 183 |
flex-shrink: 0; |
| 184 |
} |
| 185 |
|
| 186 |
.king-addons-testimonials-wall__avatar img { |
| 187 |
width: 100%; |
| 188 |
height: 100%; |
| 189 |
object-fit: cover; |
| 190 |
display: block; |
| 191 |
} |
| 192 |
|
| 193 |
.king-addons-testimonials-wall__name { |
| 194 |
font-weight: 600; |
| 195 |
color: var(--ka-tw-text-color); |
| 196 |
} |
| 197 |
|
| 198 |
.king-addons-testimonials-wall__meta { |
| 199 |
font-size: 13px; |
| 200 |
color: var(--ka-tw-muted-color); |
| 201 |
} |
| 202 |
|
| 203 |
.king-addons-testimonials-wall__rating { |
| 204 |
display: inline-flex; |
| 205 |
align-items: center; |
| 206 |
gap: 6px; |
| 207 |
} |
| 208 |
|
| 209 |
.king-addons-testimonials-wall__stars { |
| 210 |
display: inline-flex; |
| 211 |
gap: var(--ka-tw-star-gap); |
| 212 |
} |
| 213 |
|
| 214 |
.king-addons-testimonials-wall__star { |
| 215 |
width: var(--ka-tw-star-size); |
| 216 |
height: var(--ka-tw-star-size); |
| 217 |
color: var(--ka-tw-star-muted); |
| 218 |
} |
| 219 |
|
| 220 |
.king-addons-testimonials-wall__star svg { |
| 221 |
width: 100%; |
| 222 |
height: 100%; |
| 223 |
fill: currentColor; |
| 224 |
display: block; |
| 225 |
} |
| 226 |
|
| 227 |
.king-addons-testimonials-wall__star.is-filled { |
| 228 |
color: var(--ka-tw-star-color); |
| 229 |
} |
| 230 |
|
| 231 |
.king-addons-testimonials-wall__text { |
| 232 |
color: var(--ka-tw-text-color); |
| 233 |
line-height: 1.6; |
| 234 |
} |
| 235 |
|
| 236 |
.king-addons-testimonials-wall__empty { |
| 237 |
display: none; |
| 238 |
padding: 20px; |
| 239 |
border-radius: 12px; |
| 240 |
border: 1px dashed var(--ka-tw-border-color); |
| 241 |
background-color: #f8fafc; |
| 242 |
color: var(--ka-tw-muted-color); |
| 243 |
text-align: center; |
| 244 |
} |
| 245 |
|
| 246 |
.king-addons-testimonials-wall.is-empty .king-addons-testimonials-wall__empty { |
| 247 |
display: block; |
| 248 |
} |
| 249 |
|
| 250 |
.king-addons-testimonials-wall.is-empty .king-addons-testimonials-wall__load-more { |
| 251 |
display: none; |
| 252 |
} |
| 253 |
|
| 254 |
.king-addons-testimonials-wall--read-more .king-addons-testimonials-wall__text { |
| 255 |
overflow: hidden; |
| 256 |
display: -webkit-box; |
| 257 |
-webkit-box-orient: vertical; |
| 258 |
-webkit-line-clamp: var(--ka-tw-read-more-lines, 4); |
| 259 |
max-height: calc(var(--ka-tw-read-more-lines, 4) * var(--ka-tw-text-line-height, 1.6em)); |
| 260 |
} |
| 261 |
|
| 262 |
.king-addons-testimonials-wall__item.is-expanded .king-addons-testimonials-wall__text { |
| 263 |
-webkit-line-clamp: initial; |
| 264 |
max-height: none; |
| 265 |
} |
| 266 |
|
| 267 |
.king-addons-testimonials-wall__read-more { |
| 268 |
align-self: flex-start; |
| 269 |
background: none; |
| 270 |
border: none; |
| 271 |
padding: 0; |
| 272 |
color: var(--ka-tw-muted-color); |
| 273 |
font-weight: 600; |
| 274 |
cursor: pointer; |
| 275 |
} |
| 276 |
|
| 277 |
.king-addons-testimonials-wall__read-more:hover { |
| 278 |
color: var(--ka-tw-text-color); |
| 279 |
} |
| 280 |
|
| 281 |
.king-addons-testimonials-wall__footer { |
| 282 |
display: flex; |
| 283 |
flex-wrap: wrap; |
| 284 |
gap: 8px; |
| 285 |
font-size: 12px; |
| 286 |
color: var(--ka-tw-muted-color); |
| 287 |
} |
| 288 |
|
| 289 |
.king-addons-testimonials-wall__load-more { |
| 290 |
display: flex; |
| 291 |
justify-content: center; |
| 292 |
} |
| 293 |
|
| 294 |
.king-addons-testimonials-wall__load-more-btn { |
| 295 |
padding: 10px 20px; |
| 296 |
border-radius: 999px; |
| 297 |
border: 1px solid var(--ka-tw-border-color); |
| 298 |
background-color: #ffffff; |
| 299 |
color: var(--ka-tw-text-color); |
| 300 |
font-weight: 600; |
| 301 |
cursor: pointer; |
| 302 |
transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; |
| 303 |
} |
| 304 |
|
| 305 |
.king-addons-testimonials-wall__load-more-btn:hover { |
| 306 |
background-color: var(--ka-tw-text-color); |
| 307 |
color: #ffffff; |
| 308 |
border-color: var(--ka-tw-text-color); |
| 309 |
} |
| 310 |
|
| 311 |
.king-addons-testimonials-wall.is-complete .king-addons-testimonials-wall__load-more { |
| 312 |
display: none; |
| 313 |
} |
| 314 |
|
| 315 |
.king-addons-testimonials-wall__skeletons { |
| 316 |
display: none; |
| 317 |
gap: var(--ka-tw-gap); |
| 318 |
grid-template-columns: repeat(var(--ka-tw-cols), minmax(0, 1fr)); |
| 319 |
} |
| 320 |
|
| 321 |
.king-addons-testimonials-wall.is-loading .king-addons-testimonials-wall__skeletons { |
| 322 |
display: grid; |
| 323 |
} |
| 324 |
|
| 325 |
.king-addons-testimonials-wall[data-auto-cols="yes"] .king-addons-testimonials-wall__skeletons { |
| 326 |
grid-template-columns: repeat(auto-fit, minmax(var(--ka-tw-item-min, 220px), 1fr)); |
| 327 |
} |
| 328 |
|
| 329 |
.king-addons-testimonials-wall__skeleton-card { |
| 330 |
min-height: 180px; |
| 331 |
border-radius: 16px; |
| 332 |
background: linear-gradient(90deg, var(--ka-tw-skeleton-base) 25%, var(--ka-tw-skeleton-shine) 50%, var(--ka-tw-skeleton-base) 75%); |
| 333 |
background-size: 200% 100%; |
| 334 |
animation: ka-tw-shimmer 1.4s ease infinite; |
| 335 |
} |
| 336 |
|
| 337 |
@keyframes ka-tw-shimmer { |
| 338 |
0% { |
| 339 |
background-position: 100% 0; |
| 340 |
} |
| 341 |
100% { |
| 342 |
background-position: -100% 0; |
| 343 |
} |
| 344 |
} |
| 345 |
|
| 346 |
@media (prefers-reduced-motion: reduce) { |
| 347 |
.king-addons-testimonials-wall { |
| 348 |
--ka-tw-card-hover-translate: 0px; |
| 349 |
--ka-tw-card-hover-duration: 0s; |
| 350 |
} |
| 351 |
|
| 352 |
.king-addons-testimonials-wall__item, |
| 353 |
.king-addons-testimonials-wall__card, |
| 354 |
.king-addons-testimonials-wall__filter-chip, |
| 355 |
.king-addons-testimonials-wall__load-more-btn { |
| 356 |
transition: none; |
| 357 |
} |
| 358 |
|
| 359 |
.king-addons-testimonials-wall__filter-chip:hover, |
| 360 |
.king-addons-testimonials-wall__card:hover { |
| 361 |
transform: none; |
| 362 |
} |
| 363 |
|
| 364 |
.king-addons-testimonials-wall__skeleton-card { |
| 365 |
animation: none; |
| 366 |
} |
| 367 |
} |
| 368 |
|
| 369 |
@media (max-width: 1024px) { |
| 370 |
.king-addons-testimonials-wall--filters-left .king-addons-testimonials-wall__layout { |
| 371 |
grid-template-columns: 1fr; |
| 372 |
} |
| 373 |
|
| 374 |
.king-addons-testimonials-wall__search-input, |
| 375 |
.king-addons-testimonials-wall__rating-select { |
| 376 |
min-width: 0; |
| 377 |
width: 100%; |
| 378 |
} |
| 379 |
} |
| 380 |
|
| 381 |
@media (max-width: 767px) { |
| 382 |
.king-addons-testimonials-wall__card { |
| 383 |
padding: 16px; |
| 384 |
} |
| 385 |
} |
| 386 |
|