| 1 | /* calls-shell.css: Calls' own rules for the pages under the estilo bar |
| 2 | (the bar itself is estilo's chrome.css). */ |
| 3 | body { background: var(--rst-bg); } |
| 4 | [rst-page] { max-inline-size: 80rem; margin-inline: auto; } |
| 5 | /* The holding screen's title, larger: the page header right before who |
| 6 | you will join as. Not a wrapper round the header, which would hide it |
| 7 | from the stack's "after the page header" rule. */ |
| 8 | [rst-page-header]:has(+ .calls-standing) h1 { font-size: 2rem; } |
| 9 | |
| 10 | /* The meeting and agent lists: rastrillo's list rows (rst-list > |
| 11 | rst-row), with the row's ⋯ menu drawn as estilo's floating menu, the |
| 12 | one menu style in the suite (spec §7.1). The ⋯ is an in-flow control, |
| 13 | so its hover is square (§11), and it sits above the row's |
| 14 | whole-row link overlay. */ |
| 15 | [rst-row] > [rst-row-menu] { position: relative; z-index: 1; flex: none; } |
| 16 | /* The open one above the rows after it, whose own ⋯ would otherwise |
| 17 | paint through its panel (each ⋯ is a stacking context at 1). */ |
| 18 | [rst-row] > [rst-row-menu][open] { z-index: 2; } |
| 19 | [rst-row] > [rst-row-menu] > summary { inline-size: 2rem; block-size: 2rem; border-radius: 0; color: var(--rst-text-muted); } |
| 20 | .calls-row-menu { position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + 4px); } |
| 21 | .calls-row-title { color: var(--rst-text); font-weight: 600; } |
| 22 | .calls-row-badge { display: inline-flex; align-items: center; gap: var(--rst-sp-1); flex: none; position: relative; z-index: 1; color: var(--rst-text-muted); } |
| 23 | .calls-ended > summary { cursor: pointer; font-weight: 600; margin-block-end: var(--rst-sp-3); } |
| 24 | .calls-option-help { margin-block: var(--rst-sp-1) var(--rst-sp-3); color: var(--rst-text-muted); font-size: var(--rst-fs-sm); } |
| 25 | .calls-share-link a { overflow-wrap: anywhere; } |
| 26 | /* The Home account page's linked address (connect's home_link.html). |
| 27 | Its template asks for this with a style attribute, which rastrillo's |
| 28 | CSP refuses (serving.go's homeFormPolicy), so the rule lives here. */ |
| 29 | [rst-box] > p > strong > bdi { overflow-wrap: anywhere; } |
| 30 | .calls-share-actions { display: flex; flex-wrap: wrap; gap: var(--rst-sp-2); } |
| 31 | /* The row is script's (share-link.js reveals it): the display above |
| 32 | would otherwise beat the hidden attribute and show two buttons that do |
| 33 | nothing without script (Astra on #24). */ |
| 34 | .calls-share-actions[hidden], .calls-share-actions > [hidden] { display: none; } |
| 35 | /* …and Share… inside it, which share-link.js reveals only where the |
| 36 | browser can share: rst-btn's display beats hidden the same way. */ |
| 37 | /* The status line under Copy link and Share… keeps its line, so "Link |
| 38 | copied." moves nothing; without script there is no row and nothing |
| 39 | will ever be said, so it takes no space either (share-link.js reveals |
| 40 | the row). */ |
| 41 | #share-status { min-block-size: 1lh; } |
| 42 | #share-actions[hidden] + #share-status { display: none; } |
| 43 | .calls-link-input { inline-size: 100%; max-inline-size: 44rem; } |
| 44 | |
| 45 | /* The holding screen: who you'll join as, then the device panel, then |
| 46 | the other ways in and the meeting's own pages. */ |
| 47 | .calls-standing { color: var(--rst-text-muted); } |
| 48 | /* .calls-holding-more is a stack of its own (join.html); its one-button |
| 49 | form is as wide as its button. */ |
| 50 | .calls-holding-more > form { align-self: flex-start; } |
| 51 | |
| 52 | /* The Colophon under Help (estilo's credits template, /help/open-source): |
| 53 | its heading and list on the stack's terms, the heading a step from the |
| 54 | list, as estilo's card is since 6238a47. estilo's template carries no |
| 55 | rst-stack of its own yet; when it does, this goes. */ |
| 56 | [estilo-credits] { display: flex; flex-direction: column; gap: var(--rst-sp-2); } |
| 57 | [estilo-credits] > * { margin-block: 0; } |
| 58 | |