Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/docs/design/screens/screens.css # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / docs / design / screens / screens.css` 98 lines ยท 6753 bytes Raw Blame History 1 /* screens.css -- the first-run screens, on the 1920 x 1080 design grid, using only the generated tokens. 2 Every value here is a token or a layout fact from allen_ui.c (centre at 40% down, words 250 px below it, 3 bar 720 x 54 with its bottom 96 px above the screen's bottom). */ 4 @import url("../tokens/allen-tokens.css"); 5 6 html, body { margin: 0; height: 100%; background: var(--allen-colors-night); overflow: hidden; } 7 body { color: var(--allen-colors-primary); } 8 9 /* the artboard is the design grid, scaled to fit the window like the kernel's k */ 10 .board { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform-origin: 0 0; 11 background: var(--allen-colors-night) center / cover no-repeat; overflow: hidden; } 12 .board.sky { background-image: url("assets/allen-formed.jpg"); } 13 .board.night { background-image: url("assets/night-settled.jpg"); } 14 15 /* the stroke font: the drawing is shown, the real text is kept for screen readers */ 16 .af-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } 17 .af-svg { display: block; overflow: visible; } 18 [data-af] { margin: 0; } 19 .center { text-align: center; } 20 .center .af-svg { margin: 0 auto; } 21 22 /* what Allen says: under his light */ 23 .says { position: absolute; left: 510px; width: 900px; top: 640px; color: var(--allen-colors-primary); } 24 .says + .says { top: 690px; } 25 .says.low { top: 600px; } 26 27 /* the bar */ 28 .bar { position: absolute; left: 600px; top: 930px; width: 720px; height: 54px; box-sizing: border-box; 29 border-radius: var(--allen-rounded-pill); background: rgb(var(--allen-colors-night-rgb) / .55); 30 border: 1px solid rgb(var(--allen-colors-glow-rgb) / .16); display: flex; align-items: center; 31 padding: 0 26px; color: var(--allen-colors-hint); } 32 .bar.focus { border-color: rgb(var(--allen-colors-mist-rgb) / .55); box-shadow: 0 0 28px rgb(var(--allen-colors-sky-glow-rgb) / .22); } 33 .bar .typed { color: var(--allen-colors-primary); } 34 .caret { width: 2px; height: 24px; margin-left: 4px; background: var(--allen-colors-glow); 35 animation: breathe var(--allen-motion-caret-breath) var(--allen-motion-ease-smooth) infinite alternate; } 36 @keyframes breathe { from { opacity: .25; } to { opacity: .95; } } 37 .under-bar { position: absolute; left: 0; right: 0; top: 1018px; color: var(--allen-colors-faint); } 38 39 /* choices: one is always lit */ 40 .choices { position: absolute; left: 580px; width: 760px; top: 712px; display: grid; gap: 8px; } 41 .choice { height: 52px; box-sizing: border-box; display: flex; align-items: center; gap: 22px; padding: 0 24px; 42 border-radius: var(--allen-rounded-md); background: rgb(var(--allen-colors-panel-rgb) / .62); 43 border: 1px solid rgb(var(--allen-colors-glow-rgb) / .10); color: var(--allen-colors-mist); 44 transition: background var(--allen-motion-choice-lit) var(--allen-motion-ease-out), 45 border-color var(--allen-motion-choice-lit) var(--allen-motion-ease-out); cursor: pointer; } 46 .choice .what { color: var(--allen-colors-hint); } 47 .choice .key { margin-left: auto; color: var(--allen-colors-faint); opacity: 0; } 48 .choice.lit { background: linear-gradient(rgb(var(--allen-colors-glow-rgb) / .34), rgb(84 104 224 / .30)); 49 border-color: rgb(var(--allen-colors-mist-rgb) / .45); color: var(--allen-colors-primary); 50 box-shadow: 0 0 28px rgb(var(--allen-colors-sky-glow-rgb) / .18); } 51 .choice.lit .what { color: var(--allen-colors-mist); } 52 .choice.lit .key { opacity: 1; } 53 .choice:focus-visible { outline: none; border-color: var(--allen-colors-mist); } 54 55 /* a row of buttons: the lit one is the default */ 56 .buttons { position: absolute; left: 0; right: 0; display: flex; justify-content: center; gap: 16px; } 57 .button { height: 52px; box-sizing: border-box; padding: 0 30px; display: flex; align-items: center; 58 border-radius: var(--allen-rounded-pill); border: 1px solid rgb(var(--allen-colors-mist-rgb) / .35); 59 background: rgb(var(--allen-colors-panel-rgb) / .62); color: var(--allen-colors-mist); cursor: pointer; } 60 .button.lit { background: linear-gradient(rgb(var(--allen-colors-glow-rgb) / .34), rgb(84 104 224 / .30)); 61 border-color: rgb(var(--allen-colors-mist-rgb) / .6); color: var(--allen-colors-primary); } 62 .button.lit:hover { border-color: var(--allen-colors-warm-soft); color: var(--allen-colors-warm-soft); 63 box-shadow: 0 0 24px rgb(var(--allen-colors-warm-rgb) / .22); } 64 .not-now { position: absolute; left: 0; right: 0; color: var(--allen-colors-hint); cursor: pointer; } 65 66 /* found lines: label right-aligned in hint, value left-aligned in primary, on one column */ 67 .found { position: absolute; left: 0; right: 0; top: 700px; display: grid; grid-template-columns: 860px 1000px; 68 column-gap: 20px; row-gap: 6px; } 69 .found .label { text-align: right; color: var(--allen-colors-hint); } 70 .found .label .af-svg { margin-left: auto; } 71 .found .value { color: var(--allen-colors-primary); } 72 .state { color: var(--allen-colors-glow); } 73 .state.needs-you { color: var(--allen-colors-warm); } 74 75 /* a glass panel, only where a group needs holding together */ 76 .panel { position: absolute; box-sizing: border-box; padding: 24px 32px; border-radius: var(--allen-rounded-panel); 77 background: rgb(var(--allen-colors-panel-rgb) / .72); border: 1px solid rgb(var(--allen-colors-glow-rgb) / .15); 78 backdrop-filter: blur(18px) saturate(130%); 79 box-shadow: 0 30px 80px rgb(0 0 0 / .45), 0 0 40px rgb(var(--allen-colors-sky-glow-rgb) / .06); } 80 81 /* waiting: a small moving light, never a bar that jumps */ 82 .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--allen-colors-glow); 83 box-shadow: 0 0 10px var(--allen-colors-glow); animation: dot 1.1s var(--allen-motion-ease-smooth) infinite alternate; } 84 @keyframes dot { from { transform: translateX(0); opacity: .35; } to { transform: translateX(26px); opacity: 1; } } 85 86 /* entrances rise: opacity 0, 10 px lower, 3 px blurred, to rest (DESIGN.md Motion) */ 87 .rise { animation: rise var(--allen-motion-word-rise) var(--allen-motion-ease-enter) both; } 88 @keyframes rise { from { opacity: 0; transform: translateY(var(--allen-motion-enter-rise)); filter: blur(var(--allen-motion-enter-blur)); } 89 to { opacity: 1; transform: none; filter: none; } } 90 91 /* the screen's name, for reviewers; hidden when ?clean=1 */ 92 .tag { position: absolute; left: 28px; top: 22px; color: var(--allen-colors-faint); font: 500 14px/1 ui-monospace, monospace; 93 letter-spacing: .04em; opacity: .8; } 94 .clean .tag { display: none; } 95 96 @media (prefers-reduced-motion: reduce) { 97 .rise, .dot, .caret { animation: none; } 98 }