AdminDonationFormsPage.module.scss
4 years ago
AdminDonationFormsPage.tsx
4 years ago
DonationFormsTable.module.scss
4 years ago
DonationFormsTable.tsx
4 years ago
DonationFormsTableRows.module.scss
4 years ago
DonationFormsTableRows.tsx
4 years ago
Pagination.js
4 years ago
Pagination.module.scss
4 years ago
DonationFormsTable.module.scss
183 lines
| 1 | .initialLoad { |
| 2 | inline-size: 100%; |
| 3 | display: flex; |
| 4 | align-items: center; |
| 5 | justify-content: center; |
| 6 | |
| 7 | & > * { |
| 8 | display: flex; |
| 9 | flex-direction: column; |
| 10 | align-items: center; |
| 11 | justify-content: space-evenly; |
| 12 | inline-size: 26em; |
| 13 | block-size: 20em; |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | .tableGroup { |
| 18 | background-color: #fff; |
| 19 | border: 0.0625em solid #ddd; |
| 20 | border-radius: 0.3125em; |
| 21 | overflow: auto; |
| 22 | position: relative; |
| 23 | max-inline-size: 100%; |
| 24 | box-shadow: 0 0 0.5625em rgb(68 68 68 / 0.05); |
| 25 | } |
| 26 | |
| 27 | .table { |
| 28 | border-radius: inherit; |
| 29 | border-spacing: 0; |
| 30 | inline-size: 100%; |
| 31 | font-size: 1em; |
| 32 | table-layout: fixed; |
| 33 | } |
| 34 | |
| 35 | /* Visually hidden class omitting position: absolute since that breaks the table |
| 36 | * semantics */ |
| 37 | .tableCaption { |
| 38 | width: 1px; |
| 39 | height: 1px; |
| 40 | padding: 0; |
| 41 | margin: -1px; |
| 42 | overflow: hidden; |
| 43 | clip: rect(0, 0, 0, 0); |
| 44 | white-space: nowrap; |
| 45 | border-width: 0; |
| 46 | } |
| 47 | |
| 48 | .tableColumnHeader { |
| 49 | border-bottom: 0.0625em solid #ddd; |
| 50 | color: #0878b0; |
| 51 | font-weight: 700; |
| 52 | padding: 1em; |
| 53 | text-align: start; |
| 54 | |
| 55 | &[data-column="id"]="id""] { |
| 56 | inline-size: 4rem; |
| 57 | } |
| 58 | |
| 59 | &[data-column="name"]="name""] { |
| 60 | inline-size: 10rem; |
| 61 | } |
| 62 | |
| 63 | &[data-column="amount"]="amount""] { |
| 64 | inline-size: 8rem; |
| 65 | } |
| 66 | |
| 67 | &[data-column="goal"]="goal""] { |
| 68 | inline-size: 8rem; |
| 69 | } |
| 70 | |
| 71 | &[data-column="donations"]="donations""] { |
| 72 | inline-size: 6rem; |
| 73 | } |
| 74 | |
| 75 | &[data-column="revenue"]="revenue""] { |
| 76 | inline-size: 6rem; |
| 77 | } |
| 78 | |
| 79 | &[data-column="shortcode"]="shortcode""] { |
| 80 | inline-size: 10rem; |
| 81 | } |
| 82 | |
| 83 | &[data-column="date"]="date""] { |
| 84 | inline-size: 8rem; |
| 85 | } |
| 86 | |
| 87 | &[data-column="status"]="status""] { |
| 88 | inline-size: 8rem; |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | .tableContent { |
| 93 | overflow: auto; |
| 94 | } |
| 95 | |
| 96 | .pageActions { |
| 97 | display: flex; |
| 98 | width: 100%; |
| 99 | align-items: center; |
| 100 | justify-content: flex-end; |
| 101 | margin-block-end: 0.5rem; |
| 102 | margin-block-start: 0.5rem; |
| 103 | } |
| 104 | |
| 105 | #updateError { |
| 106 | display: flex; |
| 107 | flex-direction: column; |
| 108 | justify-content: space-around; |
| 109 | padding-inline: 2.5em; |
| 110 | padding-block: 1em; |
| 111 | height: 5em; |
| 112 | position: relative; |
| 113 | background: #fff; |
| 114 | border: 1px solid #c3c4c7; |
| 115 | border-left-color: #d63638; |
| 116 | border-left-width: 0.25rem; |
| 117 | box-shadow: 0 1px 1px rgb(0 0 0 / 4%); |
| 118 | margin: 0.3125em 0.9375em 0.125em; |
| 119 | } |
| 120 | |
| 121 | .dismiss { |
| 122 | background: none; |
| 123 | border: none; |
| 124 | color: #787c82; |
| 125 | display: block; |
| 126 | position: absolute; |
| 127 | margin: 0.5em; |
| 128 | right: 0; |
| 129 | top: 0; |
| 130 | font: normal 16px/20px dashicons; |
| 131 | speak: never; |
| 132 | height: 1.5rem; |
| 133 | text-align: center; |
| 134 | width: 1.5rem; |
| 135 | -webkit-font-smoothing: antialiased; |
| 136 | |
| 137 | &:hover { |
| 138 | color: #d63638; |
| 139 | } |
| 140 | |
| 141 | &:active { |
| 142 | color: #787c82; |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | .statusMessage { |
| 147 | font-weight: 600; |
| 148 | font-size: 1.2em; |
| 149 | padding-inline: 2.5em; |
| 150 | padding-block: 2em; |
| 151 | } |
| 152 | |
| 153 | .overlay { |
| 154 | top: 0; |
| 155 | display: flex; |
| 156 | align-items: center; |
| 157 | justify-content: center; |
| 158 | position: absolute; |
| 159 | height: 100%; |
| 160 | width: 100%; |
| 161 | background: rgba(255, 255, 255, 0.7); |
| 162 | z-index: 899; |
| 163 | border-radius: inherit; |
| 164 | overflow: hidden;; |
| 165 | } |
| 166 | |
| 167 | .appear { |
| 168 | animation: appear 0.1s ease-in; |
| 169 | } |
| 170 | |
| 171 | .disappear { |
| 172 | animation: appear 0.1s ease-in reverse; |
| 173 | } |
| 174 | |
| 175 | @keyframes appear { |
| 176 | 0% { |
| 177 | opacity: 0; |
| 178 | } |
| 179 | 100% { |
| 180 | opacity: 1; |
| 181 | } |
| 182 | } |
| 183 |