addons.scss
9 years ago
blank-slate.scss
8 years ago
buttons.scss
9 years ago
dashboard.scss
10 years ago
donors.scss
8 years ago
fonts.scss
9 years ago
forms.scss
8 years ago
give-admin.scss
8 years ago
grids.scss
8 years ago
importer.scss
8 years ago
logs.scss
10 years ago
payment-history.scss
8 years ago
reports.scss
8 years ago
settings.scss
8 years ago
shortcodes.scss
9 years ago
system-info.scss
8 years ago
updates.scss
8 years ago
util.scss
8 years ago
welcome.scss
9 years ago
donors.scss
354 lines
| 1 | /** |
| 2 | * Give Forms SCSS |
| 3 | * |
| 4 | * @package Give |
| 5 | * @subpackage SCSS/Admin |
| 6 | * @copyright Copyright (c) 2016, WordImpress |
| 7 | * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 8 | */ |
| 9 | |
| 10 | //-------------------------------------------------------------- |
| 11 | // Donors Listing Page Style |
| 12 | //-------------------------------------------------------------- |
| 13 | .give_forms_page_give-donors { |
| 14 | .wrap > h2 { |
| 15 | margin-bottom: 15px; |
| 16 | } |
| 17 | |
| 18 | .nav-tab-wrapper .dashicons { |
| 19 | position: relative; |
| 20 | top: 2px; |
| 21 | margin: 0 3px 0 0; |
| 22 | } |
| 23 | |
| 24 | #give-donors-filter { |
| 25 | position: relative; |
| 26 | p.search-box { |
| 27 | margin: 0; |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | #give-donors-search-filter { |
| 32 | display: block; |
| 33 | overflow: hidden; |
| 34 | } |
| 35 | |
| 36 | //-------------------------------------------------------------- |
| 37 | // Donor Styles |
| 38 | //-------------------------------------------------------------- |
| 39 | #give-donor-card-wrapper { |
| 40 | margin-left: -1px; |
| 41 | z-index: 2; |
| 42 | min-height: 200px; |
| 43 | |
| 44 | input { |
| 45 | font-weight: normal; |
| 46 | } |
| 47 | |
| 48 | .donor-section { |
| 49 | border-bottom: 1px solid #eee; |
| 50 | margin-bottom: 10px; |
| 51 | } |
| 52 | |
| 53 | .donor-section table { |
| 54 | margin-bottom: 0; |
| 55 | } |
| 56 | |
| 57 | > div:first-child { |
| 58 | padding-top: 20px; |
| 59 | } |
| 60 | |
| 61 | > div:last-child { |
| 62 | padding-bottom: 20px; |
| 63 | border: none; |
| 64 | } |
| 65 | |
| 66 | //AVATAR |
| 67 | .avatar-wrap { |
| 68 | padding: 0 15px 15px 0; |
| 69 | text-align: center; |
| 70 | float: left; |
| 71 | |
| 72 | img { |
| 73 | border-radius: 3px; |
| 74 | } |
| 75 | |
| 76 | } |
| 77 | |
| 78 | a.delete { |
| 79 | text-decoration: none; |
| 80 | color: #ff0000; |
| 81 | margin-right: 5px; |
| 82 | } |
| 83 | |
| 84 | //Donor Header (non-avatar content) |
| 85 | .donor-bio-header { |
| 86 | |
| 87 | .donor-since { |
| 88 | margin: 10px 0; |
| 89 | font-size: 16px; |
| 90 | } |
| 91 | |
| 92 | .donor-id { |
| 93 | display: inline-block; |
| 94 | font-size: 24px; |
| 95 | font-weight: 600; |
| 96 | margin-right: 10px; |
| 97 | } |
| 98 | |
| 99 | .donor-name-wrap { |
| 100 | display: inline-block; |
| 101 | } |
| 102 | |
| 103 | .donor-edit-link { |
| 104 | margin-bottom: 15px; |
| 105 | } |
| 106 | |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | .donor-main-wrapper { |
| 111 | clear: both; |
| 112 | margin: 0 0 20px; |
| 113 | |
| 114 | @media(max-width: 655px) { |
| 115 | width: 100%; |
| 116 | } |
| 117 | |
| 118 | table { |
| 119 | margin: 0; |
| 120 | } |
| 121 | |
| 122 | input { |
| 123 | width: 200px; |
| 124 | } |
| 125 | |
| 126 | } |
| 127 | |
| 128 | //Donor Summary |
| 129 | #donor-summary { |
| 130 | padding: 0 20px; |
| 131 | |
| 132 | &:after { |
| 133 | font-family: "dashicons"; |
| 134 | content: "\f110"; |
| 135 | position: absolute; |
| 136 | top: 10px; |
| 137 | right: 10px; |
| 138 | font-size: 100px; |
| 139 | color: #F0F0F0; |
| 140 | z-index: 0; |
| 141 | } |
| 142 | |
| 143 | } |
| 144 | |
| 145 | #give-donor-card-wrapper .donor-address-wrapper { |
| 146 | width: 202px; |
| 147 | |
| 148 | span[data-key="line2"]="line2""] { |
| 149 | display: table; |
| 150 | clear: both; |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | #give-donor-card-wrapper .donor-address-wrapper select { |
| 155 | width: 200px; |
| 156 | } |
| 157 | |
| 158 | #give-donor-card-wrapper .donor-info { |
| 159 | min-height: 185px; |
| 160 | } |
| 161 | |
| 162 | #give-donor-card-wrapper .info-wrapper { |
| 163 | min-height: 125px; |
| 164 | } |
| 165 | |
| 166 | .donor-info .donor-name { |
| 167 | font-size: 24px; |
| 168 | font-weight: 600; |
| 169 | } |
| 170 | |
| 171 | #disconnect-donor { |
| 172 | font-size: 12px; |
| 173 | font-weight: normal; |
| 174 | text-decoration: none; |
| 175 | } |
| 176 | |
| 177 | #view-user-profile { |
| 178 | @extend #disconnect-donor; |
| 179 | } |
| 180 | |
| 181 | #donor-edit-actions { |
| 182 | text-align: center; |
| 183 | margin-bottom: 20px; |
| 184 | line-height: 28px; |
| 185 | } |
| 186 | |
| 187 | #donor-edit-actions .button-secondary { |
| 188 | margin-right: 10px; |
| 189 | } |
| 190 | |
| 191 | #give-donor-card-wrapper .edit-item { |
| 192 | display: none; |
| 193 | } |
| 194 | |
| 195 | #give-donor-card-wrapper .give_user_search_results { |
| 196 | left: 1px; |
| 197 | top: 16px; |
| 198 | } |
| 199 | |
| 200 | #give-donor-card-wrapper .give_user_search_results ul { |
| 201 | width: 200px |
| 202 | } |
| 203 | |
| 204 | #donor-stats-wrapper { |
| 205 | margin: 0 auto; |
| 206 | text-align: center; |
| 207 | padding: 15px; |
| 208 | ul { |
| 209 | margin: 0; |
| 210 | padding: 0; |
| 211 | overflow: hidden; |
| 212 | li { |
| 213 | width: 50%; |
| 214 | float: left; |
| 215 | line-height: 22px; |
| 216 | font-size: 14px; |
| 217 | margin: 0; |
| 218 | } |
| 219 | |
| 220 | } |
| 221 | |
| 222 | a { |
| 223 | text-decoration: none; |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | #donor-stats-wrapper .dashicons { |
| 228 | color: #888; |
| 229 | } |
| 230 | |
| 231 | #donor-tables-wrapper table { |
| 232 | width: 100%; |
| 233 | text-align: center; |
| 234 | } |
| 235 | |
| 236 | #donor-tables-wrapper th { |
| 237 | text-align: center; |
| 238 | } |
| 239 | |
| 240 | #donor-tables-wrapper .donations tr > th:first-child, |
| 241 | #donor-tables-wrapper .donations tr > td:first-child, |
| 242 | #donor-tables-wrapper .emails tr > th:first-child, |
| 243 | #donor-tables-wrapper .emails tr > td:first-child { |
| 244 | text-align: left; |
| 245 | } |
| 246 | |
| 247 | #donor-tables-wrapper .donations tr > td:only-child { |
| 248 | text-align: center; |
| 249 | } |
| 250 | |
| 251 | #donor-notes-wrapper { |
| 252 | min-height: 50px; |
| 253 | } |
| 254 | |
| 255 | .donor-notes-header span, .donor-notes-header img { |
| 256 | font-weight: 600; |
| 257 | line-height: 30px; |
| 258 | vertical-align: middle; |
| 259 | } |
| 260 | |
| 261 | .donor-note-input { |
| 262 | width: 100%; |
| 263 | margin-bottom: 5px; |
| 264 | } |
| 265 | |
| 266 | // Donor Notes |
| 267 | #give-donor-notes { |
| 268 | div:nth-of-type(even) { |
| 269 | background-color: #f9f9f9; |
| 270 | } |
| 271 | .donor-note-wrapper { |
| 272 | border-bottom: 1px solid #f9f9f9; |
| 273 | min-height: 38px; |
| 274 | padding: 0; |
| 275 | |
| 276 | .note-content-wrap { |
| 277 | padding: 10px 12px; |
| 278 | line-height: 20px; |
| 279 | font-size: 14px; |
| 280 | } |
| 281 | |
| 282 | } |
| 283 | |
| 284 | .give-no-donor-notes { |
| 285 | text-align: center; |
| 286 | padding: 20px; |
| 287 | } |
| 288 | |
| 289 | } |
| 290 | |
| 291 | .donor-note-wrapper span { |
| 292 | display: block; |
| 293 | } |
| 294 | |
| 295 | .delete-donor { |
| 296 | text-align: center; |
| 297 | } |
| 298 | |
| 299 | .give-lock-block { |
| 300 | margin-left: -25px; |
| 301 | text-decoration: none; |
| 302 | font-size: 14px; |
| 303 | margin-right: 3px; |
| 304 | |
| 305 | i { |
| 306 | color: #000000; |
| 307 | font-size: 14px; |
| 308 | } |
| 309 | } |
| 310 | |
| 311 | /* |
| 312 | * Donor address metabox |
| 313 | */ |
| 314 | #donor-address-wrapper { |
| 315 | .give-no-address-message { |
| 316 | margin: 0.5rem 1%; |
| 317 | line-height: 3.4em; |
| 318 | } |
| 319 | |
| 320 | .add-new-address { |
| 321 | margin: 0.5rem 1% !important; |
| 322 | } |
| 323 | |
| 324 | .add-new-address-form-hidden { |
| 325 | position: absolute; |
| 326 | right: 13px; |
| 327 | left: 13px; |
| 328 | top: 0; |
| 329 | visibility: hidden; |
| 330 | } |
| 331 | |
| 332 | // Address meta-box |
| 333 | .all-address { |
| 334 | .address { |
| 335 | min-height: 146px; |
| 336 | border: 1px solid #dad9d9; |
| 337 | padding: 9px; |
| 338 | border-radius: 5px; |
| 339 | background-color: white; |
| 340 | |
| 341 | .address-number-label { |
| 342 | color: gray; |
| 343 | cursor: default; |
| 344 | } |
| 345 | |
| 346 | a { |
| 347 | text-decoration: none; |
| 348 | } |
| 349 | } |
| 350 | } |
| 351 | } |
| 352 | } |
| 353 | |
| 354 |