Download this file
| 1 | /* googleimport/google-import.css: the Google Drive chooser |
| 2 | (estilo-google-import), on the spacing scale. Its blocks are spaced |
| 3 | by the table Fiesta's rst-stack uses (DESIGN.md, "The stack"): the |
| 4 | disclosure, then the Choose button --rst-sp-4 under it (text sits |
| 5 | that far clear of the button under it), Cancel --rst-sp-2 under |
| 6 | Choose while both show (a button under another action, as the |
| 7 | door's card has it, chrome.css), and the status line --rst-sp-3 |
| 8 | under whatever is above it. Margins, not a column gap: the script shows |
| 9 | and hides the buttons and fills the status, and a hidden button or |
| 10 | an empty status then takes no space at all, where a gap would still |
| 11 | fall beside an empty one. The buttons keep their own width. */ |
| 12 | [estilo-google-import] { display: flex; flex-direction: column; align-items: flex-start; } |
| 13 | [estilo-google-import] > * { margin-block: 0; } |
| 14 | [estilo-google-import] > noscript > p { margin-block: 0; } |
| 15 | [estilo-google-import] > * + * { margin-block-start: var(--rst-sp-3); } |
| 16 | [estilo-google-import] > * + [data-google-choose-wrap] { margin-block-start: var(--rst-sp-4); } |
| 17 | [estilo-google-import] > [data-google-choose-wrap]:not([hidden]) + [data-google-cancel-wrap] { margin-block-start: var(--rst-sp-2); } |
| 18 | [estilo-google-import] > [data-google-status]:empty { margin-block-start: 0; } |
| 19 | |