|
2 | 2 |
|
3 | 3 | /* ---------- Program list and overview ---------- */ |
4 | 4 |
|
5 | | -.agreement-orders .tier-table { margin: 0.5em 0 1.3125em; } |
6 | | -.agreement-orders .tier-table th, |
7 | | -.agreement-orders .tier-table td { padding: 0.45em 0.6em; border-bottom: 1px solid #e6e8ea; } |
8 | | -.agreement-orders .tier-table thead th { background-color: #e6e8ea; color: #444; font-family: SourceSansProBold, Arial, sans-serif; } |
9 | 5 | .agreement-orders .agreement-summary { border-top: 5px solid #caccce; padding-top: 0.5em; margin-top: 1.75em; } |
10 | 6 | .agreement-orders .agreement-summary h2 { margin-top: 0.25em; } |
11 | 7 | .agreement-orders .agreement-services { color: #666; font-size: 0.9em; } |
|
26 | 22 | .program-overview .po-tagline { margin-bottom: 0.5em; } |
27 | 23 | .program-overview .po-table-wrap { max-width: 100%; overflow-x: auto; } |
28 | 24 | .program-overview .po-terms { font-size: 0.9em; color: #666; } |
| 25 | +.program-overview .po-list-title { margin: 1em 0 0.15em; font-size: 1.0625em; } |
| 26 | +.program-overview .agreement-services { margin-bottom: 0.4em; } |
| 27 | +.program-overview .po-list { margin: 0 0 1em; font-size: 0.9375em; line-height: 1.5; } |
| 28 | +.program-overview .po-list dt { margin-top: 0.5em; border: 0; font-family: SourceSansProBold, Arial, sans-serif; color: #222; } |
| 29 | +.program-overview .po-list dd { margin: 0; padding: 0; border: 0; color: #555; } |
| 30 | +.program-overview .po-list-note { margin-left: 0.35em; font-family: SourceSansProRegular, Arial, sans-serif; font-size: 0.9em; color: #2b5b84; } |
| 31 | + |
| 32 | +/* Tier comparison: plan columns, with response targets drawn to one program-wide scale. */ |
| 33 | +.program-overview .po-plans { |
| 34 | + --po-blue: #3776ab; |
| 35 | + --po-blue-dark: #2b5b84; |
| 36 | + --po-blue-quiet: #a9c4dc; |
| 37 | + --po-yellow: #ffd343; |
| 38 | + --po-line: #e6e8ea; |
| 39 | + --po-col: #f3f8fc; |
| 40 | + width: 100%; |
| 41 | + margin: 0.75em 0 1.75em; |
| 42 | + table-layout: fixed; |
| 43 | + border-collapse: separate; |
| 44 | + border-spacing: 0; |
| 45 | + font-variant-numeric: tabular-nums; |
| 46 | +} |
| 47 | +.program-overview .po-plans tr { background: none; } |
| 48 | +.program-overview .po-plans :is(th, td) { padding: 0.55em 0.9em; background: none; border: 0; text-align: left; vertical-align: middle; transition: background-color 180ms cubic-bezier(0.22, 1, 0.36, 1); } |
| 49 | +.program-overview .po-plans tbody th { width: 30%; padding-left: 0; font-family: SourceSansProRegular, Arial, sans-serif; color: #444; } |
| 50 | +.program-overview .po-plans thead :is(th, td) { border-bottom: 1px solid #caccce; } |
| 51 | +.program-overview .po-plans .po-plan { padding-top: 0.85em; padding-bottom: 0.9em; border-top: 3px solid var(--po-line); vertical-align: bottom; transition: background-color 180ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms cubic-bezier(0.22, 1, 0.36, 1); } |
| 52 | +.program-overview .po-plan-name { display: block; font-family: SourceSansProBold, Arial, sans-serif; font-size: 0.9375em; color: var(--po-blue-dark); } |
| 53 | +.program-overview .po-plan-fee { display: block; margin-top: 0.1em; font-family: SourceSansProBold, Arial, sans-serif; font-size: 1.75em; line-height: 1.1; color: #222; } |
| 54 | +.program-overview .po-plan-unit { display: block; margin-top: 0.15em; font-family: SourceSansProRegular, Arial, sans-serif; font-size: 0.875em; line-height: 1.3; color: #666; } |
| 55 | +.program-overview .po-requests :is(th, td) { padding-block: 0.75em; border-bottom: 1px solid var(--po-line); } |
| 56 | +.program-overview .po-requests td { font-family: SourceSansProBold, Arial, sans-serif; font-size: 1.125em; color: #222; } |
| 57 | +.program-overview .po-group th { padding: 1.5em 0 0.4em; font-family: SourceSansProBold, Arial, sans-serif; color: #222; } |
| 58 | +.program-overview .po-group-note { margin-left: 0.4em; font-family: SourceSansProRegular, Arial, sans-serif; font-size: 0.875em; color: #666; } |
| 59 | +.program-overview .po-severity :is(th, td) { padding-block: 0.6em; border-top: 1px solid var(--po-line); } |
| 60 | +.program-overview .po-sev { margin-left: 0.3em; padding: 0.1em 0.4em; border-radius: 3px; background-color: #eef1f4; color: #555; font-family: SourceSansProBold, Arial, sans-serif; font-size: 0.75em; vertical-align: 0.1em; } |
| 61 | +.program-overview .po-target { display: block; color: #333; font-size: 0.9375em; white-space: nowrap; } |
| 62 | +.program-overview .po-bar { display: block; width: 100%; height: 6px; margin-top: 0.4em; border-radius: 3px; overflow: hidden; } |
| 63 | +.program-overview .po-bar-track { fill: #eef1f4; } |
| 64 | +.program-overview .po-bar-fill { fill: var(--po-blue); transition: fill 180ms cubic-bezier(0.22, 1, 0.36, 1); } |
| 65 | + |
| 66 | +/* Pointing at any cell in a tier lights that tier's whole column and quiets the others. */ |
| 67 | +.program-overview .po-plans:has(:is(thead th, td):hover) .po-bar-fill { fill: var(--po-blue-quiet); } |
| 68 | +.program-overview .po-plans:has(tr > :nth-child(2):is(th, td):hover) tr > :nth-child(2), |
| 69 | +.program-overview .po-plans:has(tr > :nth-child(3):is(th, td):hover) tr > :nth-child(3), |
| 70 | +.program-overview .po-plans:has(tr > :nth-child(4):is(th, td):hover) tr > :nth-child(4), |
| 71 | +.program-overview .po-plans:has(tr > :nth-child(5):is(th, td):hover) tr > :nth-child(5), |
| 72 | +.program-overview .po-plans:has(tr > :nth-child(6):is(th, td):hover) tr > :nth-child(6) { background-color: var(--po-col); } |
| 73 | +.program-overview .po-plans:has(tr > :nth-child(2):is(th, td):hover) tr > :nth-child(2) .po-bar-fill, |
| 74 | +.program-overview .po-plans:has(tr > :nth-child(3):is(th, td):hover) tr > :nth-child(3) .po-bar-fill, |
| 75 | +.program-overview .po-plans:has(tr > :nth-child(4):is(th, td):hover) tr > :nth-child(4) .po-bar-fill, |
| 76 | +.program-overview .po-plans:has(tr > :nth-child(5):is(th, td):hover) tr > :nth-child(5) .po-bar-fill, |
| 77 | +.program-overview .po-plans:has(tr > :nth-child(6):is(th, td):hover) tr > :nth-child(6) .po-bar-fill { fill: var(--po-blue-dark); } |
| 78 | +.program-overview .po-plans:has(tr > :nth-child(2):is(th, td):hover) thead tr > :nth-child(2), |
| 79 | +.program-overview .po-plans:has(tr > :nth-child(3):is(th, td):hover) thead tr > :nth-child(3), |
| 80 | +.program-overview .po-plans:has(tr > :nth-child(4):is(th, td):hover) thead tr > :nth-child(4), |
| 81 | +.program-overview .po-plans:has(tr > :nth-child(5):is(th, td):hover) thead tr > :nth-child(5), |
| 82 | +.program-overview .po-plans:has(tr > :nth-child(6):is(th, td):hover) thead tr > :nth-child(6) { border-top-color: var(--po-yellow); } |
| 83 | + |
| 84 | +@media (prefers-reduced-motion: no-preference) { |
| 85 | + .program-overview .po-bar-fill { transform-box: fill-box; transform-origin: left center; animation: po-bar-grow 720ms cubic-bezier(0.22, 1, 0.36, 1) both; } |
| 86 | + .program-overview .po-severity:nth-child(4) .po-bar-fill { animation-delay: 70ms; } |
| 87 | + .program-overview .po-severity:nth-child(5) .po-bar-fill { animation-delay: 140ms; } |
| 88 | + .program-overview .po-severity:nth-child(6) .po-bar-fill { animation-delay: 210ms; } |
| 89 | +} |
| 90 | +@keyframes po-bar-grow { from { transform: scaleX(0); } } |
29 | 91 |
|
30 | 92 | @media (max-width: 40em) { |
31 | 93 | .program-overview .po-invite { grid-template-columns: minmax(0, 1fr); } |
| 94 | + .program-overview .po-plans :is(th, td) { padding-inline: 0.45em; } |
| 95 | + .program-overview .po-plans tbody th { width: 34%; padding-left: 0; line-height: 1.25; } |
| 96 | + .program-overview .po-plan-fee { font-size: 1.25em; } |
| 97 | + .program-overview .po-target { font-size: 0.875em; white-space: normal; line-height: 1.25; } |
32 | 98 | .program-overview .po-invite-cta { justify-self: start; } |
33 | 99 | } |
34 | 100 |
|
|
38 | 104 | .agreement-orders .order-orgs { color: #666; font-size: 0.95em; } |
39 | 105 | .agreement-orders .num { font-variant-numeric: tabular-nums; } |
40 | 106 |
|
41 | | -@media (max-width: 800px) { |
42 | | - .agreement-orders .tier-table { display: block; overflow-x: auto; } |
43 | | -} |
44 | | - |
45 | 107 | /* ================================================================ |
46 | 108 | Package builder (order form) |
47 | 109 | ================================================================ */ |
|
234 | 296 | .package-builder .pb-extra-family + .pb-extra-family { margin-top: 1.5em; } |
235 | 297 | .package-builder .pb-extra-family > h3 { margin: 0 0 0.75em; font-size: 1.125em; font-family: SourceSansProBold, Arial, sans-serif; } |
236 | 298 | .package-builder #pb-extras-empty { padding: 1.5em 0; color: var(--pb-muted); } |
237 | | -.package-builder .pb-comparison-scroll { max-width: 100%; overflow-x: auto; } |
| 299 | +.package-builder .pb-comparison-scroll { position: relative; max-width: 100%; overflow-x: auto; } |
238 | 300 | .package-builder .pb-comparison { width: 100%; min-width: 54em; table-layout: fixed; margin: 0.75em 0; border-collapse: collapse; font-size: 0.875em; line-height: 1.4; } |
239 | 301 | .package-builder .pb-comparison-label { width: 38%; } |
240 | 302 | .package-builder .pb-comparison :is(th, td) { padding: 0.65em; border-bottom: 1px solid var(--pb-line); text-align: left; vertical-align: top; } |
|
0 commit comments