| 1 |
/** |
| 2 |
* About Us page styles for Charitable admin. |
| 3 |
* |
| 4 |
* @package Charitable/Admin Styles |
| 5 |
* @author David Bisset |
| 6 |
* @copyright Copyright (c) 2024, WP Charitable LLC |
| 7 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 8 |
* @since 1.8.7.6 |
| 9 |
* @version 1.8.7.6 |
| 10 |
*/ |
| 11 |
|
| 12 |
/* About page container - no additional styles needed */ |
| 13 |
|
| 14 |
/* Hide the main page title */ |
| 15 |
.charitable-about-hidden-title { |
| 16 |
display: none; |
| 17 |
} |
| 18 |
|
| 19 |
/* Nav tab styling to match other Charitable pages - using standard styling */ |
| 20 |
|
| 21 |
/* Add spacing between nav tabs and about section */ |
| 22 |
body.charitable_page_charitable-about h2.nav-tab-wrapper { |
| 23 |
margin-bottom: 40px !important; |
| 24 |
margin-top: 20px !important; |
| 25 |
} |
| 26 |
|
| 27 |
/* Nav tab styling for checklist page */ |
| 28 |
body.charitable-checklist-page h2.nav-tab-wrapper { |
| 29 |
font-family: "Inter", sans-serif; |
| 30 |
margin-bottom: 40px !important; |
| 31 |
margin-top: 20px !important; |
| 32 |
display: inline-block; |
| 33 |
border-bottom: 1px solid #D5D6D8; |
| 34 |
padding-left: 0px; |
| 35 |
padding-right: 20px; |
| 36 |
width: calc(100% - 40px); |
| 37 |
} |
| 38 |
|
| 39 |
/* Nav tab links for checklist page */ |
| 40 |
body.charitable-checklist-page h2.nav-tab-wrapper a.nav-tab { |
| 41 |
margin: 0 15px 0 0; |
| 42 |
font-family: "Inter", sans-serif; |
| 43 |
border: 0; |
| 44 |
background: none; |
| 45 |
color: #85878F; |
| 46 |
font-size: 15px; |
| 47 |
line-height: 18px; |
| 48 |
padding-bottom: 25px; |
| 49 |
padding-left: 15px; |
| 50 |
padding-right: 15px; |
| 51 |
font-weight: 400; |
| 52 |
border-bottom: 2px solid transparent; |
| 53 |
} |
| 54 |
|
| 55 |
body.charitable-checklist-page h2.nav-tab-wrapper a.nav-tab.nav-tab-active { |
| 56 |
color: #2F3241; |
| 57 |
font-weight: 600; |
| 58 |
border-bottom: 2px solid #5AA152; |
| 59 |
} |
| 60 |
|
| 61 |
body.charitable-checklist-page h2.nav-tab-wrapper a.nav-tab:hover { |
| 62 |
color: #2F3241; |
| 63 |
border-bottom: 2px solid #D5D6D8; |
| 64 |
} |
| 65 |
|
| 66 |
/* Make About Us menu item appear active when on checklist page */ |
| 67 |
body.charitable-checklist-page .wp-submenu .about-us a { |
| 68 |
font-weight: 600; |
| 69 |
color: white !important; |
| 70 |
} |
| 71 |
|
| 72 |
/* About section styling - adapted from WPForms */ |
| 73 |
#charitable-about .charitable-admin-about-section { |
| 74 |
margin: 0 20px 0 0; |
| 75 |
padding: 30px; |
| 76 |
background: #ffffff; |
| 77 |
border: 1px solid #dddddd; |
| 78 |
line-height: 2; |
| 79 |
} |
| 80 |
|
| 81 |
/* Two-column layout */ |
| 82 |
.charitable-admin-columns { |
| 83 |
display: flex; |
| 84 |
gap: 30px; |
| 85 |
align-items: flex-start; |
| 86 |
} |
| 87 |
|
| 88 |
.charitable-admin-column-60 { |
| 89 |
flex: 0 0 60%; |
| 90 |
max-width: 60%; |
| 91 |
} |
| 92 |
|
| 93 |
.charitable-admin-column-40 { |
| 94 |
max-width: 40%; |
| 95 |
} |
| 96 |
|
| 97 |
/* Last column - no additional styling needed */ |
| 98 |
|
| 99 |
/* Typography - adapted from WPForms */ |
| 100 |
.charitable-admin-about-section h3 { |
| 101 |
font-size: 18px; |
| 102 |
line-height: 1.4; |
| 103 |
margin-bottom: 15px; |
| 104 |
color: #23282d; |
| 105 |
font-weight: 400; |
| 106 |
} |
| 107 |
|
| 108 |
.charitable-admin-about-section p { |
| 109 |
margin-bottom: 15px; |
| 110 |
line-height: 1.6; |
| 111 |
color: #555; |
| 112 |
font-size: 14px; |
| 113 |
} |
| 114 |
|
| 115 |
/* Image styling - adapted from WPForms */ |
| 116 |
.charitable-admin-about-section figure { |
| 117 |
margin: 0; |
| 118 |
text-align: center; |
| 119 |
} |
| 120 |
|
| 121 |
.charitable-admin-about-section img { |
| 122 |
max-width: 100%; |
| 123 |
height: auto; |
| 124 |
border-radius: 4px; |
| 125 |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); |
| 126 |
} |
| 127 |
|
| 128 |
.charitable-admin-about-section figcaption { |
| 129 |
margin-top: 10px; |
| 130 |
font-style: italic; |
| 131 |
color: #666; |
| 132 |
font-size: 14px; |
| 133 |
line-height: 1.4; |
| 134 |
} |
| 135 |
|
| 136 |
/* Addons section styling - adapted from WPForms */ |
| 137 |
#charitable-admin-addons { |
| 138 |
padding: 30px 0; |
| 139 |
margin: 0 20px 0 0; |
| 140 |
} |
| 141 |
|
| 142 |
#charitable-admin-addons .addon-container { |
| 143 |
padding: 0 10px; |
| 144 |
} |
| 145 |
|
| 146 |
#charitable-admin-addons .addon-item .details { |
| 147 |
padding: 20px; |
| 148 |
} |
| 149 |
|
| 150 |
#charitable-admin-addons .addon-item h5 { |
| 151 |
margin-bottom: 10px; |
| 152 |
} |
| 153 |
|
| 154 |
#charitable-admin-addons .addon-item img { |
| 155 |
padding: 10px; |
| 156 |
} |
| 157 |
|
| 158 |
#charitable-admin-addons .addon-item img[src*="-mi"] { |
| 159 |
padding: 13px; |
| 160 |
} |
| 161 |
|
| 162 |
#charitable-admin-addons .addon-item .action-button .button.disabled, |
| 163 |
#charitable-admin-addons .addon-item .action-button .button.loading { |
| 164 |
cursor: default; |
| 165 |
} |
| 166 |
|
| 167 |
/* Ensure pointer cursor persists after dynamic button state changes */ |
| 168 |
#charitable-admin-addons .addon-item .action-button .button:not(.disabled):not(.loading) { |
| 169 |
cursor: pointer; |
| 170 |
} |
| 171 |
|
| 172 |
#charitable-admin-addons *, |
| 173 |
#charitable-admin-addons *::before, |
| 174 |
#charitable-admin-addons *::after { |
| 175 |
-webkit-box-sizing: border-box; |
| 176 |
-moz-box-sizing: border-box; |
| 177 |
box-sizing: border-box; |
| 178 |
} |
| 179 |
|
| 180 |
#charitable-admin-addons .addons-container { |
| 181 |
display: flex; |
| 182 |
flex-wrap: wrap; |
| 183 |
align-items: stretch; |
| 184 |
margin-left: -20px; |
| 185 |
margin-right: -20px; |
| 186 |
} |
| 187 |
|
| 188 |
#charitable-admin-addons .addon-container { |
| 189 |
padding: 0 20px; |
| 190 |
width: 33.333333%; |
| 191 |
margin-bottom: 20px; |
| 192 |
} |
| 193 |
|
| 194 |
@media (max-width: 1249px) { |
| 195 |
#charitable-admin-addons .addon-container { |
| 196 |
width: 50%; |
| 197 |
} |
| 198 |
} |
| 199 |
|
| 200 |
@media (max-width: 767px) { |
| 201 |
#charitable-admin-addons .addon-container { |
| 202 |
width: 100%; |
| 203 |
} |
| 204 |
} |
| 205 |
|
| 206 |
#charitable-admin-addons h4 { |
| 207 |
font-size: 17px; |
| 208 |
font-weight: 700; |
| 209 |
} |
| 210 |
|
| 211 |
#charitable-admin-addons .addon-item { |
| 212 |
background-color: #fff; |
| 213 |
border: 1px solid #ddd; |
| 214 |
border-radius: 6px; |
| 215 |
margin: 0; |
| 216 |
height: 100%; |
| 217 |
display: flex; |
| 218 |
flex-direction: column; |
| 219 |
justify-content: space-between; |
| 220 |
overflow: hidden; |
| 221 |
} |
| 222 |
|
| 223 |
#charitable-admin-addons .addon-item img { |
| 224 |
border: 1px solid #eee; |
| 225 |
float: left; |
| 226 |
max-width: 75px; |
| 227 |
} |
| 228 |
|
| 229 |
#charitable-admin-addons .addon-item h5 { |
| 230 |
margin: 0 0 10px 100px !important; |
| 231 |
font-size: 16px !important; |
| 232 |
line-height: 24px !important; |
| 233 |
} |
| 234 |
|
| 235 |
#charitable-admin-addons .addon-item h5 a { |
| 236 |
color: #444; |
| 237 |
display: inline-block; |
| 238 |
margin: 0 10px 10px 0; |
| 239 |
} |
| 240 |
|
| 241 |
#charitable-admin-addons .addon-item h5 a:hover { |
| 242 |
color: #006799; |
| 243 |
} |
| 244 |
|
| 245 |
#charitable-admin-addons .addon-item p { |
| 246 |
margin: 0 0 0 100px !important; |
| 247 |
} |
| 248 |
|
| 249 |
#charitable-admin-addons .addon-item .details { |
| 250 |
padding: 30px 20px; |
| 251 |
} |
| 252 |
|
| 253 |
#charitable-admin-addons .addon-item .actions { |
| 254 |
display: flex; |
| 255 |
align-items: center; |
| 256 |
background-color: #f7f7f7; |
| 257 |
border-top: 1px solid #ddd; |
| 258 |
padding: 20px; |
| 259 |
min-height: 75px; |
| 260 |
position: relative; |
| 261 |
} |
| 262 |
|
| 263 |
#charitable-admin-addons .addon-item .actions .msg { |
| 264 |
background-color: #f7f7f7; |
| 265 |
border: none; |
| 266 |
position: absolute; |
| 267 |
text-align: center; |
| 268 |
font-weight: 600; |
| 269 |
top: 0; |
| 270 |
left: 0; |
| 271 |
height: 100%; |
| 272 |
width: 100%; |
| 273 |
margin: 0; |
| 274 |
display: flex; |
| 275 |
align-items: center; |
| 276 |
justify-content: center; |
| 277 |
} |
| 278 |
|
| 279 |
#charitable-admin-addons .addon-item .actions .msg.success { |
| 280 |
color: #008a20; |
| 281 |
} |
| 282 |
|
| 283 |
#charitable-admin-addons .addon-item .actions .msg.error { |
| 284 |
color: red; |
| 285 |
} |
| 286 |
|
| 287 |
#charitable-admin-addons .addon-item .actions .msg p { |
| 288 |
margin: 0; |
| 289 |
} |
| 290 |
|
| 291 |
#charitable-admin-addons .addon-item .actions .msg a, |
| 292 |
#charitable-admin-addons .addon-item .actions .msg a:hover { |
| 293 |
color: inherit; |
| 294 |
} |
| 295 |
|
| 296 |
#charitable-admin-addons .addon-item .status { |
| 297 |
flex-grow: 1; |
| 298 |
} |
| 299 |
|
| 300 |
#charitable-admin-addons .addon-item .status .status-missing, |
| 301 |
#charitable-admin-addons .addon-item .status .status-go-to-url { |
| 302 |
color: #666; |
| 303 |
} |
| 304 |
|
| 305 |
#charitable-admin-addons .addon-item .status .status-installed { |
| 306 |
color: red; |
| 307 |
} |
| 308 |
|
| 309 |
#charitable-admin-addons .addon-item .status .status-active { |
| 310 |
color: #008a20; |
| 311 |
} |
| 312 |
|
| 313 |
#charitable-admin-addons .addon-item .upgrade-button { |
| 314 |
text-align: center; |
| 315 |
} |
| 316 |
|
| 317 |
#charitable-admin-addons .addon-item .upgrade-button a { |
| 318 |
font-weight: 600; |
| 319 |
width: 140px; |
| 320 |
text-align: center; |
| 321 |
padding: 8px 5px; |
| 322 |
} |
| 323 |
|
| 324 |
#charitable-admin-addons .addon-item .action-button button { |
| 325 |
width: 140px; |
| 326 |
cursor: pointer; |
| 327 |
} |
| 328 |
|
| 329 |
#charitable-admin-addons .addon-item .charitable-addon-recommended { |
| 330 |
background-color: #00a32a; |
| 331 |
border-radius: 4px; |
| 332 |
color: #ffffff; |
| 333 |
font-size: 10px; |
| 334 |
font-weight: 700; |
| 335 |
line-height: 1; |
| 336 |
padding: 4px 5px; |
| 337 |
margin-bottom: 5px; |
| 338 |
display: inline-block; |
| 339 |
position: relative; |
| 340 |
} |
| 341 |
|
| 342 |
#charitable-admin-addons .addon-item .charitable-addon-recommended i { |
| 343 |
opacity: 0.8; |
| 344 |
} |
| 345 |
|
| 346 |
.addon-item .status { |
| 347 |
flex-grow: 1; |
| 348 |
} |
| 349 |
|
| 350 |
.addon-item .status .status-inactive { |
| 351 |
color: red; |
| 352 |
} |
| 353 |
|
| 354 |
/* Responsive design */ |
| 355 |
@media (max-width: 768px) { |
| 356 |
.charitable-admin-columns { |
| 357 |
flex-direction: column; |
| 358 |
gap: 20px; |
| 359 |
} |
| 360 |
|
| 361 |
.charitable-admin-column-60, |
| 362 |
.charitable-admin-column-40 { |
| 363 |
flex: 1; |
| 364 |
max-width: 100%; |
| 365 |
} |
| 366 |
} |
| 367 |
|
| 368 |
/* Versus page styling - adapted from WPForms */ |
| 369 |
.charitable-admin-columns-lite-vs-pro > div[class*="-column-"] { |
| 370 |
float: left; |
| 371 |
} |
| 372 |
|
| 373 |
.charitable-admin-columns-lite-vs-pro .charitable-admin-column-33 { |
| 374 |
width: 33.33333%; |
| 375 |
} |
| 376 |
|
| 377 |
.charitable-admin-columns-lite-vs-pro:after { |
| 378 |
content: ""; |
| 379 |
display: table; |
| 380 |
clear: both; |
| 381 |
} |
| 382 |
|
| 383 |
#charitable-about .charitable-admin-about-section-hero .charitable-admin-about-section-hero-main.no-border { |
| 384 |
border-bottom: 0; |
| 385 |
} |
| 386 |
|
| 387 |
#charitable-about .charitable-admin-about-section-hero .charitable-admin-about-section-hero-main p { |
| 388 |
color: #666; |
| 389 |
} |
| 390 |
|
| 391 |
#charitable-about .charitable-admin-about-section-hero h3.call-to-action { |
| 392 |
margin-bottom: -10px; |
| 393 |
} |
| 394 |
|
| 395 |
#charitable-about .charitable-admin-about-section-hero span.price-20-off { |
| 396 |
color: #6ab255; |
| 397 |
} |
| 398 |
|
| 399 |
#charitable-about .charitable-admin-about-section-squashed { |
| 400 |
margin-bottom: 0; |
| 401 |
} |
| 402 |
|
| 403 |
#charitable-about .charitable-admin-about-section-squashed:not(:last-of-type) { |
| 404 |
border-bottom: 0; |
| 405 |
} |
| 406 |
|
| 407 |
.charitable-admin-about-section-table-no-padding { |
| 408 |
padding: 0 !important; |
| 409 |
} |
| 410 |
|
| 411 |
.charitable-admin-about-section-hero-main.no-border.charitable-admin-columns-lite-vs-pro { |
| 412 |
background-color: #fafafa; |
| 413 |
border-bottom: 1px solid #dddddd !important; |
| 414 |
} |
| 415 |
|
| 416 |
#charitable-about .charitable-admin-about-section-table table p.features-full { |
| 417 |
padding-left: 30px; |
| 418 |
background-image: url(../../images/about/icon-full.svg); |
| 419 |
background-repeat: no-repeat; |
| 420 |
background-position: 0px 4px; |
| 421 |
background-size: 20px auto; |
| 422 |
min-height: 20px; |
| 423 |
} |
| 424 |
|
| 425 |
#charitable-about .charitable-admin-about-section-table table p.features-none { |
| 426 |
padding-left: 30px; |
| 427 |
background-image: url(../../images/about/icon-none.svg); |
| 428 |
background-repeat: no-repeat; |
| 429 |
background-position: 0 0; |
| 430 |
background-size: 20px auto; |
| 431 |
min-height: 20px; |
| 432 |
} |
| 433 |
|
| 434 |
#charitable-about .charitable-admin-about-section-table table p.features-partial { |
| 435 |
padding-left: 30px; |
| 436 |
background-image: url(../../images/about/icon-partial.svg); |
| 437 |
background-repeat: no-repeat; |
| 438 |
background-position: -3px 0; |
| 439 |
background-size: 23px auto; |
| 440 |
min-height: 20px; |
| 441 |
} |
| 442 |
|
| 443 |
#charitable-about .charitable-admin-about-section-table .charitable-admin-about-section-hero-main { |
| 444 |
padding: 0; |
| 445 |
} |
| 446 |
|
| 447 |
#charitable-about .charitable-admin-about-section-table .charitable-admin-about-section-hero-main h3 { |
| 448 |
padding: 30px 30px 30px 60px; |
| 449 |
} |
| 450 |
|
| 451 |
#charitable-about .charitable-admin-about-section-table .charitable-admin-about-section-hero-main .charitable-admin-column-33:first-child h3 { |
| 452 |
padding: 30px; |
| 453 |
} |
| 454 |
|
| 455 |
#charitable-about .charitable-admin-about-section-table table { |
| 456 |
width: 100%; |
| 457 |
border-collapse: collapse; |
| 458 |
} |
| 459 |
|
| 460 |
#charitable-about .charitable-admin-about-section-table table tr { |
| 461 |
border-bottom: 1px solid #e1e1e1; |
| 462 |
} |
| 463 |
|
| 464 |
#charitable-about .charitable-admin-about-section-table table tr:last-child { |
| 465 |
border-bottom: none; |
| 466 |
} |
| 467 |
|
| 468 |
#charitable-about .charitable-admin-about-section-table table td { |
| 469 |
border-bottom: 1px solid #dddddd; |
| 470 |
border-right: 1px solid #dddddd; |
| 471 |
padding: 30px; |
| 472 |
vertical-align: top; |
| 473 |
} |
| 474 |
|
| 475 |
#charitable-about .charitable-admin-about-section-table table td:first-child { |
| 476 |
font-weight: 600; |
| 477 |
background-color: #f9f9f9; |
| 478 |
} |
| 479 |
|
| 480 |
#charitable-about .charitable-admin-about-section-table table td:last-child { |
| 481 |
background-color: #f0f8f0; |
| 482 |
} |
| 483 |
|
| 484 |
#charitable-about .charitable-admin-about-section-table table p { |
| 485 |
margin: 0; |
| 486 |
line-height: 1.5; |
| 487 |
} |
| 488 |
|
| 489 |
#charitable-about .charitable-admin-about-section-table table p strong { |
| 490 |
color: #333; |
| 491 |
} |
| 492 |
|
| 493 |
/* Call to action link styling */ |
| 494 |
#charitable-about .charitable-admin-about-section-hero h3.call-to-action a { |
| 495 |
display: inline; |
| 496 |
background: none; |
| 497 |
color: #0073aa; |
| 498 |
padding: 0; |
| 499 |
text-decoration: underline; |
| 500 |
border-radius: 0; |
| 501 |
font-size: 18px; |
| 502 |
font-weight: normal; |
| 503 |
transition: color 0.3s ease; |
| 504 |
font-weight: 700; |
| 505 |
line-height: 40px; |
| 506 |
} |
| 507 |
|
| 508 |
#charitable-about .charitable-admin-about-section-hero h3.call-to-action a:hover { |
| 509 |
background: none; |
| 510 |
color: #005177; |
| 511 |
text-decoration: underline; |
| 512 |
} |
| 513 |
|
| 514 |
/* Centered text styling */ |
| 515 |
.centered { |
| 516 |
text-align: center; |
| 517 |
} |
| 518 |
|
| 519 |
.no-margin { |
| 520 |
margin: 0; |
| 521 |
} |
| 522 |
|
| 523 |
.no-padding { |
| 524 |
padding: 0; |
| 525 |
} |
| 526 |
|