give
/
src
/
Subscriptions
/
resources
/
admin
/
components
/
SubscriptionSyncList
/
styles.module.scss
Details.tsx
9 months ago
icons.tsx
9 months ago
index.tsx
9 months ago
styles.module.scss
9 months ago
styles.module.scss
213 lines
| 1 | .list { |
| 2 | display: flex; |
| 3 | flex-direction: column; |
| 4 | gap: var(--givewp-spacing-2); |
| 5 | } |
| 6 | |
| 7 | .item { |
| 8 | display: flex; |
| 9 | align-items: center; |
| 10 | justify-content: space-between; |
| 11 | width: auto; |
| 12 | padding: var(--givewp-spacing-3) var(--givewp-spacing-4); |
| 13 | border: solid 1px #e5e7eb; |
| 14 | border-radius: 8px; |
| 15 | |
| 16 | &:last-child { |
| 17 | margin-bottom: var(--givewp-spacing-4); |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | .itemContent { |
| 22 | display: flex; |
| 23 | align-items: flex-start; |
| 24 | flex-direction: column; |
| 25 | gap: var(--givewp-spacing-3); |
| 26 | width: 100%; |
| 27 | padding: 0; |
| 28 | margin: 0; |
| 29 | } |
| 30 | |
| 31 | .itemHeader { |
| 32 | display: flex; |
| 33 | align-items: flex-start; |
| 34 | justify-content: space-between; |
| 35 | width: 100%; |
| 36 | padding: 0; |
| 37 | margin: 0; |
| 38 | |
| 39 | & div:first-child { |
| 40 | display: flex; |
| 41 | align-items: center; |
| 42 | justify-content: space-between; |
| 43 | gap: var(--givewp-spacing-2); |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | .itemTitle { |
| 48 | padding: 0; |
| 49 | margin: 0; |
| 50 | font-size: 1rem; |
| 51 | font-weight: 500; |
| 52 | line-height: 1.5; |
| 53 | color: #1f2937; |
| 54 | } |
| 55 | |
| 56 | .itemPill { |
| 57 | font-size: 0.75rem; |
| 58 | font-weight: 600; |
| 59 | line-height: 1.5; |
| 60 | padding: var(--givewp-spacing-1) var(--givewp-spacing-3); |
| 61 | border-radius: 12px; |
| 62 | background-color: #beb6f2; |
| 63 | color: #03001a; |
| 64 | } |
| 65 | |
| 66 | .itemAccurate { |
| 67 | background-color: #cef2cf; |
| 68 | color: #022603; |
| 69 | } |
| 70 | |
| 71 | .itemButton { |
| 72 | border: none; |
| 73 | background: none; |
| 74 | text-decoration: none; |
| 75 | font-size: 14px; |
| 76 | font-weight: 500; |
| 77 | line-height: 1.43; |
| 78 | color: #060c1a; |
| 79 | cursor: pointer; |
| 80 | |
| 81 | &:hover { |
| 82 | text-decoration: underline; |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | .syncDetails { |
| 87 | display: flex; |
| 88 | flex-direction: row; |
| 89 | width: 100%; |
| 90 | } |
| 91 | |
| 92 | .detail { |
| 93 | display: flex; |
| 94 | gap: var(--givewp-spacing-2); |
| 95 | width: 100%; |
| 96 | } |
| 97 | |
| 98 | .detailContainer{ |
| 99 | display: flex; |
| 100 | flex-direction: column; |
| 101 | width: 100%; |
| 102 | padding: var(--givewp-spacing-3); |
| 103 | background-color: #f9fafb; |
| 104 | } |
| 105 | |
| 106 | .detailWrapper, .accurateDetailWrapper{ |
| 107 | flex: 1; |
| 108 | align-self: stretch; |
| 109 | display: flex; |
| 110 | justify-content:space-between; |
| 111 | gap: var(--givewp-spacing-2); |
| 112 | align-items: center; |
| 113 | width: auto; |
| 114 | border-radius: .5rem; |
| 115 | background-color: #f9fafb; |
| 116 | } |
| 117 | |
| 118 | .accurateDetailWrapper{ |
| 119 | padding: var(--givewp-spacing-3); |
| 120 | } |
| 121 | |
| 122 | .detailItem { |
| 123 | display: flex; |
| 124 | flex-direction: column; |
| 125 | gap: var(--givewp-spacing-1); |
| 126 | } |
| 127 | |
| 128 | .detailTitle { |
| 129 | display: inline-block; |
| 130 | margin: 0 0 var(--givewp-spacing-2) 0; |
| 131 | padding: 0; |
| 132 | font-size: 0.75rem; |
| 133 | font-weight: 600; |
| 134 | letter-spacing: 0.24px; |
| 135 | color: #4b5563; |
| 136 | } |
| 137 | |
| 138 | .detailLabel { |
| 139 | margin: 0; |
| 140 | padding: 0; |
| 141 | font-size: 0.75rem; |
| 142 | font-weight: 500; |
| 143 | line-height: 1.5; |
| 144 | color: #4b5563; |
| 145 | } |
| 146 | |
| 147 | .detailValue { |
| 148 | margin: 0; |
| 149 | padding: 0; |
| 150 | font-size: 0.875rem; |
| 151 | font-weight: 500; |
| 152 | line-height: 1.43; |
| 153 | color: #060c1a; |
| 154 | } |
| 155 | |
| 156 | .paymentDetails { |
| 157 | display: flex; |
| 158 | flex-direction: column; |
| 159 | gap: var(--givewp-spacing-2); |
| 160 | max-height: 5rem; |
| 161 | width: 100%; |
| 162 | overflow-y: scroll; |
| 163 | } |
| 164 | |
| 165 | .paymentItem { |
| 166 | align-self: stretch; |
| 167 | display: flex; |
| 168 | justify-content:space-between; |
| 169 | justify-content: flex-start; |
| 170 | gap: var(--givewp-spacing-2); |
| 171 | align-items: center; |
| 172 | width: auto; |
| 173 | padding: var(--givewp-spacing-3); |
| 174 | border-radius: .5rem; |
| 175 | background-color: #f9fafb; |
| 176 | |
| 177 | } |
| 178 | |
| 179 | .paymentsContent { |
| 180 | display: flex; |
| 181 | flex-direction: column; |
| 182 | gap: var(--givewp-spacing-1); |
| 183 | } |
| 184 | |
| 185 | .paymentIcon { |
| 186 | display: flex; |
| 187 | justify-content: center; |
| 188 | align-items: center; |
| 189 | gap: 8px; |
| 190 | height: 32px; |
| 191 | width: 32px; |
| 192 | padding: 4px; |
| 193 | border-radius: 999px; |
| 194 | background-color: #f4f2ff; |
| 195 | } |
| 196 | |
| 197 | .paymentDescription { |
| 198 | margin: 0; |
| 199 | padding: 0; |
| 200 | font-size: 0.875rem; |
| 201 | font-weight: 500; |
| 202 | line-height: 1.43; |
| 203 | color: #001326; |
| 204 | } |
| 205 | |
| 206 | .paymentDate { |
| 207 | margin: 0; |
| 208 | padding: 0; |
| 209 | font-size: 0.875rem; |
| 210 | font-weight: 500; |
| 211 | line-height: 1.43; |
| 212 | color: #6b7280; |
| 213 | } |