Skip to content

armgit / ODS

Public Imported from GitHub
0

ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.

6.2 KB
Raw Blame
.pixel-preview-source.portal-workspace-source {
  display:flex; flex:1 1 0; flex-direction:column; min-height:0; height:100%; overflow:hidden;
  background:transparent; color:var(--pixel-text,#c9cbd1);
}
.portal-workspace-source .portal-source-header { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; min-height:43px; padding:6px 12px; border-bottom:1px solid var(--pixel-border,#2e2e32); }
.portal-source-breadcrumb { display:flex; align-items:center; flex:1 1 100px; min-width:0; overflow:hidden; font-size:11px; color:var(--pixel-muted,#8a8f98); }
.portal-source-breadcrumb > span { display:flex; align-items:center; gap:5px; min-width:0; }
.portal-source-breadcrumb > span + span { margin-left:5px; }
.portal-source-breadcrumb svg { flex:none; }
.portal-source-breadcrumb > span > span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.portal-source-breadcrumb [aria-current] { color:var(--pixel-text,#c9cbd1); font-weight:600; }
.portal-source-actions { display:flex; align-items:center; gap:4px; flex-shrink:0; margin-left:auto; }
.portal-workspace-source .portal-source-actions button,.portal-source-options > summary { display:inline-flex; justify-content:center; align-items:center; min-height:28px; padding:4px 7px; border:0; border-radius:5px; color:inherit; background:transparent; font:inherit; font-size:11px; cursor:pointer; }
.portal-source-actions button:hover:not(:disabled),.portal-source-options > summary:hover { background:var(--pixel-row,#242426); }
.portal-source-actions button:disabled { opacity:.4; cursor:default; }
.portal-source-actions .portal-source-icon-button { width:28px; padding:5px; }
.portal-source-actions :is(button,summary):focus-visible,.portal-source-file-link:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
.portal-source-actions > span { position:relative; }
.portal-source-actions > span > small { position:absolute; z-index:3; top:100%; right:0; width:180px; padding:8px; border:1px solid var(--pixel-border,#2e2e32); border-radius:6px; background:var(--pixel-surface,#1d1e1f); color:var(--pixel-text,#c9cbd1); }
.portal-source-options { position:relative; }
.portal-source-options > summary { list-style:none; }
.portal-source-options > summary::-webkit-details-marker { display:none; }
.portal-source-options-popover { position:absolute; top:calc(100% + 5px); right:0; z-index:4; display:grid; gap:2px; min-width:155px; padding:5px; border:1px solid var(--pixel-border,#2e2e32); border-radius:8px; background:var(--pixel-surface,#1d1e1f); box-shadow:0 8px 24px #0003; }
.portal-workspace-source .portal-source-options-popover button { justify-content:flex-start; }
.portal-source-options-popover [aria-pressed='true']::after { content:'✓'; margin-left:auto; }
.portal-workspace-source .portal-source-code { display:flex; flex:1 1 0; min-height:0; margin:0; border:0; border-radius:0; background:transparent; }
.pixel-preview-source.portal-workspace-source .portal-source-code pre { flex:1 1 0; min-height:0; max-height:none; padding:12px 0; background:transparent; }
.portal-workspace-source .portal-source-code .code-line { color:var(--pixel-text,#c9cbd1); }
.portal-workspace-source[data-wrap-lines='true'] .portal-source-code pre > code { min-width:0; }
.portal-workspace-source[data-wrap-lines='true'] .portal-source-code .code-line { min-width:0; grid-template-columns:44px minmax(0,1fr); }
.portal-workspace-source[data-wrap-lines='true'] .portal-source-code .code-line-content { white-space:pre-wrap; overflow-wrap:anywhere; }
.portal-workspace-source .portal-source-notice { flex:none; margin:0; padding:10px 14px; color:var(--pixel-muted,#8a8f98); font-size:12px; }
.portal-source-notice[role='alert'] { color:var(--pixel-text,#c9cbd1); }
.portal-source-notice button { text-decoration:underline; }
.portal-source-binary { display:flex; flex:1; flex-direction:column; justify-content:center; align-items:center; gap:10px; padding:24px; text-align:center; }
.portal-source-binary p { margin:0; }
.portal-source-binary small { color:var(--pixel-muted,#8a8f98); }
.portal-source-document { flex:1 1 0; min-height:0; overflow:auto; padding:18px clamp(14px,3vw,28px) 40px; color:var(--pixel-text,#c9cbd1); font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
.portal-source-document > :first-child { margin-top:0; }
.portal-source-document :is(h1,h2,h3,h4,h5,h6) { margin:1.5em 0 .65em; color:inherit; font-weight:650; line-height:1.3; }
.portal-source-document h1 { font-size:1.75em; }
.portal-source-document h2 { font-size:1.4em; }
.portal-source-document h3 { font-size:1.2em; }
.portal-source-document :is(p,ul,ol,blockquote,pre,table) { margin:.8em 0; }
.portal-source-document :is(ul,ol) { padding-left:1.75em; }
.portal-source-document ul { list-style:disc; }
.portal-source-document ol { list-style:decimal; }
.portal-source-document li { margin:.3em 0; }
.portal-source-document :is(a,.portal-source-file-link) { display:inline; padding:0; border:0; border-radius:0; background:transparent; color:#8cb9f8; text-decoration:underline; text-underline-offset:3px; cursor:pointer; font:inherit; overflow-wrap:anywhere; }
.portal-source-document blockquote { border-left:2px solid var(--pixel-border,#2e2e32); padding-left:14px; color:var(--pixel-muted,#8a8f98); }
.portal-source-document code { padding:.15em .35em; border-radius:4px; background:#8882; font-size:.88em; }
.portal-source-document pre { max-width:100%; overflow:auto; padding:14px; border:1px solid var(--pixel-border,#2e2e32); border-radius:7px; background:#8881; }
.portal-source-document pre code { padding:0; border:0; background:transparent; }
.portal-source-document table { display:block; max-width:100%; overflow:auto; border-collapse:collapse; }
.portal-source-document :is(th,td) { padding:6px 10px; border:1px solid var(--pixel-border,#2e2e32); text-align:left; }
.portal-source-document hr { margin:24px 0; border-color:var(--pixel-border,#2e2e32); }
.portal-source-excerpt { max-height:40%; overflow:auto; padding:0 12px; }
.portal-workspace-source .pixel-source-find { flex:none; }
@media (max-width:480px) {
  .portal-workspace-source .portal-source-header { gap:4px; padding:5px 8px; }
  .portal-source-breadcrumb { flex-basis:100%; }
  .portal-source-document { padding:14px 12px 28px; font-size:13px; }
}