/* Load public/brand/tokens.css before this file. Color and type come from those variables. Lexend and Charm are self-hosted so this matches hopefoodpantrysc.org without a request to Google Fonts. */ @font-face { font-family: "Lexend"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../brand/fonts/lexend-latin.woff2") format("woff2"); } @font-face { font-family: "Charm"; font-style: normal; font-weight: 400; font-display: swap; src: url("../brand/fonts/charm-400.woff2") format("woff2"); } @font-face { font-family: "Charm"; font-style: normal; font-weight: 700; font-display: swap; src: url("../brand/fonts/charm-700.woff2") format("woff2"); } :root { color-scheme: light; --hope-shadow: 0 4px 10px #22222240; --hope-shadow-soft: 0 2px 2px #22222240; --hope-yellow-hover: #fae7a9; --hope-blue-wash: rgb(228 243 251 / 0.82); --hope-open: #e4f0d8; --hope-open-edge: #c5d7b4; --hope-full: #f6e2de; --hope-full-edge: #e4c4be; --hope-blue-quiet: #d7ebf8; --hope-blue-quiet-ink: #2d5f86; /* Smallest text in the app. Footer fine print may use --hope-text-fine. */ --hope-text-small: 0.875rem; --hope-text-fine: 13px; --hope-scrollbar-size: 14px; --hope-scrollbar-thumb: var(--hope-gold); --hope-scrollbar-thumb-hover: color-mix(in srgb, var(--hope-gold) 72%, var(--hope-ink)); --hope-scrollbar-track: color-mix(in srgb, var(--hope-border) 48%, var(--hope-blue-100)); } *, *::before, *::after { box-sizing: border-box; } [hidden] { display: none !important; } html { height: 100%; scroll-behavior: smooth; } html, body { overflow-x: hidden; } /* Gold pill on a soft track, the same family as the buttons. */ html { scrollbar-width: thin; scrollbar-color: var(--hope-scrollbar-thumb) var(--hope-scrollbar-track); } @supports selector(::-webkit-scrollbar) { html { scrollbar-width: auto; scrollbar-color: auto; } *::-webkit-scrollbar { width: var(--hope-scrollbar-size); height: var(--hope-scrollbar-size); } *::-webkit-scrollbar-button { display: none; width: 0; height: 0; } *::-webkit-scrollbar-track { background: var(--hope-scrollbar-track); border-radius: 999px; } *::-webkit-scrollbar-thumb { background: var(--hope-yellow); border: 2px solid var(--hope-gold); border-radius: 999px; } *::-webkit-scrollbar-thumb:hover { background: var(--hope-yellow-hover); } *::-webkit-scrollbar-corner { background: transparent; } } body { display: flex; flex-direction: column; min-height: 100%; margin: 0; font-family: var(--font-body); font-size: 1.125rem; font-weight: 400; color: var(--hope-ink); background: var(--hope-blue-50); line-height: 1.7; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .skip-link { position: absolute; left: 0.75rem; top: 0.75rem; transform: translateY(-150%); background: var(--hope-yellow); color: var(--hope-ink); padding: 0.75rem 1.1rem; min-height: 44px; border-radius: 999px; border: 1px solid var(--hope-gold); box-shadow: var(--hope-shadow-soft); z-index: 1100; text-decoration: none; font-weight: 650; } .skip-link:focus { transform: none; } :focus-visible { outline: 3px solid var(--hope-ink); outline-offset: 3px; } main:focus, main:focus-visible { outline: none; } /* Header. Pixel sizes match hopefoodpantrysc.org, whose root font size is 10px. */ a.btn, button, .inline-form button, .move-form button, .signup-form button, .cancel-form button { position: relative; z-index: 0; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 44px; padding: 0.65rem 1.35rem; border-radius: 999px; border: 1px solid var(--hope-gold); background: var(--hope-yellow); color: var(--hope-ink); box-shadow: var(--hope-shadow-soft); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 0.3s ease; } a.btn::before, button::before, .btn-card::before { content: ""; position: absolute; inset: 0 auto 0 -100%; width: 100%; background: var(--hope-yellow-hover); transition: left 0.3s ease; z-index: -1; } a.btn:hover::before, button:hover::before, .btn-card:hover::before { left: 0; } a.btn:hover, a.btn:active { transform: scale(1.08); text-decoration: none; color: var(--hope-ink); } /* Same-origin clicks crossfade. Named chrome stays in place while the page changes. */ @view-transition { navigation: auto; } .header { position: relative; font-size: 18px; line-height: 1.8; font-weight: 400; color: #222; } .nav { view-transition-name: site-header; left: 0; position: fixed; z-index: 999; padding: 10px 5%; display: flex; width: 100%; justify-content: space-between; align-items: center; background: linear-gradient( to bottom, rgb(236 247 252 / 0.75) 0%, rgb(236 247 252 / 0.75) 50%, transparent 100% ); } .logo { max-width: 230px; height: auto; margin-bottom: 0.5925em; transition: all 0.5s; } .logo:hover { transform: scale(1.1); } .nav-links { list-style: none; display: flex; gap: 50px; margin: 0; background-color: #e4f3fb; padding: 15px 30px; border-radius: 50px; box-shadow: 0 4px 4px #22222240; justify-content: center; align-items: center; } .main-nav-link:link, .main-nav-link:visited { display: inline-block; text-decoration: none; color: #222; transition: all 0.3s; } .main-nav-link:hover, .main-nav-link:active { text-decoration: none; transform: scale(1.1); color: #444; } .nav-links .btn:link, .nav-links .btn:visited { min-height: 0; padding: 10px 30px; border-radius: 50px; border: 1px solid #fbcd62; background-color: #f9e194; color: #222; box-shadow: 0 2px 2px #22222240; font-weight: 400; gap: 0; transition: all 0.3s; } .nav-links .btn:hover, .nav-links .btn:active { transform: scale(1.1); color: #222; text-decoration: none; } .btn-mobile-nav { display: none; z-index: 1000; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; min-height: 0; overflow: visible; line-height: 0; cursor: pointer; } .btn-mobile-nav::before { content: none; } .btn-mobile-nav:hover, .btn-mobile-nav:active { transform: none; background: none; } .icon-mobile-nav { width: 50px; height: 50px; } .icon-mobile-nav[name="close"] { display: none; } .header.nav-open .icon-mobile-nav[name="close"] { display: block; } .header.nav-open .icon-mobile-nav[name="open"] { display: none; } .session-bar { view-transition-name: session-bar; position: fixed; z-index: 1000; top: 118px; right: 5%; display: flex; flex-wrap: nowrap; align-items: center; gap: 28px; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; font-size: 18px; line-height: 1; } .session-bar a, .session-logout button { position: relative; display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; color: #222; font: inherit; font-size: 18px; font-weight: 400; line-height: 1; text-decoration: none; cursor: pointer; transition: transform 0.3s; } .session-bar a:hover, .session-bar a:active, .session-logout button:hover, .session-logout button:active { transform: scale(1.1); background: transparent; color: #444; } .session-bar a.session-entry, .session-bar a[aria-current="page"] { font-weight: 650; } .session-bar a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 7px; height: 2px; border-radius: 999px; background: var(--hope-gold); } .session-logout { display: flex; align-items: center; position: relative; width: max-content; margin: 0; padding-left: 28px; } .session-logout::before { content: ""; position: absolute; left: 0; top: 50%; height: 18px; transform: translateY(-50%); border-left: 1px solid var(--hope-border); } .session-logout button::before { content: none; } /* Coordinator dropdown in the session bar, signed in. Same pattern as the view menu: a white card under the pill. */ .session-bar .coord-menu { position: relative; } .session-bar .coord-menu > summary { position: relative; display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0; list-style: none; background: transparent; color: #222; font: inherit; font-size: 18px; font-weight: 400; line-height: 1; text-decoration: none; cursor: pointer; transition: transform 0.3s; } .session-bar .coord-menu > summary::-webkit-details-marker { display: none; } .session-bar .coord-menu > summary::marker { content: ""; } .session-bar .coord-menu > summary::after { content: ""; width: 0.4rem; height: 0.4rem; margin-left: 0.35rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.12rem) rotate(45deg); } .session-bar .coord-menu[open] > summary::after { transform: translateY(0.12rem) rotate(225deg); } .session-bar .coord-menu > summary:hover, .session-bar .coord-menu > summary:active { transform: scale(1.1); background: transparent; color: #444; } /* On a coordinator page the pill is bold with the same gold line as the session-bar links. */ .session-bar .coord-menu > summary.session-here { font-weight: 650; } .session-bar .coord-menu > summary.session-here::before { content: ""; position: absolute; left: 0; right: 0; bottom: 7px; height: 2px; border-radius: 999px; background: var(--hope-gold); } .coord-menu-list { position: absolute; z-index: 1001; top: calc(100% + 0.35rem); right: 0; display: grid; min-width: 9.5rem; padding: 0.3rem; background: #fff; border: 1px solid var(--hope-border-2); border-radius: 1rem; box-shadow: var(--hope-shadow); } .coord-menu-list a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0.3rem 0.8rem; border-radius: 0.7rem; color: var(--hope-ink); font-size: 1rem; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap; } .coord-menu-list a:hover, .coord-menu-list a:active { background: var(--hope-blue-75); color: var(--hope-ink); text-decoration: none; } .coord-menu-list a[aria-current] { font-weight: 650; } .coord-menu-list a[aria-current]::after { content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 9px; height: 2px; border-radius: 999px; background: var(--hope-gold); } /* Phone and tablet: no dropdown inside the ☰ menu, a second plain row instead. Hidden on desktop. */ .session-sections { display: none; } /* Page */ main { flex: 1 0 auto; width: min(72rem, calc(100% - 2rem)); margin-inline: auto; padding: 9rem 0 3rem; } h1, h2, h3 { line-height: 1.2; letter-spacing: -0.03em; font-weight: 500; } h1 { width: fit-content; max-width: 100%; margin: 0.2rem 0 0.75rem; font-size: 2.75rem; } h2 { margin: 0 0 0.35rem; font-size: 1.85rem; } h3 { margin: 0; font-size: 1.3rem; font-weight: 650; } .location, .zone, .description, .empty, .spots, .status, .when, .shift-date { margin: 0.3rem 0; } .when-date { display: block; } .description { white-space: pre-wrap; } main a { color: var(--hope-ink); text-underline-offset: 0.15em; } main a:hover { color: var(--hope-ink-2); } .receipt { display: grid; gap: 1.05rem; width: 100%; } .receipt-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.85rem 1rem; align-items: center; } .receipt h1 { margin: 0; font-size: clamp(2rem, 4vw, 2.55rem); } .receipt-mark { display: grid; place-items: center; width: 3.35rem; height: 3.35rem; border-radius: 999px; background: var(--hope-yellow); border: 1px solid var(--hope-gold); box-shadow: var(--hope-shadow-soft); color: var(--hope-ink); } .receipt.is-cancelled .receipt-mark { background: var(--hope-full); border-color: var(--hope-full-edge); } .receipt-mark svg { display: block; width: 1.65rem; height: 1.65rem; } .receipt-mark path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; } .receipt-summary { margin: 0.2rem 0 0; } .receipt .spots, .receipt-hold { margin-top: 0.65rem; } .receipt-hold { display: inline-block; width: fit-content; padding: 0.15rem 0.7rem; border: 1px solid var(--hope-border-2); border-radius: 999px; background: #fff; font-weight: 650; } .receipt-card { display: flex; flex-direction: column; width: min(44rem, 100%); margin: 0; padding: 0; overflow: hidden; background: #fff; border-radius: 1.75rem; box-shadow: var(--hope-shadow); } .receipt-banner { margin: 0; padding: 0.75rem 1.15rem; background: var(--hope-yellow); color: var(--hope-ink); font-size: 1.35rem; font-weight: 650; line-height: 1.25; letter-spacing: -0.02em; text-align: center; } .receipt.is-cancelled .receipt-banner { background: var(--hope-full); } .receipt-body { display: grid; gap: 0.85rem; align-content: start; flex: 1; padding: 1.05rem 1.25rem 1.2rem; } .receipt-role, .receipt-when, .receipt-where, .receipt-note { margin: 0; } .receipt-role, .receipt-date, .receipt-clock, .receipt-where { display: block; } .receipt-role, .receipt-date, .receipt-where { font-size: 1.2rem; font-weight: 650; line-height: 1.35; } .receipt-clock { margin-top: 0.15rem; color: var(--hope-ink-2); font-weight: 500; } .receipt-note { color: var(--hope-ink-2); font-size: 1.02rem; line-height: 1.55; } .receipt-link { display: block; margin-top: auto; padding: 0.9rem 1.25rem 1rem; overflow-wrap: anywhere; background: var(--hope-blue-100); color: var(--hope-ink); font-size: 1rem; font-weight: 650; line-height: 1.45; text-decoration: none; user-select: all; word-break: break-all; } .receipt-link:hover, .receipt-link:active { background: var(--hope-blue-75); color: var(--hope-ink); text-decoration: none; } .receipt-dates { display: grid; margin: 0; padding: 0.35rem 0 0; list-style: none; } .receipt-dates > li { display: grid; gap: 0.45rem; padding: 0.85rem 1.25rem 0.35rem; } .receipt-dates > li + li { margin-top: 0.35rem; border-top: 1px solid var(--hope-border); } .receipt-dates .receipt-link { margin-top: 0.2rem; border-radius: 1rem; } .receipt-dates + .receipt-note { padding: 0.35rem 1.25rem 1.2rem; } .manage { display: grid; gap: 0.35rem 0; width: min(64rem, 100%); margin-inline: auto; } .manage-intro h1 { margin-bottom: 0.35rem; } .manage-intro h2, .manage-intro p { margin: 0.15rem 0; } .manage-intro .status { margin: 0.15rem 0 0.65rem; } .status.is-cancelled { display: inline-block; width: fit-content; padding: 0.15rem 0.7rem; border: 1px solid var(--hope-full-edge); border-radius: 999px; background: var(--hope-full); color: var(--hope-ink); } .manage-record { position: relative; margin-top: 0.85rem; padding: 1.15rem 1.25rem 1.25rem; background: var(--hope-blue-100); border-radius: 1.75rem; box-shadow: var(--hope-shadow); } .manage-follow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--hope-border-2); } .manage-follow:has(> :only-child) { grid-template-columns: minmax(0, 1fr); } .manage-follow > .manage-action, .manage-follow > .hint { min-width: 0; margin: 0; padding: 0 1.35rem; } .manage-follow > :first-child { padding-left: 0; } .manage-follow > :only-child { padding-right: 0; } .manage-follow > :last-child:not(:only-child) { padding-right: 0; border-left: 1px solid var(--hope-border-2); } .manage-record .move-form { margin: 0; } .manage-follow .move-form { gap: 0.55rem; } .manage-follow .hint, .manage-follow .field-error { margin: 0; } .manage-action-row { display: grid; gap: 0.55rem; } .manage-follow .manage-action-row label, .manage-follow .manage-action-row select { width: 100%; min-width: 0; max-width: 100%; } .manage-follow .manage-action-row button { width: 7.5rem; min-height: 48px; } .manage > .move-form { max-width: none; margin-top: 1rem; padding: 1.15rem 1.25rem 1.25rem; background: var(--hope-blue-100); border-radius: 1.75rem; box-shadow: var(--hope-shadow); } .manage .cancel-form, .manage-actions { max-width: none; margin-top: 1rem; } .manage > .cancel-form { max-width: 36rem; } .reminder-job { display: grid; gap: 1.15rem; min-width: 0; } .reminder-job h2 { margin: 0; font-size: 1.2rem; line-height: 1.3; } .reminder-cancel { display: grid; gap: 0.7rem; justify-items: start; } .reminder-job p, .signup-reminders p { margin: 0; } .reminder-job .confirm-actions { margin-top: 0.15rem; } .signup-reminders button { justify-self: start; } .signup-reminders { display: grid; gap: 0.7rem; margin: 0; color: var(--hope-ink-2); font-size: 0.95rem; line-height: 1.45; } .reminder-job .reminder-cancel + .signup-reminders { padding-top: 1.15rem; border-top: 1px solid var(--hope-border-2); } .manage .error { margin: 0.5rem 0 0; } .manage-record:has(.manage-tools) { padding-top: 4.35rem; } .manage-tools { position: absolute; z-index: 2; top: 1.05rem; right: 1.05rem; left: 1.05rem; display: flex; align-items: center; justify-content: flex-end; gap: 0.4rem; margin: 0; } .manage-cancel { margin: 0; } .manage-x { min-height: 2.5rem; padding: 0.4rem 0.95rem; box-shadow: none; } .manage-menu { position: relative; } .manage-menu > summary { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.5rem; padding: 0.2rem 0.8rem; list-style: none; cursor: pointer; background: #fff; border: 1px solid var(--hope-border-2); border-radius: 999px; font-weight: 650; } .manage-menu > summary::-webkit-details-marker { display: none; } .manage-menu > summary::marker { content: ""; } .manage-menu > summary::after { content: ""; width: 0.4rem; height: 0.4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.12rem) rotate(45deg); } .manage-menu[open] > summary::after { transform: translateY(0.1rem) rotate(225deg); } .manage-menu-panel { position: absolute; z-index: 4; top: calc(100% + 0.25rem); right: 0; display: flex; width: max-content; margin: 0; padding: 0.35rem 0.6rem; background: #fff; border-radius: 0.75rem; box-shadow: var(--hope-shadow); } .manage-menu-panel .check { min-height: 0; gap: 0.4rem; } .manage-menu-panel .check input { accent-color: var(--hope-blue-quiet-ink); } .signup-board { margin-top: 1.25rem; } .schedule-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1.25rem; margin: 0 0 1rem; } .view-menu { position: relative; width: fit-content; } .view-menu > summary { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.5rem; padding: 0.2rem 0.85rem; list-style: none; cursor: pointer; background: #fff; border: 1px solid var(--hope-border-2); border-radius: 999px; color: var(--hope-ink); font-weight: 650; } .view-menu > summary::-webkit-details-marker { display: none; } .view-menu > summary::marker { content: ""; } .view-menu > summary::after { content: ""; width: 0.4rem; height: 0.4rem; margin-left: 0.15rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.12rem) rotate(45deg); } .view-menu[open] > summary::after { transform: translateY(0.12rem) rotate(225deg); } .view-menu-kicker { color: var(--hope-ink-2); font-weight: 500; } .view-menu-list { position: absolute; z-index: 4; top: calc(100% + 0.35rem); left: 0; display: grid; min-width: 100%; padding: 0.3rem; background: #fff; border-radius: 1rem; box-shadow: var(--hope-shadow); } .view-menu-list a { padding: 0.45rem 0.8rem; border-radius: 0.7rem; color: var(--hope-ink); font-weight: 650; text-decoration: none; white-space: nowrap; } .view-menu-list a:hover, .view-menu-list a:active { background: var(--hope-blue-75); color: var(--hope-ink); text-decoration: none; } .view-menu-list a[aria-current='page'] { background: var(--hope-yellow); } .window-note { flex: 1 1 16rem; min-width: 0; margin: 0; color: var(--hope-ink-2); text-align: right; } @media (max-width: 42em) { .schedule-bar { flex-wrap: wrap; } .window-note { flex-basis: 100%; text-align: left; } .view-menu[open] { margin-bottom: 6.4rem; } } .day-board { list-style: none; display: grid; gap: 1.25rem; margin: 0; padding: 0; } .day-card { overflow: hidden; background: #fff; border-radius: 1.75rem; box-shadow: var(--hope-shadow); container: day / inline-size; } .day-card[aria-current='date'] { outline: 2px solid var(--hope-ink); outline-offset: 2px; } .day-card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0.35rem 0.85rem; padding: 0.95rem 1.1rem; background: var(--hope-yellow); text-align: center; } .day-card-dow { margin: 0; font-size: 1.05rem; font-weight: 650; } .day-card-head h2 { margin: 0; font-size: 1.35rem; font-weight: 700; } .day-card-head .today-flag { align-self: center; } .day-card-shifts { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--hope-border-2); } /* A row is 4, 2, or 1. Three columns leaves one shift alone on the next row. */ @container day (min-width: 32rem) { .day-card-shifts:has(> :nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @container day (min-width: 64rem) { .day-card-shifts:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); } } .shift-pane { display: flex; flex-direction: column; min-width: 0; background: #fff; } .shift-pane.is-ended::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgb(255 255 255 / 0.5); pointer-events: none; } .shift-pane.is-ended { position: relative; } /* Full is two lines and Sign up uses the large type. One height keeps that band even. */ .shift-pane > .btn-card { min-height: calc(1.7rem + 2.125rem); } .shift-pane-body { display: grid; align-content: start; gap: 0.15rem; flex: 1; padding: 1rem 1.2rem 0.85rem; } /* A shift with no status line still holds that row when a neighbor has one, so the pills line up. */ .shift-pane-body > .status:empty { display: none; } .day-card-shifts:has(.status:not(:empty)) .shift-pane-body > .status:empty { display: block; min-height: 1.7em; } .shift-pane-body h3 { margin-bottom: 0.15rem; } .roster-label { margin: 0.75rem 0 0.2rem; color: var(--hope-ink-2); font-size: var(--hope-text-small); font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; } .roster-names { list-style: none; margin: 0; padding: 0; } .roster-names li { display: flex; align-items: center; gap: 0.45rem; padding: 0.12rem 0; } .roster-names li span { min-width: 0; } .roster-mark { width: 1.5rem; height: 1.5rem; flex: none; } .roster-empty { margin: 0; color: var(--hope-ink-2); } .shift-calendar { margin-top: 0.25rem; } .month-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 0.5rem 0.75rem; margin: 0 0 0.35rem; } .month-nav a { width: 2.75rem; height: 2.75rem; min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hope-gold); border-radius: 999px; background: var(--hope-yellow); color: var(--hope-ink); box-shadow: var(--hope-shadow-soft); text-decoration: none; } .month-nav a:hover { background: var(--hope-yellow-hover); color: var(--hope-ink); text-decoration: none; } .month-arrow svg { width: 1.25rem; height: 1.25rem; display: block; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; } .month-nav a[rel='prev'] { justify-self: start; } .month-nav a[rel='next'] { justify-self: end; } .cal-title { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.85rem); font-weight: 500; letter-spacing: -0.03em; text-align: center; } .cal-weekdays, .cal-week-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.4rem; } .cal-week-days { align-items: start; } .cal-weekdays { margin: 0.55rem 0 0.35rem; text-align: center; font-size: var(--hope-text-small); font-weight: 650; color: var(--hope-ink-2); } .cal-weeks, .cal-week-days, .day-shifts { list-style: none; margin: 0; padding: 0; } .cal-weeks { display: flex; flex-direction: column; gap: 0.4rem; } .week-tray, .day-reveal, .tray-label, .event-dot, .expand-chevron { display: none; } .shift-drawer { display: contents; } .cal-day { position: relative; min-width: 0; border-radius: 0.7rem; background: var(--hope-blue-75); border: 1px solid var(--hope-border); } .cal-day::before { content: ""; display: block; padding-bottom: 100%; } .cal-day-face { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 0.15rem; overflow: hidden; padding: 0.3rem; border-radius: inherit; } .cal-day:hover, .cal-day:focus-within { z-index: 5; overflow: visible; } .cal-day:hover .cal-day-face, .cal-day:focus-within .cal-day-face, .cal-day:hover .day-shifts, .cal-day:focus-within .day-shifts { overflow: visible; } .cal-day.is-outside { background: transparent; border-color: transparent; box-shadow: none; } .cal-day.is-today { background: var(--hope-yellow); border-color: var(--hope-ink); } .cal-day.is-past .day-num, .cal-day.is-outside .day-num { color: var(--hope-ink-2); font-weight: 500; } .day-label { display: flex; align-items: center; justify-content: space-between; gap: 0.2rem; margin: 0; min-width: 0; } .day-weekday { display: none; } .day-num { font-weight: 650; font-size: 0.95rem; letter-spacing: -0.03em; line-height: 1.1; } .today-flag { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 0.35rem; background: var(--hope-blue-50); border: 1px solid var(--hope-gold); border-radius: 999px; font-size: var(--hope-text-small); font-weight: 700; line-height: 1.4; } .day-shifts { display: flex; flex-direction: column; gap: 0.15rem; min-height: 0; overflow: hidden; } .day-shifts > li { min-width: 0; } @property --cal-fill { syntax: ""; inherits: false; initial-value: 0%; } .cal-shift { --cal-hold-time: 1s; position: relative; display: block; min-width: 0; color: inherit; text-decoration: none; } .cal-shift:hover, .cal-shift:focus-visible { color: inherit; text-decoration: none; } .cal-line { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0.08rem 0.28rem; border-radius: 0.35rem; background: var(--hope-yellow); font-size: var(--hope-text-small); font-weight: 650; line-height: 1.35; } .cal-day.is-today .cal-line { background: rgb(255 255 255 / 0.45); } .cal-shift.is-ended { position: relative; } .cal-shift.is-ended .cal-line { position: relative; } .cal-shift.is-ended .cal-line::after, .cal-shift.is-ended .cal-detail::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: rgb(255 255 255 / 0.5); pointer-events: none; } .cal-hold { position: absolute; z-index: 2; top: 0.45rem; right: 0.45rem; width: 1rem; height: 1rem; box-sizing: border-box; border: 1.5px solid var(--hope-ink); border-radius: 50%; background: conic-gradient(from -90deg, var(--hope-yellow) var(--cal-fill), rgb(34 34 34 / 0.14) 0); pointer-events: none; } .cal-shift:hover .cal-hold { animation: cal-fill var(--cal-hold-time) linear forwards; } @keyframes cal-fill { to { --cal-fill: 100%; } } @keyframes cal-persist { 0%, 99% { pointer-events: none; } 100% { pointer-events: auto; } } .cal-detail { position: absolute; z-index: 6; top: calc(100% + 0.15rem); left: 0; display: grid; gap: 0.2rem; width: min(15rem, 70vw); padding: 0.65rem 1.9rem 0.7rem 0.75rem; background: var(--hope-blue-50); border: 1px solid var(--hope-ink); border-radius: 0.85rem; box-shadow: var(--hope-shadow); white-space: normal; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 0.12s ease, visibility 0s linear 0.12s; } .cal-detail::before { content: ""; position: absolute; right: 0; bottom: 100%; left: 0; height: 0.4rem; } .cal-shift:hover .cal-detail, .cal-shift:focus-visible .cal-detail { visibility: visible; opacity: 1; pointer-events: none; animation: cal-persist var(--cal-hold-time) linear forwards; } .cal-shift:focus-visible .cal-detail { pointer-events: auto; animation: none; } .cal-week-days > .cal-day:nth-child(n + 5) .cal-detail { left: auto; right: 0; } .cal-detail .role, .cal-detail .when, .cal-detail .status, .cal-detail .spots, .cal-detail .cal-names, .cal-detail .cal-action { margin: 0; font-size: 0.95rem; line-height: 1.35; } .cal-detail .role, .cal-detail .cal-action { font-weight: 700; } .cal-detail .cal-action { text-decoration: underline; text-underline-offset: 0.12em; } .shift-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 1.35rem; } .shift-list > li { min-width: 0; } .shift-list > li:has(> article) { display: flex; } .shift-card { min-width: 0; background: var(--hope-blue-100); border: 0; border-radius: 1.75rem; box-shadow: var(--hope-shadow); padding: 1.15rem 1.25rem 1.25rem; } li.shift-card p { margin: 0.2rem 0 0; } article.shift-card { flex: 1; display: flex; flex-direction: column; padding: 0; overflow: hidden; background: var(--hope-blue-50); } .card-heading { display: flex; align-items: center; justify-content: center; gap: 0.7rem; padding: 0.95rem 1.1rem; background: var(--hope-yellow); text-align: center; } .card-heading .icon { width: 1.7rem; height: 1.7rem; flex: none; } .card-heading h3 { font-size: 1.35rem; } .card-body { display: grid; gap: 0.15rem; padding: 1.05rem 1.2rem 0.35rem; flex: 1; } .shift-date { font-weight: 650; } .role { display: block; } .status, .spots { font-weight: 650; } .spots.is-open, .spots.is-full, .status.is-confirmed { display: inline-block; width: fit-content; margin-top: 0.45rem; padding: 0.15rem 0.7rem; border-radius: 999px; color: var(--hope-ink); } .spots.is-open, .status.is-confirmed { background: var(--hope-open); border: 1px solid var(--hope-open-edge); } .spots.is-full { background: var(--hope-full); border: 1px solid var(--hope-full-edge); } .btn-card { position: relative; z-index: 0; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding: 0.85rem 1.2rem; min-height: 52px; background: var(--hope-blue-100); color: var(--hope-ink); font-weight: 700; font-size: 1.25rem; text-decoration: none; } .btn-card img { width: auto; height: 1.45rem; flex: none; } .btn-card::before { background: var(--hope-blue-75); } .btn-card:hover, .btn-card:active { color: var(--hope-ink); text-decoration: none; } .btn-card.is-static { margin: 0; margin-top: auto; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; cursor: default; font-size: var(--hope-text-small); font-weight: 500; line-height: 1.25; } .shift-full-label { font-weight: 700; } .btn-card.is-static::before, .btn-card.is-static:hover::before, .btn-card.is-static:active::before { content: none; } .btn-card.is-static:hover, .btn-card.is-static:active { color: var(--hope-ink); } .empty { margin-top: 0.5rem; padding: 1.1rem 1.25rem; background: var(--hope-blue-100); border-radius: 1.5rem; box-shadow: var(--hope-shadow); } .public-events { list-style: none; display: grid; gap: 1rem; margin: 1.25rem 0 0; padding: 0; } .public-event { display: grid; gap: 0.2rem; padding: 1.15rem 1.35rem 1.25rem; background: #fff; border-radius: 1.75rem; box-shadow: var(--hope-shadow); color: var(--hope-ink); text-decoration: none; } .public-event:hover, .public-event:focus-visible { background: var(--hope-blue-100); color: var(--hope-ink); text-decoration: none; } .public-event-title { font-size: 1.85rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; } .public-event-location, .public-event-meta { color: var(--hope-ink-2); } .public-event-description { white-space: pre-wrap; } .public-event-go { display: flex; align-items: center; justify-content: space-between; margin-top: 0.55rem; padding-top: 0.7rem; border-top: 1px solid var(--hope-border); font-weight: 650; } .public-event-go img { width: auto; height: 1.15rem; } /* Forms */ .signup-form, .cancel-form { display: grid; gap: 0.95rem; max-width: 36rem; margin-top: 1.5rem; padding: 1.35rem 1.35rem 1.45rem; background: var(--hope-blue-100); border-radius: 1.75rem; box-shadow: var(--hope-shadow); } .shift-card .signup-form, .shift-card .cancel-form, .shift-card .move-form { max-width: none; margin-top: 0.75rem; padding: 0; background: transparent; border-radius: 0; box-shadow: none; } .signup-form h2 { font-size: 1.6rem; } .signup-lead { display: grid; gap: 0.4rem; } .signup-lead p { margin: 0; line-height: 1.5; } .signup-note { font-size: 0.92rem; line-height: 1.45; color: var(--hope-ink-2); } .signup-form .hint { font-size: 0.92rem; line-height: 1.45; } .name-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.95rem; } .signup-form label, .signup-form fieldset, .move-form label { display: grid; gap: 0.35rem; margin: 0; font-weight: 650; } .signup-form fieldset { border: 1px solid var(--hope-border); border-radius: 1.25rem; padding: 0.9rem 1rem 1rem; background: var(--hope-blue-75); } .signup-form legend { padding: 0 0.35rem; } .signup-form .more-dates { border: 0; padding: 0; background: transparent; } .signup-form .more-dates > summary { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 48px; padding: 0.7rem 1rem; list-style: none; cursor: pointer; background: var(--hope-blue-50); border-radius: 999px; box-shadow: var(--hope-shadow); font-weight: 650; } .signup-form .more-dates > summary::-webkit-details-marker { display: none; } .signup-form .more-dates > summary::marker { content: ""; } .signup-form .more-dates > summary::after { content: ""; width: 0.45rem; height: 0.45rem; margin-left: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.12rem) rotate(45deg); flex: none; } .signup-form .more-dates[open] > summary { border-radius: 1.25rem 1.25rem 0 0; } .signup-form .more-dates[open] > summary::after { transform: translateY(0.12rem) rotate(225deg); } .signup-form .more-dates-count { color: var(--hope-ink-2); font-size: 0.92rem; font-weight: 500; } .signup-form .more-dates-count[hidden] { display: none; } .signup-form .more-dates-panel { display: grid; gap: 0.55rem; padding: 0.75rem 0.85rem 0.9rem; background: var(--hope-blue-50); border-radius: 0 0 1.25rem 1.25rem; box-shadow: var(--hope-shadow); } .signup-form .more-dates-panel .signup-note { font-weight: 500; } .signup-form .date-choices { display: grid; gap: 0.15rem; max-height: 16.5rem; margin: 0; padding: 0; overflow: auto; list-style: none; } .signup-form .date-choice { display: flex; align-items: flex-start; gap: 0.7rem; margin: 0; padding: 0.4rem 0.15rem; font-weight: 650; } .signup-form .date-choice input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--hope-gold); flex: none; } .signup-form .date-choice time, .signup-form .date-choice-role, .signup-form .date-choice-event, .signup-form .date-choice-clock { display: block; } .signup-form .date-choice-clock { margin-top: 0.1rem; color: var(--hope-ink-2); font-weight: 500; } .signup-form .date-choice-spots { display: block; margin-top: 0.1rem; color: var(--hope-ink-2); font-size: 0.92rem; font-weight: 500; } .signup-form input, .signup-form select, .signup-form textarea, .move-form select, .cancel-form button, .signup-form button { font: inherit; color: var(--hope-ink); } .signup-form input[type="text"], .signup-form input[type="email"], .signup-form input[type="tel"], .signup-form input[type="search"], .signup-form input[type="date"], .signup-form input[type="time"], .signup-form input[type="number"], .signup-form select, .signup-form textarea, .move-form select { width: 100%; min-height: 48px; padding: 0.7rem 1rem; background: var(--hope-blue-50); border: 0; border-radius: 999px; box-shadow: var(--hope-shadow); } .signup-form textarea { min-height: 7.5rem; border-radius: 1.25rem; resize: vertical; } .signup-form button, .cancel-form button, .cancel-form a.btn, .move-form button, .inline-form button { width: fit-content; } .cancel-form, .move-form { display: grid; gap: 0.85rem; margin-top: 1.25rem; } .cancel-form p { margin: 0; } .manage-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; margin-top: 1.25rem; } .manage-actions:has(> :only-child) { max-width: 36rem; } .manage-actions > .cancel-form { max-width: none; margin-top: 0; height: 100%; align-content: space-between; } .other-shifts { margin-top: 2.25rem; } .other-shifts > p { max-width: 40rem; } .other-shift-list { display: grid; gap: 1rem; margin: 1rem 0 0; padding: 0; list-style: none; } .other-shift { padding: 1.2rem 1.25rem 1.35rem; background: var(--hope-blue-100); border-radius: 1.75rem; box-shadow: var(--hope-shadow); } .other-shift .event-name { margin: 0; font-weight: 650; } .other-shift h3 { margin: 0.15rem 0 0.35rem; } .other-shift .cancel-form, .other-shift .move-form { max-width: none; margin-top: 0.85rem; padding: 0; background: transparent; border-radius: 0; box-shadow: none; } .move-form select { background: var(--hope-blue-50); } .inline-form { display: flex; margin-top: 0.75rem; } .check { display: flex; align-items: center; gap: 0.65rem; min-height: 44px; font-weight: 500; } .check input { width: 1.25rem; height: 1.25rem; min-height: 0; padding: 0; border-radius: 0.2rem; box-shadow: none; } .check-copy { display: grid; gap: 0.15rem; } .check:has(.check-copy) { align-items: flex-start; } .check:has(.check-copy) input { margin-top: 0.2rem; } .check-copy .hint { font-size: 0.92rem; line-height: 1.35; } .hint { font-weight: 400; color: var(--hope-ink-2); } .settings-intro { max-width: 40rem; margin-bottom: 0.35rem; } .settings-intro h1 { margin-bottom: 0.35rem; } .settings-intro p { margin: 0; color: var(--hope-ink-2); } .settings-form { display: grid; gap: 1rem; max-width: 46rem; margin-top: 1.15rem; } .settings-card { display: grid; gap: 1rem; margin: 0; padding: 1.25rem 1.35rem 1.35rem; background: #fff; border: 1px solid #e6eef3; border-radius: 1.35rem; box-shadow: 0 8px 24px rgb(34 55 70 / 0.05); } .settings-card h2 { margin: 0; font-size: 1.45rem; font-weight: 650; } .settings-card-copy p, .settings-form .hint { margin: 0.35rem 0 0; font-weight: 400; color: var(--hope-ink-2); } .settings-form label { display: grid; gap: 0.35rem; margin: 0; font-weight: 650; } .settings-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.95rem; align-items: start; } .settings-form select, .settings-form input[type="email"] { width: 100%; min-height: 48px; padding: 0.7rem 1rem; background: var(--hope-blue-50); border: 0; border-radius: 999px; box-shadow: var(--hope-shadow); font: inherit; color: var(--hope-ink); } .settings-preview { margin: 0; padding: 0.85rem 1.05rem; background: var(--hope-blue-wash); border-radius: 1rem; color: var(--hope-ink); font-weight: 650; } .settings-save { display: flex; } .settings-more { max-width: 46rem; margin-top: 2rem; } @media (max-width: 42em) { .settings-fields { grid-template-columns: 1fr; } .settings-form button { width: 100%; } } .error, .field-error { font-weight: 650; } .error { margin: 0.35rem 0; padding: 0.75rem 0.95rem; background: var(--hope-yellow); border: 1px solid var(--hope-gold); border-radius: 1rem; box-shadow: var(--hope-shadow-soft); } .error ul { margin: 0.35rem 0 0; padding-left: 1.2rem; } .details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 1.5rem; margin: 0; padding: 0; } .details div { margin: 0; min-width: 0; } .details .is-wide { grid-column: 1 / -1; } .details dt { font-weight: 650; } .details dd { margin: 0; overflow-wrap: anywhere; } .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* Coordinator desk */ .desk-intro { display: grid; gap: 0.2rem; margin-bottom: 1.35rem; } .desk-intro h1 { margin-bottom: 0.15rem; } .desk-signed { margin: 0; } .desk-signed strong, .desk-note strong { font-weight: 650; } .desk-note { width: fit-content; max-width: min(42rem, 100%); margin: 0.45rem 0 0; padding: 0.3rem 0.8rem; background: var(--hope-yellow); border: 1px solid var(--hope-gold); border-radius: 999px; box-shadow: var(--hope-shadow-soft); font-size: 0.95rem; font-weight: 400; line-height: 1.45; } .desk-note.is-saved { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 1.5rem; padding: 0.28rem 0.7rem 0.28rem 0.5rem; background: #fff; border: 1px solid #e4edf5; box-shadow: none; color: #4a5563; font-size: var(--hope-text-small); font-weight: 500; line-height: 1.2; } .desk-note-check { width: 0.8rem; height: 0.8rem; flex: none; } .desk-note-check path { fill: none; stroke: #3b8950; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; } .event-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 1rem; border: 0; background: transparent; color: inherit; overflow: visible; } .event-dialog[open] { position: fixed; z-index: 1100; inset: 0; display: grid; place-items: center; background: rgb(34 34 34 / 0.32); } .event-dialog.is-modal { background: transparent; } .event-dialog::backdrop { background: rgb(34 34 34 / 0.32); } .event-dialog-card { position: relative; width: min(32rem, 100%); } .event-dialog .signup-form { width: 100%; max-width: none; max-height: calc(100dvh - 2rem); margin: 0; overflow: auto; } .event-dialog .signup-form h2 { padding-right: 2.75rem; } .event-dialog-dismiss { position: absolute; top: 0.85rem; right: 0.85rem; z-index: 1; margin: 0; } .event-dialog-close { width: 2.5rem; min-height: 2.5rem; padding: 0; background: var(--hope-blue-50); border-color: var(--hope-border); box-shadow: none; } .event-dialog-close::before { background: var(--hope-yellow); } .event-dialog-close img { width: 1.15rem; height: 1.15rem; } html:has(#signup-dialog[open]) { overflow: hidden; } #signup-dialog { overflow: hidden; } .signup-dialog-card { width: min(36rem, 100%); max-height: calc(100dvh - 2rem); } .signup-dialog-close { position: absolute; top: 0.85rem; right: 0.85rem; z-index: 2; } #signup-dialog-body { box-sizing: border-box; overflow: hidden; border-radius: 1.75rem; max-height: inherit; /* Keep the scrollbar off the curved corners. */ padding: 1.35rem 0.55rem 1.35rem 0; background: var(--hope-blue-100); box-shadow: var(--hope-shadow); } .signup-dialog-panel { display: flex; flex-direction: column; width: 100%; max-height: calc(100dvh - 2rem - 2.7rem); overflow: hidden; background: transparent; } .signup-dialog-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; } .signup-dialog-scroll::-webkit-scrollbar-track, .event-dialog .signup-form::-webkit-scrollbar-track { margin-top: 0.45rem; margin-bottom: 0.85rem; } /* The new-event form scrolls as one piece, with the close control over its corner. */ .event-dialog .signup-form::-webkit-scrollbar-track { margin-top: 3.55rem; } .signup-dialog-summary { display: grid; gap: 0.15rem; padding: 0 3.4rem 0.15rem 1.35rem; } .signup-dialog-title { margin: 0; font-size: 1.6rem; overflow-wrap: anywhere; } .signup-dialog-summary .location, .signup-dialog-summary .when, .signup-dialog-summary .status, .signup-dialog-summary .spots { margin: 0; } .signup-dialog-note { margin: 0; padding: 0.35rem 1.35rem 1.35rem; } .event-dialog .signup-dialog-panel .signup-form { max-width: none; max-height: none; margin: 0; overflow: visible; background: transparent; box-shadow: none; border-radius: 0; } .event-dialog .signup-dialog-panel .signup-form h2 { padding-right: 0; font-size: 1.25rem; } .confirm-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 1rem; border: 0; background: transparent; color: inherit; overflow: visible; } .confirm-dialog[open] { position: fixed; z-index: 1100; inset: 0; display: grid; place-items: center; background: rgb(34 34 34 / 0.16); } .confirm-dialog.is-modal { background: transparent; } .confirm-dialog::backdrop { background: rgb(34 34 34 / 0.16); } .confirm-card { position: relative; width: min(22.5rem, 100%); padding: 1.05rem 1.15rem 1rem; background: var(--hope-blue-50); border: 1px solid var(--hope-border); border-radius: 1.15rem; box-shadow: var(--hope-shadow-soft); } .confirm-form { display: grid; gap: 0.4rem; margin: 0; } .confirm-form h2, .confirm-card > h2 { margin: 0 1.8rem 0.1rem 0; font-size: 1.2rem; line-height: 1.3; overflow-wrap: anywhere; } .confirm-card > p { margin: 0; font-size: 0.95rem; line-height: 1.45; } #manage-cancel-dialog .confirm-card { width: min(28rem, 100%); } .confirm-form p, .confirm-detail, .confirm-note { margin: 0; font-size: 0.95rem; line-height: 1.45; } .confirm-detail, .confirm-note { color: var(--hope-ink-2); } .confirm-detail { white-space: pre-line; } .confirm-form .error { margin: 0; padding: 0.55rem 0.75rem; box-shadow: none; } .confirm-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.45rem; } .confirm-dialog button { min-height: 40px; padding: 0.35rem 0.95rem; font-size: 0.95rem; box-shadow: none; } .confirm-dialog button:hover, .confirm-dialog button:active { transform: none; } .confirm-x { position: absolute; top: 0.55rem; right: 0.55rem; margin: 0; } .confirm-dialog .event-dialog-close { width: 2.15rem; min-height: 2.15rem; padding: 0; } .notice { display: flex; align-items: center; gap: 0.65rem; width: fit-content; max-width: min(42rem, 100%); margin: 0 0 1.15rem; padding: 0.4rem 0.4rem 0.4rem 0.95rem; background: var(--hope-yellow); border: 1px solid var(--hope-gold); border-radius: 999px; box-shadow: var(--hope-shadow-soft); font-size: 0.95rem; font-weight: 500; } .notice-dismiss { width: 2rem; min-height: 2rem; padding: 0; border: 0; border-radius: 999px; background: transparent; box-shadow: none; font-size: 1.35rem; line-height: 1; font-weight: 500; } .notice-dismiss::before { content: none; } .notice-dismiss:hover, .notice-dismiss:focus-visible { background: var(--hope-gold); transform: none; } .desk-events { display: grid; gap: 1rem; padding: 1.2rem 1.25rem 1.3rem; background: var(--hope-blue-100); border-radius: 1.75rem; box-shadow: var(--hope-shadow); } .desk-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.85rem 1.5rem; } .desk-toolbar h2, .desk-toolbar-copy p { margin: 0; } .desk-toolbar-copy p { margin-top: 0.2rem; color: var(--hope-ink-2); } .desk-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; } a.btn.btn-quiet, button.btn-quiet { background: var(--hope-blue-50); border-color: var(--hope-border); } a.btn.btn-quiet::before, button.btn-quiet::before { background: var(--hope-blue-100); } .event-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; } .event-board > li { min-width: 0; } .shift-more { margin: 0; } .shift-more[open] { display: grid; gap: 0.65rem; } .shift-more[open] > summary { order: 1; } .shift-more:not([open]) > .event-board { display: none; } .shift-more > summary { display: inline-flex; align-items: center; gap: 0.4rem; width: fit-content; min-height: 2.75rem; color: var(--hope-ink-2); font-weight: 650; list-style: none; cursor: pointer; } .shift-more > summary::-webkit-details-marker { display: none; } .shift-more > summary::after { content: ""; width: 0.45rem; height: 0.45rem; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-0.12rem) rotate(45deg); } .shift-more[open] > summary::after { transform: translateY(0.12rem) rotate(-135deg); } .shift-more .shift-more-open, .shift-more[open] .shift-more-closed { display: none; } .shift-more[open] .shift-more-open { display: inline; } .event-card { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1.15rem; min-height: 4.75rem; padding: 0.85rem 1.1rem; background: var(--hope-blue-50); border: 2px solid transparent; border-radius: 1.25rem; box-shadow: var(--hope-shadow-soft); color: var(--hope-ink); text-decoration: none; } .event-card:hover, .event-card:focus-visible { border-color: var(--hope-gold); color: var(--hope-ink); text-decoration: none; } .event-card::after { content: ""; flex: none; width: 0.55rem; height: 0.55rem; margin-left: 0.15rem; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); } .event-card-title { flex: 1 1 12rem; min-width: 0; font-size: 1.4rem; font-weight: 650; letter-spacing: -0.03em; line-height: 1.2; } .event-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem 0.9rem; } .event-pill { display: inline-flex; align-items: center; min-height: 1.75rem; padding: 0.1rem 0.7rem; background: var(--hope-yellow); border: 1px solid var(--hope-gold); border-radius: 999px; font-size: 0.92rem; font-weight: 650; line-height: 1.3; } .event-pill.is-open { background: var(--hope-open); border-color: var(--hope-open-edge); color: var(--hope-ink); } .event-pill.is-full { background: var(--hope-full); border-color: var(--hope-full-edge); color: var(--hope-ink); } .event-pill.is-hidden { background: transparent; border-color: var(--hope-border); color: var(--hope-ink-2); font-weight: 500; } .event-count { font-weight: 650; } .desk-events .empty { margin: 0; background: var(--hope-blue-50); box-shadow: none; } .event-page { display: grid; gap: 1.35rem; } .event-page .desk-intro, .event-page > .notice { margin: 0; } @media (min-width: 75.001em) { .event-page .desk-intro { padding-top: 1.75rem; } } .event-page .shift-list { margin: 0; } .event-page .shift-card { background: #f3f7fb; box-shadow: var(--hope-shadow-soft); } .event-page .desk-events { background: #fff; border: 1px solid #e6eef3; box-shadow: 0 8px 24px rgb(34 55 70 / 0.05); } .event-page .desk-events .empty { background: #f3f7fb; } .pick-bar { align-items: center; justify-content: flex-end; } /* The remove control sits in the heading row. Its height stays within that line so showing it does not push the list down. */ .desk-events > .desk-toolbar { align-items: center; flex-wrap: nowrap; } .desk-events > .desk-toolbar .desk-toolbar-copy { min-width: 0; } .desk-events > .desk-toolbar .pick-bar { flex: none; flex-direction: row; flex-wrap: nowrap; align-items: center; margin-top: 0; } .desk-events > .desk-toolbar .pick-bar .btn { min-height: 2.2rem; padding: 0.2rem 0.9rem; font-size: 0.92rem; line-height: 1.2; width: auto; flex: 0 0 auto; } .pick, .pick-all { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2rem; color: var(--hope-ink-2); font-size: 0.92rem; font-weight: 500; } .pick input, .pick-all input { width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--hope-ink); } .event-card:has(> .pick) { padding-left: 0.85rem; } .event-card > .pick { flex: none; } .person-head { display: flex; align-items: center; gap: 0.55rem; } .person-head strong { min-width: 0; } .text-action { color: var(--hope-ink-2); font-weight: 650; text-decoration: underline; text-underline-offset: 0.12em; } .text-action:hover { color: var(--hope-ink); } .shift-card a[href^="tel:"], .shift-card a[href^="mailto:"] { color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 0.12em; } .roster-move { margin-top: 0.75rem; } .roster-move:not([open]) > .move-form, .roster-move:not([open])::details-content { display: none; } .roster-move > summary { display: inline-flex; align-items: center; width: fit-content; min-height: 2rem; list-style: none; cursor: pointer; color: #4d7494; font-size: 0.92rem; font-weight: 650; text-decoration: underline; text-underline-offset: 0.12em; } .roster-move > summary::-webkit-details-marker { display: none; } .roster-move > .move-form { margin-top: 0.75rem; } .event-page .desk-intro .desk-toolbar { align-items: center; } .event-status, .panel-note, .event-remove { margin: 0; } .event-status { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.75rem; margin-top: 0.45rem; } .panel-note { color: var(--hope-ink-2); font-size: 0.95rem; line-height: 1.45; } .desk-intro .panel-note { margin-top: 0.55rem; } .event-card:has(> .shift-open) { padding: 0 1.1rem 0 0; } .shift-open { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 0.7rem 1.15rem; min-width: 0; min-height: 4.75rem; padding-left: 1.1rem; color: inherit; text-decoration: none; } .shift-open:hover { color: inherit; text-decoration: none; } .shift-remove { flex: none; color: var(--hope-ink-2); font-weight: 650; text-decoration: underline; text-underline-offset: 0.12em; } .shift-remove:hover { color: var(--hope-ink); } .desk-inline { margin: 0; } .desk-events h2 { margin: 0; } .shift-row { display: flex; align-items: center; gap: 0.55rem; } .shift-row .event-card { flex: 1; } .shift-when { color: var(--hope-ink-2); font-weight: 500; } .event-card.is-static { cursor: default; } .event-card.is-static::after { content: none; } .event-card.is-static:hover, .event-card.is-static:focus-visible { border-color: transparent; } .event-details-form { max-width: 40rem; margin: 0.35rem 0 0; padding: 0; background: transparent; border-radius: 0; box-shadow: none; } .walkin-menu { margin: 0; } .walkin-menu > summary { display: inline-flex; align-items: center; gap: 0.4rem; width: fit-content; min-height: 2.35rem; padding: 0.28rem 0.9rem; list-style: none; cursor: pointer; background: #fff; border: 1px solid #d5dee6; border-radius: 999px; color: var(--hope-ink); font-size: 0.92rem; font-weight: 650; } .walkin-menu > summary::-webkit-details-marker { display: none; } .walkin-menu > summary::marker { content: ""; } .walkin-menu:not([open]) > :not(summary) { display: none; } .walkin-menu[open] .edit-chevron { transform: translateY(0.08rem) rotate(225deg); } .walkin-menu > .signup-form { margin-top: 0.85rem; } .event-remove { margin-top: 0.35rem; } .event-remove a { color: var(--hope-ink-2); font-weight: 650; } .signup-form.desk-download { max-width: none; margin-top: 1.75rem; } .desk-range { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.95rem; } .desk-range label { flex: 1 1 14rem; max-width: 18rem; } .desk-home-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.85rem 1.5rem; } .desk-home-copy h1 { margin-bottom: 0.15rem; } .desk-date { margin: 0; color: var(--hope-ink-2); font-size: 1.05rem; } .desk-home-intro .desk-signed { margin-top: 0.15rem; color: var(--hope-ink-2); font-size: 0.95rem; } .desk-intro-side { display: grid; justify-items: end; gap: 0.45rem; margin-left: auto; } .desk-home-intro .desk-note { margin: 0.15rem 0 0; } .coordinator-board { display: grid; gap: 1rem; } .coordinator-board .desk-panel { display: flex; flex-direction: column; gap: 0.8rem; min-width: 0; margin: 0; padding: 1.15rem 1.2rem 1.2rem; background: #fff; border: 1px solid #e6eef3; border-radius: 1.35rem; box-shadow: 0 8px 24px rgb(34 55 70 / 0.05); } .coordinator-board .desk-panel h2 { margin: 0; font-size: 1.35rem; font-weight: 650; } .desk-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; } .desk-panel-aside { margin: 0 0 0 auto; color: #7d8b99; font-size: 0.92rem; white-space: nowrap; } .desk-panel-head .btn { min-height: 2.15rem; padding: 0.28rem 0.9rem; box-shadow: none; font-size: 0.92rem; } .desk-panel-head .btn:hover, .desk-panel-head .btn:active { transform: none; } .need-days { display: grid; gap: 1rem 1.15rem; align-items: start; } .need-day { display: grid; gap: 0.4rem; min-width: 0; } .need-day-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem 0.75rem; padding: 0 0.15rem; } .need-day-head h3 { margin: 0; font-size: 1.02rem; font-weight: 650; } .need-day.is-today .need-day-head h3 { background: var(--hope-yellow); border-radius: 999px; padding: 0.08rem 0.55rem; } .need-day-count { margin: 0; font-size: var(--hope-text-small); font-weight: 650; white-space: nowrap; } .need-day-count.is-needs { color: #8a3d36; } .need-day-count.is-open { color: #6a5314; } .need-day-count.is-full { color: #1f7a43; } .event-page .need-pick { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.55rem; padding-left: 0.55rem; background: #f3f7fb; border-radius: 0.95rem; color: var(--hope-ink); } .event-page .need-pick:hover, .event-page .need-pick:has(.desk-row:focus-visible) { background: #e8f1f7; } .event-page .need-pick:has(.desk-row:focus-visible) { outline: 3px solid var(--hope-ink); outline-offset: 3px; } .event-page .need-pick .pick { min-height: 0; } .event-page .need-pick .desk-row { min-width: 0; padding: 0.48rem 0.75rem 0.48rem 0; background: transparent; border-radius: 0; } .event-page .need-pick .desk-row:hover, .event-page .need-pick .desk-row:focus-visible { background: transparent; color: inherit; outline: none; } .event-page .need-pick:has(.desk-row.is-ended) { background: #eef1f4; color: #6b7784; } .event-page .need-pick:has(.desk-row.is-ended):hover, .event-page .need-pick:has(.desk-row.is-ended:focus-visible) { background: #e4e9ee; } .need-day .desk-rows { gap: 0.35rem; } .need-day .desk-row { min-height: 3.35rem; padding: 0.48rem 0.75rem; } .need-day .desk-row-main { gap: 0.75rem; } .need-day .desk-row-when { min-width: 4.8rem; } .desk-rows { list-style: none; display: grid; gap: 0.55rem; margin: 0; padding: 0; } .desk-row { display: flex; align-items: center; justify-content: flex-start; gap: 0.75rem 1rem; min-height: 4.15rem; padding: 0.7rem 0.95rem; background: #f3f7fb; border-radius: 0.95rem; color: var(--hope-ink); text-decoration: none; } .desk-row:hover, .desk-row:focus-visible { background: #e8f1f7; color: var(--hope-ink); text-decoration: none; } .desk-row-main { display: flex; align-items: center; gap: 1.35rem; min-width: 0; } .desk-row-when { flex: none; min-width: 10.5rem; font-size: 0.98rem; font-weight: 650; line-height: 1.3; } .desk-row-copy { min-width: 0; } .desk-row-copy strong, .desk-row-copy span { display: block; line-height: 1.3; } .desk-row-copy strong { font-size: 0.98rem; font-weight: 650; } .desk-row-copy span { color: #7d8b99; font-size: var(--hope-text-small); } .desk-row::after { content: ""; flex: none; width: 0.42rem; height: 0.42rem; margin-left: 0.15rem; border-right: 2px solid #8b98a6; border-bottom: 2px solid #8b98a6; transform: rotate(-45deg); } .need-pill { display: inline-flex; align-items: center; flex: none; margin-left: auto; min-height: 1.7rem; padding: 0.12rem 0.7rem; border: 1px solid transparent; border-radius: 999px; font-size: var(--hope-text-small); font-weight: 650; line-height: 1.2; white-space: nowrap; } .need-pill.is-open { background: var(--hope-yellow); border-color: var(--hope-gold); color: #6a5314; } .need-pill.is-needs { background: var(--hope-full); border-color: #ebd1cd; color: #8a3d36; } .need-pill.is-public { background: var(--hope-blue-quiet); border-color: #c5dcec; color: var(--hope-blue-quiet-ink); font-weight: 600; } .need-pill.is-hidden { background: #e6e9ee; border-color: #d6dadf; color: #5c6770; font-weight: 600; } .need-pill.is-full { background: #e3f6e8; border-color: #cde8d5; color: #1f7a43; } .desk-row .need-pill, .fill-pill { justify-content: center; min-width: 8.75rem; } .desk-full { list-style: none; display: grid; gap: 0.2rem; margin: 0; padding: 0; } .desk-full li { display: flex; align-items: center; gap: 0.4rem; color: #2f7d4a; font-size: 0.95rem; font-weight: 500; } .desk-full-check { width: 0.9rem; height: 0.9rem; flex: none; } .desk-full-check path { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; } .coordinator-board .desk-panel .empty { margin: 0; padding: 0.85rem 1rem; background: #f3f7fb; border-radius: 0.95rem; box-shadow: none; } .desk-split { display: grid; gap: 1rem; align-items: stretch; } .coordinator-board form.signup-form.desk-download { max-width: none; height: 100%; margin: 0; gap: 0.75rem; } .desk-download-copy { margin: 0; color: var(--hope-ink-2); font-size: 0.98rem; line-height: 1.45; } .range-presets { display: flex; flex-wrap: wrap; gap: 0.45rem; } .range-presets button { min-height: 2.15rem; padding: 0.25rem 0.85rem; background: #fff; border: 1px solid #d5dee6; box-shadow: none; color: var(--hope-ink); font-size: 0.92rem; font-weight: 600; } .range-presets button::before { content: none; } .range-presets button:hover, .range-presets button:active { transform: none; background: var(--hope-blue-75); } .range-presets button[aria-pressed='true'] { background: var(--hope-yellow); border-color: var(--hope-gold); color: var(--hope-ink); } .range-presets button[aria-pressed='true']:hover, .range-presets button[aria-pressed='true']:active { background: var(--hope-yellow-hover); border-color: var(--hope-gold); color: var(--hope-ink); } .desk-fields { display: grid; gap: 0.7rem; } .coordinator-board .desk-download label { gap: 0.28rem; font-size: 0.92rem; } .coordinator-board .desk-download input[type='date'] { background: #fff; border: 1px solid #d5dee6; border-radius: 0.75rem; box-shadow: none; } .coordinator-board .desk-download button[type='submit'] { margin-top: auto; box-shadow: none; } .coordinator-board .desk-download button[type='submit']:hover, .coordinator-board .desk-download button[type='submit']:active { transform: none; } @media (min-width: 64rem) { .desk-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .need-days { grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr)); } } @media (max-width: 42em) { .desk-row-main { flex-direction: column; align-items: flex-start; gap: 0.15rem; } .desk-row-when { min-width: 0; } .desk-intro-side { justify-items: start; margin-left: 0; } } .signup-form input[type='file'] { font: inherit; max-width: 100%; } .contact-list { list-style: none; margin: 1rem 0 0; padding: 0; } .contact-row { display: grid; grid-template-columns: minmax(10rem, 1.2fr) minmax(12rem, 1.6fr) minmax(7rem, 0.8fr) auto; gap: 0.35rem 1rem; align-items: baseline; padding: 0.75rem 0; border-top: 1px solid var(--hope-border-2); } .contact-row p { margin: 0; overflow-wrap: anywhere; } .contact-row[hidden] { display: none; } .contact-actions { display: grid; grid-template-columns: repeat(3, max-content) minmax(0, 1fr); align-items: start; column-gap: 0.75rem; row-gap: 0.85rem; width: 100%; margin: 1.25rem 0 0; } .contact-menu { display: contents; } .contact-menu > summary { grid-row: 1; justify-self: start; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.35rem; padding: 0.28rem 0.9rem; list-style: none; cursor: pointer; background: #fff; border: 1px solid #d5dee6; border-radius: 999px; color: var(--hope-ink); font-size: 0.92rem; font-weight: 650; } .contact-actions > .contact-menu:nth-child(1) > summary { grid-column: 1; } .contact-actions > .contact-menu:nth-child(2) > summary { grid-column: 2; } .contact-actions > .contact-menu:nth-child(3) > summary { grid-column: 3; } .contact-menu > summary::-webkit-details-marker { display: none; } .contact-menu:not([open]) > :not(summary) { display: none; } .contact-menu[open] > :not(summary), .contact-menu[open]::details-content { grid-column: 1 / -1; grid-row: 2; justify-self: start; width: min(36rem, 100%); min-width: 0; } .contact-actions > .contact-menu:nth-child(2)[open] > :not(summary), .contact-actions > .contact-menu:nth-child(2)[open]::details-content { grid-row: 3; } .contact-actions > .contact-menu:nth-child(3)[open] > :not(summary), .contact-actions > .contact-menu:nth-child(3)[open]::details-content { grid-row: 4; } .contact-toolbar > .contact-find { margin-top: 0; padding: 0; background: transparent; box-shadow: none; } .contact-toolbar > .contact-find button { width: fit-content; } .contact-menu > .signup-form { margin-top: 0; } @media (max-width: 42em) { .contact-actions { column-gap: 0.4rem; } .contact-menu > summary { padding-inline: 0.65rem; } } .contact-menu[open] .edit-chevron { transform: translateY(0.08rem) rotate(225deg); } .contact-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) max-content max-content max-content; align-items: center; column-gap: 0.75rem; row-gap: 0.85rem; } .contact-toolbar > .contact-find, .contact-toolbar > .empty { grid-column: 1; grid-row: 1; justify-self: start; min-width: 0; width: min(28rem, 100%); max-width: 28rem; } .contact-toolbar > .contact-actions { display: contents; margin: 0; } .contact-toolbar > .contact-actions > .contact-menu:nth-child(1) > summary { grid-column: 2; } .contact-toolbar > .contact-actions > .contact-menu:nth-child(2) > summary { grid-column: 3; } .contact-toolbar > .contact-actions > .contact-menu:nth-child(3) > summary { grid-column: 4; } .contact-toolbar > .contact-actions > .contact-menu[open] > :not(summary), .contact-toolbar > .contact-actions > .contact-menu[open]::details-content { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; width: 100%; max-width: none; } .contact-toolbar .contact-menu .signup-form { width: 100%; max-width: none; background: var(--hope-blue-50); } .contact-toolbar .contact-actions > .contact-menu:nth-child(1) .signup-form input[type="text"], .contact-toolbar .contact-actions > .contact-menu:nth-child(1) .signup-form input[type="email"], .contact-toolbar .contact-actions > .contact-menu:nth-child(1) .signup-form input[type="tel"] { background: #fff; box-shadow: var(--hope-shadow); } @media (max-width: 42em) { .contact-toolbar { display: flex; flex-direction: column; align-items: stretch; gap: 0.85rem; } .contact-toolbar > .contact-find, .contact-toolbar > .empty { grid-column: auto; width: 100%; max-width: none; } .contact-toolbar > .contact-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem; width: 100%; } .contact-toolbar > .contact-actions > .contact-menu { display: block; width: max-content; order: 0; } .contact-toolbar > .contact-actions > .contact-menu > summary { grid-column: auto; grid-row: auto; } .contact-toolbar > .contact-actions > .contact-menu[open] { order: 1; flex: 1 0 100%; width: 100%; } .contact-toolbar > .contact-actions > .contact-menu[open] > :not(summary), .contact-toolbar > .contact-actions > .contact-menu[open]::details-content { grid-column: auto; grid-row: auto; width: 100%; max-width: none; } } .contact-shift-list { list-style: none; margin: 0 0 1.25rem; padding: 0; } .contact-shift-list li { padding: 0.35rem 0; border-top: 1px solid var(--hope-border-2); overflow-wrap: anywhere; } .contact-more { margin: 0.35rem 0 0; } .admin-list { list-style: none; margin: 1rem 0 0; padding: 0; } .admin-row { display: grid; grid-template-columns: minmax(10rem, 1.2fr) minmax(12rem, 1.6fr) auto; gap: 0.35rem 1rem; align-items: baseline; padding: 0.75rem 0; border-top: 1px solid var(--hope-border-2); } .admin-row p { margin: 0; overflow-wrap: anywhere; } .admin-you { margin-left: 0.45rem; font-size: var(--hope-text-small); font-weight: 650; } #add-shift { border-radius: 1.25rem; padding-right: 2.5rem; } @media (max-width: 42em) { .contact-row, .admin-row { grid-template-columns: 1fr; } } /* Footer. Pixel sizes match hopefoodpantrysc.org. */ .footer { view-transition-name: site-footer; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 100px; width: 100%; margin: 220px 0 0; padding: 250px 5% 30px; background-color: #e4f3fb; color: #222; font-size: 18px; line-height: 1.8; font-weight: 400; } .footer .wave { position: absolute; left: 0; width: 100%; height: auto; bottom: -6%; pointer-events: none; } .footer .wave-secondary { top: -40%; } .footer-nav { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; justify-items: center; align-items: start; } .footer-nav-links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; padding: 0; justify-content: center; align-items: start; } .footer-cell { display: flex; flex-direction: column; gap: 15px; } .footer h3 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -1.5px; line-height: 1.2; color: #222; } .footer p, .footer address { margin: 0; font-style: normal; } .equal-text { font-size: var(--hope-text-fine); color: #444; } .copyright-text { position: relative; z-index: 1; margin: 0; text-align: center; font-size: 15px; color: #444; } .footer a:link, .footer a:visited, .footer a:active { color: #222; transition: all 0.3s; } .footer a:hover { color: #444; } .social-links { display: flex; flex-direction: column; justify-content: center; gap: 15px; } .social-links img { width: 40px; height: auto; transition: all 0.3s; } .social-links img:hover { filter: invert(25%) sepia(5%) saturate(19%) hue-rotate(314deg) brightness(95%) contrast(89%); } .social-flex { display: flex; align-items: center; } @media (min-width: 48rem) { .shift-list:has(> li > article) { grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr)); } } @media (max-width: 100em) { .footer { margin-top: 160px; padding: 50px 5% 30px; } .footer-nav { grid-template-columns: 1fr 1fr; justify-items: start; gap: 50px; margin-top: 100px; width: 70%; } .footer-nav > :nth-child(4) { grid-column: 2 / 3; grid-row: 1 / 2; } .footer .wave-secondary { top: -20%; } } @media (max-width: 85em) { .nav-links { gap: 40px; } .footer h3 { font-size: 25px; } .footer-nav { width: 80%; } } @media (max-width: 75em) { .btn-mobile-nav { display: block; } .nav-links { border-radius: 0; background: linear-gradient(rgb(228 243 251 / 0.95)); position: absolute; top: 0; right: 0; width: 100%; height: 100vh; transform: translateX(100%); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 72px 24px 180px; transition: all 0.4s ease-in; font-size: 25px; font-weight: 700; opacity: 0; pointer-events: none; visibility: hidden; box-shadow: none; } .session-bar { top: auto; right: 0; left: 0; bottom: 28px; z-index: 1001; flex-wrap: wrap; justify-content: center; gap: 22px; width: auto; padding: 14px 24px 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; border-top: 1px solid var(--hope-border); transform: translateX(100%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform 0.4s ease-in, opacity 0.4s ease-in; } .coord-menu { display: none; } .session-sections { display: flex; flex: 0 0 100%; align-items: center; justify-content: center; gap: 22px; } .session-sections-label { color: var(--hope-ink-2); font-size: 0.875rem; font-weight: 500; } .session-sections a[aria-current] { font-weight: 650; } .session-sections a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 7px; height: 2px; border-radius: 999px; background: var(--hope-gold); } .header.nav-open ~ main .session-bar { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0); } .session-logout { margin: 0; padding: 0; } .session-logout::before { content: none; } .header.nav-open .nav-links { opacity: 1; pointer-events: auto; visibility: visible; transform: translateX(0); } .nav-links .btn:link, .nav-links .btn:visited { font-weight: 700; } .footer-nav { width: 90%; } } @media (max-width: 62em) { .footer .wave-secondary { top: -10%; } } @media (max-width: 42em) { main { width: min(72rem, calc(100% - 1.5rem)); padding-top: 7.25rem; } h1 { font-size: 2.15rem; } .footer { margin-top: 48px; padding: 50px 5% 30px; } .footer-nav { grid-template-columns: 1fr; justify-items: center; } .footer-nav > :nth-child(4) { grid-column: 1 / 2; grid-row: 2 / 3; } .footer .wave-secondary { top: -5%; } .footer-cell { width: 250px; } .logo { max-width: 200px; } .nav-links .btn:link, .nav-links .btn:visited { padding: 20px 30px; width: 250px; } .manage-actions { grid-template-columns: 1fr; } .details { grid-template-columns: 1fr; } .manage-follow { grid-template-columns: minmax(0, 1fr); } .manage-follow > .manage-action, .manage-follow > .hint { padding: 0; } .manage-follow > :last-child:not(:only-child) { margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--hope-border-2); border-left: 0; } .manage-follow .manage-action-row button { width: 100%; } .manage-record:has(.manage-tools) .details { padding-right: 0; } .signup-form button, .cancel-form button, .cancel-form a.btn, .move-form button, .reminder-cancel .btn, .reminder-job .confirm-actions, .reminder-job .confirm-actions .btn, .reminder-job .confirm-actions button, .signup-reminders button { width: 100%; } .desk-actions { width: 100%; } .desk-actions .btn, .desk-actions .desk-inline { flex: 1 1 8rem; } .event-page .desk-actions { flex-direction: column; } .event-page .desk-actions .btn, .event-page .desk-actions .desk-inline { flex: 0 0 auto; } .event-page .desk-actions .btn, .event-page .desk-actions .desk-inline, .desk-actions .desk-inline button, .event-page .desk-inline button { width: 100%; } .event-page .event-card { position: relative; align-items: flex-start; padding-right: 2.1rem; } .event-page .event-card::after { position: absolute; top: 1.35rem; right: 1.15rem; margin: 0; } .event-page .shift-open, .event-page .event-card-foot { flex-basis: 100%; } .event-page .shift-open { padding-right: 0; } .event-page .pick-bar { flex-direction: row; width: auto; margin-left: auto; } .event-page .pick-bar .btn { width: auto; flex: 0 0 auto; } .shift-remove { margin: 0 0 0.85rem 1.1rem; } .shift-row { align-items: stretch; } .shift-row > .btn, .shift-row > .desk-inline { align-self: center; } .desk-range { display: grid; } .desk-range label { max-width: none; } .name-pair { grid-template-columns: 1fr; } } @media (max-width: 33em) { .header, .footer { font-size: var(--hope-text-small); } .nav { padding-top: 7.68px; padding-bottom: 7.68px; } .footer { gap: 76.8px; padding: 38.4px 5% 23.04px; } .footer-nav { gap: 38.4px; margin-top: 76.8px; } .footer-nav-links { gap: 15.36px; } .footer-cell { width: 192px; gap: 11.52px; } .footer h3 { font-size: 17.28px; } .equal-text { font-size: var(--hope-text-fine); } .copyright-text { display: flex; flex-direction: column; align-items: center; font-size: var(--hope-text-fine); } .social-links { gap: 11.52px; } .social-links img { width: 30.72px; } .nav-links { font-size: 19.2px; } .logo { max-width: 153.6px; } .icon-mobile-nav { width: 38.4px; height: 38.4px; } .nav-links .btn:link, .nav-links .btn:visited { padding: 23.04px 15.36px; width: 230.4px; } } /* Hamburger widths. Shift names are not squeezed into the day cells. */ @media (max-width: 75em) { .cal-day { display: flex; flex-direction: column; } .cal-day::before { content: none; } .cal-day-face { position: static; flex: 1; display: flex; flex-direction: column; gap: 0; padding: 0; overflow: visible; } .cal-day:hover, .cal-day:focus-within, .cal-day:hover .cal-day-face, .cal-day:focus-within .cal-day-face, .cal-day:hover .day-shifts, .cal-day:focus-within .day-shifts { overflow: visible; } .cal-day.has-shifts .day-label, .shift-drawer { display: none; } .cal-day:has(details[open]) .shift-drawer { display: block; } .day-reveal { display: block; width: 100%; } .day-summary { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; width: 100%; margin: 0; padding: 0.7rem 0.85rem; list-style: none; cursor: pointer; font: inherit; color: inherit; background: transparent; border: 0; text-align: left; } .day-summary::-webkit-details-marker { display: none; } .day-summary::marker { content: ""; } .day-summary time { display: flex; align-items: baseline; gap: 0.45rem; } .day-markers { display: flex; align-items: center; gap: 0.55rem; margin-left: auto; } .event-dot { display: block; width: 0.72rem; height: 0.72rem; border-radius: 50%; background: var(--hope-yellow); border: 2px solid var(--hope-ink); flex: none; } .cal-day.is-today .event-dot { background: var(--hope-gold); } .day-shifts { gap: 0.5rem; overflow: visible; } .cal-line, .cal-hold, .cal-shift:hover .cal-hold { display: none; } .cal-detail, .cal-shift:hover .cal-detail, .cal-shift:focus-visible .cal-detail, .cal-week-days > .cal-day:nth-child(n + 5) .cal-detail { position: static; left: auto; right: auto; visibility: visible; opacity: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 0.75rem; row-gap: 0.12rem; align-items: center; width: auto; margin: 0; padding: 0.65rem 0.75rem; background: var(--hope-blue-50); border: 1px solid var(--hope-border-2); border-left: 4px solid var(--hope-gold); border-radius: 0.75rem; box-shadow: none; pointer-events: none; animation: none; transition: none; } .cal-detail::before { content: none; } .cal-detail .role { grid-column: 1; font-size: 1.05rem; } .cal-detail .when, .cal-detail .status, .cal-detail .spots, .cal-detail .cal-names { grid-column: 1; } .cal-detail .cal-action { grid-column: 2; grid-row: 1 / -1; align-self: center; justify-self: end; margin: 0; white-space: nowrap; } .cal-detail .spots.is-open, .cal-detail .spots.is-full { margin-top: 0.25rem; } } /* Wider hamburger layout: one even week row, shifts open underneath it. */ @media (min-width: 42.001em) and (max-width: 75em) { .cal-day, .cal-day.is-outside { min-height: 4.75rem; } .day-summary, .cal-day.is-empty .day-label { flex: 1; flex-direction: column; justify-content: center; align-items: center; gap: 0.35rem; min-height: 4.75rem; margin: 0; padding: 0.35rem 0.2rem; } .day-markers { margin-left: 0; } .day-num { font-size: 1.3rem; } .today-flag, .expand-chevron { display: none; } .cal-day:has(details[open]) { border-color: var(--hope-ink); box-shadow: inset 0 0 0 1px var(--hope-ink); } .shift-calendar.js .cal-day .shift-drawer { display: none; } .shift-calendar.js .week-tray .shift-drawer { display: block; } .week-tray:not(:empty) { display: block; margin-top: 0.45rem; } .week-tray .shift-drawer { padding: 0.9rem 1rem 1rem; background: var(--hope-blue-75); border: 1px solid var(--hope-ink); border-radius: 0.9rem; } .week-tray .tray-label { display: block; margin: 0 0 0.65rem; font-size: 1.2rem; font-weight: 650; } .week-tray .day-shifts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 0.55rem; } } /* Narrow hamburger layout: a single column, collapsed until a day is opened. */ @media (max-width: 42em) { .cal-weekdays { display: none; } .cal-weeks, .cal-week-days { gap: 0.5rem; } .cal-week-days { display: flex; flex-direction: column; align-items: stretch; } .cal-day { width: 100%; } .cal-day.is-outside { display: none; } .day-summary, .cal-day.is-empty .day-label { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 0.75rem; width: 100%; min-height: 3.25rem; margin: 0; padding: 0.7rem 0.95rem; } .day-summary time, .cal-day.is-empty .day-label time { display: flex; flex-direction: row; align-items: baseline; gap: 0.45rem; } .day-weekday { display: block; color: var(--hope-ink); font-size: 1rem; font-weight: 650; line-height: 1.2; } .cal-day.is-past .day-weekday { color: var(--hope-ink-2); } .day-num { font-size: 1.15rem; } .expand-chevron { display: block; width: 0.48rem; height: 0.48rem; margin-top: -0.15rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); flex: none; } details[open] > .day-summary .expand-chevron { margin-top: 0.15rem; transform: rotate(225deg); } .cal-day:has(details[open]) .shift-drawer { padding: 0 0.75rem 0.8rem; } } @media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } .cal-shift:hover .cal-detail, .cal-shift:focus-visible .cal-detail { pointer-events: auto; animation: none; } .cal-hold { display: none; } } /* Coordinator event page */ .event-page { gap: 0.95rem; } .event-head { display: grid; gap: 0.2rem; } @media (min-width: 42.01em) { .event-head { padding-top: 1.85rem; } } .crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.55rem; margin: 0; color: var(--hope-ink-2); font-size: 0.92rem; line-height: 1.3; } .crumb-part { display: inline-flex; align-items: center; gap: 0.35rem; } .crumb a { color: var(--hope-ink); font-weight: 600; text-decoration: none; } .crumb a:hover { text-decoration: underline; } .crumb [aria-current='page'] { color: var(--hope-ink-2); } main > .crumb, .event-page > .crumb { margin-bottom: 0.35rem; } .event-titlebar, .event-panel-head, .event-danger { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; } .event-title { display: flex; align-items: center; gap: 0.6rem; min-width: 0; } .event-page h1 { margin: 0; font-size: clamp(1.85rem, 3vw, 2.35rem); font-weight: 650; } .event-badge { display: inline-flex; align-items: center; flex: none; min-height: 1.6rem; padding: 0.05rem 0.55rem; border-radius: 999px; background: #e7edf2; color: #5c6770; font-size: var(--hope-text-small); font-weight: 650; line-height: 1.2; } .event-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; } .event-actions form { display: flex; margin: 0; } .event-page .event-actions .btn-line, .event-page .event-actions button.btn-line, .event-page .event-actions a.btn.btn-line { height: 2.5rem; min-height: 2.5rem; padding: 0 0.95rem; } .event-page .btn-line, .event-page button.btn-line, .event-page a.btn.btn-line { min-height: 2.35rem; padding: 0.28rem 0.9rem; background: #fff; border: 1px solid #d5dee6; box-shadow: none; color: var(--hope-ink); font-size: 0.92rem; font-weight: 650; } .event-page .btn-line::before, .event-page button.btn-line::before, .event-page a.btn.btn-line::before { content: none; } .event-page .btn-line:hover, .event-page .btn-line:active, .event-page button.btn-line:hover, .event-page button.btn-line:active, .event-page a.btn.btn-line:hover, .event-page a.btn.btn-line:active { transform: none; background: #f4f8fb; color: var(--hope-ink); } .event-page .event-panel-tools > a.btn:not(.btn-line) { min-height: 2.35rem; padding: 0.28rem 0.95rem; box-shadow: none; font-size: 0.92rem; } .event-page .event-panel-tools > a.btn:not(.btn-line):hover, .event-page .event-panel-tools > a.btn:not(.btn-line):active { transform: none; } .event-strip, .event-panel, .event-danger { background: #fff; border: 1px solid #e6eef3; box-shadow: 0 8px 24px rgb(34 55 70 / 0.05); } .event-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.75rem 1rem; padding: 0.85rem 1rem; border-radius: 1rem; } .event-strip-line { display: flex; flex-wrap: wrap; align-items: baseline; grid-column: 1; grid-row: 1; gap: 0.35rem 0.85rem; min-width: 0; margin: 0; } .event-strip-line strong { font-weight: 650; } .event-strip-line span { color: #5c6b78; } .event-edit { display: contents; } /* The closed details content is still a grid row. Hiding it drops the row gap that was sitting under the summary. */ .event-edit:not([open]) > form, .event-edit:not([open])::details-content { display: none; } .event-edit > summary { display: inline-flex; align-items: center; justify-self: end; grid-column: 2; grid-row: 1; gap: 0.4rem; min-height: 2.35rem; padding: 0.28rem 0.9rem; list-style: none; cursor: pointer; background: #fff; border: 1px solid #d5dee6; border-radius: 999px; color: var(--hope-ink); font-size: 0.92rem; font-weight: 650; } .event-edit > summary::-webkit-details-marker { display: none; } .event-edit[open] > form, .event-edit[open]::details-content { grid-column: 1 / -1; grid-row: 2; } .event-edit[open] > summary { background: #f4f8fb; } .event-strip:has(.event-edit[open] .event-fields) { padding-bottom: 0; } .event-fields { max-width: none; margin: 0.2rem -1rem 0; padding: 1rem 1rem 1.05rem; border-top: 1px solid #e6eef3; border-radius: 0 0 0.9rem 0.9rem; background: var(--hope-blue-75); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 1rem; align-items: start; } .event-fields > .error, .event-fields > label:not(.check) { grid-column: 1 / -1; } .event-fields label { line-height: 1.35; } .event-fields .hint { font-size: var(--hope-text-small); line-height: 1.4; color: #5c6b78; } .event-fields input[type="text"], .event-fields textarea { background: #fff; border: 1px solid #d5dee6; box-shadow: none; } .event-fields textarea { min-height: 5.75rem; } .event-fields > .check { display: flex; align-items: center; align-self: center; min-height: 2.75rem; } .event-fields > .check:has(.check-copy) { align-items: flex-start; align-self: start; } .event-fields > button { justify-self: end; align-self: center; } @media (max-width: 42em) { .event-fields { grid-template-columns: 1fr; } .event-fields > button { justify-self: start; } } .edit-chevron { width: 0.4rem; height: 0.4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.1rem) rotate(45deg); } .event-edit[open] .edit-chevron { transform: translateY(0.08rem) rotate(225deg); } .event-panel { display: grid; gap: 0.8rem; padding: 1.1rem 1.15rem 1rem; border-radius: 1.15rem; } .event-panel h2, .event-danger h2 { margin: 0; font-size: 1.28rem; font-weight: 650; } .event-panel-title { display: flex; align-items: center; gap: 0.4rem; min-width: 0; } .event-panel-tools { display: grid; justify-items: end; gap: 0.35rem; } .event-panel-tools .pick-all { font-size: var(--hope-text-small); color: #7d8b99; } .event-panel-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.35rem; } /* Cancel and Remove sit in the heading row. Showing them stays inside that line, so the shift list does not move down. */ .event-page .event-panel-head:has(> .event-panel-actions) { flex-wrap: nowrap; align-items: center; justify-content: flex-start; } .event-page .event-panel-head:has(> .event-panel-actions) > :first-child { min-width: 0; } .event-page .event-panel-head > .event-panel-actions { flex: none; flex-wrap: nowrap; align-items: center; margin-left: auto; } .event-page .event-panel-head > .event-panel-tools { flex: none; } .event-page .event-panel-actions .btn { min-height: 2.2rem; padding: 0.2rem 0.9rem; box-shadow: none; font-size: 0.92rem; line-height: 1.2; width: auto; flex: 0 0 auto; } .event-page .event-panel-actions .btn:hover, .event-page .event-panel-actions .btn:active { transform: none; } @media (max-width: 42em) { .event-page .event-panel-head:has(> .event-panel-actions) { flex-wrap: wrap; } .event-page .event-panel-head:has(> .event-panel-actions) > :first-child { flex: 1 1 auto; } .event-page .event-panel-head > .event-panel-actions { flex: 1 1 100%; order: 3; justify-content: flex-end; margin-left: 0; min-height: 2.2rem; } } .event-panel-note { margin: 0.15rem 0 0; color: #7d8b99; font-size: 0.92rem; line-height: 1.4; } .event-page button.text-action { min-height: 0; padding: 0; background: transparent; border: 0; box-shadow: none; color: #4d7494; font: inherit; font-size: 0.92rem; font-weight: 650; text-decoration: underline; text-underline-offset: 0.12em; } .event-page button.text-action::before { content: none; } .event-page button.text-action:hover, .event-page button.text-action:active { transform: none; background: transparent; color: var(--hope-ink); } .help-tip { position: relative; display: inline-flex; } .help-tip > summary { display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border: 1.5px solid #b7c3cc; border-radius: 999px; color: #8b98a6; font-size: var(--hope-text-small); font-weight: 700; line-height: 1; list-style: none; cursor: pointer; } .help-tip > summary::-webkit-details-marker { display: none; } .help-tip:not([open]) > p { display: none; } .help-tip p { position: absolute; z-index: 6; top: calc(100% + 0.45rem); left: 0; width: min(22rem, 70vw); margin: 0; padding: 0.7rem 0.8rem; background: #fff; border: 1px solid #e6eef3; border-radius: 0.75rem; box-shadow: 0 8px 24px rgb(34 55 70 / 0.12); color: #44515c; font-size: var(--hope-text-small); font-weight: 400; letter-spacing: 0; line-height: 1.45; } .shift-lines, .repeat-lines { list-style: none; display: grid; gap: 0.55rem; margin: 0; padding: 0; } .shift-line { display: flex; align-items: center; gap: 0.15rem; min-width: 0; } .event-panel:has(.is-pick) .shift-line, .shift-lines:has(> .is-pick) > .shift-line { display: grid; grid-template-columns: 1.35rem minmax(0, 1fr); align-items: center; column-gap: 0.15rem; padding-left: 0.7rem; background: #f3f7fb; border-radius: 0.95rem; } .event-panel:has(.is-pick) .shift-line .shift-line-link, .shift-lines:has(> .is-pick) > .shift-line .shift-line-link { background: transparent; } .event-panel:has(.is-pick) .shift-line:not(.is-pick) .shift-line-link, .shift-lines:has(> .is-pick) > .shift-line:not(.is-pick) .shift-line-link { grid-column: 2; } .shift-line.is-pick .shift-line-link:hover, .shift-line.is-pick .shift-line-link:focus-visible, .shift-lines:has(> .is-pick) > .shift-line:not(.is-pick) .shift-line-link:hover, .shift-lines:has(> .is-pick) > .shift-line:not(.is-pick) .shift-line-link:focus-visible { background: #e8f1f7; } .shift-line-link { display: flex; align-items: center; gap: 0.85rem 1rem; flex: 1; min-width: 0; min-height: 4.35rem; padding: 0.55rem 0.95rem; background: #f3f7fb; border-radius: 0.95rem; color: inherit; text-decoration: none; } .shift-line-link:hover, .shift-line-link:focus-visible { background: #e8f1f7; color: inherit; text-decoration: none; } .shift-date { display: grid; justify-items: center; flex: none; width: 3rem; line-height: 1.05; } .shift-dow, .shift-mon { color: #8b98a6; font-size: var(--hope-text-small); font-weight: 700; letter-spacing: 0.04em; } .shift-num { font-size: 1.35rem; font-weight: 650; letter-spacing: -0.03em; } .shift-copy { display: grid; min-width: 0; gap: 0.05rem; } .shift-copy strong { font-size: 1rem; font-weight: 650; line-height: 1.25; } .shift-copy span { color: #7d8b99; font-size: var(--hope-text-small); line-height: 1.3; } .fill-pill { display: inline-flex; align-items: center; flex: none; gap: 0.28rem; margin-left: auto; min-height: 1.7rem; padding: 0.12rem 0.7rem; border: 1px solid transparent; border-radius: 999px; font-size: var(--hope-text-small); font-weight: 650; line-height: 1.2; white-space: nowrap; } .fill-pill.is-open { background: #f8e7b0; border-color: var(--hope-gold); color: #8a6414; } .fill-pill.is-full { background: #e3f6e8; border-color: #cde8d5; color: #1f7a43; } .fill-pill.is-needs { background: #fde4e1; border-color: #f6d2ce; color: #b42318; } .fill-pill.is-cancelled { background: #eef1f4; border-color: #dde1e5; color: #5c6770; } .fill-check { width: 0.85rem; height: 0.85rem; flex: none; } .fill-check path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .shift-line-link::after { content: ""; flex: none; width: 0.42rem; height: 0.42rem; margin-left: 0.1rem; border-right: 2px solid #8b98a6; border-bottom: 2px solid #8b98a6; transform: rotate(-45deg); } .shift-tail { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 1rem; row-gap: 0.55rem; min-height: 2.2rem; } .event-page .shift-more { grid-column: 1; width: 100%; min-width: 0; } .event-page .shift-more[open] { display: flex; flex-direction: column; gap: 0.55rem; grid-column: 1 / -1; grid-row: 1; width: 100%; min-width: 0; } .event-page .shift-more:not([open]) > .shift-lines { display: none; } .event-page .shift-more[open] > .shift-lines { width: 100%; min-width: 0; } .event-page .shift-more > summary { display: inline-flex; align-items: center; gap: 0.35rem; width: fit-content; min-height: 2.2rem; color: #5c6b78; font-size: 0.92rem; font-weight: 650; list-style: none; cursor: pointer; } .event-page .shift-more > summary::-webkit-details-marker { display: none; } .event-page .shift-more > summary::after { content: ""; width: 0.4rem; height: 0.4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.08rem) rotate(45deg); } .event-page .shift-more[open] > summary { order: 1; } .event-page .shift-more[open] > summary::after { transform: translateY(0.08rem) rotate(225deg); } .shift-lines > li:has(> .shift-more) { display: grid; gap: 0.55rem; } .event-page .shift-tail:has(.shift-more[open]) > .fill-legend { grid-row: 1; align-self: end; margin: 0 0 0.4rem; z-index: 1; } .fill-legend { grid-column: 2; grid-row: 1; align-self: center; margin-top: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.3rem 0.85rem; margin: 0; padding: 0; list-style: none; color: #7d8b99; font-size: var(--hope-text-small); } .fill-legend li { display: inline-flex; align-items: center; gap: 0.35rem; } .fill-dot { width: 0.45rem; height: 0.45rem; border-radius: 999px; } .fill-dot.is-full { background: #3d9a62; } .fill-dot.is-open { background: #e0b44a; } .fill-dot.is-needs { background: #e06a60; } .repeat-line { display: flex; align-items: center; gap: 0.6rem; min-height: 4.15rem; padding: 0.7rem 0.85rem 0.7rem 1rem; background: #f3f7fb; border-radius: 0.95rem; } .repeat-copy { display: grid; min-width: 0; margin-right: auto; gap: 0.05rem; } .repeat-copy strong { font-size: 0.98rem; font-weight: 650; line-height: 1.3; } .repeat-copy span { color: #7d8b99; font-size: var(--hope-text-small); line-height: 1.3; } .repeat-line .btn-line { flex: none; } .more-menu { position: relative; flex: none; } .more-menu > summary { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid #d5dee6; border-radius: 999px; background: #fff; color: #5c6770; font-size: 1.15rem; line-height: 1; list-style: none; cursor: pointer; } .more-menu > summary::-webkit-details-marker { display: none; } .more-menu:not([open]) > .more-menu-pop { display: none; } .more-menu-pop { position: absolute; z-index: 5; top: calc(100% + 0.3rem); right: 0; display: grid; min-width: 8.5rem; padding: 0.3rem; background: #fff; border: 1px solid #e6eef3; border-radius: 0.75rem; box-shadow: 0 8px 24px rgb(34 55 70 / 0.1); } .more-menu-pop a { padding: 0.4rem 0.65rem; border-radius: 0.5rem; font-size: 0.92rem; font-weight: 650; text-decoration: none; } .more-menu-pop a:hover { background: #f3f7fb; color: var(--hope-ink); } .event-danger { padding: 0.95rem 1.05rem; border-color: #f0c2bc; border-radius: 1rem; } .event-danger h2 { color: #c24135; font-size: 1.05rem; } .event-danger p { margin: 0.12rem 0 0; color: #7d8b99; font-size: 0.9rem; line-height: 1.4; } .event-page .btn-danger, .event-page a.btn.btn-danger { min-height: 2.35rem; padding: 0.28rem 0.95rem; background: #fff; border: 1px solid #e7b2ab; box-shadow: none; color: #c24135; font-size: 0.92rem; font-weight: 650; } .event-page .btn-danger::before, .event-page a.btn.btn-danger::before { content: none; } .event-page .btn-danger:hover, .event-page .btn-danger:active, .event-page a.btn.btn-danger:hover, .event-page a.btn.btn-danger:active { transform: none; background: #fff6f5; color: #c24135; } .event-panel .empty { margin: 0; padding: 0.85rem 1rem; background: #f3f7fb; border-radius: 0.95rem; box-shadow: none; } .event-page .pick-bar { margin-top: -0.2rem; } @media (max-width: 42em) { .event-actions, .event-actions form { width: 100%; } .event-actions .btn-line, .event-actions button.btn-line { width: 100%; } .event-danger, .repeat-line { align-items: stretch; } .repeat-line .btn-line, .event-danger .btn-danger { width: auto; } .event-page .shift-tail { grid-template-columns: minmax(0, 1fr); } .event-page .fill-legend { grid-column: 1; grid-row: 2; justify-content: flex-start; margin-top: 0.15rem; } .event-page .shift-tail:has(.shift-more[open]) > .fill-legend { grid-row: 2; align-self: start; margin: 0.15rem 0 0; } .shift-line-link { flex-wrap: wrap; } } @media print { .skip-link, .header, .footer, .session-bar, .crumb, .desk-actions, .desk-inline, .pick, .pick-bar, .notice, .event-edit, .walkin-menu, .roster-move, .roster-actions, .signup-form, .confirm-dialog, .event-dialog, button, .btn { display: none !important; } body, main, .event-page, .shift-card, article.shift-card, .desk-events, .event-strip, .manage, .manage-record { background: #fff; box-shadow: none; color: #000; } .shift-list { display: block; } .shift-list > li, li.shift-card { break-inside: avoid; margin-bottom: 0.75rem; border: 1px solid #bbb; border-radius: 0; box-shadow: none; background: #fff; } a, .shift-card a[href^="tel:"], .shift-card a[href^="mailto:"] { color: #000; text-decoration: none; } }