/* Builds on the kit and patches.css, only what the board adds is here */ .rq-hero { padding: var(--v1996) 0 var(--v8507); text-align: center; } .rq-title { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; } .rq-sub { max-width: 560px; margin: 0.75rem auto var(--vd8d9); color: var(--vd745); } .rq-search { max-width: 640px; margin: 0 auto; } .rq-compose { max-width: 640px; margin: 0 auto; text-align: start; } .rq-compose:not(:empty) { margin-top: var(--vd298); } .rq-card { display: grid; gap: 0.75rem; padding: var(--vd298); border: 1px solid var(--vce3c); border-radius: var(--vd83b); background: var(--vbd7c); animation: cardIn 0.3s ease both; } .rq-card > .btn { justify-self: start; } .rq-card-head { display: flex; align-items: center; gap: 0.75rem; } .rq-card-head > div { display: grid; gap: 0.15rem; min-width: 0; } .rq-card-head a { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.85rem; color: var(--va970); text-decoration: none; } .rq-card-head a:hover { text-decoration: underline; text-underline-offset: 3px; } .rq-card-head a .material-symbols-rounded { font-size: 15px; } .rq-hint { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 0.85rem; color: var(--vd745); } .rq-compose > .rq-hint { justify-content: center; } .rq-hint .material-symbols-rounded { font-size: 18px; color: var(--v52b5); } .rq-pkg { font-family: var(--v5b67); font-size: 0.85em; } /* Long package names stop at the vote button, the full name is in the title */ .app-row-meta .rq-pkg { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* Board rows keep the package and its age on one line, the package gives way */ .rq-row:not(.rq-admin-row) > .app-row-meta:has(> .rq-pkg) { flex-wrap: nowrap; } .rq-row:not(.rq-admin-row) > .app-row-meta:has(> .rq-pkg) > * { flex: none; white-space: nowrap; } .rq-row:not(.rq-admin-row) > .app-row-meta:has(> .rq-pkg) > .rq-pkg { flex: 0 1 auto; min-width: 0; } /* Pill buttons: patch category chips and the vote button */ .rq-chip, .rq-vote { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0 0.75rem; border-radius: 999px; border: 1px solid var(--vce3c); background: var(--v24a7); color: var(--vd745); font: inherit; font-size: 0.85rem; cursor: pointer; transition: border-color var(--v9525), color var(--v9525), background var(--v9525), transform 0.35s var(--ved4d); } .rq-chip .material-symbols-rounded, .rq-vote .material-symbols-rounded { font-size: 18px; } .rq-chip b, .rq-vote b { font-family: var(--v5b67); font-weight: 500; } .rq-chip:hover, .rq-vote:hover { border-color: var(--v2a7d); color: var(--v3d63); } .rq-chip:active { transform: scale(0.95); } .rq-vote:active { transform: scale(0.92); } .rq-chip:disabled, .rq-vote:disabled { opacity: 0.6; cursor: progress; } .rq-chip.on, .rq-vote.on { border-color: transparent; background: var(--v26c0) border-box; color: #fff; } .rq-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; } /* A patch type a bundle already covers, links to the patches */ .rq-chip.done { border-color: #22a35a; color: #22a35a; text-decoration: none; } .rq-chip.done:hover { color: #22a35a; background: color-mix(in srgb, #22a35a 10%, transparent); } /* A long name wraps inside the chip, which grows to fit, instead of spilling over its border */ .rq-chip { min-height: 34px; max-width: 100%; padding-block: 0.3rem; font-weight: 550; text-align: start; } .rq-chip-label { min-width: 0; line-height: 1.25; } .rq-chip > .material-symbols-rounded, .rq-chip > b { flex: none; } .rq-chip b { font-size: 0.78rem; color: var(--v52b5); } .rq-chip.on b { color: inherit; } /* Marked, not blocked: a similar patch name is only a hint */ .rq-chip.maybe:not(.on), .rq-tag.maybe { border-style: dashed; } .rq-tag.maybe { border: 1px dashed var(--v3fa4); } .rq-maybe { display: grid; gap: 0.375rem; list-style: none; font-size: 0.8rem; color: var(--v52b5); } .rq-maybe li { display: flex; gap: 0.375rem; align-items: flex-start; } .rq-maybe .material-symbols-rounded { font-size: 16px; color: #22a35a; } .rq-maybe b { color: var(--vd745); font-weight: 600; } /* Server side features can't be patched, shown with every request form */ .rq-note { display: flex; gap: 0.375rem; align-items: flex-start; margin: 0; font-size: 0.8rem; color: var(--v52b5); } .rq-note .material-symbols-rounded { font-size: 16px; } /* Toolbar */ .rq-section .catalog-toolbar { flex-wrap: wrap; } .rq-sort { margin-inline-start: auto; } .rq-sort > button { padding: 0.4rem 0.875rem; font-size: 0.85rem; } .rq-count { font-family: var(--v5b67); font-size: 0.72rem; font-weight: 500; opacity: 0.7; } .rq-count:empty { display: none; } /* Wider than the index rows: these also carry the package name and the vote button */ .rq-section .apps-grid { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); } /* Vote button or total in the third column */ .rq-row { grid-template-columns: 48px minmax(0, 1fr) auto; text-decoration: none; } div.rq-row { cursor: default; } div.rq-row:hover { transform: none; } .rq-vote, .rq-total { grid-row: 1 / span 2; grid-column: 3; } .rq-vote { height: 36px; } .rq-vote.on .material-symbols-rounded { font-variation-settings: 'FILL' 1; } .rq-total { font-size: 0.8rem; color: var(--v52b5); white-space: nowrap; } .rq-tags { gap: 0.375rem; } .rq-tag { display: inline-flex; align-items: center; gap: 0.25rem; max-width: 100%; padding: 0 0.5rem; border-radius: 999px; background: var(--v0a74); color: var(--vd745); white-space: nowrap; } /* A long patch type gives way before its vote count does */ .rq-tag-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; } .rq-tag b { flex: none; } .rq-tag b { font-family: var(--v5b67); font-weight: 500; } .rq-done { display: inline-flex; align-items: center; gap: 0.25rem; color: #22a35a; } .rq-done .material-symbols-rounded { font-size: 16px; } /* The total sits next to the name, so tags and the credit get the full card width */ .rq-row > .rq-total { grid-row: 1; align-self: center; } .rq-row:has(> .rq-total) > .app-row-meta { grid-column: 2 / -1; } /* Inline, so a long credit wraps as one sentence instead of as separate columns */ .rq-done { display: inline; } .rq-done .material-symbols-rounded { vertical-align: -3px; margin-inline-end: 0.25rem; } /* Done cards: the card opens the app, the credit opens the bundle that patched it */ .rq-link-row { cursor: pointer; } div.rq-link-row:hover { transform: translateY(-1px); } .rq-row-link { color: inherit; text-decoration: none; } .rq-credit { color: inherit; font-weight: 650; text-decoration: none; } .rq-credit:hover, .rq-credit:focus-visible, .rq-row-link:focus-visible { text-decoration: underline; } .rq-more { color: var(--v52b5); font-weight: 550; } /* Only those who asked see it until it has enough votes */ .rq-pending { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--v52b5); } .rq-pending .material-symbols-rounded { font-size: 14px; } /* Only those who asked see it until it has enough votes */ .rq-tag.pending { display: inline-flex; align-items: center; gap: 0.25rem; background: transparent; border: 1px solid var(--vce3c); } .rq-tag.pending .material-symbols-rounded { font-size: 14px; } /* Phones: less air around the hero, and the three tabs share one row */ @media (max-width: 480px) { .rq-hero { padding: var(--vd8d9) 0 1rem; } .rq-section { padding-top: 0.5rem; } .rq-section .view-tabs { display: flex; flex-wrap: nowrap; } .rq-section .view-tabs > button { flex: 1 1 auto; min-width: 0; gap: 0.3rem; padding: 0.5rem 0.625rem; } .rq-section .view-tabs .material-symbols-rounded { display: none; } /* Sort fills its own row, half each, instead of hugging the start edge */ .rq-section .rq-sort { grid-column: 1 / -1; display: flex; flex-wrap: nowrap; margin: 0; } .rq-section .rq-sort > button { flex: 1; justify-content: center; } } /* The smallest phones: tighter tabs so all three still fit */ @media (max-width: 360px) { .rq-section .view-tabs > button { padding: 0.5rem 0.4rem; font-size: 0.8rem; gap: 0.2rem; } } /* Next page of cards, across the whole grid */ .rq-more-btn { grid-column: 1 / -1; justify-self: center; gap: 0.25rem; margin-top: 0.5rem; } /* Admin mode */ .rq-admin-bar { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; padding: 0.5rem 0.5rem 0.5rem 0.875rem; border: 1px dashed var(--v2a7d); border-radius: var(--v4294); font-size: 0.875rem; color: var(--vd745); } .rq-admin-bar[hidden] { display: none; } .rq-admin-bar .btn { margin-inline-start: auto; } .rq-admin-row { grid-template-rows: auto auto auto; } /* On the children: the row's entry animation owns its opacity */ .rq-admin-row.is-hidden > :not(.rq-admin-actions) { opacity: 0.5; } .rq-admin-row .app-row-meta em { font-style: normal; color: var(--vea64); } .rq-admin-row.has-app { cursor: pointer; } .rq-admin-app { color: inherit; text-decoration: none; } .rq-admin-row.has-app:hover .rq-admin-app, .rq-admin-app:focus-visible { text-decoration: underline; } .rq-admin-actions { grid-column: 2 / span 2; display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.5rem; } /* Up to five buttons: they keep their labels on one line and wrap as a whole */ .rq-admin-actions .btn { flex: none; white-space: nowrap; padding: 0.375rem 0.625rem; gap: 0.25rem; } /* Admin view: hidden requests, and requests for patches that already existed, folded */ .rq-fold { grid-column: 1 / -1; margin-top: 0.5rem; } .rq-fold > summary { cursor: pointer; padding: 0.5rem 0; font-weight: 600; color: var(--vd745); } .rq-fold > summary b { font-weight: 500; color: var(--v52b5); margin-inline-start: 0.25rem; } .rq-fold > .apps-grid { margin-top: 0.5rem; } /* The footer button is a link here */ .rq-feed { text-decoration: none; } /* Human check */ .rq-captcha-modal { max-width: 380px; height: auto !important; padding: var(--vd8d9); gap: var(--vd298); align-items: center; text-align: center; } .rq-captcha-modal h2 { font-size: 1.25rem; } .rq-captcha-modal p { color: var(--vd745); font-size: 0.9rem; } .rq-captcha-widget { min-height: 78px; } @media (max-width: 639px) { #rq-captcha { align-items: center; padding: 1rem; } .rq-captcha-modal { border-radius: var(--vddec); } } .rq-toast { position: fixed; left: 50%; bottom: var(--v8507); z-index: 2100; max-width: min(480px, calc(100% - 2rem)); padding: 0.75rem 1rem; border-radius: var(--v4294); background: var(--vddd9); color: var(--v24a7); font-size: 0.9rem; box-shadow: var(--vbd74); transform: translateX(-50%); animation: modalIn 0.25s var(--v646c); } .rq-toast[hidden] { display: none; } /* While the app panel's catalog loads after a click, see patches.js */ .panel-loading, .panel-loading * { cursor: progress !important; }