| 1 |
/** |
| 2 |
* Charitable Admin Dashboard V2 Styles |
| 3 |
* |
| 4 |
* @package Charitable/Admin/Dashboard V2 |
| 5 |
* @since 1.8.1 |
| 6 |
* @version 1.8.1 |
| 7 |
*/ |
| 8 |
|
| 9 |
// Import base variables and mixins |
| 10 |
@import '../_colors'; |
| 11 |
@import '../_fonts'; |
| 12 |
@import '../_variables'; |
| 13 |
|
| 14 |
/* V2 Dashboard Specific Styles */ |
| 15 |
.charitable_page_charitable-dashboard { |
| 16 |
|
| 17 |
// Main container |
| 18 |
#charitable-dashboard-v2 { |
| 19 |
|
| 20 |
// Content area |
| 21 |
.charitable-dashboard-v2-content { |
| 22 |
|
| 23 |
|
| 24 |
} |
| 25 |
|
| 26 |
// Tablenav styling |
| 27 |
.tablenav { |
| 28 |
font-family: "Inter", sans-serif !important; |
| 29 |
min-height: 30px; |
| 30 |
height: auto; |
| 31 |
margin-top: 0; |
| 32 |
margin-bottom: 0; |
| 33 |
|
| 34 |
.alignleft, |
| 35 |
.alignright { |
| 36 |
margin-top: 10px; |
| 37 |
margin-bottom: 10px; |
| 38 |
} |
| 39 |
} |
| 40 |
} |
| 41 |
} |
| 42 |
|
| 43 |
/* V2 Dashboard Header */ |
| 44 |
.charitable-dashboard-v2-header { |
| 45 |
margin-top: 40px; // 40px from Charitable header |
| 46 |
margin-bottom: 40px; // 40px to v2 content area |
| 47 |
|
| 48 |
.charitable-dashboard-v2-header-content { |
| 49 |
display: flex; |
| 50 |
justify-content: space-between; |
| 51 |
align-items: center; |
| 52 |
max-width: 1172px; // 700px + 452px + 20px gap |
| 53 |
margin: 0 auto; |
| 54 |
|
| 55 |
.charitable-dashboard-v2-header-left { |
| 56 |
h1 { |
| 57 |
margin: 0; |
| 58 |
color: #303442; |
| 59 |
font-size: 24px; |
| 60 |
font-weight: 600; |
| 61 |
line-height: 1.2; |
| 62 |
} |
| 63 |
} |
| 64 |
|
| 65 |
.charitable-dashboard-v2-header-right { |
| 66 |
.charitable-button { |
| 67 |
background-color: #5AA152; |
| 68 |
border-color: #5AA152; |
| 69 |
color: white; |
| 70 |
padding: 8px 16px; |
| 71 |
font-weight: 500; |
| 72 |
|
| 73 |
&:hover { |
| 74 |
background-color: #43833b; |
| 75 |
border-color: #43833b; |
| 76 |
} |
| 77 |
} |
| 78 |
} |
| 79 |
} |
| 80 |
} |
| 81 |
|
| 82 |
/* Header Bar Styles */ |
| 83 |
.charitable-dashboard-v2-header-bar { |
| 84 |
display: flex; |
| 85 |
justify-content: space-between; |
| 86 |
align-items: center; |
| 87 |
width: calc(100% - 60px); |
| 88 |
height: 80px; |
| 89 |
|
| 90 |
.charitable-dashboard-v2-header-bar-left { |
| 91 |
display: flex; |
| 92 |
align-items: center; |
| 93 |
} |
| 94 |
|
| 95 |
.charitable-dashboard-v2-header-bar-right { |
| 96 |
display: flex; |
| 97 |
align-items: center; |
| 98 |
} |
| 99 |
} |
| 100 |
|
| 101 |
/* V2 Dashboard Chart Styles */ |
| 102 |
.charitable-dashboard-v2-header-bar-chart { |
| 103 |
width: 100%; |
| 104 |
height: 300px; |
| 105 |
margin-top: 20px; |
| 106 |
|
| 107 |
.charitable-headline-graph { |
| 108 |
width: 100%; |
| 109 |
height: 100%; |
| 110 |
|
| 111 |
// Ensure the ApexCharts canvas is responsive |
| 112 |
.apexcharts-canvas { |
| 113 |
margin: 0 auto; |
| 114 |
} |
| 115 |
} |
| 116 |
} |
| 117 |
|
| 118 |
/* Time Period Filter Dropdown */ |
| 119 |
#time-period-filter { |
| 120 |
font-size: 13px; |
| 121 |
line-height: 29px; |
| 122 |
font-weight: 500; |
| 123 |
max-width: none; |
| 124 |
padding: 5px 30px 5px 12px; |
| 125 |
background-color: #F9F9FA; |
| 126 |
color: #52545F; |
| 127 |
border: 1px solid #E4E4E7; |
| 128 |
border-radius: 4px; |
| 129 |
height: 40px; |
| 130 |
font-family: "Inter", sans-serif; |
| 131 |
} |
| 132 |
|
| 133 |
/* Download Summary Button */ |
| 134 |
.charitable-dashboard-v2-download-button { |
| 135 |
font-family: Inter; |
| 136 |
font-weight: 600; |
| 137 |
font-style: normal; |
| 138 |
font-size: 13px; |
| 139 |
line-height: 100%; |
| 140 |
letter-spacing: 0px; |
| 141 |
color: rgba(14, 33, 33, 0.7); |
| 142 |
background: white; |
| 143 |
border: 1px solid rgba(14, 33, 33, 0.14); |
| 144 |
border-radius: 4px; |
| 145 |
padding: 10px 16px; |
| 146 |
height: 40px; |
| 147 |
cursor: pointer; |
| 148 |
transition: all 0.2s ease; |
| 149 |
display: flex; |
| 150 |
align-items: center; |
| 151 |
gap: 8px; |
| 152 |
|
| 153 |
&:hover { |
| 154 |
background: rgba(14, 33, 33, 0.02); |
| 155 |
border-color: rgba(14, 33, 33, 0.2); |
| 156 |
} |
| 157 |
} |
| 158 |
|
| 159 |
/* Download Icon */ |
| 160 |
.charitable-dashboard-v2-download-icon { |
| 161 |
width: 15px; |
| 162 |
height: 14px; |
| 163 |
color: rgba(14, 33, 33, 0.7); |
| 164 |
} |
| 165 |
|
| 166 |
/* Print Button */ |
| 167 |
.charitable-dashboard-v2-print-button { |
| 168 |
display: flex; |
| 169 |
align-items: center; |
| 170 |
justify-content: center; |
| 171 |
width: 40px; |
| 172 |
height: 40px; |
| 173 |
padding: 0; |
| 174 |
background: #fff; |
| 175 |
border: 1px solid #E4E4E7; |
| 176 |
border-radius: 4px; |
| 177 |
cursor: pointer; |
| 178 |
transition: all 0.2s ease; |
| 179 |
|
| 180 |
&:hover { |
| 181 |
background: #F9F9FA; |
| 182 |
border-color: rgba(14, 33, 33, 0.2); |
| 183 |
} |
| 184 |
|
| 185 |
&:focus { |
| 186 |
outline: none; |
| 187 |
box-shadow: 0 0 0 1px #E4E4E7; |
| 188 |
} |
| 189 |
|
| 190 |
.charitable-dashboard-v2-print-icon { |
| 191 |
display: block; |
| 192 |
width: 16px; |
| 193 |
height: 16px; |
| 194 |
} |
| 195 |
} |
| 196 |
|
| 197 |
/* Print form inline */ |
| 198 |
#charitable-dashboard-v2-print { |
| 199 |
display: flex; |
| 200 |
align-items: center; |
| 201 |
margin: 0; |
| 202 |
padding: 0; |
| 203 |
} |
| 204 |
|
| 205 |
/* Remove padding for stats row section */ |
| 206 |
.charitable-dashboard-v2-stats-row-section { |
| 207 |
padding: 0 0 20px 0 !important; |
| 208 |
|
| 209 |
.charitable-dashboard-v2-header-bar { |
| 210 |
padding: 0 30px; |
| 211 |
} |
| 212 |
} |
| 213 |
|
| 214 |
/* Stats Row Styles */ |
| 215 |
.charitable-dashboard-v2-stats-row { |
| 216 |
display: flex; |
| 217 |
width: 100%; |
| 218 |
border-top: 1px solid rgba(25, 29, 45, 0.15); |
| 219 |
border-bottom: 1px solid rgba(25, 29, 45, 0.15); |
| 220 |
} |
| 221 |
|
| 222 |
.charitable-dashboard-v2-stat-item { |
| 223 |
flex: 1; |
| 224 |
padding: 30px; |
| 225 |
border-right: 1px solid rgba(25, 29, 45, 0.15); |
| 226 |
text-align: left; |
| 227 |
|
| 228 |
&:last-child { |
| 229 |
border-right: none; |
| 230 |
} |
| 231 |
} |
| 232 |
|
| 233 |
.charitable-dashboard-v2-stat-title { |
| 234 |
font-family: Inter; |
| 235 |
font-weight: 500; |
| 236 |
font-style: normal; |
| 237 |
font-size: 12px; |
| 238 |
line-height: 100%; |
| 239 |
letter-spacing: 0px; |
| 240 |
color: rgba(25, 29, 45, 0.6); |
| 241 |
margin-bottom: 8px; |
| 242 |
} |
| 243 |
|
| 244 |
.charitable-dashboard-v2-stat-amount { |
| 245 |
font-family: Inter; |
| 246 |
font-weight: 600; |
| 247 |
font-style: normal; |
| 248 |
font-size: 20px; |
| 249 |
line-height: 100%; |
| 250 |
letter-spacing: 0px; |
| 251 |
color: rgba(25, 29, 45, 0.8); |
| 252 |
display: flex; |
| 253 |
align-items: center; |
| 254 |
gap: 8px; |
| 255 |
} |
| 256 |
|
| 257 |
/* Stat Change Indicator */ |
| 258 |
.charitable-dashboard-v2-stat-change { |
| 259 |
display: flex; |
| 260 |
align-items: center; |
| 261 |
gap: 4px; |
| 262 |
font-family: Inter; |
| 263 |
font-weight: 600; |
| 264 |
font-style: normal; |
| 265 |
font-size: 13px; |
| 266 |
line-height: 100%; |
| 267 |
letter-spacing: 0px; |
| 268 |
color: rgba(49, 148, 77, 1); // Default green (for positive) |
| 269 |
|
| 270 |
// Positive percentage - green |
| 271 |
&.charitable-dashboard-v2-stat-change-positive { |
| 272 |
color: rgba(49, 148, 77, 1); // #31944D |
| 273 |
} |
| 274 |
|
| 275 |
// Negative percentage - red |
| 276 |
&.charitable-dashboard-v2-stat-change-negative { |
| 277 |
color: rgba(220, 38, 38, 1); // #DC2626 |
| 278 |
} |
| 279 |
|
| 280 |
// Zero percentage - black |
| 281 |
&.charitable-dashboard-v2-stat-change-zero { |
| 282 |
color: rgba(0, 0, 0, 1); // #000000 |
| 283 |
} |
| 284 |
} |
| 285 |
|
| 286 |
|
| 287 |
/* V2 Dashboard Layout */ |
| 288 |
.charitable-dashboard-v2-layout { |
| 289 |
display: flex; |
| 290 |
gap: 20px; |
| 291 |
margin-top: 20px; |
| 292 |
max-width: 1172px; // 700px + 452px + 20px gap |
| 293 |
margin-left: auto; |
| 294 |
margin-right: auto; |
| 295 |
|
| 296 |
// Left Column - 700px wide |
| 297 |
.charitable-dashboard-v2-left-column { |
| 298 |
flex: 0 0 700px; |
| 299 |
display: flex; |
| 300 |
flex-direction: column; |
| 301 |
gap: 20px; |
| 302 |
} |
| 303 |
|
| 304 |
// Right Column - 452px wide |
| 305 |
.charitable-dashboard-v2-right-column { |
| 306 |
flex: 0 0 452px; |
| 307 |
display: flex; |
| 308 |
flex-direction: column; |
| 309 |
gap: 20px; |
| 310 |
} |
| 311 |
|
| 312 |
// Responsive breakpoint - stack columns when screen narrows |
| 313 |
@media (max-width: 1200px) { |
| 314 |
flex-direction: column; |
| 315 |
|
| 316 |
.charitable-dashboard-v2-left-column, |
| 317 |
.charitable-dashboard-v2-right-column { |
| 318 |
flex: 1 1 100%; |
| 319 |
} |
| 320 |
} |
| 321 |
} |
| 322 |
|
| 323 |
/* V2 Dashboard Sections */ |
| 324 |
.charitable-dashboard-v2-section { |
| 325 |
background: white; |
| 326 |
border: 1px solid rgba(24, 36, 69, 0.1); // #1824451A |
| 327 |
border-radius: 4px; |
| 328 |
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05); // 5% black shadow |
| 329 |
min-height: 120px; |
| 330 |
overflow: hidden; // Ensure border radius applies to header |
| 331 |
|
| 332 |
// Section Header (Right Column Only) |
| 333 |
.charitable-dashboard-v2-section-header { |
| 334 |
height: 70px; |
| 335 |
background: white; |
| 336 |
border-bottom: 1px solid rgba(24, 36, 69, 0.1); |
| 337 |
display: flex; |
| 338 |
align-items: center; |
| 339 |
justify-content: space-between; |
| 340 |
padding: 0 25px; |
| 341 |
|
| 342 |
h3 { |
| 343 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 344 |
font-weight: 700; |
| 345 |
font-style: normal; |
| 346 |
font-size: 17px; |
| 347 |
line-height: 130%; |
| 348 |
letter-spacing: 0px; |
| 349 |
color: rgba(25, 29, 45, 0.9); |
| 350 |
margin: 0; |
| 351 |
} |
| 352 |
|
| 353 |
.charitable-dashboard-v2-toggle { |
| 354 |
display: flex; |
| 355 |
align-items: center; |
| 356 |
justify-content: center; |
| 357 |
width: 24px; |
| 358 |
height: 24px; |
| 359 |
text-decoration: none; |
| 360 |
color: rgba(25, 29, 45, 0.6); |
| 361 |
transition: color 0.2s ease; |
| 362 |
|
| 363 |
&:hover { |
| 364 |
color: rgba(25, 29, 45, 0.9); |
| 365 |
} |
| 366 |
|
| 367 |
.charitable-dashboard-v2-angle-down { |
| 368 |
font-size: 16px; |
| 369 |
transition: transform 0.3s ease; |
| 370 |
} |
| 371 |
} |
| 372 |
|
| 373 |
// Tab Navigation Styles |
| 374 |
.charitable-dashboard-v2-tab-nav { |
| 375 |
display: flex; |
| 376 |
align-items: center; |
| 377 |
height: 100%; |
| 378 |
width: 100%; |
| 379 |
|
| 380 |
.charitable-dashboard-v2-tab-nav-item { |
| 381 |
display: flex; |
| 382 |
align-items: center; |
| 383 |
height: 100%; |
| 384 |
padding: 0 30px; |
| 385 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 386 |
font-weight: 700; |
| 387 |
font-style: normal; |
| 388 |
font-size: 14px; |
| 389 |
line-height: 130%; |
| 390 |
letter-spacing: 0px; |
| 391 |
color: rgba(25, 29, 45, 0.5); |
| 392 |
text-decoration: none; |
| 393 |
border-right: 1px solid rgba(24, 36, 69, 0.1); |
| 394 |
transition: color 0.2s ease; |
| 395 |
cursor: pointer; |
| 396 |
|
| 397 |
&:last-child { |
| 398 |
border-right: none; |
| 399 |
} |
| 400 |
|
| 401 |
&:hover { |
| 402 |
color: rgba(25, 29, 45, 0.7); |
| 403 |
} |
| 404 |
|
| 405 |
&.charitable-dashboard-v2-tab-nav-active { |
| 406 |
color: rgba(51, 132, 42, 1); |
| 407 |
border-bottom-color: rgba(51, 132, 42, 1); |
| 408 |
} |
| 409 |
} |
| 410 |
} |
| 411 |
} |
| 412 |
|
| 413 |
// Section Content |
| 414 |
.charitable-dashboard-v2-section-content { |
| 415 |
padding: 0 0 20px 0; |
| 416 |
transition: all 0.3s ease; |
| 417 |
overflow: hidden; |
| 418 |
|
| 419 |
p { |
| 420 |
margin: 0; |
| 421 |
color: #52545f; |
| 422 |
font-size: 14px; |
| 423 |
line-height: 1.5; |
| 424 |
} |
| 425 |
|
| 426 |
// Remove padding for Enhance Campaign section content |
| 427 |
&:has(.charitable-dashboard-v2-enhance-grid) { |
| 428 |
padding: 0; |
| 429 |
} |
| 430 |
|
| 431 |
// Remove top padding for Latest Updates section content |
| 432 |
&:has(.charitable-dashboard-v2-latest-updates-background) { |
| 433 |
padding-top: 0; |
| 434 |
} |
| 435 |
|
| 436 |
// Tab content: hide inactive panels, show active. |
| 437 |
.charitable-dashboard-v2-tab-content { |
| 438 |
display: none; |
| 439 |
|
| 440 |
&.charitable-dashboard-v2-tab-content-active { |
| 441 |
display: block; |
| 442 |
} |
| 443 |
} |
| 444 |
} |
| 445 |
|
| 446 |
// Collapsible Functionality |
| 447 |
&.charitable-dashboard-v2-collapsible { |
| 448 |
.charitable-dashboard-v2-section-content { |
| 449 |
max-height: none; |
| 450 |
opacity: 1; |
| 451 |
transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease; |
| 452 |
} |
| 453 |
|
| 454 |
&.charitable-dashboard-v2-collapsed { |
| 455 |
.charitable-dashboard-v2-section-content { |
| 456 |
max-height: 0 !important; |
| 457 |
padding-top: 0 !important; |
| 458 |
padding-bottom: 0 !important; |
| 459 |
opacity: 0; |
| 460 |
overflow: hidden; |
| 461 |
} |
| 462 |
|
| 463 |
.charitable-dashboard-v2-toggle { |
| 464 |
.charitable-dashboard-v2-angle-down { |
| 465 |
transform: rotate(-90deg); |
| 466 |
} |
| 467 |
} |
| 468 |
} |
| 469 |
} |
| 470 |
|
| 471 |
// Left Column Sections (Keep original styling) |
| 472 |
&:not(.charitable-dashboard-v2-right-column .charitable-dashboard-v2-section) { |
| 473 |
padding: 20px; |
| 474 |
|
| 475 |
h3 { |
| 476 |
margin: 0 0 15px 0; |
| 477 |
color: #303442; |
| 478 |
font-size: 18px; |
| 479 |
font-weight: 600; |
| 480 |
} |
| 481 |
|
| 482 |
p { |
| 483 |
margin: 0; |
| 484 |
color: #52545f; |
| 485 |
font-size: 14px; |
| 486 |
line-height: 1.5; |
| 487 |
} |
| 488 |
} |
| 489 |
|
| 490 |
// Special styling for top campaigns section to remove top, left, and right padding |
| 491 |
&.charitable-dashboard-top-campaigns { |
| 492 |
padding: 0 !important; |
| 493 |
|
| 494 |
.charitable-dashboard-v2-section-header { |
| 495 |
padding: 0; |
| 496 |
} |
| 497 |
|
| 498 |
.charitable-dashboard-v2-section-content { |
| 499 |
padding: 0 0 20px 0 !important; |
| 500 |
} |
| 501 |
} |
| 502 |
|
| 503 |
// Quick Access Content Section |
| 504 |
.charitable-dashboard-v2-quick-access-content { |
| 505 |
display: flex; |
| 506 |
justify-content: center; |
| 507 |
margin-bottom: 30px; |
| 508 |
padding: 0 25px; |
| 509 |
|
| 510 |
.charitable-dashboard-v2-quick-access-items { |
| 511 |
width: 100%; |
| 512 |
|
| 513 |
.charitable-dashboard-v2-quick-access-item { |
| 514 |
display: flex; |
| 515 |
align-items: center; |
| 516 |
padding: 15px 0; |
| 517 |
border-bottom: 1px solid rgba(24, 36, 69, 0.1); |
| 518 |
|
| 519 |
&:first-child { |
| 520 |
border-top: none; |
| 521 |
padding-top: 0px; |
| 522 |
} |
| 523 |
|
| 524 |
&:last-child { |
| 525 |
border-bottom: none; |
| 526 |
padding-bottom: 0; |
| 527 |
} |
| 528 |
|
| 529 |
.charitable-dashboard-v2-quick-access-icon { |
| 530 |
width: 24px; |
| 531 |
height: 24px; |
| 532 |
flex-shrink: 0; |
| 533 |
margin-right: 15px; |
| 534 |
display: flex; |
| 535 |
align-items: center; |
| 536 |
justify-content: center; |
| 537 |
} |
| 538 |
|
| 539 |
.charitable-dashboard-v2-quick-access-title { |
| 540 |
flex: 1; |
| 541 |
|
| 542 |
a { |
| 543 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 544 |
font-weight: 600; |
| 545 |
font-style: normal; |
| 546 |
font-size: 14px; |
| 547 |
line-height: 160%; |
| 548 |
letter-spacing: 0px; |
| 549 |
color: rgba(25, 29, 45, 0.8); |
| 550 |
text-decoration: none; |
| 551 |
|
| 552 |
&:hover { |
| 553 |
text-decoration: underline; |
| 554 |
} |
| 555 |
} |
| 556 |
} |
| 557 |
} |
| 558 |
} |
| 559 |
} |
| 560 |
|
| 561 |
// Quick Access Footer |
| 562 |
.charitable-dashboard-v2-quick-access-footer { |
| 563 |
height: 70px; |
| 564 |
background: rgba(254, 248, 243, 1); |
| 565 |
margin: 20px 0 0 0; |
| 566 |
display: flex; |
| 567 |
align-items: center; |
| 568 |
|
| 569 |
.charitable-dashboard-v2-quick-access-footer-content { |
| 570 |
display: flex; |
| 571 |
justify-content: space-between; |
| 572 |
align-items: center; |
| 573 |
width: 100%; |
| 574 |
padding: 0 30px; |
| 575 |
|
| 576 |
.charitable-dashboard-v2-quick-access-footer-left { |
| 577 |
.charitable-dashboard-v2-rate-link { |
| 578 |
display: flex; |
| 579 |
align-items: center; |
| 580 |
gap: 8px; |
| 581 |
text-decoration: none; |
| 582 |
|
| 583 |
.charitable-dashboard-v2-rate-text { |
| 584 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 585 |
font-weight: 500; |
| 586 |
font-size: 14px; |
| 587 |
line-height: 16px; |
| 588 |
letter-spacing: 0px; |
| 589 |
text-align: right; |
| 590 |
vertical-align: middle; |
| 591 |
color: rgba(43, 102, 209, 1); |
| 592 |
} |
| 593 |
|
| 594 |
.charitable-dashboard-v2-arrow-icon { |
| 595 |
color: rgba(43, 102, 209, 1); |
| 596 |
width: 16px; |
| 597 |
height: 16px; |
| 598 |
flex-shrink: 0; |
| 599 |
} |
| 600 |
|
| 601 |
&:hover { |
| 602 |
.charitable-dashboard-v2-rate-text { |
| 603 |
text-decoration: underline; |
| 604 |
} |
| 605 |
} |
| 606 |
} |
| 607 |
} |
| 608 |
|
| 609 |
.charitable-dashboard-v2-quick-access-footer-right { |
| 610 |
.charitable-dashboard-v2-stars { |
| 611 |
display: flex; |
| 612 |
gap: 3px; |
| 613 |
|
| 614 |
.charitable-dashboard-v2-star { |
| 615 |
color: #FFD700; |
| 616 |
font-size: 18px; |
| 617 |
line-height: 1; |
| 618 |
} |
| 619 |
} |
| 620 |
} |
| 621 |
} |
| 622 |
} |
| 623 |
|
| 624 |
// Enhance Campaign Grid |
| 625 |
.charitable-dashboard-v2-enhance-grid { |
| 626 |
display: grid; |
| 627 |
grid-template-columns: 1fr 1fr; |
| 628 |
grid-template-rows: 1fr 1fr; |
| 629 |
gap: 1px; |
| 630 |
background: rgba(24, 36, 69, 0.1); |
| 631 |
margin: 0; // Extend edge to edge |
| 632 |
|
| 633 |
.charitable-dashboard-v2-enhance-grid-item { |
| 634 |
background: white; |
| 635 |
padding: 20px; |
| 636 |
|
| 637 |
.charitable-dashboard-v2-enhance-grid-content { |
| 638 |
.charitable-dashboard-v2-enhance-grid-header { |
| 639 |
display: flex; |
| 640 |
align-items: center; |
| 641 |
gap: 10px; |
| 642 |
margin-bottom: 15px; |
| 643 |
|
| 644 |
.charitable-dashboard-v2-enhance-grid-icon { |
| 645 |
width: 20px; |
| 646 |
height: 20px; |
| 647 |
flex-shrink: 0; |
| 648 |
} |
| 649 |
|
| 650 |
.charitable-dashboard-v2-enhance-grid-title { |
| 651 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 652 |
font-weight: 700; |
| 653 |
font-style: normal; |
| 654 |
font-size: 14px; |
| 655 |
line-height: 130%; |
| 656 |
letter-spacing: 0px; |
| 657 |
color: rgba(25, 29, 45, 0.9); |
| 658 |
margin: 0; |
| 659 |
} |
| 660 |
} |
| 661 |
|
| 662 |
.charitable-dashboard-v2-enhance-grid-description { |
| 663 |
margin: 0 0 15px 0; |
| 664 |
color: #52545f; |
| 665 |
font-size: 14px; |
| 666 |
line-height: 1.5; |
| 667 |
} |
| 668 |
|
| 669 |
.charitable-dashboard-v2-enhance-grid-button { |
| 670 |
background: white; |
| 671 |
border: 1px solid rgba(14, 33, 33, 0.14); |
| 672 |
border-radius: 4px; |
| 673 |
padding: 8px 16px; |
| 674 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 675 |
font-weight: 500; |
| 676 |
font-style: normal; |
| 677 |
font-size: 13px; |
| 678 |
line-height: 100%; |
| 679 |
letter-spacing: 0px; |
| 680 |
color: rgba(14, 33, 33, 0.8); |
| 681 |
cursor: pointer; |
| 682 |
transition: all 0.2s ease; |
| 683 |
|
| 684 |
&:hover { |
| 685 |
background: rgba(14, 33, 33, 0.05); |
| 686 |
border-color: rgba(14, 33, 33, 0.2); |
| 687 |
} |
| 688 |
|
| 689 |
// Activate button styling (orange background, white text) |
| 690 |
&.charitable-dashboard-v2-activate-button { |
| 691 |
background: #eaa251; |
| 692 |
border-color: #eaa251; |
| 693 |
color: white; |
| 694 |
|
| 695 |
&:hover { |
| 696 |
background: #d89447; // Darker version of #eaa251 on hover |
| 697 |
border-color: #d89447; |
| 698 |
} |
| 699 |
} |
| 700 |
} |
| 701 |
} |
| 702 |
} |
| 703 |
} |
| 704 |
|
| 705 |
// Latest Updates Background Section |
| 706 |
.charitable-dashboard-v2-latest-updates-background { |
| 707 |
background: rgba(254, 248, 243, 1); // Same warm cream as Quick Access footer |
| 708 |
margin: 0; |
| 709 |
padding: 20px 25px; // Add padding for content |
| 710 |
border-bottom: 1px solid rgba(24, 36, 69, 0.1); |
| 711 |
|
| 712 |
.charitable-dashboard-v2-latest-updates-background-content { |
| 713 |
.charitable-dashboard-v2-latest-updates-flex { |
| 714 |
display: flex; |
| 715 |
gap: 10px; |
| 716 |
align-items: flex-start; |
| 717 |
|
| 718 |
.charitable-dashboard-v2-latest-updates-icon { |
| 719 |
flex-shrink: 0; |
| 720 |
|
| 721 |
.charitable-dashboard-v2-latest-updates-icon-placeholder { |
| 722 |
width: 26px; |
| 723 |
height: 26px; |
| 724 |
} |
| 725 |
} |
| 726 |
|
| 727 |
.charitable-dashboard-v2-latest-updates-content { |
| 728 |
flex: 1; |
| 729 |
|
| 730 |
.charitable-dashboard-v2-latest-updates-headline { |
| 731 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 732 |
font-weight: 600; |
| 733 |
font-style: normal; |
| 734 |
font-size: 15px; |
| 735 |
line-height: 22px; |
| 736 |
letter-spacing: 0px; |
| 737 |
color: rgba(25, 29, 45, 0.9); |
| 738 |
margin: -4px 0 15px 0; |
| 739 |
} |
| 740 |
|
| 741 |
.charitable-dashboard-v2-latest-updates-features { |
| 742 |
display: flex; |
| 743 |
flex-wrap: wrap; |
| 744 |
gap: 5px 12px; |
| 745 |
|
| 746 |
.charitable-dashboard-v2-latest-updates-feature { |
| 747 |
display: inline-flex; |
| 748 |
align-items: center; |
| 749 |
gap: 6px; |
| 750 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 751 |
font-weight: 500; |
| 752 |
font-style: normal; |
| 753 |
font-size: 14px; |
| 754 |
line-height: 160%; |
| 755 |
letter-spacing: 0px; |
| 756 |
color: rgba(25, 29, 45, 0.9); |
| 757 |
|
| 758 |
.charitable-dashboard-v2-latest-updates-checkmark { |
| 759 |
width: 9px; |
| 760 |
height: 7px; |
| 761 |
flex-shrink: 0; |
| 762 |
} |
| 763 |
} |
| 764 |
} |
| 765 |
|
| 766 |
.charitable-dashboard-v2-latest-updates-button { |
| 767 |
background: rgba(90, 161, 82, 1); |
| 768 |
border: none; |
| 769 |
border-radius: 4px; |
| 770 |
padding: 10px 20px; |
| 771 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 772 |
font-weight: 700; |
| 773 |
font-size: 13px; |
| 774 |
line-height: 16px; |
| 775 |
letter-spacing: 0px; |
| 776 |
text-align: center; |
| 777 |
vertical-align: middle; |
| 778 |
color: rgba(255, 255, 255, 1); |
| 779 |
cursor: pointer; |
| 780 |
transition: all 0.2s ease; |
| 781 |
|
| 782 |
&:hover { |
| 783 |
background: rgba(69, 123, 63, 1); |
| 784 |
} |
| 785 |
} |
| 786 |
} |
| 787 |
} |
| 788 |
} |
| 789 |
} |
| 790 |
|
| 791 |
// Latest Updates Footer |
| 792 |
.charitable-dashboard-v2-latest-updates-footer { |
| 793 |
height: 70px; |
| 794 |
background: white; |
| 795 |
margin: 0; |
| 796 |
display: flex; |
| 797 |
align-items: center; |
| 798 |
border-top: 1px solid rgba(24, 36, 69, 0.1); // Add top border for separation |
| 799 |
|
| 800 |
.charitable-dashboard-v2-latest-updates-footer-content { |
| 801 |
display: flex; |
| 802 |
justify-content: flex-start; // Left align since no right content |
| 803 |
align-items: center; |
| 804 |
width: 100%; |
| 805 |
padding: 0 30px; // Same 30px left/right margins as other footers |
| 806 |
|
| 807 |
.charitable-dashboard-v2-latest-updates-footer-left { |
| 808 |
.charitable-dashboard-v2-blog-link { |
| 809 |
display: flex; |
| 810 |
align-items: center; |
| 811 |
gap: 8px; |
| 812 |
text-decoration: none; |
| 813 |
transition: gap 0.3s ease; |
| 814 |
|
| 815 |
.charitable-dashboard-v2-blog-text { |
| 816 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 817 |
font-weight: 500; |
| 818 |
font-size: 14px; |
| 819 |
line-height: 16px; |
| 820 |
letter-spacing: 0px; |
| 821 |
text-align: left; |
| 822 |
vertical-align: middle; |
| 823 |
color: rgba(43, 102, 209, 1); |
| 824 |
} |
| 825 |
|
| 826 |
.charitable-dashboard-v2-arrow-icon { |
| 827 |
color: rgba(43, 102, 209, 1); |
| 828 |
width: 16px; |
| 829 |
height: 16px; |
| 830 |
flex-shrink: 0; |
| 831 |
} |
| 832 |
|
| 833 |
&:hover { |
| 834 |
gap: 4px; |
| 835 |
|
| 836 |
.charitable-dashboard-v2-blog-text { |
| 837 |
text-decoration: underline; |
| 838 |
} |
| 839 |
} |
| 840 |
} |
| 841 |
} |
| 842 |
} |
| 843 |
} |
| 844 |
|
| 845 |
// Blog Posts Section |
| 846 |
.charitable-dashboard-v2-blog-posts { |
| 847 |
margin-top: 35px; |
| 848 |
margin-bottom: 15px; |
| 849 |
padding: 0 25px; |
| 850 |
|
| 851 |
.charitable-dashboard-v2-blog-post-row { |
| 852 |
display: flex; |
| 853 |
flex-direction: row; |
| 854 |
justify-content: space-between; |
| 855 |
align-items: center; |
| 856 |
margin-bottom: 40px; |
| 857 |
|
| 858 |
&:last-child { |
| 859 |
margin-bottom: 0; // Remove bottom margin from last row |
| 860 |
} |
| 861 |
|
| 862 |
.charitable-dashboard-v2-blog-post-left { |
| 863 |
width: 282px; |
| 864 |
|
| 865 |
.charitable-dashboard-v2-blog-post-timestamp { |
| 866 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 867 |
font-weight: 500; |
| 868 |
font-style: normal; |
| 869 |
font-size: 13px; |
| 870 |
line-height: 150%; |
| 871 |
letter-spacing: 0px; |
| 872 |
color: rgba(25, 29, 45, 0.6); |
| 873 |
margin-bottom: 15px; |
| 874 |
} |
| 875 |
|
| 876 |
.charitable-dashboard-v2-blog-post-title { |
| 877 |
margin: 0; |
| 878 |
|
| 879 |
a { |
| 880 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 881 |
font-weight: 600; |
| 882 |
font-style: normal; |
| 883 |
font-size: 14px; |
| 884 |
line-height: 170%; |
| 885 |
letter-spacing: -0.25px; |
| 886 |
color: rgba(25, 29, 45, 0.9); |
| 887 |
text-decoration: none; |
| 888 |
|
| 889 |
&:hover { |
| 890 |
text-decoration: underline; |
| 891 |
} |
| 892 |
} |
| 893 |
} |
| 894 |
} |
| 895 |
|
| 896 |
.charitable-dashboard-v2-blog-post-right { |
| 897 |
display: flex; |
| 898 |
align-items: center; |
| 899 |
|
| 900 |
.charitable-dashboard-v2-blog-post-image-placeholder { |
| 901 |
width: 106px; |
| 902 |
height: 56px; |
| 903 |
flex-shrink: 0; |
| 904 |
} |
| 905 |
} |
| 906 |
|
| 907 |
// Error Display Styling |
| 908 |
&.error-display { |
| 909 |
display: flex; |
| 910 |
gap: 10px; |
| 911 |
align-items: flex-start; |
| 912 |
margin-bottom: 20px; |
| 913 |
|
| 914 |
.charitable-dashboard-v2-blog-post-title { |
| 915 |
display: flex; |
| 916 |
align-items: center; |
| 917 |
gap: 10px; |
| 918 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 919 |
font-weight: 600; |
| 920 |
font-style: normal; |
| 921 |
font-size: 15px; |
| 922 |
line-height: 22px; |
| 923 |
letter-spacing: 0px; |
| 924 |
color: rgba(25, 29, 45, 0.9); |
| 925 |
margin: 0; |
| 926 |
|
| 927 |
&::before { |
| 928 |
content: ''; |
| 929 |
width: 26px; |
| 930 |
height: 26px; |
| 931 |
flex-shrink: 0; |
| 932 |
background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='13' cy='13' r='13' fill='%23f56565'/%3E%3Cpath d='M13 6.5L19.5 17.5H6.5L13 6.5Z' fill='white'/%3E%3Cpath d='M13 10.5V14.5' stroke='%23f56565' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='13' cy='17' r='1' fill='%23f56565'/%3E%3C/svg%3E"); |
| 933 |
background-repeat: no-repeat; |
| 934 |
background-position: center; |
| 935 |
background-size: contain; |
| 936 |
} |
| 937 |
} |
| 938 |
} |
| 939 |
} |
| 940 |
} |
| 941 |
|
| 942 |
// No Update Alert - when version update alert doesn't show |
| 943 |
&.no-update-alert { |
| 944 |
.charitable-dashboard-v2-blog-posts { |
| 945 |
margin-top: 0; |
| 946 |
} |
| 947 |
} |
| 948 |
|
| 949 |
// Blog Posts Error Display Styling |
| 950 |
.charitable-dashboard-v2-blog-posts .charitable-dashboard-v2-blog-post-row.error-display { |
| 951 |
display: flex; |
| 952 |
gap: 10px; |
| 953 |
align-items: flex-start; |
| 954 |
margin-bottom: 20px; |
| 955 |
} |
| 956 |
|
| 957 |
.charitable-dashboard-v2-blog-posts .charitable-dashboard-v2-blog-post-row.error-display .charitable-dashboard-v2-blog-post-title { |
| 958 |
display: flex; |
| 959 |
align-items: center; |
| 960 |
gap: 10px; |
| 961 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 962 |
font-weight: 600; |
| 963 |
font-style: normal; |
| 964 |
font-size: 15px; |
| 965 |
line-height: 22px; |
| 966 |
letter-spacing: 0px; |
| 967 |
color: rgba(25, 29, 45, 0.9); |
| 968 |
margin: 0; |
| 969 |
|
| 970 |
&::before { |
| 971 |
content: ''; |
| 972 |
width: 26px; |
| 973 |
height: 26px; |
| 974 |
flex-shrink: 0; |
| 975 |
background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='13' cy='13' r='13' fill='%23f56565'/%3E%3Cpath d='M13 6.5L19.5 17.5H6.5L13 6.5Z' fill='white'/%3E%3Cpath d='M13 10.5V14.5' stroke='%23f56565' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='13' cy='17' r='1' fill='%23f56565'/%3E%3C/svg%3E"); |
| 976 |
background-repeat: no-repeat; |
| 977 |
background-position: center; |
| 978 |
background-size: contain; |
| 979 |
} |
| 980 |
} |
| 981 |
|
| 982 |
// Enhance Campaign Footer |
| 983 |
.charitable-dashboard-v2-enhance-campaign-footer { |
| 984 |
height: 70px; |
| 985 |
background: white; |
| 986 |
margin: 0; |
| 987 |
display: flex; |
| 988 |
align-items: center; |
| 989 |
border-top: 1px solid rgba(24, 36, 69, 0.1); // Add top border for separation |
| 990 |
|
| 991 |
.charitable-dashboard-v2-enhance-campaign-footer-content { |
| 992 |
display: flex; |
| 993 |
justify-content: flex-start; // Left align since no right content |
| 994 |
align-items: center; |
| 995 |
width: 100%; |
| 996 |
padding: 0 30px; // Same 30px left/right margins as Quick Access footer |
| 997 |
|
| 998 |
.charitable-dashboard-v2-enhance-campaign-footer-left { |
| 999 |
.charitable-dashboard-v2-addons-link { |
| 1000 |
display: flex; |
| 1001 |
align-items: center; |
| 1002 |
gap: 8px; |
| 1003 |
text-decoration: none; |
| 1004 |
|
| 1005 |
.charitable-dashboard-v2-addons-text { |
| 1006 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 1007 |
font-weight: 500; |
| 1008 |
font-size: 14px; |
| 1009 |
line-height: 16px; |
| 1010 |
letter-spacing: 0px; |
| 1011 |
text-align: left; |
| 1012 |
vertical-align: middle; |
| 1013 |
color: rgba(43, 102, 209, 1); |
| 1014 |
} |
| 1015 |
|
| 1016 |
.charitable-dashboard-v2-arrow-icon { |
| 1017 |
color: rgba(43, 102, 209, 1); |
| 1018 |
width: 16px; |
| 1019 |
height: 16px; |
| 1020 |
flex-shrink: 0; |
| 1021 |
} |
| 1022 |
|
| 1023 |
&:hover { |
| 1024 |
.charitable-dashboard-v2-addons-text { |
| 1025 |
text-decoration: underline; |
| 1026 |
} |
| 1027 |
} |
| 1028 |
} |
| 1029 |
} |
| 1030 |
} |
| 1031 |
} |
| 1032 |
|
| 1033 |
// Upgrade Section Styles |
| 1034 |
.charitable-dashboard-v2-upgrade-title { |
| 1035 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 1036 |
font-weight: 700; |
| 1037 |
font-style: normal; |
| 1038 |
font-size: 20px; |
| 1039 |
line-height: 33px; |
| 1040 |
letter-spacing: 0.01em; // 1% |
| 1041 |
text-align: center; |
| 1042 |
color: rgba(25, 29, 45, 0.8); |
| 1043 |
margin: 0; |
| 1044 |
padding-top: 10px; |
| 1045 |
} |
| 1046 |
|
| 1047 |
.charitable-dashboard-v2-upgrade-features { |
| 1048 |
display: flex; |
| 1049 |
gap: 10px 10px; |
| 1050 |
margin: 30px 0; |
| 1051 |
justify-content: center; |
| 1052 |
|
| 1053 |
.charitable-dashboard-v2-upgrade-column { |
| 1054 |
flex: 1; |
| 1055 |
max-width: 300px; |
| 1056 |
display: flex; |
| 1057 |
flex-direction: column; |
| 1058 |
gap: 20px; |
| 1059 |
} |
| 1060 |
|
| 1061 |
.charitable-dashboard-v2-upgrade-feature { |
| 1062 |
display: flex; |
| 1063 |
align-items: flex-start; |
| 1064 |
gap: 12px; |
| 1065 |
|
| 1066 |
.charitable-dashboard-v2-upgrade-checkmark { |
| 1067 |
width: 18px; |
| 1068 |
height: 18px; |
| 1069 |
flex-shrink: 0; |
| 1070 |
margin-top: 2px; // Align with text baseline |
| 1071 |
} |
| 1072 |
|
| 1073 |
.charitable-dashboard-v2-upgrade-feature-text { |
| 1074 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 1075 |
font-weight: 500; |
| 1076 |
font-size: 14px; |
| 1077 |
line-height: 150%; |
| 1078 |
letter-spacing: 0px; |
| 1079 |
color: rgba(25, 29, 45, 0.8); |
| 1080 |
margin: 0; |
| 1081 |
} |
| 1082 |
} |
| 1083 |
} |
| 1084 |
|
| 1085 |
.charitable-dashboard-v2-upgrade-actions { |
| 1086 |
display: flex; |
| 1087 |
flex-direction: column; |
| 1088 |
align-items: center; |
| 1089 |
gap: 20px; |
| 1090 |
margin-top: 30px; |
| 1091 |
padding-bottom: 20px; |
| 1092 |
|
| 1093 |
.charitable-dashboard-v2-upgrade-button { |
| 1094 |
background: rgba(218, 144, 33, 1); // Charitable Orange |
| 1095 |
border: none; |
| 1096 |
border-radius: 4px; |
| 1097 |
padding: 22px 42px; |
| 1098 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 1099 |
font-weight: 600; |
| 1100 |
font-size: 19px; |
| 1101 |
line-height: 100%; |
| 1102 |
letter-spacing: 0px; |
| 1103 |
color: white; |
| 1104 |
cursor: pointer; |
| 1105 |
transition: background-color 0.2s ease; |
| 1106 |
text-decoration: none; |
| 1107 |
|
| 1108 |
&:hover { |
| 1109 |
background: #d89447 !important; // Match activate button hover color |
| 1110 |
text-decoration: none; |
| 1111 |
} |
| 1112 |
} |
| 1113 |
|
| 1114 |
.charitable-dashboard-v2-learn-more-link { |
| 1115 |
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 1116 |
font-weight: 600; |
| 1117 |
font-size: 14px; |
| 1118 |
line-height: 150%; |
| 1119 |
letter-spacing: 0px; |
| 1120 |
text-align: center; |
| 1121 |
text-decoration: underline; |
| 1122 |
color: rgba(25, 29, 45, 0.5); |
| 1123 |
transition: color 0.2s ease; |
| 1124 |
|
| 1125 |
&:hover { |
| 1126 |
color: rgba(25, 29, 45, 0.7); |
| 1127 |
} |
| 1128 |
} |
| 1129 |
} |
| 1130 |
} |
| 1131 |
|
| 1132 |
/* Campaign Table Column Widths */ |
| 1133 |
.charitable-dashboard-v2-table th:nth-child(1), |
| 1134 |
.charitable-dashboard-v2-table td:nth-child(1) { |
| 1135 |
width: 205px; |
| 1136 |
padding-left: 30px; |
| 1137 |
} |
| 1138 |
|
| 1139 |
.charitable-dashboard-v2-table th:nth-child(2), |
| 1140 |
.charitable-dashboard-v2-table td:nth-child(2) { |
| 1141 |
width: 120px; |
| 1142 |
} |
| 1143 |
|
| 1144 |
.charitable-dashboard-v2-table th:nth-child(3), |
| 1145 |
.charitable-dashboard-v2-table td:nth-child(3) { |
| 1146 |
width: 120px; |
| 1147 |
} |
| 1148 |
|
| 1149 |
.charitable-dashboard-v2-table th:nth-child(4), |
| 1150 |
.charitable-dashboard-v2-table td:nth-child(4) { |
| 1151 |
width: auto; |
| 1152 |
} |
| 1153 |
|
| 1154 |
.charitable-dashboard-v2-table th:nth-child(5), |
| 1155 |
.charitable-dashboard-v2-table td:nth-child(5) { |
| 1156 |
width: auto; |
| 1157 |
text-align: center; |
| 1158 |
} |
| 1159 |
|
| 1160 |
/* Campaign Title Styling */ |
| 1161 |
.campaign-title { |
| 1162 |
display: flex; |
| 1163 |
align-items: center; |
| 1164 |
gap: 8px; |
| 1165 |
|
| 1166 |
a { |
| 1167 |
font-family: Inter; |
| 1168 |
font-weight: 500; |
| 1169 |
font-style: normal; |
| 1170 |
font-size: 15px; |
| 1171 |
line-height: 160%; |
| 1172 |
letter-spacing: 0px; |
| 1173 |
color: rgba(25, 29, 45, 1); |
| 1174 |
text-decoration: none; |
| 1175 |
|
| 1176 |
&:hover { |
| 1177 |
color: rgba(76, 123, 207, 1); |
| 1178 |
} |
| 1179 |
} |
| 1180 |
} |
| 1181 |
|
| 1182 |
/* Goal and Reach Text Styling */ |
| 1183 |
.charitable-dashboard-v2-table td:nth-child(2), |
| 1184 |
.charitable-dashboard-v2-table td:nth-child(3) { |
| 1185 |
font-family: Inter; |
| 1186 |
font-weight: 500; |
| 1187 |
font-style: normal; |
| 1188 |
font-size: 14px; |
| 1189 |
line-height: 100%; |
| 1190 |
letter-spacing: 0px; |
| 1191 |
color: rgba(25, 29, 45, 0.8); |
| 1192 |
} |
| 1193 |
|
| 1194 |
/* Status Badges */ |
| 1195 |
.status-badge { |
| 1196 |
display: inline-block; |
| 1197 |
padding: 4px 12px; |
| 1198 |
border-radius: 12px; |
| 1199 |
font-family: Inter; |
| 1200 |
font-weight: 500; |
| 1201 |
font-size: 12px; |
| 1202 |
line-height: 130%; |
| 1203 |
color: rgba(25, 29, 45, 0.8); |
| 1204 |
|
| 1205 |
&.status-active { |
| 1206 |
background: rgba(76, 123, 207, 0.1); |
| 1207 |
color: rgba(76, 123, 207, 1); |
| 1208 |
} |
| 1209 |
|
| 1210 |
&.status-unsuccessful { |
| 1211 |
background: rgba(234, 78, 100, 0.1); |
| 1212 |
color: rgba(234, 78, 100, 1); |
| 1213 |
} |
| 1214 |
|
| 1215 |
&.status-cancelled { |
| 1216 |
background: rgba(153, 153, 153, 0.1); |
| 1217 |
color: rgba(153, 153, 153, 1); |
| 1218 |
} |
| 1219 |
} |
| 1220 |
|
| 1221 |
/* Progress Circle */ |
| 1222 |
.progress-circle { |
| 1223 |
position: relative; |
| 1224 |
display: inline-flex; |
| 1225 |
align-items: center; |
| 1226 |
justify-content: center; |
| 1227 |
width: 40px; |
| 1228 |
height: 40px; |
| 1229 |
margin: 0 auto; |
| 1230 |
|
| 1231 |
svg { |
| 1232 |
position: absolute; |
| 1233 |
top: 0; |
| 1234 |
left: 0; |
| 1235 |
} |
| 1236 |
} |
| 1237 |
|
| 1238 |
.progress-text { |
| 1239 |
font-family: Inter; |
| 1240 |
font-weight: 600; |
| 1241 |
font-style: normal; |
| 1242 |
font-size: 12px; |
| 1243 |
line-height: 160%; |
| 1244 |
letter-spacing: 0px; |
| 1245 |
color: rgba(25, 29, 45, 0.8); |
| 1246 |
z-index: 1; |
| 1247 |
} |
| 1248 |
|
| 1249 |
/* Dashboard v2 Notifications */ |
| 1250 |
.charitable-dashboard-v2-notifications { |
| 1251 |
display: block; |
| 1252 |
margin-top: 20px; |
| 1253 |
max-width: 1172px; |
| 1254 |
margin-left: auto; |
| 1255 |
margin-right: auto; |
| 1256 |
padding: 0; |
| 1257 |
position: relative; |
| 1258 |
background: white; |
| 1259 |
border: 1px solid rgba(24, 36, 69, 0.1); |
| 1260 |
border-radius: 4px; |
| 1261 |
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05); |
| 1262 |
|
| 1263 |
// Bar sits in the top-right corner with the close button and nav arrows. |
| 1264 |
.charitable-dashboard-notification-bar { |
| 1265 |
position: absolute; |
| 1266 |
top: 12px; |
| 1267 |
right: 12px; |
| 1268 |
display: flex; |
| 1269 |
align-items: center; |
| 1270 |
gap: 8px; |
| 1271 |
z-index: 1; |
| 1272 |
|
| 1273 |
.charitable-dashboard-notification-navigation { |
| 1274 |
position: static; |
| 1275 |
top: auto; |
| 1276 |
right: auto; |
| 1277 |
display: flex; |
| 1278 |
align-items: center; |
| 1279 |
gap: 2px; |
| 1280 |
min-height: auto; |
| 1281 |
padding: 0; |
| 1282 |
|
| 1283 |
a { |
| 1284 |
position: static; |
| 1285 |
top: auto; |
| 1286 |
font-size: 24px; |
| 1287 |
line-height: 1; |
| 1288 |
padding: 2px 4px; |
| 1289 |
} |
| 1290 |
|
| 1291 |
.charitable-dashboard-notification-counter { |
| 1292 |
font-size: 13px; |
| 1293 |
color: #666; |
| 1294 |
white-space: nowrap; |
| 1295 |
padding: 0 2px; |
| 1296 |
line-height: 1; |
| 1297 |
} |
| 1298 |
} |
| 1299 |
|
| 1300 |
.charitable-remove-dashboard-notification { |
| 1301 |
position: static; |
| 1302 |
top: auto; |
| 1303 |
right: auto; |
| 1304 |
} |
| 1305 |
} |
| 1306 |
|
| 1307 |
.charitable-dashboard-notification { |
| 1308 |
margin: 0; |
| 1309 |
border: 0; |
| 1310 |
background: white; |
| 1311 |
border-radius: 0; |
| 1312 |
box-shadow: none; |
| 1313 |
|
| 1314 |
.charitable-dashboard-notification-message { |
| 1315 |
padding: 15px 20px; |
| 1316 |
|
| 1317 |
.charitable-dashboard-notification-headline { |
| 1318 |
margin: 0 0 10px 0; |
| 1319 |
font-size: 16px; |
| 1320 |
font-weight: 600; |
| 1321 |
color: #1d2327; |
| 1322 |
display: flex; |
| 1323 |
align-items: center; |
| 1324 |
gap: 6px; |
| 1325 |
} |
| 1326 |
|
| 1327 |
.charitable-notification-type-icon { |
| 1328 |
font-size: 18px; |
| 1329 |
width: 18px; |
| 1330 |
height: 18px; |
| 1331 |
line-height: 1; |
| 1332 |
flex-shrink: 0; |
| 1333 |
} |
| 1334 |
|
| 1335 |
p { |
| 1336 |
margin: 0 0 10px 0; |
| 1337 |
line-height: 1.5; |
| 1338 |
} |
| 1339 |
|
| 1340 |
ul { |
| 1341 |
margin: 10px 0; |
| 1342 |
padding-left: 20px; |
| 1343 |
|
| 1344 |
li { |
| 1345 |
margin-bottom: 5px; |
| 1346 |
} |
| 1347 |
} |
| 1348 |
|
| 1349 |
.charitable-notification-cta-button { |
| 1350 |
display: inline-block; |
| 1351 |
padding: 8px 16px; |
| 1352 |
background-color: #5aa152; |
| 1353 |
color: #fff; |
| 1354 |
font-size: 13px; |
| 1355 |
font-weight: 600; |
| 1356 |
line-height: 1.5; |
| 1357 |
text-decoration: none; |
| 1358 |
border-radius: 4px; |
| 1359 |
margin-top: 5px; |
| 1360 |
|
| 1361 |
&:hover { |
| 1362 |
background-color: #4a8a44; |
| 1363 |
color: #fff; |
| 1364 |
} |
| 1365 |
} |
| 1366 |
} |
| 1367 |
|
| 1368 |
// Icon colors matched to notification type border colors. |
| 1369 |
&[data-notification-type="notice"]="notice""] .charitable-notification-type-icon { |
| 1370 |
color: #00a0d2; |
| 1371 |
} |
| 1372 |
|
| 1373 |
&[data-notification-type="warning"]="warning""] .charitable-notification-type-icon { |
| 1374 |
color: #ffb900; |
| 1375 |
} |
| 1376 |
|
| 1377 |
&[data-notification-type="error"]="error""] .charitable-notification-type-icon { |
| 1378 |
color: #dc3232; |
| 1379 |
} |
| 1380 |
|
| 1381 |
.charitable-dashboard-notification-bar { |
| 1382 |
display: flex; |
| 1383 |
justify-content: space-between; |
| 1384 |
align-items: center; |
| 1385 |
padding: 10px 15px; |
| 1386 |
|
| 1387 |
.charitable-remove-dashboard-notification { |
| 1388 |
color: #666; |
| 1389 |
text-decoration: none; |
| 1390 |
font-size: 18px; |
| 1391 |
line-height: 1; |
| 1392 |
|
| 1393 |
&:hover { |
| 1394 |
color: #000; |
| 1395 |
} |
| 1396 |
} |
| 1397 |
} |
| 1398 |
} |
| 1399 |
} |
| 1400 |
|
| 1401 |
/* Future V2 Dashboard Components */ |
| 1402 |
// Add your custom components and styles here |
| 1403 |
// Example: |
| 1404 |
// .charitable-v2-widget { } |
| 1405 |
// .charitable-v2-card { } |
| 1406 |
// .charitable-v2-chart { } |
| 1407 |
|
| 1408 |
/* Enhance Grid Icon Vertical Centering */ |
| 1409 |
.charitable-dashboard-v2-enhance-grid-icon { |
| 1410 |
display: flex; |
| 1411 |
align-items: center; |
| 1412 |
justify-content: center; |
| 1413 |
} |
| 1414 |
|
| 1415 |
/* Basic Table Styles */ |
| 1416 |
.charitable-dashboard-v2-table { |
| 1417 |
width: 100%; |
| 1418 |
border-collapse: collapse; |
| 1419 |
|
| 1420 |
thead th { |
| 1421 |
background: rgba(25, 29, 45, 0.02); |
| 1422 |
font-family: Inter; |
| 1423 |
font-weight: 500; |
| 1424 |
font-style: normal; |
| 1425 |
font-size: 13px; |
| 1426 |
line-height: 130%; |
| 1427 |
letter-spacing: 0px; |
| 1428 |
color: rgba(25, 29, 45, 0.5); |
| 1429 |
padding: 16px 12px; |
| 1430 |
text-align: left; |
| 1431 |
border-bottom: 1px solid rgba(24, 36, 69, 0.1); |
| 1432 |
} |
| 1433 |
|
| 1434 |
tbody td { |
| 1435 |
padding: 16px 12px; |
| 1436 |
border-bottom: 1px solid rgba(24, 36, 69, 0.05); |
| 1437 |
} |
| 1438 |
|
| 1439 |
tbody tr:last-child td { |
| 1440 |
border-bottom: none; |
| 1441 |
} |
| 1442 |
} |
| 1443 |
|
| 1444 |
/* Donation Table Styles */ |
| 1445 |
.charitable-dashboard-v2-table-donations { |
| 1446 |
margin-top: 0; |
| 1447 |
} |
| 1448 |
|
| 1449 |
.charitable-dashboard-v2-table-donations th { |
| 1450 |
background-color: rgba(248, 250, 252, 1); |
| 1451 |
border-bottom: 1px solid rgba(226, 232, 240, 1); |
| 1452 |
padding: 16px 20px; |
| 1453 |
text-align: left; |
| 1454 |
font-family: Inter; |
| 1455 |
font-weight: 600; |
| 1456 |
font-size: 14px; |
| 1457 |
line-height: 140%; |
| 1458 |
color: rgba(25, 29, 45, 0.8); |
| 1459 |
} |
| 1460 |
|
| 1461 |
.charitable-dashboard-v2-table-donations th:last-child { |
| 1462 |
text-align: right; |
| 1463 |
padding: 16px 35px; |
| 1464 |
} |
| 1465 |
|
| 1466 |
.charitable-dashboard-v2-table-donations th:first-child, |
| 1467 |
.charitable-dashboard-v2-table-donations td:first-child { |
| 1468 |
width: calc(100% - 120px) !important; |
| 1469 |
} |
| 1470 |
|
| 1471 |
.charitable-dashboard-v2-table-donations th:last-child, |
| 1472 |
.charitable-dashboard-v2-table-donations td:last-child { |
| 1473 |
width: auto !important; |
| 1474 |
} |
| 1475 |
|
| 1476 |
.charitable-dashboard-v2-table-donations tr { |
| 1477 |
transition: background-color 0.2s ease; |
| 1478 |
} |
| 1479 |
|
| 1480 |
.charitable-dashboard-v2-table-donations tr:hover { |
| 1481 |
background-color: rgba(248, 250, 252, 0.8); |
| 1482 |
} |
| 1483 |
|
| 1484 |
.charitable-dashboard-v2-table tr { |
| 1485 |
transition: background-color 0.2s ease; |
| 1486 |
} |
| 1487 |
|
| 1488 |
.charitable-dashboard-v2-table tr:hover { |
| 1489 |
background-color: rgba(248, 250, 252, 0.8); |
| 1490 |
} |
| 1491 |
|
| 1492 |
.charitable-dashboard-v2-table-donations td { |
| 1493 |
padding: 20px; |
| 1494 |
border-bottom: 1px solid rgba(226, 232, 240, 1); |
| 1495 |
vertical-align: top; |
| 1496 |
} |
| 1497 |
|
| 1498 |
.charitable-dashboard-v2-table-donations td:last-child { |
| 1499 |
padding-right: 30px; |
| 1500 |
text-align: right; |
| 1501 |
vertical-align: middle; |
| 1502 |
} |
| 1503 |
|
| 1504 |
.donation-details { |
| 1505 |
display: flex; |
| 1506 |
flex-direction: column; |
| 1507 |
gap: 8px; |
| 1508 |
} |
| 1509 |
|
| 1510 |
.donation-header { |
| 1511 |
display: grid; |
| 1512 |
grid-template-columns: 1fr 1fr; |
| 1513 |
grid-template-rows: auto auto; |
| 1514 |
gap: 8px 20px; |
| 1515 |
align-items: start; |
| 1516 |
text-align: left; |
| 1517 |
} |
| 1518 |
|
| 1519 |
.donation-name { |
| 1520 |
font-family: Inter; |
| 1521 |
font-weight: 500; |
| 1522 |
font-style: normal; |
| 1523 |
font-size: 15px; |
| 1524 |
line-height: 160%; |
| 1525 |
letter-spacing: 0px; |
| 1526 |
color: rgba(25, 29, 45, 1); |
| 1527 |
} |
| 1528 |
|
| 1529 |
.donation-name a { |
| 1530 |
color: rgba(25, 29, 45, 1); |
| 1531 |
text-decoration: none; |
| 1532 |
transition: color 0.2s ease; |
| 1533 |
font-size: 11px; |
| 1534 |
font-weight: 400; |
| 1535 |
} |
| 1536 |
|
| 1537 |
.donation-name a:hover { |
| 1538 |
color: rgba(43, 102, 209, 1); |
| 1539 |
text-decoration: underline; |
| 1540 |
} |
| 1541 |
|
| 1542 |
.donation-timestamp { |
| 1543 |
font-weight: 200; |
| 1544 |
font-size: 11px; |
| 1545 |
margin-top: 4px; |
| 1546 |
margin-left: 0; |
| 1547 |
} |
| 1548 |
|
| 1549 |
|
| 1550 |
|
| 1551 |
.donation-amount { |
| 1552 |
font-family: Inter; |
| 1553 |
font-weight: 500; |
| 1554 |
font-style: normal; |
| 1555 |
font-size: 14px; |
| 1556 |
line-height: 100%; |
| 1557 |
letter-spacing: 0px; |
| 1558 |
color: rgba(25, 29, 45, 0.8); |
| 1559 |
} |
| 1560 |
|
| 1561 |
.donation-method { |
| 1562 |
font-family: Inter; |
| 1563 |
font-weight: 500; |
| 1564 |
font-style: normal; |
| 1565 |
font-size: 14px; |
| 1566 |
line-height: 100%; |
| 1567 |
letter-spacing: 0px; |
| 1568 |
color: rgba(25, 29, 45, 0.8); |
| 1569 |
} |
| 1570 |
|
| 1571 |
.donation-amount strong, |
| 1572 |
.donation-method strong { |
| 1573 |
font-weight: 700; |
| 1574 |
} |
| 1575 |
|
| 1576 |
.donation-method strong, |
| 1577 |
.donation-amount strong { |
| 1578 |
color: rgba(25, 29, 45, 0.8); |
| 1579 |
} |
| 1580 |
|
| 1581 |
.donation-method-stripe { |
| 1582 |
color: #645aff !important; |
| 1583 |
} |
| 1584 |
|
| 1585 |
/* Comment Table Styles */ |
| 1586 |
.charitable-dashboard-v2-table-comments { |
| 1587 |
margin-top: 0; |
| 1588 |
} |
| 1589 |
|
| 1590 |
/* Top Donors Table Styles */ |
| 1591 |
.charitable-dashboard-v2-table-donors { |
| 1592 |
margin-top: 0; |
| 1593 |
} |
| 1594 |
|
| 1595 |
.charitable-dashboard-v2-table-donors th { |
| 1596 |
background-color: rgba(248, 250, 252, 1); |
| 1597 |
border-bottom: 1px solid rgba(226, 232, 240, 1); |
| 1598 |
padding: 16px 20px; |
| 1599 |
text-align: left; |
| 1600 |
font-family: Inter; |
| 1601 |
font-weight: 600; |
| 1602 |
font-size: 13px; |
| 1603 |
line-height: 16px; |
| 1604 |
letter-spacing: 0px; |
| 1605 |
color: rgba(25, 29, 45, 0.8); |
| 1606 |
} |
| 1607 |
|
| 1608 |
.charitable-dashboard-v2-table-donors td { |
| 1609 |
padding: 16px 20px; |
| 1610 |
border-bottom: 1px solid rgba(226, 232, 240, 0.5); |
| 1611 |
vertical-align: middle; |
| 1612 |
} |
| 1613 |
|
| 1614 |
.donor-avatar img { |
| 1615 |
border-radius: 50%; |
| 1616 |
width: 40px; |
| 1617 |
height: 40px; |
| 1618 |
object-fit: cover; |
| 1619 |
} |
| 1620 |
|
| 1621 |
.donor-details { |
| 1622 |
display: flex; |
| 1623 |
flex-direction: column; |
| 1624 |
gap: 4px; |
| 1625 |
} |
| 1626 |
|
| 1627 |
.donor-name { |
| 1628 |
font-family: Inter; |
| 1629 |
font-weight: 600; |
| 1630 |
font-size: 14px; |
| 1631 |
line-height: 160%; |
| 1632 |
letter-spacing: 0px; |
| 1633 |
color: rgba(25, 29, 45, 0.9); |
| 1634 |
} |
| 1635 |
|
| 1636 |
.donor-email { |
| 1637 |
font-family: Inter; |
| 1638 |
font-weight: 400; |
| 1639 |
font-size: 13px; |
| 1640 |
line-height: 150%; |
| 1641 |
letter-spacing: 0px; |
| 1642 |
color: rgba(25, 29, 45, 0.7); |
| 1643 |
} |
| 1644 |
|
| 1645 |
.donor-amount { |
| 1646 |
font-family: Inter; |
| 1647 |
font-weight: 600; |
| 1648 |
font-size: 14px; |
| 1649 |
line-height: 160%; |
| 1650 |
letter-spacing: 0px; |
| 1651 |
color: rgba(25, 29, 45, 1); |
| 1652 |
} |
| 1653 |
|
| 1654 |
.donor-badge { |
| 1655 |
display: inline-flex; |
| 1656 |
align-items: center; |
| 1657 |
padding: 4px 12px; |
| 1658 |
border-radius: 12px; |
| 1659 |
font-family: Inter; |
| 1660 |
font-weight: 500; |
| 1661 |
font-size: 12px; |
| 1662 |
line-height: 16px; |
| 1663 |
letter-spacing: 0px; |
| 1664 |
text-align: center; |
| 1665 |
} |
| 1666 |
|
| 1667 |
.donor-badge.recurring { |
| 1668 |
background-color: rgba(59, 130, 246, 0.1); |
| 1669 |
color: rgba(59, 130, 246, 1); |
| 1670 |
} |
| 1671 |
|
| 1672 |
.donor-badge.multiple { |
| 1673 |
background-color: rgba(16, 185, 129, 0.1); |
| 1674 |
color: rgba(16, 185, 129, 1); |
| 1675 |
} |
| 1676 |
|
| 1677 |
.donor-badge.one-time { |
| 1678 |
background-color: rgba(245, 158, 11, 0.1); |
| 1679 |
color: rgba(245, 158, 11, 1); |
| 1680 |
} |
| 1681 |
|
| 1682 |
/* Override first column width for donors table */ |
| 1683 |
.charitable-dashboard-v2-table.charitable-dashboard-v2-table-donors th:nth-child(1), |
| 1684 |
.charitable-dashboard-v2-table.charitable-dashboard-v2-table-donors td:nth-child(1) { |
| 1685 |
width: 30px !important; |
| 1686 |
padding-left: 30px; |
| 1687 |
} |
| 1688 |
|
| 1689 |
/* Last column padding for top campaigns table */ |
| 1690 |
.charitable-dashboard-top-campaigns .charitable-dashboard-v2-table th:last-child, |
| 1691 |
.charitable-dashboard-top-campaigns .charitable-dashboard-v2-table td:last-child { |
| 1692 |
padding-right: 30px; |
| 1693 |
} |
| 1694 |
|
| 1695 |
/* Remove focus outline from tab navigation */ |
| 1696 |
.charitable-dashboard-v2-tab-nav-item:focus { |
| 1697 |
outline: none; |
| 1698 |
} |
| 1699 |
|
| 1700 |
/* Remove focus outline from section header tabs */ |
| 1701 |
.charitable-dashboard-v2-section-header .charitable-dashboard-v2-tab-nav-item:focus { |
| 1702 |
outline: none; |
| 1703 |
} |
| 1704 |
|
| 1705 |
/* Getting Started Section link transitions */ |
| 1706 |
.charitable-dashboard-v2-quick-access-items a { |
| 1707 |
position: relative; |
| 1708 |
text-decoration: none !important; |
| 1709 |
} |
| 1710 |
|
| 1711 |
.charitable-dashboard-v2-quick-access-items a::before { |
| 1712 |
content: ''; |
| 1713 |
position: absolute; |
| 1714 |
width: 100%; |
| 1715 |
height: 2px; |
| 1716 |
border-radius: 2px; |
| 1717 |
background-color: #18272F; |
| 1718 |
bottom: -4px; |
| 1719 |
left: 0; |
| 1720 |
transform-origin: right; |
| 1721 |
transform: scaleX(0); |
| 1722 |
transition: transform .3s ease-in-out; |
| 1723 |
} |
| 1724 |
|
| 1725 |
.charitable-dashboard-v2-quick-access-items a:hover::before { |
| 1726 |
transform-origin: left; |
| 1727 |
transform: scaleX(1); |
| 1728 |
} |
| 1729 |
|
| 1730 |
/* Rate link arrow hover effect */ |
| 1731 |
.charitable-dashboard-v2-rate-link { |
| 1732 |
display: flex !important; |
| 1733 |
align-items: center !important; |
| 1734 |
gap: 8px !important; |
| 1735 |
transition: gap 0.3s ease !important; |
| 1736 |
text-decoration: none !important; |
| 1737 |
} |
| 1738 |
|
| 1739 |
.charitable-dashboard-v2-rate-link:hover { |
| 1740 |
gap: 4px !important; |
| 1741 |
text-decoration: none !important; |
| 1742 |
} |
| 1743 |
|
| 1744 |
.charitable-dashboard-v2-rate-link .charitable-dashboard-v2-rate-text, |
| 1745 |
.charitable-dashboard-v2-rate-link .charitable-dashboard-v2-arrow-icon { |
| 1746 |
display: inline-block; |
| 1747 |
} |
| 1748 |
|
| 1749 |
/* View all addons link arrow hover effect */ |
| 1750 |
.charitable-dashboard-v2-addons-link { |
| 1751 |
display: flex !important; |
| 1752 |
align-items: center !important; |
| 1753 |
gap: 8px !important; |
| 1754 |
transition: gap 0.3s ease !important; |
| 1755 |
text-decoration: none !important; |
| 1756 |
} |
| 1757 |
|
| 1758 |
.charitable-dashboard-v2-addons-link:hover { |
| 1759 |
gap: 4px !important; |
| 1760 |
text-decoration: none !important; |
| 1761 |
} |
| 1762 |
|
| 1763 |
.charitable-dashboard-v2-addons-link .charitable-dashboard-v2-addons-text, |
| 1764 |
.charitable-dashboard-v2-addons-link .charitable-dashboard-v2-arrow-icon { |
| 1765 |
display: inline-block; |
| 1766 |
} |
| 1767 |
|
| 1768 |
.charitable-dashboard-v2-table-container { |
| 1769 |
max-height: 400px; |
| 1770 |
overflow-y: auto; |
| 1771 |
} |
| 1772 |
|
| 1773 |
.charitable-dashboard-v2-table-comments th { |
| 1774 |
background-color: rgba(248, 250, 252, 1); |
| 1775 |
border-bottom: 1px solid rgba(226, 232, 240, 1); |
| 1776 |
padding: 16px 20px; |
| 1777 |
text-align: left; |
| 1778 |
font-family: Inter; |
| 1779 |
font-weight: 600; |
| 1780 |
font-size: 14px; |
| 1781 |
line-height: 140%; |
| 1782 |
color: rgba(25, 29, 45, 0.8); |
| 1783 |
} |
| 1784 |
|
| 1785 |
.charitable-dashboard-v2-table-comments th:last-child { |
| 1786 |
text-align: right; |
| 1787 |
padding: 16px 35px; |
| 1788 |
} |
| 1789 |
|
| 1790 |
.charitable-dashboard-v2-table-comments th:first-child, |
| 1791 |
.charitable-dashboard-v2-table-comments td:first-child { |
| 1792 |
width: calc(100% - 120px) !important; |
| 1793 |
} |
| 1794 |
|
| 1795 |
.charitable-dashboard-v2-table-comments th:last-child, |
| 1796 |
.charitable-dashboard-v2-table-comments td:last-child { |
| 1797 |
width: auto !important; |
| 1798 |
} |
| 1799 |
|
| 1800 |
.charitable-dashboard-v2-table-comments tr { |
| 1801 |
transition: background-color 0.2s ease; |
| 1802 |
} |
| 1803 |
|
| 1804 |
.charitable-dashboard-v2-table-comments tr:hover { |
| 1805 |
background-color: rgba(248, 250, 252, 0.8); |
| 1806 |
} |
| 1807 |
|
| 1808 |
.charitable-dashboard-v2-table-comments td { |
| 1809 |
padding: 20px; |
| 1810 |
border-bottom: 1px solid rgba(226, 232, 240, 1); |
| 1811 |
vertical-align: top; |
| 1812 |
} |
| 1813 |
|
| 1814 |
.charitable-dashboard-v2-table-comments td:last-child { |
| 1815 |
padding-right: 30px; |
| 1816 |
text-align: right; |
| 1817 |
vertical-align: middle; |
| 1818 |
} |
| 1819 |
|
| 1820 |
.comment-details { |
| 1821 |
display: flex; |
| 1822 |
flex-direction: column; |
| 1823 |
gap: 8px; |
| 1824 |
} |
| 1825 |
|
| 1826 |
.comment-header { |
| 1827 |
display: flex; |
| 1828 |
flex-direction: column; |
| 1829 |
gap: 8px; |
| 1830 |
align-items: flex-start; |
| 1831 |
text-align: left; |
| 1832 |
} |
| 1833 |
|
| 1834 |
.comment-name { |
| 1835 |
font-family: Inter; |
| 1836 |
font-weight: 600; |
| 1837 |
font-style: normal; |
| 1838 |
font-size: 14px; |
| 1839 |
line-height: 160%; |
| 1840 |
letter-spacing: 0px; |
| 1841 |
color: rgba(25, 29, 45, 0.9); |
| 1842 |
} |
| 1843 |
|
| 1844 |
|
| 1845 |
|
| 1846 |
.comment-text { |
| 1847 |
font-family: Inter; |
| 1848 |
font-weight: 500; |
| 1849 |
font-size: 13px; |
| 1850 |
line-height: 150%; |
| 1851 |
letter-spacing: 0px; |
| 1852 |
color: rgba(25, 29, 45, 0.8); |
| 1853 |
} |
| 1854 |
|
| 1855 |
.comment-actions { |
| 1856 |
display: flex; |
| 1857 |
align-items: center; |
| 1858 |
justify-content: end; |
| 1859 |
gap: 10px; |
| 1860 |
} |
| 1861 |
|
| 1862 |
.comment-action { |
| 1863 |
display: flex; |
| 1864 |
align-items: center; |
| 1865 |
gap: 4px; |
| 1866 |
font-family: Inter; |
| 1867 |
font-weight: 500; |
| 1868 |
font-size: 13px; |
| 1869 |
line-height: 16px; |
| 1870 |
letter-spacing: 0px; |
| 1871 |
vertical-align: middle; |
| 1872 |
text-decoration: underline; |
| 1873 |
text-decoration-style: solid; |
| 1874 |
text-decoration-offset: 0%; |
| 1875 |
text-decoration-thickness: 0%; |
| 1876 |
color: rgba(25, 29, 45, 0.7); |
| 1877 |
transition: color 0.2s ease; |
| 1878 |
} |
| 1879 |
|
| 1880 |
.comment-action:hover { |
| 1881 |
color: rgba(25, 29, 45, 0.9); |
| 1882 |
} |
| 1883 |
|
| 1884 |
.comment-action.approve { |
| 1885 |
color: rgba(25, 29, 45, 0.7); |
| 1886 |
} |
| 1887 |
|
| 1888 |
.comment-action.approve:hover { |
| 1889 |
color: rgba(25, 29, 45, 0.9); |
| 1890 |
} |
| 1891 |
|
| 1892 |
.comment-action.delete { |
| 1893 |
color: rgba(25, 29, 45, 0.7); |
| 1894 |
} |
| 1895 |
|
| 1896 |
.comment-action.delete:hover { |
| 1897 |
color: rgba(25, 29, 45, 0.9); |
| 1898 |
} |
| 1899 |
|
| 1900 |
.comment-action-separator { |
| 1901 |
color: rgba(25, 29, 45, 0.3); |
| 1902 |
font-weight: 400; |
| 1903 |
font-size: 11px; |
| 1904 |
} |
| 1905 |
|
| 1906 |
.comment-status-approved { |
| 1907 |
color: rgba(15, 139, 0, 1); |
| 1908 |
font-family: Inter; |
| 1909 |
font-weight: 500; |
| 1910 |
font-size: 13px; |
| 1911 |
line-height: 16px; |
| 1912 |
letter-spacing: 0px; |
| 1913 |
} |
| 1914 |
|
| 1915 |
/* Status Badge Styles */ |
| 1916 |
.status-badge { |
| 1917 |
display: inline-flex; |
| 1918 |
align-items: center; |
| 1919 |
padding: 6px 12px; |
| 1920 |
border-radius: 6px; |
| 1921 |
font-family: Inter; |
| 1922 |
font-weight: 500; |
| 1923 |
font-style: normal; |
| 1924 |
font-size: 13px; |
| 1925 |
line-height: 130%; |
| 1926 |
letter-spacing: 0px; |
| 1927 |
text-align: center; |
| 1928 |
white-space: nowrap; |
| 1929 |
} |
| 1930 |
|
| 1931 |
.status-paid, |
| 1932 |
.status-active, |
| 1933 |
.status-approved { |
| 1934 |
background-color: #eafbe8; |
| 1935 |
color: rgba(15, 139, 0, 1); |
| 1936 |
} |
| 1937 |
|
| 1938 |
/* Placeholder Styles */ |
| 1939 |
.charitable-dashboard-v2-placeholder { |
| 1940 |
display: flex; |
| 1941 |
flex-direction: column; |
| 1942 |
align-items: center; |
| 1943 |
justify-content: center; |
| 1944 |
padding: 60px 20px; |
| 1945 |
text-align: center; |
| 1946 |
} |
| 1947 |
|
| 1948 |
.charitable-dashboard-v2-placeholder-icon { |
| 1949 |
margin-bottom: 24px; |
| 1950 |
} |
| 1951 |
|
| 1952 |
.charitable-dashboard-v2-placeholder-title { |
| 1953 |
font-family: Inter; |
| 1954 |
font-weight: 600; |
| 1955 |
font-style: normal; |
| 1956 |
font-size: 20px; |
| 1957 |
line-height: 130%; |
| 1958 |
letter-spacing: 0px; |
| 1959 |
color: rgba(25, 29, 45, 0.8); |
| 1960 |
margin: 0 0 12px 0; |
| 1961 |
} |
| 1962 |
|
| 1963 |
.charitable-dashboard-v2-placeholder-description { |
| 1964 |
font-family: Inter; |
| 1965 |
font-weight: 400; |
| 1966 |
font-style: normal; |
| 1967 |
font-size: 15px; |
| 1968 |
line-height: 160%; |
| 1969 |
letter-spacing: 0px; |
| 1970 |
color: rgba(25, 29, 45, 0.6); |
| 1971 |
margin: 0; |
| 1972 |
max-width: 400px; |
| 1973 |
} |
| 1974 |
|
| 1975 |
/* Empty State Button */ |
| 1976 |
.charitable-dashboard-v2-empty-state-content .charitable-dashboard-v2-button { |
| 1977 |
display: inline-block; |
| 1978 |
padding: 10px 20px; |
| 1979 |
background: rgba(218, 144, 33, 1); |
| 1980 |
color: white; |
| 1981 |
text-decoration: none; |
| 1982 |
border-radius: 4px; |
| 1983 |
font-weight: 600; |
| 1984 |
font-size: 14px; |
| 1985 |
transition: background-color 0.2s ease; |
| 1986 |
margin-top: 10px; |
| 1987 |
border: 0; |
| 1988 |
|
| 1989 |
&:hover { |
| 1990 |
background: rgba(196, 130, 30, 1); |
| 1991 |
color: white; |
| 1992 |
text-decoration: none; |
| 1993 |
} |
| 1994 |
|
| 1995 |
&:disabled { |
| 1996 |
background: #9CA3AF; |
| 1997 |
cursor: not-allowed; |
| 1998 |
} |
| 1999 |
|
| 2000 |
.button-loading { |
| 2001 |
display: inline-flex; |
| 2002 |
align-items: center; |
| 2003 |
gap: 8px; |
| 2004 |
} |
| 2005 |
} |
| 2006 |
|