EnergyVenom's picture
Patchwise Agent Studio: Oracle AI Agent Studio cycles
0d811c3 verified
Raw History Blame Contribute Delete
3.54 kB
/* The toolbar (IconRail.tsx): the app's navigation on a desktop, after Testomat.io's left toolbar. Ink navy, 72px wide,
an icon and a short name per page (the full name on hover and to screen readers), the active page lifted, the waiting
count as a badge, warnings and the account at the bottom. Tokens only. */
.pw-rail-aside { position: relative; z-index: 5; width: 72px; flex: 0 0 72px; display: flex; min-height: 0; background: var(--rail); }
.pw-rail { display: flex; flex-direction: column; align-items: center; width: 100%; height: 100%; padding: var(--sp-3) 0; box-sizing: border-box; gap: 2px; }
.pw-rail-brand { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--sp-3); border-radius: 10px; }
.pw-rail-brand:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pw-rail-nav { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.pw-rail-slot[data-gap] { margin-top: var(--sp-2); padding-top: var(--sp-2); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.pw-rail-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 62px; min-height: 50px;
padding: 6px 0 5px; box-sizing: border-box; border-radius: 10px; color: var(--rail-ink); text-decoration: none; transition: background var(--d1), color var(--d1); }
.pw-rail-item svg { width: 19px; height: 19px; flex: none; }
.pw-rail-label { font: 600 10px/12px var(--font); letter-spacing: 0; max-width: 60px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-rail-item:hover { background: rgba(255, 255, 255, 0.06); color: var(--rail-on); text-decoration: none; }
.pw-rail-item[data-active='true'] { background: var(--rail-on-bg); color: var(--rail-on); }
.pw-rail-item:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.pw-rail-badge { position: absolute; top: 3px; right: 9px; min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 8px;
background: #f2c25e; color: #2a1a00; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; font-family: var(--font); }
.pw-rail-foot { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); padding-top: var(--sp-2); }
.pw-rail-warn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; }
.pw-rail-warn[data-tone='red'] { background: rgba(209, 63, 47, 0.22); color: #ffb4aa; }
.pw-rail-warn[data-tone='orange'] { background: rgba(242, 194, 94, 0.2); color: #f2c25e; }
/* the account button as the avatar alone */
.pw-rail .fpt-me[data-compact] { width: 40px; height: 40px; padding: 0; justify-content: center; border: 0; background: transparent; border-radius: 50%; }
.pw-rail .fpt-me[data-compact]:hover { background: rgba(255, 255, 255, 0.08); }
/* the environment switcher in the top bar: a compact pill instead of the sidebar's card */
html body .pw-topbar .fpt-env.pw-topbar-env { width: auto; max-width: 320px; margin: 0; padding: 4px 10px 4px 6px; gap: 8px; border-radius: var(--r-md);
background: transparent; box-shadow: inset 0 0 0 1px var(--sep); }
html body .pw-topbar .fpt-env.pw-topbar-env:hover { background: var(--fill); }
html body .pw-topbar .fpt-env.pw-topbar-env .fpt-env-tile { width: 24px; height: 24px; }
html body .pw-topbar .fpt-env.pw-topbar-env .fpt-env-label { line-height: 14px; }