diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-14 14:28:15 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-16 11:18:48 -0300 |
| commit | ae310a207534b33b7321dd2b9f423a73b1969159 (patch) | |
| tree | b4c2e85091a4ff6657e0a04ba1b2ef030d588ac8 /app/web/style.css | |
| parent | 5f24c4a2284a0af84fb9d116f7a39f6a58e42ae9 (diff) | |
| download | cloud9-ae310a207534b33b7321dd2b9f423a73b1969159.tar.gz cloud9-ae310a207534b33b7321dd2b9f423a73b1969159.zip | |
Add reusable HTTP transport, serial gateway, and WASM file browser
Diffstat (limited to 'app/web/style.css')
| -rw-r--r-- | app/web/style.css | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/app/web/style.css b/app/web/style.css new file mode 100644 index 0000000..a8605f5 --- /dev/null +++ b/app/web/style.css @@ -0,0 +1,87 @@ +:root { + font: 14px/1.45 sans-serif; + color: #333; + background: white; + font-synthesis: none; +} +* { box-sizing: border-box; } +body { margin: 0; padding: 22px 3%; } +a { color: #07539b; text-decoration: none; } +a:hover { text-decoration: underline; } +header { padding: 0 8px 17px; } +.brand { font-size: 30px; font-weight: bold; color: #222; letter-spacing: -1px; } +.description { color: #777; margin-top: 1px; } +.toolbar { + display: flex; + align-items: center; + gap: 2px; + border-bottom: 3px solid #ccc; + padding: 0 7px; +} +.toolbar > a, .toolbar > button { + padding: 5px 14px; + color: #555; + background: none; + border: 0; + font-size: 15px; +} +.toolbar .selected { background: #ccc; color: #111; } +button, input, textarea { font: inherit; color: inherit; } +button { + cursor: pointer; + border: 1px solid #aaa; + padding: 2px 9px; + background: #f5f5f5; + border-radius: 0; +} +button:hover:enabled { background: #e8e8e8; } +button:disabled { color: #999; cursor: default; } +#path-form { margin-left: auto; display: flex; align-items: center; gap: 6px; padding-bottom: 5px; } +#path-form label { color: #777; font-size: 12px; } +#path { width: 250px; border: 1px solid #bbb; padding: 2px 5px; font: 13px/1.5 monospace; } +main { padding: 0 8px; } +#breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; padding: 13px 0 5px; font-family: monospace; overflow-wrap: anywhere; } +#breadcrumbs .separator { color: #999; } +#breadcrumbs [aria-current] { color: #333; font-weight: bold; } +.summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 2px 0 13px; font-size: 12px; } +#status { color: #777; margin: 0; min-height: 18px; } +#status.error { color: #a22; } +#up { white-space: nowrap; } +table { width: 100%; border-collapse: collapse; text-align: left; } +th { background: #eee; padding: 4px 8px; font-weight: bold; border-bottom: 1px solid #ccc; } +td { padding: 3px 8px; vertical-align: top; } +tbody tr:nth-child(even) { background: #f7f7f7; } +tbody tr:hover { background: #edf3f8; } +.mode { width: 120px; color: #777; font: 12px/1.7 monospace; white-space: nowrap; } +.entry { font-family: monospace; overflow-wrap: anywhere; } +.entry.directory { font-weight: bold; } +.size { width: 110px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; } +td.size { color: #666; font-size: 12px; } +#empty { color: #777; padding: 4px 8px; } +.file-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; padding: 6px 8px; background: #eee; border-bottom: 1px solid #ccc; } +h1 { font: bold 14px monospace; margin: 0; overflow-wrap: anywhere; } +#file-mode, #file-size { color: #666; font: 12px monospace; } +#download { margin-left: auto; font-size: 12px; } +textarea { display: block; width: 100%; min-height: 420px; resize: vertical; border: 1px solid #ddd; border-top: 0; padding: 10px; font: 13px/1.6 monospace; tab-size: 4; white-space: pre; overflow: auto; } +#binary { color: #777; padding: 16px 8px; } +.actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 12px; } +#edit-status { color: #777; } +footer { margin: 30px 8px 0; padding-top: 7px; border-top: 1px solid #ddd; text-align: right; color: #999; font-size: 11px; } +a:focus-visible, button:focus-visible { outline: 2px solid #07539b; outline-offset: 2px; } +[hidden] { display: none !important; } +@media (max-width: 600px) { + body { padding: 14px 10px; } + header { padding-left: 3px; } + .brand { font-size: 26px; } + .toolbar { flex-wrap: wrap; padding: 0; } + .toolbar > a, .toolbar > button { padding: 5px 10px; } + #path-form { order: -1; width: 100%; margin: 0 0 6px; } + #path { width: auto; min-width: 0; flex: 1; } + main { padding: 0; } + th, td { padding-left: 5px; padding-right: 5px; } + .mode { width: 86px; font-size: 10px; } + .size { width: 65px; } + .summary { align-items: start; } + .file-heading { gap: 7px 12px; } + textarea { min-height: 350px; } +} |
