| 1 |
/** |
| 2 |
* Dashboard V3 Styles - Apple-inspired "Pro" UI |
| 3 |
* |
| 4 |
* Modern, premium design with glassmorphism, bento grids, and iOS aesthetics. |
| 5 |
* Inspired by high-end product pages like apple.com/iphone-17-pro |
| 6 |
* |
| 7 |
* @package King_Addons |
| 8 |
*/ |
| 9 |
|
| 10 |
/* ===== RESET & BASE ===== */ |
| 11 |
body.king-addons_page_king-addons-dashboard-v3, |
| 12 |
body.toplevel_page_king-addons { |
| 13 |
background: #f5f5f7 !important; |
| 14 |
} |
| 15 |
|
| 16 |
body.king-addons_page_king-addons-dashboard-v3.ka-v3-dark, |
| 17 |
body.toplevel_page_king-addons.ka-v3-dark { |
| 18 |
background: #000000 !important; |
| 19 |
} |
| 20 |
|
| 21 |
body.king-addons_page_king-addons-dashboard-v3 #wpcontent, |
| 22 |
body.king-addons_page_king-addons-dashboard-v3 #wpbody, |
| 23 |
body.king-addons_page_king-addons-dashboard-v3 #wpbody-content, |
| 24 |
body.toplevel_page_king-addons #wpcontent, |
| 25 |
body.toplevel_page_king-addons #wpbody, |
| 26 |
body.toplevel_page_king-addons #wpbody-content { |
| 27 |
background: #f5f5f7 !important; |
| 28 |
padding: 0 !important; |
| 29 |
} |
| 30 |
|
| 31 |
body.king-addons_page_king-addons-dashboard-v3.ka-v3-dark #wpcontent, |
| 32 |
body.king-addons_page_king-addons-dashboard-v3.ka-v3-dark #wpbody, |
| 33 |
body.king-addons_page_king-addons-dashboard-v3.ka-v3-dark #wpbody-content, |
| 34 |
body.toplevel_page_king-addons.ka-v3-dark #wpcontent, |
| 35 |
body.toplevel_page_king-addons.ka-v3-dark #wpbody, |
| 36 |
body.toplevel_page_king-addons.ka-v3-dark #wpbody-content { |
| 37 |
background: #000000 !important; |
| 38 |
} |
| 39 |
|
| 40 |
.ka-v3-wrap { |
| 41 |
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; |
| 42 |
max-width: 1400px; |
| 43 |
margin: 0 auto; |
| 44 |
padding: 60px 40px 120px 40px; |
| 45 |
color: #1d1d1f; |
| 46 |
transition: color 0.3s ease; |
| 47 |
} |
| 48 |
|
| 49 |
.ka-v3-wrap * { |
| 50 |
box-sizing: border-box; |
| 51 |
} |
| 52 |
|
| 53 |
/* ===== TYPOGRAPHY ===== */ |
| 54 |
.ka-v3-title { |
| 55 |
font-size: 56px; |
| 56 |
font-weight: 700; |
| 57 |
letter-spacing: -0.015em; |
| 58 |
margin: 0 0 12px; |
| 59 |
line-height: 1.05; |
| 60 |
background: linear-gradient(135deg, #1d1d1f 0%, #515154 100%); |
| 61 |
-webkit-background-clip: text; |
| 62 |
-webkit-text-fill-color: transparent; |
| 63 |
background-clip: text; |
| 64 |
} |
| 65 |
|
| 66 |
.ka-v3-subtitle { |
| 67 |
font-size: 21px; |
| 68 |
font-weight: 400; |
| 69 |
color: #86868b; |
| 70 |
margin: 0 0 48px; |
| 71 |
line-height: 1.5; |
| 72 |
} |
| 73 |
|
| 74 |
/* ===== HEADER ===== */ |
| 75 |
.ka-v3-header { |
| 76 |
display: flex; |
| 77 |
justify-content: space-between; |
| 78 |
align-items: flex-start; |
| 79 |
margin-bottom: 60px; |
| 80 |
} |
| 81 |
|
| 82 |
.ka-v3-header-actions { |
| 83 |
display: flex; |
| 84 |
gap: 12px; |
| 85 |
align-items: center; |
| 86 |
} |
| 87 |
|
| 88 |
|
| 89 |
.ka-v3-segmented { |
| 90 |
position: relative; |
| 91 |
display: grid; |
| 92 |
grid-template-columns: 1fr 1fr 1fr; |
| 93 |
align-items: center; |
| 94 |
padding: 2px; |
| 95 |
border-radius: 980px; |
| 96 |
background: rgba(0, 0, 0, 0.06); |
| 97 |
border: 1px solid rgba(0, 0, 0, 0.06); |
| 98 |
min-width: 240px; |
| 99 |
height: 40px; |
| 100 |
overflow: hidden; |
| 101 |
} |
| 102 |
|
| 103 |
.ka-v3-segmented-indicator { |
| 104 |
position: absolute; |
| 105 |
top: 2px; |
| 106 |
bottom: 2px; |
| 107 |
left: 2px; |
| 108 |
width: calc(33.333% - 2px); |
| 109 |
border-radius: 980px; |
| 110 |
background: rgba(255, 255, 255, 0.92); |
| 111 |
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); |
| 112 |
transform: translateX(0); |
| 113 |
transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1); |
| 114 |
z-index: 0; |
| 115 |
} |
| 116 |
|
| 117 |
.ka-v3-segmented[data-active="dark"] .ka-v3-segmented-indicator { |
| 118 |
transform: translateX(100%); |
| 119 |
} |
| 120 |
|
| 121 |
.ka-v3-segmented[data-active="auto"] .ka-v3-segmented-indicator { |
| 122 |
transform: translateX(200%); |
| 123 |
} |
| 124 |
|
| 125 |
.ka-v3-segmented-btn { |
| 126 |
position: relative; |
| 127 |
z-index: 1; |
| 128 |
height: 36px; |
| 129 |
border: none; |
| 130 |
background: transparent; |
| 131 |
border-radius: 980px; |
| 132 |
padding: 0 12px; |
| 133 |
display: inline-flex; |
| 134 |
align-items: center; |
| 135 |
justify-content: center; |
| 136 |
gap: 8px; |
| 137 |
font-size: 13px; |
| 138 |
font-weight: 500; |
| 139 |
color: #1d1d1f; |
| 140 |
cursor: pointer; |
| 141 |
transition: color 0.25s ease, transform 0.25s ease; |
| 142 |
user-select: none; |
| 143 |
white-space: nowrap; |
| 144 |
} |
| 145 |
|
| 146 |
.ka-v3-segmented-btn:active { |
| 147 |
transform: scale(0.98); |
| 148 |
} |
| 149 |
|
| 150 |
.ka-v3-segmented-icon { |
| 151 |
font-size: 14px; |
| 152 |
line-height: 1; |
| 153 |
opacity: 0.9; |
| 154 |
} |
| 155 |
|
| 156 |
.ka-v3-segmented-btn[aria-pressed="false"] { |
| 157 |
color: rgba(29, 29, 31, 0.7); |
| 158 |
} |
| 159 |
|
| 160 |
/* ===== BUTTONS ===== */ |
| 161 |
.ka-v3-btn { |
| 162 |
display: inline-flex; |
| 163 |
align-items: center; |
| 164 |
gap: 8px; |
| 165 |
padding: 12px 24px; |
| 166 |
border-radius: 980px; |
| 167 |
font-size: 15px; |
| 168 |
font-weight: 400; |
| 169 |
text-decoration: none; |
| 170 |
transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); |
| 171 |
cursor: pointer; |
| 172 |
border: none; |
| 173 |
white-space: nowrap; |
| 174 |
} |
| 175 |
|
| 176 |
.ka-v3-btn-secondary { |
| 177 |
background: rgba(0, 0, 0, 0.06); |
| 178 |
color: #1d1d1f; |
| 179 |
} |
| 180 |
|
| 181 |
.ka-v3-btn-secondary:hover { |
| 182 |
background: rgba(0, 0, 0, 0.12); |
| 183 |
color: #1d1d1f; |
| 184 |
} |
| 185 |
|
| 186 |
.ka-v3-btn-primary { |
| 187 |
background: #0071e3; |
| 188 |
color: #fff; |
| 189 |
} |
| 190 |
|
| 191 |
.ka-v3-btn-primary:hover { |
| 192 |
background: #0077ed; |
| 193 |
color: #fff; |
| 194 |
transform: scale(1.02); |
| 195 |
} |
| 196 |
|
| 197 |
.ka-v3-btn .dashicons { |
| 198 |
font-size: 18px; |
| 199 |
width: 18px; |
| 200 |
height: 18px; |
| 201 |
} |
| 202 |
|
| 203 |
/* ===== BENTO GRID STATS ===== */ |
| 204 |
.ka-v3-bento { |
| 205 |
display: grid; |
| 206 |
grid-template-columns: repeat(4, 1fr); |
| 207 |
gap: 20px; |
| 208 |
margin-bottom: 60px; |
| 209 |
} |
| 210 |
|
| 211 |
.ka-v3-bento-card { |
| 212 |
background: #fff; |
| 213 |
border-radius: 28px; |
| 214 |
padding: 28px; |
| 215 |
display: flex; |
| 216 |
flex-direction: column; |
| 217 |
justify-content: space-between; |
| 218 |
min-height: 180px; |
| 219 |
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04); |
| 220 |
transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease; |
| 221 |
position: relative; |
| 222 |
overflow: hidden; |
| 223 |
} |
| 224 |
|
| 225 |
.ka-v3-bento-card:hover { |
| 226 |
transform: scale(1.02) translateY(-4px); |
| 227 |
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1); |
| 228 |
} |
| 229 |
|
| 230 |
.ka-v3-bento-card.large { |
| 231 |
grid-column: span 2; |
| 232 |
} |
| 233 |
|
| 234 |
.ka-v3-bento-label { |
| 235 |
font-size: 13px; |
| 236 |
font-weight: 600; |
| 237 |
color: #86868b; |
| 238 |
text-transform: uppercase; |
| 239 |
letter-spacing: 0.06em; |
| 240 |
z-index: 2; |
| 241 |
} |
| 242 |
|
| 243 |
.ka-v3-bento-value { |
| 244 |
font-size: 64px; |
| 245 |
font-weight: 700; |
| 246 |
letter-spacing: -0.025em; |
| 247 |
line-height: 1; |
| 248 |
z-index: 2; |
| 249 |
background: linear-gradient(135deg, #1d1d1f 0%, #515154 100%); |
| 250 |
-webkit-background-clip: text; |
| 251 |
-webkit-text-fill-color: transparent; |
| 252 |
background-clip: text; |
| 253 |
} |
| 254 |
|
| 255 |
.ka-v3-bento-desc { |
| 256 |
font-size: 17px; |
| 257 |
font-weight: 500; |
| 258 |
color: #1d1d1f; |
| 259 |
margin-top: 6px; |
| 260 |
z-index: 2; |
| 261 |
} |
| 262 |
|
| 263 |
.ka-v3-bento-bg { |
| 264 |
position: absolute; |
| 265 |
border-radius: 50%; |
| 266 |
filter: blur(80px); |
| 267 |
opacity: 0.35; |
| 268 |
z-index: 1; |
| 269 |
pointer-events: none; |
| 270 |
} |
| 271 |
|
| 272 |
/* ===== NAVIGATION ===== */ |
| 273 |
.ka-v3-nav { |
| 274 |
display: flex; |
| 275 |
justify-content: center; |
| 276 |
background: rgba(255, 255, 255, 0.72); |
| 277 |
backdrop-filter: saturate(180%) blur(20px); |
| 278 |
-webkit-backdrop-filter: saturate(180%) blur(20px); |
| 279 |
padding: 6px; |
| 280 |
border-radius: 980px; |
| 281 |
width: fit-content; |
| 282 |
margin: 0 auto 48px; |
| 283 |
position: sticky; |
| 284 |
top: 32px; |
| 285 |
z-index: 100; |
| 286 |
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08); |
| 287 |
border: 1px solid rgba(0, 0, 0, 0.04); |
| 288 |
} |
| 289 |
|
| 290 |
.ka-v3-nav-item { |
| 291 |
padding: 12px 28px; |
| 292 |
border-radius: 980px; |
| 293 |
border: none; |
| 294 |
background: transparent; |
| 295 |
font-size: 15px; |
| 296 |
font-weight: 500; |
| 297 |
color: #1d1d1f; |
| 298 |
cursor: pointer; |
| 299 |
transition: all 0.3s ease; |
| 300 |
} |
| 301 |
|
| 302 |
.ka-v3-nav-item:hover { |
| 303 |
color: #0071e3; |
| 304 |
} |
| 305 |
|
| 306 |
.ka-v3-nav-item.active { |
| 307 |
background: #1d1d1f; |
| 308 |
color: #fff; |
| 309 |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); |
| 310 |
} |
| 311 |
|
| 312 |
.ka-v3-nav-badge { |
| 313 |
display: inline-flex; |
| 314 |
align-items: center; |
| 315 |
justify-content: center; |
| 316 |
min-width: 22px; |
| 317 |
height: 22px; |
| 318 |
padding: 0 7px; |
| 319 |
background: rgba(0, 0, 0, 0.08); |
| 320 |
border-radius: 11px; |
| 321 |
font-size: 12px; |
| 322 |
font-weight: 600; |
| 323 |
margin-left: 8px; |
| 324 |
} |
| 325 |
|
| 326 |
.ka-v3-nav-item.active .ka-v3-nav-badge { |
| 327 |
background: rgba(255, 255, 255, 0.25); |
| 328 |
} |
| 329 |
|
| 330 |
/* ===== CONTROLS BAR ===== */ |
| 331 |
.ka-v3-controls { |
| 332 |
display: flex; |
| 333 |
justify-content: space-between; |
| 334 |
align-items: center; |
| 335 |
margin-bottom: 40px; |
| 336 |
gap: 20px; |
| 337 |
flex-wrap: wrap; |
| 338 |
} |
| 339 |
|
| 340 |
.ka-v3-search { |
| 341 |
position: relative; |
| 342 |
flex: 1; |
| 343 |
max-width: 360px; |
| 344 |
} |
| 345 |
|
| 346 |
.ka-v3-search input { |
| 347 |
width: 100%; |
| 348 |
padding: 14px 20px 14px 48px; |
| 349 |
border-radius: 14px; |
| 350 |
border: 1px solid rgba(0, 0, 0, 0.08); |
| 351 |
background: rgba(255, 255, 255, 0.6); |
| 352 |
font-size: 15px; |
| 353 |
transition: all 0.25s ease; |
| 354 |
color: #1d1d1f; |
| 355 |
} |
| 356 |
|
| 357 |
.ka-v3-search input:focus { |
| 358 |
background: #fff; |
| 359 |
border-color: #0071e3; |
| 360 |
outline: none; |
| 361 |
box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12); |
| 362 |
} |
| 363 |
|
| 364 |
.ka-v3-search input::placeholder { |
| 365 |
color: #86868b; |
| 366 |
} |
| 367 |
|
| 368 |
.ka-v3-search .dashicons { |
| 369 |
position: absolute; |
| 370 |
left: 16px; |
| 371 |
top: 50%; |
| 372 |
transform: translateY(-50%); |
| 373 |
color: #86868b; |
| 374 |
font-size: 20px; |
| 375 |
width: 20px; |
| 376 |
height: 20px; |
| 377 |
} |
| 378 |
|
| 379 |
.ka-v3-filters { |
| 380 |
display: flex; |
| 381 |
gap: 8px; |
| 382 |
background: rgba(255, 255, 255, 0.6); |
| 383 |
padding: 6px; |
| 384 |
border-radius: 14px; |
| 385 |
border: 1px solid rgba(0, 0, 0, 0.06); |
| 386 |
} |
| 387 |
|
| 388 |
.ka-v3-collapse-all { |
| 389 |
display: flex; |
| 390 |
gap: 8px; |
| 391 |
background: rgba(255, 255, 255, 0.6); |
| 392 |
padding: 6px; |
| 393 |
border-radius: 14px; |
| 394 |
border: 1px solid rgba(0, 0, 0, 0.06); |
| 395 |
min-width: 205px |
| 396 |
} |
| 397 |
|
| 398 |
.ka-v3-collapse-all .ka-v3-filter-btn { |
| 399 |
display: inline-flex; |
| 400 |
align-items: center; |
| 401 |
gap: 8px; |
| 402 |
width: 100%; |
| 403 |
} |
| 404 |
|
| 405 |
.ka-v3-collapse-all .dashicons { |
| 406 |
font-size: 16px; |
| 407 |
width: 16px; |
| 408 |
height: 16px; |
| 409 |
transition: transform 0.25s ease; |
| 410 |
} |
| 411 |
|
| 412 |
/* When everything is collapsed, show "Expand" state (rotate icon down) */ |
| 413 |
#ka-v3-collapse-toggle[data-state="collapsed"] .dashicons { |
| 414 |
transform: rotate(180deg); |
| 415 |
} |
| 416 |
|
| 417 |
.ka-v3-filter-btn { |
| 418 |
padding: 10px 18px; |
| 419 |
border-radius: 10px; |
| 420 |
border: none; |
| 421 |
background: transparent; |
| 422 |
font-size: 14px; |
| 423 |
font-weight: 500; |
| 424 |
color: #515154; |
| 425 |
cursor: pointer; |
| 426 |
transition: all 0.2s ease; |
| 427 |
} |
| 428 |
|
| 429 |
.ka-v3-filter-btn:hover { |
| 430 |
background: rgba(0, 0, 0, 0.04); |
| 431 |
color: #1d1d1f; |
| 432 |
} |
| 433 |
|
| 434 |
.ka-v3-filter-btn.active { |
| 435 |
background: #1d1d1f; |
| 436 |
color: #fff; |
| 437 |
} |
| 438 |
|
| 439 |
.ka-v3-view-toggle { |
| 440 |
display: flex; |
| 441 |
align-items: center; |
| 442 |
gap: 10px; |
| 443 |
padding: 8px 16px; |
| 444 |
background: rgba(255, 255, 255, 0.6); |
| 445 |
border-radius: 12px; |
| 446 |
border: 1px solid rgba(0, 0, 0, 0.06); |
| 447 |
} |
| 448 |
|
| 449 |
.ka-v3-view-label { |
| 450 |
font-size: 14px; |
| 451 |
font-weight: 500; |
| 452 |
color: #515154; |
| 453 |
} |
| 454 |
|
| 455 |
/* ===== GRID LAYOUT ===== */ |
| 456 |
.ka-v3-grid { |
| 457 |
display: grid; |
| 458 |
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); |
| 459 |
gap: 24px; |
| 460 |
} |
| 461 |
|
| 462 |
/* ===== CATEGORY ===== */ |
| 463 |
.ka-v3-category { |
| 464 |
margin-bottom: 48px; |
| 465 |
transition: margin-bottom 520ms cubic-bezier(0.25, 1, 0.5, 1); |
| 466 |
} |
| 467 |
|
| 468 |
.ka-v3-category.ka-v3-collapsed { |
| 469 |
margin-bottom: 16px; |
| 470 |
} |
| 471 |
|
| 472 |
.ka-v3-category-header { |
| 473 |
display: flex; |
| 474 |
align-items: center; |
| 475 |
justify-content: space-between; |
| 476 |
margin-bottom: 24px; |
| 477 |
padding-bottom: 16px; |
| 478 |
border-bottom: 1px solid rgba(0, 0, 0, 0.06); |
| 479 |
transition: |
| 480 |
margin-bottom 520ms cubic-bezier(0.25, 1, 0.5, 1), |
| 481 |
padding-bottom 520ms cubic-bezier(0.25, 1, 0.5, 1); |
| 482 |
} |
| 483 |
|
| 484 |
.ka-v3-category.ka-v3-collapsed .ka-v3-category-header { |
| 485 |
margin-bottom: 10px; |
| 486 |
padding-bottom: 10px; |
| 487 |
} |
| 488 |
|
| 489 |
.ka-v3-category-title { |
| 490 |
display: flex; |
| 491 |
align-items: center; |
| 492 |
gap: 12px; |
| 493 |
} |
| 494 |
|
| 495 |
.ka-v3-category-title h3 { |
| 496 |
font-size: 22px; |
| 497 |
font-weight: 600; |
| 498 |
color: #1d1d1f; |
| 499 |
margin: 0; |
| 500 |
} |
| 501 |
|
| 502 |
.ka-v3-category-title .dashicons { |
| 503 |
font-size: 22px; |
| 504 |
width: 22px; |
| 505 |
height: 22px; |
| 506 |
color: #0071e3; |
| 507 |
} |
| 508 |
|
| 509 |
.ka-v3-category-count { |
| 510 |
font-size: 13px; |
| 511 |
font-weight: 600; |
| 512 |
color: #86868b; |
| 513 |
background: rgba(0, 0, 0, 0.06); |
| 514 |
padding: 4px 12px; |
| 515 |
border-radius: 20px; |
| 516 |
} |
| 517 |
|
| 518 |
.ka-v3-category-toggle { |
| 519 |
display: flex; |
| 520 |
align-items: center; |
| 521 |
gap: 12px; |
| 522 |
} |
| 523 |
|
| 524 |
.ka-v3-category-collapse { |
| 525 |
display: inline-flex; |
| 526 |
align-items: center; |
| 527 |
justify-content: center; |
| 528 |
width: 40px; |
| 529 |
height: 36px; |
| 530 |
border-radius: 12px; |
| 531 |
border: 1px solid rgba(0, 0, 0, 0.06); |
| 532 |
background: rgba(0, 0, 0, 0.04); |
| 533 |
cursor: pointer; |
| 534 |
transition: all 0.25s ease; |
| 535 |
} |
| 536 |
|
| 537 |
.ka-v3-category-collapse:hover { |
| 538 |
background: rgba(0, 0, 0, 0.08); |
| 539 |
} |
| 540 |
|
| 541 |
.ka-v3-category-collapse .dashicons { |
| 542 |
font-size: 18px; |
| 543 |
width: 18px; |
| 544 |
height: 18px; |
| 545 |
color: #1d1d1f; |
| 546 |
transition: transform 0.25s ease; |
| 547 |
} |
| 548 |
|
| 549 |
.ka-v3-category-body { |
| 550 |
max-height: 9999px; |
| 551 |
opacity: 1; |
| 552 |
transform: translateY(0); |
| 553 |
transform-origin: top; |
| 554 |
will-change: max-height, opacity, transform; |
| 555 |
transition: |
| 556 |
max-height 520ms cubic-bezier(0.25, 1, 0.5, 1), |
| 557 |
opacity 220ms ease, |
| 558 |
transform 520ms cubic-bezier(0.25, 1, 0.5, 1); |
| 559 |
} |
| 560 |
|
| 561 |
.ka-v3-category.ka-v3-collapsed .ka-v3-category-body { |
| 562 |
max-height: 0; |
| 563 |
opacity: 0; |
| 564 |
transform: translateY(-8px); |
| 565 |
pointer-events: none; |
| 566 |
} |
| 567 |
|
| 568 |
.ka-v3-category.ka-v3-collapsed .ka-v3-category-collapse .dashicons { |
| 569 |
transform: rotate(180deg); |
| 570 |
} |
| 571 |
|
| 572 |
@media (prefers-reduced-motion: reduce) { |
| 573 |
.ka-v3-category-body { |
| 574 |
transition: none; |
| 575 |
} |
| 576 |
|
| 577 |
.ka-v3-category, |
| 578 |
.ka-v3-category-header { |
| 579 |
transition: none; |
| 580 |
} |
| 581 |
} |
| 582 |
|
| 583 |
/* ===== MODULE CARD ===== */ |
| 584 |
.ka-v3-card { |
| 585 |
background: #fff; |
| 586 |
border-radius: 24px; |
| 587 |
padding: 28px; |
| 588 |
transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); |
| 589 |
border: 1px solid rgba(0, 0, 0, 0.04); |
| 590 |
display: flex; |
| 591 |
flex-direction: column; |
| 592 |
position: relative; |
| 593 |
overflow: hidden; |
| 594 |
} |
| 595 |
|
| 596 |
.ka-v3-card:hover { |
| 597 |
transform: scale(1.02) translateY(-4px); |
| 598 |
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); |
| 599 |
z-index: 10; |
| 600 |
} |
| 601 |
|
| 602 |
/* Need to think how to style disabled cards better */ |
| 603 |
.ka-v3-card.disabled .ka-v3-card-icon { |
| 604 |
opacity: 0.55; |
| 605 |
/* filter: grayscale(1); */ |
| 606 |
} |
| 607 |
|
| 608 |
.ka-v3-card.disabled:hover { |
| 609 |
transform: none; |
| 610 |
box-shadow: none; |
| 611 |
} |
| 612 |
|
| 613 |
.ka-v3-card-header { |
| 614 |
display: flex; |
| 615 |
justify-content: space-between; |
| 616 |
align-items: flex-start; |
| 617 |
margin-bottom: 18px; |
| 618 |
} |
| 619 |
|
| 620 |
.ka-v3-card-icon { |
| 621 |
width: 56px; |
| 622 |
height: 56px; |
| 623 |
background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%); |
| 624 |
border-radius: 16px; |
| 625 |
display: flex; |
| 626 |
align-items: center; |
| 627 |
justify-content: center; |
| 628 |
transition: transform 0.3s ease; |
| 629 |
} |
| 630 |
|
| 631 |
.ka-v3-card:hover .ka-v3-card-icon { |
| 632 |
transform: scale(1.05); |
| 633 |
} |
| 634 |
|
| 635 |
.ka-v3-card-icon img { |
| 636 |
width: 32px; |
| 637 |
height: 32px; |
| 638 |
} |
| 639 |
|
| 640 |
.ka-v3-card-icon .dashicons { |
| 641 |
font-size: 28px; |
| 642 |
width: 28px; |
| 643 |
height: 28px; |
| 644 |
color: #515154; |
| 645 |
} |
| 646 |
|
| 647 |
.ka-v3-card-title { |
| 648 |
font-size: 18px; |
| 649 |
font-weight: 600; |
| 650 |
margin: 0 0 8px; |
| 651 |
color: #1d1d1f; |
| 652 |
line-height: 1.3; |
| 653 |
} |
| 654 |
|
| 655 |
.ka-v3-card-desc { |
| 656 |
font-size: 14px; |
| 657 |
line-height: 1.55; |
| 658 |
color: #86868b; |
| 659 |
margin: 0; |
| 660 |
flex-grow: 1; |
| 661 |
} |
| 662 |
|
| 663 |
.ka-v3-card-footer { |
| 664 |
margin-top: 20px; |
| 665 |
padding-top: 16px; |
| 666 |
border-top: 1px solid rgba(0, 0, 0, 0.04); |
| 667 |
display: flex; |
| 668 |
justify-content: space-between; |
| 669 |
align-items: center; |
| 670 |
} |
| 671 |
|
| 672 |
.ka-v3-card-link { |
| 673 |
font-size: 14px; |
| 674 |
font-weight: 500; |
| 675 |
color: #0071e3; |
| 676 |
text-decoration: none; |
| 677 |
display: inline-flex; |
| 678 |
align-items: center; |
| 679 |
gap: 4px; |
| 680 |
transition: color 0.2s ease; |
| 681 |
} |
| 682 |
|
| 683 |
.ka-v3-card-link:hover { |
| 684 |
color: #0077ed; |
| 685 |
} |
| 686 |
|
| 687 |
.ka-v3-card-link .dashicons { |
| 688 |
font-size: 16px; |
| 689 |
width: 16px; |
| 690 |
height: 16px; |
| 691 |
} |
| 692 |
|
| 693 |
/* ===== iOS TOGGLE ===== */ |
| 694 |
.ka-v3-toggle { |
| 695 |
position: relative; |
| 696 |
display: inline-block; |
| 697 |
width: 51px; |
| 698 |
height: 31px; |
| 699 |
flex-shrink: 0; |
| 700 |
} |
| 701 |
|
| 702 |
.ka-v3-toggle input { |
| 703 |
opacity: 0; |
| 704 |
width: 0; |
| 705 |
height: 0; |
| 706 |
} |
| 707 |
|
| 708 |
.ka-v3-toggle-slider { |
| 709 |
position: absolute; |
| 710 |
cursor: pointer; |
| 711 |
top: 0; |
| 712 |
left: 0; |
| 713 |
right: 0; |
| 714 |
bottom: 0; |
| 715 |
background-color: #e9e9eb; |
| 716 |
transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1); |
| 717 |
border-radius: 31px; |
| 718 |
} |
| 719 |
|
| 720 |
.ka-v3-toggle-slider:before { |
| 721 |
position: absolute; |
| 722 |
content: ""; |
| 723 |
height: 27px; |
| 724 |
width: 27px; |
| 725 |
left: 2px; |
| 726 |
bottom: 2px; |
| 727 |
background-color: white; |
| 728 |
transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1); |
| 729 |
border-radius: 50%; |
| 730 |
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.16); |
| 731 |
} |
| 732 |
|
| 733 |
input:checked + .ka-v3-toggle-slider { |
| 734 |
background-color: #34c759; |
| 735 |
} |
| 736 |
|
| 737 |
input:checked + .ka-v3-toggle-slider:before { |
| 738 |
transform: translateX(20px); |
| 739 |
} |
| 740 |
|
| 741 |
/* ===== STICKY FOOTER ===== */ |
| 742 |
.ka-v3-footer { |
| 743 |
position: fixed; |
| 744 |
bottom: 32px; |
| 745 |
left: 50%; |
| 746 |
transform: translateX(-50%); |
| 747 |
background: rgba(255, 255, 255, 0.72); |
| 748 |
backdrop-filter: saturate(180%) blur(20px); |
| 749 |
-webkit-backdrop-filter: saturate(180%) blur(20px); |
| 750 |
padding: 14px 28px; |
| 751 |
border-radius: 980px; |
| 752 |
display: flex; |
| 753 |
gap: 12px; |
| 754 |
box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15); |
| 755 |
z-index: 1000; |
| 756 |
border: 1px solid rgba(0, 0, 0, 0.06); |
| 757 |
} |
| 758 |
|
| 759 |
/* ===== TAB CONTENT ===== */ |
| 760 |
.ka-v3-tab-content { |
| 761 |
display: none; |
| 762 |
} |
| 763 |
|
| 764 |
.ka-v3-tab-content.active { |
| 765 |
display: block; |
| 766 |
animation: ka-v3-fadeIn 0.3s ease-out; |
| 767 |
} |
| 768 |
|
| 769 |
@keyframes ka-v3-fadeIn { |
| 770 |
from { |
| 771 |
opacity: 0; |
| 772 |
transform: translateY(10px); |
| 773 |
} |
| 774 |
to { |
| 775 |
opacity: 1; |
| 776 |
transform: translateY(0); |
| 777 |
} |
| 778 |
} |
| 779 |
|
| 780 |
/* ===== QUICK ACTIONS ===== */ |
| 781 |
.ka-v3-quick-actions { |
| 782 |
display: flex; |
| 783 |
gap: 12px; |
| 784 |
margin-bottom: 32px; |
| 785 |
flex-wrap: wrap; |
| 786 |
display: none; /* Hidden for now */ |
| 787 |
} |
| 788 |
|
| 789 |
/* ===== STATS ROW (for Features/Extensions tabs) ===== */ |
| 790 |
.ka-v3-stats-row { |
| 791 |
display: grid; |
| 792 |
grid-template-columns: repeat(3, 1fr); |
| 793 |
gap: 20px; |
| 794 |
margin-bottom: 32px; |
| 795 |
} |
| 796 |
|
| 797 |
.ka-v3-stat-card { |
| 798 |
background: #fff; |
| 799 |
border-radius: 20px; |
| 800 |
padding: 24px; |
| 801 |
display: flex; |
| 802 |
align-items: center; |
| 803 |
gap: 16px; |
| 804 |
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); |
| 805 |
} |
| 806 |
|
| 807 |
.ka-v3-stat-icon { |
| 808 |
width: 52px; |
| 809 |
height: 52px; |
| 810 |
border-radius: 14px; |
| 811 |
display: flex; |
| 812 |
align-items: center; |
| 813 |
justify-content: center; |
| 814 |
} |
| 815 |
|
| 816 |
.ka-v3-stat-icon .dashicons { |
| 817 |
font-size: 26px; |
| 818 |
width: 26px; |
| 819 |
height: 26px; |
| 820 |
color: #fff; |
| 821 |
} |
| 822 |
|
| 823 |
.ka-v3-stat-icon-blue { |
| 824 |
background: linear-gradient(135deg, #0071e3 0%, #40a9ff 100%); |
| 825 |
} |
| 826 |
|
| 827 |
.ka-v3-stat-icon-green { |
| 828 |
background: linear-gradient(135deg, #34c759 0%, #30d158 100%); |
| 829 |
} |
| 830 |
|
| 831 |
.ka-v3-stat-icon-orange { |
| 832 |
background: linear-gradient(135deg, #ff9500 0%, #ffcc00 100%); |
| 833 |
} |
| 834 |
|
| 835 |
.ka-v3-stat-icon-purple { |
| 836 |
background: linear-gradient(135deg, #af52de 0%, #bf5af2 100%); |
| 837 |
} |
| 838 |
|
| 839 |
.ka-v3-stat-value { |
| 840 |
font-size: 32px; |
| 841 |
font-weight: 700; |
| 842 |
color: #1d1d1f; |
| 843 |
line-height: 1; |
| 844 |
} |
| 845 |
|
| 846 |
.ka-v3-stat-label { |
| 847 |
font-size: 14px; |
| 848 |
color: #86868b; |
| 849 |
margin-top: 4px; |
| 850 |
} |
| 851 |
|
| 852 |
/* ===== UTILITY ===== */ |
| 853 |
.ka-v3-hidden { |
| 854 |
display: none !important; |
| 855 |
} |
| 856 |
|
| 857 |
/* ===== DARK THEME ===== */ |
| 858 |
body.ka-v3-dark .ka-v3-wrap { |
| 859 |
color: #f5f5f7; |
| 860 |
} |
| 861 |
|
| 862 |
body.ka-v3-dark .ka-v3-title { |
| 863 |
background: linear-gradient(135deg, #f5f5f7 0%, #a1a1a6 100%); |
| 864 |
-webkit-background-clip: text; |
| 865 |
-webkit-text-fill-color: transparent; |
| 866 |
background-clip: text; |
| 867 |
} |
| 868 |
|
| 869 |
body.ka-v3-dark .ka-v3-subtitle { |
| 870 |
color: #86868b; |
| 871 |
} |
| 872 |
|
| 873 |
body.ka-v3-dark .ka-v3-btn-secondary { |
| 874 |
background: rgba(255, 255, 255, 0.1); |
| 875 |
color: #f5f5f7; |
| 876 |
} |
| 877 |
|
| 878 |
body.ka-v3-dark .ka-v3-btn-secondary:hover { |
| 879 |
background: rgba(255, 255, 255, 0.18); |
| 880 |
color: #fff; |
| 881 |
} |
| 882 |
|
| 883 |
|
| 884 |
body.ka-v3-dark .ka-v3-segmented { |
| 885 |
background: rgba(255, 255, 255, 0.1); |
| 886 |
border-color: rgba(255, 255, 255, 0.1); |
| 887 |
} |
| 888 |
|
| 889 |
body.ka-v3-dark .ka-v3-segmented-indicator { |
| 890 |
background: rgba(255, 255, 255, 0.1); |
| 891 |
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); |
| 892 |
} |
| 893 |
|
| 894 |
body.ka-v3-dark .ka-v3-segmented-btn { |
| 895 |
color: #f5f5f7; |
| 896 |
} |
| 897 |
|
| 898 |
body.ka-v3-dark .ka-v3-segmented-btn[aria-pressed="false"] { |
| 899 |
color: rgba(245, 245, 247, 0.72); |
| 900 |
} |
| 901 |
|
| 902 |
body.ka-v3-dark .ka-v3-bento-card { |
| 903 |
background: #1c1c1e; |
| 904 |
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); |
| 905 |
} |
| 906 |
|
| 907 |
body.ka-v3-dark .ka-v3-bento-value { |
| 908 |
background: linear-gradient(135deg, #fff 0%, #a1a1a6 100%); |
| 909 |
-webkit-background-clip: text; |
| 910 |
-webkit-text-fill-color: transparent; |
| 911 |
background-clip: text; |
| 912 |
} |
| 913 |
|
| 914 |
body.ka-v3-dark .ka-v3-bento-desc { |
| 915 |
color: #f5f5f7; |
| 916 |
} |
| 917 |
|
| 918 |
body.ka-v3-dark .ka-v3-nav { |
| 919 |
background: rgba(28, 28, 30, 0.72); |
| 920 |
border-color: rgba(255, 255, 255, 0.1); |
| 921 |
} |
| 922 |
|
| 923 |
body.ka-v3-dark .ka-v3-nav-item { |
| 924 |
color: #86868b; |
| 925 |
} |
| 926 |
|
| 927 |
body.ka-v3-dark .ka-v3-nav-item:hover { |
| 928 |
color: #f5f5f7; |
| 929 |
} |
| 930 |
|
| 931 |
body.ka-v3-dark .ka-v3-nav-item.active { |
| 932 |
background: #f5f5f7; |
| 933 |
color: #000; |
| 934 |
} |
| 935 |
|
| 936 |
body.ka-v3-dark .ka-v3-nav-badge { |
| 937 |
background: rgba(255, 255, 255, 0.15); |
| 938 |
} |
| 939 |
|
| 940 |
body.ka-v3-dark .ka-v3-nav-item.active .ka-v3-nav-badge { |
| 941 |
background: rgba(0, 0, 0, 0.15); |
| 942 |
} |
| 943 |
|
| 944 |
body.ka-v3-dark .ka-v3-search input { |
| 945 |
background: rgba(28, 28, 30, 0.8); |
| 946 |
border-color: rgba(255, 255, 255, 0.1); |
| 947 |
color: #f5f5f7; |
| 948 |
} |
| 949 |
|
| 950 |
body.ka-v3-dark .ka-v3-search input:focus { |
| 951 |
background: #1c1c1e; |
| 952 |
border-color: #0a84ff; |
| 953 |
box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.2); |
| 954 |
} |
| 955 |
|
| 956 |
body.ka-v3-dark .ka-v3-search input::placeholder { |
| 957 |
color: #636366; |
| 958 |
} |
| 959 |
|
| 960 |
body.ka-v3-dark .ka-v3-filters { |
| 961 |
background: rgba(28, 28, 30, 0.8); |
| 962 |
border-color: rgba(255, 255, 255, 0.1); |
| 963 |
} |
| 964 |
|
| 965 |
body.ka-v3-dark .ka-v3-collapse-all { |
| 966 |
background: rgba(28, 28, 30, 0.8); |
| 967 |
border-color: rgba(255, 255, 255, 0.1); |
| 968 |
} |
| 969 |
|
| 970 |
body.ka-v3-dark .ka-v3-filter-btn { |
| 971 |
color: #8e8e93; |
| 972 |
} |
| 973 |
|
| 974 |
body.ka-v3-dark .ka-v3-filter-btn:hover { |
| 975 |
background: rgba(255, 255, 255, 0.08); |
| 976 |
color: #f5f5f7; |
| 977 |
} |
| 978 |
|
| 979 |
body.ka-v3-dark .ka-v3-filter-btn.active { |
| 980 |
background: #f5f5f7; |
| 981 |
color: #000; |
| 982 |
} |
| 983 |
|
| 984 |
body.ka-v3-dark .ka-v3-view-toggle { |
| 985 |
background: rgba(28, 28, 30, 0.8); |
| 986 |
border-color: rgba(255, 255, 255, 0.1); |
| 987 |
} |
| 988 |
|
| 989 |
body.ka-v3-dark .ka-v3-view-label { |
| 990 |
color: #8e8e93; |
| 991 |
} |
| 992 |
|
| 993 |
body.ka-v3-dark .ka-v3-category-header { |
| 994 |
border-bottom-color: rgba(255, 255, 255, 0.08); |
| 995 |
} |
| 996 |
|
| 997 |
body.ka-v3-dark .ka-v3-category-title h3 { |
| 998 |
color: #f5f5f7; |
| 999 |
} |
| 1000 |
|
| 1001 |
body.ka-v3-dark .ka-v3-category-title .dashicons { |
| 1002 |
color: #0a84ff; |
| 1003 |
} |
| 1004 |
|
| 1005 |
body.ka-v3-dark .ka-v3-category-count { |
| 1006 |
background: rgba(255, 255, 255, 0.1); |
| 1007 |
color: #8e8e93; |
| 1008 |
} |
| 1009 |
|
| 1010 |
body.ka-v3-dark .ka-v3-category-collapse { |
| 1011 |
background: rgba(255, 255, 255, 0.08); |
| 1012 |
border-color: rgba(255, 255, 255, 0.1); |
| 1013 |
} |
| 1014 |
|
| 1015 |
body.ka-v3-dark .ka-v3-category-collapse:hover { |
| 1016 |
background: rgba(255, 255, 255, 0.14); |
| 1017 |
} |
| 1018 |
|
| 1019 |
body.ka-v3-dark .ka-v3-category-collapse .dashicons { |
| 1020 |
color: #f5f5f7; |
| 1021 |
} |
| 1022 |
|
| 1023 |
body.ka-v3-dark .ka-v3-card { |
| 1024 |
background: #1c1c1e; |
| 1025 |
border-color: rgba(255, 255, 255, 0.06); |
| 1026 |
} |
| 1027 |
|
| 1028 |
body.ka-v3-dark .ka-v3-card:hover { |
| 1029 |
background: #2c2c2e; |
| 1030 |
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); |
| 1031 |
} |
| 1032 |
|
| 1033 |
body.ka-v3-dark .ka-v3-card-icon { |
| 1034 |
background: linear-gradient(135deg, #2c2c2e 0%, #3a3a3c 100%); |
| 1035 |
} |
| 1036 |
|
| 1037 |
body.ka-v3-dark .ka-v3-card-icon img { |
| 1038 |
filter: invert(1); |
| 1039 |
} |
| 1040 |
|
| 1041 |
body.ka-v3-dark .ka-v3-card-icon .dashicons { |
| 1042 |
color: #a1a1a6; |
| 1043 |
} |
| 1044 |
|
| 1045 |
body.ka-v3-dark .ka-v3-card-title { |
| 1046 |
color: #f5f5f7; |
| 1047 |
} |
| 1048 |
|
| 1049 |
body.ka-v3-dark .ka-v3-card-desc { |
| 1050 |
color: #8e8e93; |
| 1051 |
} |
| 1052 |
|
| 1053 |
body.ka-v3-dark .ka-v3-card-footer { |
| 1054 |
border-top-color: rgba(255, 255, 255, 0.06); |
| 1055 |
} |
| 1056 |
|
| 1057 |
body.ka-v3-dark .ka-v3-card-link { |
| 1058 |
color: #0a84ff; |
| 1059 |
} |
| 1060 |
|
| 1061 |
body.ka-v3-dark .ka-v3-card-link:hover { |
| 1062 |
color: #409cff; |
| 1063 |
} |
| 1064 |
|
| 1065 |
body.ka-v3-dark .ka-v3-toggle-slider { |
| 1066 |
background-color: #39393d; |
| 1067 |
} |
| 1068 |
|
| 1069 |
body.ka-v3-dark input:checked + .ka-v3-toggle-slider { |
| 1070 |
background-color: #30d158; |
| 1071 |
} |
| 1072 |
|
| 1073 |
body.ka-v3-dark .ka-v3-footer { |
| 1074 |
background: rgba(28, 28, 30, 0.72); |
| 1075 |
border-color: rgba(255, 255, 255, 0.1); |
| 1076 |
} |
| 1077 |
|
| 1078 |
body.ka-v3-dark .ka-v3-stat-card { |
| 1079 |
background: #1c1c1e; |
| 1080 |
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2); |
| 1081 |
} |
| 1082 |
|
| 1083 |
body.ka-v3-dark .ka-v3-stat-value { |
| 1084 |
color: #f5f5f7; |
| 1085 |
} |
| 1086 |
|
| 1087 |
body.ka-v3-dark .ka-v3-stat-label { |
| 1088 |
color: #8e8e93; |
| 1089 |
} |
| 1090 |
|
| 1091 |
body.ka-v3-dark .ka-v3-quick-actions .ka-v3-btn-secondary { |
| 1092 |
background: rgba(255, 255, 255, 0.08); |
| 1093 |
color: #f5f5f7; |
| 1094 |
} |
| 1095 |
|
| 1096 |
body.ka-v3-dark .ka-v3-quick-actions .ka-v3-btn-secondary:hover { |
| 1097 |
background: rgba(255, 255, 255, 0.14); |
| 1098 |
} |
| 1099 |
|
| 1100 |
/* ===== RESPONSIVE ===== */ |
| 1101 |
@media (max-width: 1200px) { |
| 1102 |
.ka-v3-bento { |
| 1103 |
grid-template-columns: repeat(2, 1fr); |
| 1104 |
} |
| 1105 |
|
| 1106 |
.ka-v3-bento-card.large { |
| 1107 |
grid-column: span 1; |
| 1108 |
} |
| 1109 |
} |
| 1110 |
|
| 1111 |
@media (max-width: 900px) { |
| 1112 |
.ka-v3-wrap { |
| 1113 |
padding: 40px 24px; |
| 1114 |
} |
| 1115 |
|
| 1116 |
.ka-v3-title { |
| 1117 |
font-size: 40px; |
| 1118 |
} |
| 1119 |
|
| 1120 |
.ka-v3-header { |
| 1121 |
flex-direction: column; |
| 1122 |
gap: 24px; |
| 1123 |
} |
| 1124 |
|
| 1125 |
.ka-v3-bento { |
| 1126 |
grid-template-columns: 1fr; |
| 1127 |
} |
| 1128 |
|
| 1129 |
.ka-v3-bento-card.large { |
| 1130 |
grid-column: span 1; |
| 1131 |
} |
| 1132 |
|
| 1133 |
.ka-v3-controls { |
| 1134 |
flex-direction: column; |
| 1135 |
align-items: stretch; |
| 1136 |
} |
| 1137 |
|
| 1138 |
.ka-v3-search { |
| 1139 |
max-width: none; |
| 1140 |
} |
| 1141 |
|
| 1142 |
.ka-v3-grid { |
| 1143 |
grid-template-columns: 1fr; |
| 1144 |
} |
| 1145 |
|
| 1146 |
.ka-v3-stats-row { |
| 1147 |
grid-template-columns: 1fr; |
| 1148 |
} |
| 1149 |
|
| 1150 |
.ka-v3-footer { |
| 1151 |
left: 20px; |
| 1152 |
right: 20px; |
| 1153 |
transform: none; |
| 1154 |
border-radius: 20px; |
| 1155 |
flex-wrap: wrap; |
| 1156 |
justify-content: center; |
| 1157 |
} |
| 1158 |
} |
| 1159 |
|