give
/
src
/
Donors
/
resources
/
admin
/
components
/
DonorDetailsPage
/
DonorDetailsPage.module.scss
Tabs
7 months ago
DonorDetailsPage.module.scss
1 year ago
index.tsx
10 months ago
slots.ts
10 months ago
DonorDetailsPage.module.scss
119 lines
| 1 | .statusBadge { |
| 2 | align-items: center; |
| 3 | background-color: var(--statusBadgeBgColor); |
| 4 | border-radius: var(--givewp-rounded-full); |
| 5 | border: 1px solid var(--statusBadgeIconColor); |
| 6 | display: flex; |
| 7 | gap: var(--givewp-spacing-1); |
| 8 | justify-content: center; |
| 9 | padding: calc(var(--givewp-spacing-1) - 1px) var(--givewp-spacing-3) calc(var(--givewp-spacing-1) - 1px) calc(var(--givewp-spacing-1) - 1px); |
| 10 | |
| 11 | &.statusBadge--current { |
| 12 | --statusBadgeIconColor: var(--givewp-green-600); |
| 13 | --statusBadgeBgColor: var(--givewp-green-25); |
| 14 | --statusBadgeTextColor: var(--givewp-green-900); |
| 15 | } |
| 16 | |
| 17 | &.statusBadge--prospective { |
| 18 | --statusBadgeIconColor: var(--givewp-orange-600); |
| 19 | --statusBadgeBgColor: var(--givewp-orange-25); |
| 20 | --statusBadgeTextColor: var(--givewp-orange-900); |
| 21 | } |
| 22 | |
| 23 | &.statusBadge--retained { |
| 24 | --statusBadgeIconColor: var(--givewp-esmerald-600); |
| 25 | --statusBadgeBgColor: var(--givewp-esmerald-25); |
| 26 | --statusBadgeTextColor: var(--givewp-esmerald-900); |
| 27 | } |
| 28 | |
| 29 | &.statusBadge--lapsed { |
| 30 | --statusBadgeIconColor: var(--givewp-red-600); |
| 31 | --statusBadgeBgColor: var(--givewp-red-25); |
| 32 | --statusBadgeTextColor: var(--givewp-red-900); |
| 33 | } |
| 34 | |
| 35 | &.statusBadge--new { |
| 36 | --statusBadgeIconColor: var(--givewp-purple-500); |
| 37 | --statusBadgeBgColor: var(--givewp-purple-25); |
| 38 | --statusBadgeTextColor: var(--givewp-purple-900); |
| 39 | } |
| 40 | |
| 41 | &.statusBadge--recaptured { |
| 42 | --statusBadgeIconColor: var(--givewp-yellow-600); |
| 43 | --statusBadgeBgColor: var(--givewp-yellow-25); |
| 44 | --statusBadgeTextColor: var(--givewp-yellow-900); |
| 45 | } |
| 46 | |
| 47 | &.statusBadge--recurring { |
| 48 | --statusBadgeIconColor: var(--givewp-blue-600); |
| 49 | --statusBadgeBgColor: var(--givewp-blue-25); |
| 50 | --statusBadgeTextColor: var(--givewp-blue-900); |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | .statusBadgeIcon { |
| 55 | font-size: 0.75rem; |
| 56 | font-weight: 600; |
| 57 | text-align: center; |
| 58 | color: var(--statusBadgeBgColor); |
| 59 | display: flex; |
| 60 | align-items: center; |
| 61 | justify-content: center; |
| 62 | width: 1.125rem; |
| 63 | height: 1.125rem; |
| 64 | border-radius: 50%; |
| 65 | background-color: var(--statusBadgeIconColor); |
| 66 | } |
| 67 | |
| 68 | .statusBadgeText { |
| 69 | font-size: 0.75rem; |
| 70 | font-weight: 600; |
| 71 | color: var(--statusBadgeTextColor); |
| 72 | } |
| 73 | |
| 74 | .archive { |
| 75 | --contextMenuItemColor: var(--givewp-red-500); |
| 76 | } |
| 77 | |
| 78 | |
| 79 | $breakpoint-desktop: 900px; |
| 80 | |
| 81 | .grid { |
| 82 | display: grid; |
| 83 | grid-template-columns: repeat(3, 1fr); |
| 84 | gap: var(--givewp-spacing-4); |
| 85 | |
| 86 | @media (max-width: $breakpoint-desktop) { |
| 87 | grid-template-columns: 1fr; |
| 88 | gap: var(--givewp-spacing-6); |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | .leftColumn, .rightColumn { |
| 93 | display: flex; |
| 94 | flex-direction: column; |
| 95 | gap: var(--givewp-spacing-6); |
| 96 | margin-top: var(--givewp-spacing-2); |
| 97 | } |
| 98 | |
| 99 | .leftColumn { |
| 100 | grid-column: span 2; |
| 101 | |
| 102 | @media (max-width: $breakpoint-desktop) { |
| 103 | grid-column: span 1; |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | .rightColumn { |
| 108 | grid-column: span 1; |
| 109 | } |
| 110 | |
| 111 | .sectionFieldInputWrapper { |
| 112 | display: flex; |
| 113 | gap: var(--givewp-spacing-2); |
| 114 | } |
| 115 | |
| 116 | .prefixSelect { |
| 117 | flex: 1 0 6.625rem; |
| 118 | } |
| 119 |