1449 lines
29 KiB
CSS
1449 lines
29 KiB
CSS
.viewer-chrome {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 80;
|
|
width: 100%;
|
|
}
|
|
.viewer-chrome .topbar {
|
|
position: relative;
|
|
top: auto;
|
|
}
|
|
.viewer-chrome.is-nvim-fit {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100vh;
|
|
height: 100dvh;
|
|
max-height: 100dvh;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
background: #11171a;
|
|
}
|
|
.viewer-chrome.is-nvim-fit .topbar {
|
|
flex: none;
|
|
}
|
|
.viewer-chrome.is-nvim-fit .nvim-panel {
|
|
display: flex;
|
|
min-height: 0;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
}
|
|
.viewer-chrome.is-nvim-fit .nvim-screen-scroll {
|
|
min-height: 0;
|
|
height: auto !important;
|
|
flex: 1;
|
|
}
|
|
.viewer-chrome.is-nvim-fit .nvim-resize-handle {
|
|
display: none;
|
|
}
|
|
.viewer-chrome.is-nvim-fit .nvim-screen-stage {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
zoom: 1;
|
|
}
|
|
.viewer-chrome.is-nvim-fit .nvim-screen-content {
|
|
right: 1mm;
|
|
overflow: hidden;
|
|
scrollbar-width: none;
|
|
}
|
|
.viewer-chrome.is-nvim-fit .nvim-screen-grid {
|
|
display: flex;
|
|
width: 100%;
|
|
min-height: 0;
|
|
height: 100%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.viewer-chrome.is-nvim-fit .nvim-screen {
|
|
width: auto !important;
|
|
height: auto !important;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
.viewer-chrome.is-nvim-fit .nvim-screen-content::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
.topbar-nvim-section {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
gap: 6px;
|
|
}
|
|
.topbar-nvim-meta {
|
|
display: flex;
|
|
align-items: baseline;
|
|
min-width: 0;
|
|
max-width: min(44vw, 720px);
|
|
gap: 6px;
|
|
}
|
|
.topbar-nvim-meta strong,
|
|
.topbar-nvim-meta small {
|
|
overflow: auto;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.topbar-nvim-meta strong {
|
|
color: #263238;
|
|
font: 700 12px/1.25 system-ui, sans-serif;
|
|
}
|
|
.topbar-nvim-meta small {
|
|
color: #66747a;
|
|
font: 500 10px/1.25 system-ui, sans-serif;
|
|
}
|
|
.viewer-nvim-toggle {
|
|
border: 1px solid #68747a;
|
|
border-radius: 3px;
|
|
background: #fff;
|
|
color: #263238;
|
|
padding: 2px 8px;
|
|
font: 650 16px/1.3 system-ui, sans-serif;
|
|
cursor: pointer;
|
|
}
|
|
.viewer-nvim-toggle[aria-pressed="true"] {
|
|
border-color: #267697;
|
|
background: #eaf6fb;
|
|
color: #174d64;
|
|
}
|
|
.nvim-panel {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
border-bottom: 1px solid #52616a;
|
|
background: var(--desk, #eee);
|
|
color: #e7eef1;
|
|
box-shadow: 0 5px 16px #0004;
|
|
font: 12px/1.3 system-ui, sans-serif;
|
|
}
|
|
.nvim-status {
|
|
flex: none;
|
|
border: 1px solid #66757c;
|
|
border-radius: 999px;
|
|
padding: 1px 6px;
|
|
color: #c9d3d8;
|
|
font: 750 9px/1.35 ui-monospace, monospace;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
.nvim-status--connected,
|
|
.nvim-status--ready {
|
|
border-color: #31a86d;
|
|
background: #173b2a;
|
|
color: #8aefb7;
|
|
}
|
|
.nvim-status--connecting,
|
|
.nvim-status--replaying,
|
|
.nvim-status--verifying {
|
|
border-color: #c38f2a;
|
|
background: #3e321b;
|
|
color: #ffd47d;
|
|
}
|
|
.nvim-status--failed,
|
|
.nvim-status--offline,
|
|
.nvim-status--unselected {
|
|
border-color: #a34b4b;
|
|
background: #3b2020;
|
|
color: #ffaaaa;
|
|
}
|
|
.nvim-control-indicator {
|
|
flex: none;
|
|
border: 1px solid #60747e;
|
|
border-radius: 3px;
|
|
background: #222e34;
|
|
color: #b9c6cc;
|
|
padding: 3px 8px;
|
|
font: 700 10px/1.2 ui-monospace, monospace;
|
|
letter-spacing: 0.04em;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
}
|
|
.nvim-control-indicator.is-active {
|
|
border-color: #3cb3e2;
|
|
background: #17465a;
|
|
color: #d9f5ff;
|
|
}
|
|
.nvim-control-indicator.is-engaged {
|
|
box-shadow: inset 0 0 0 1px #8ee4ff;
|
|
}
|
|
.nvim-work-indicator {
|
|
flex: none;
|
|
border: 1px solid #7a878d;
|
|
border-radius: 3px;
|
|
background: #f4f6f7;
|
|
color: #56646a;
|
|
padding: 3px 8px;
|
|
font: 700 10px/1.2 ui-monospace, monospace;
|
|
letter-spacing: .03em;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
}
|
|
.nvim-work-indicator.is-active {
|
|
border-color: #cf3d31;
|
|
background: #fff0ee;
|
|
color: #9f241b;
|
|
}
|
|
.nvim-work-indicator.is-engaged {
|
|
box-shadow: inset 0 0 0 1px #cf3d31;
|
|
}
|
|
.nvim-work-indicator:disabled {
|
|
border-color: #a8b0b4;
|
|
background: #e6e9ea;
|
|
color: #7c878c;
|
|
cursor: not-allowed;
|
|
opacity: .8;
|
|
}
|
|
.nvim-height-toggle {
|
|
flex: none;
|
|
border: 1px solid #75848b;
|
|
border-radius: 3px;
|
|
background: #f4f6f7;
|
|
color: #425159;
|
|
padding: 3px 8px;
|
|
font: 700 10px/1.2 ui-monospace, monospace;
|
|
letter-spacing: .03em;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
}
|
|
.nvim-height-toggle.is-active {
|
|
border-color: #267697;
|
|
background: #eaf6fb;
|
|
color: #174d64;
|
|
}
|
|
.nvim-shortcut-strip {
|
|
flex: none;
|
|
color: #536168;
|
|
font: 650 10px/1.2 ui-monospace, monospace;
|
|
white-space: nowrap;
|
|
}
|
|
.nvim-shortcut-strip kbd {
|
|
color: #263238;
|
|
font: inherit;
|
|
}
|
|
.nvim-screen-scroll {
|
|
position: relative;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
height: var(--nvim-panel-height, 75vh);
|
|
max-height: none;
|
|
min-height: 240px;
|
|
overflow: auto;
|
|
background: var(--desk, #eee);
|
|
outline: none;
|
|
scrollbar-color: #58666d #171d20;
|
|
}
|
|
.nvim-screen-stage {
|
|
position: relative;
|
|
width: 210mm;
|
|
margin: 0 auto;
|
|
background: #fff;
|
|
zoom: var(--viewer-canvas-scale);
|
|
}
|
|
.nvim-screen-surface {
|
|
position: absolute;
|
|
inset: 0 4mm;
|
|
box-sizing: border-box;
|
|
padding: 1mm;
|
|
background: #fff;
|
|
}
|
|
.nvim-screen-frame {
|
|
position: relative;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
border: 1px solid #267697;
|
|
background: #101315;
|
|
box-shadow: 0 0 0 3px #000;
|
|
}
|
|
.nvim-screen-scroll[data-sync="on"] .nvim-screen-frame {
|
|
border-color: #35b9ef;
|
|
}
|
|
.nvim-screen-scroll[data-control="true"] .nvim-screen-frame {
|
|
box-shadow: 0 0 0 3px #cf3d31;
|
|
}
|
|
.nvim-screen-scroll[data-control="true"] {
|
|
cursor: text;
|
|
}
|
|
.nvim-screen-content {
|
|
position: absolute;
|
|
top: 1mm;
|
|
right: -5mm;
|
|
bottom: 1mm;
|
|
left: 1mm;
|
|
overflow-x: hidden;
|
|
overflow-y: scroll;
|
|
background: transparent;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #829097 #fff;
|
|
}
|
|
.nvim-screen-grid {
|
|
width: calc(100% - 6mm);
|
|
min-height: 100%;
|
|
background: #101315;
|
|
}
|
|
.nvim-screen-content::-webkit-scrollbar {
|
|
width: .8mm;
|
|
}
|
|
.nvim-screen-content::-webkit-scrollbar-track {
|
|
background: #fff;
|
|
}
|
|
.nvim-screen-content::-webkit-scrollbar-thumb {
|
|
border: .12mm solid #fff;
|
|
border-radius: 99px;
|
|
background: #829097;
|
|
}
|
|
.nvim-screen-content::-webkit-scrollbar-thumb:hover {
|
|
background: #aeb9be;
|
|
}
|
|
.nvim-screen {
|
|
display: block;
|
|
max-width: none;
|
|
margin: 0;
|
|
outline: none;
|
|
image-rendering: auto;
|
|
}
|
|
.nvim-screen:focus {
|
|
box-shadow: none;
|
|
}
|
|
.nvim-screen-empty {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: grid;
|
|
place-content: center;
|
|
gap: 5px;
|
|
padding: 16px;
|
|
color: #9cabb2;
|
|
text-align: center;
|
|
}
|
|
.nvim-screen-empty strong {
|
|
color: #e0e8eb;
|
|
font: 750 11px/1.3 ui-monospace, monospace;
|
|
}
|
|
.nvim-resize-handle {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 12px;
|
|
border-top: 1px solid #46565e;
|
|
background: #182126;
|
|
cursor: ns-resize;
|
|
touch-action: none;
|
|
}
|
|
.nvim-resize-handle::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 4px;
|
|
left: 50%;
|
|
width: min(160px, 22vw);
|
|
height: 3px;
|
|
border-radius: 999px;
|
|
background: #6c7e87;
|
|
transform: translateX(-50%);
|
|
}
|
|
.nvim-resize-handle:hover,
|
|
.nvim-resize-handle:focus-visible {
|
|
background: #23323a;
|
|
outline: none;
|
|
}
|
|
.nvim-resize-handle:hover::after,
|
|
.nvim-resize-handle:focus-visible::after {
|
|
background: #35b9ef;
|
|
}
|
|
.shortcut-help-backdrop {
|
|
position: fixed;
|
|
z-index: 200;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 20px;
|
|
background: #10171dcc;
|
|
}
|
|
.shortcut-help {
|
|
width: min(680px, calc(100vw - 40px));
|
|
max-height: calc(100vh - 40px);
|
|
overflow: auto;
|
|
border: 1px solid #71818a;
|
|
border-radius: 6px;
|
|
background: #f8fafb;
|
|
color: #172127;
|
|
box-shadow: 0 18px 60px #0008;
|
|
font: 14px/1.4 system-ui, sans-serif;
|
|
}
|
|
.shortcut-help > header {
|
|
display: flex;
|
|
align-items: start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 16px 18px;
|
|
border-bottom: 1px solid #c8d1d5;
|
|
background: #e8eef1;
|
|
}
|
|
.shortcut-help header small {
|
|
color: #52646d;
|
|
font: 750 10px/1.2 ui-monospace, monospace;
|
|
letter-spacing: .08em;
|
|
}
|
|
.shortcut-help h2 {
|
|
margin: 4px 0 0;
|
|
font-size: 17px;
|
|
}
|
|
.shortcut-help header button {
|
|
width: 32px;
|
|
height: 32px;
|
|
border: 1px solid #71818a;
|
|
border-radius: 3px;
|
|
background: #fff;
|
|
font: 22px/1 system-ui, sans-serif;
|
|
cursor: pointer;
|
|
}
|
|
.shortcut-help dl {
|
|
margin: 0;
|
|
padding: 10px 18px;
|
|
}
|
|
.shortcut-help dl > div {
|
|
display: grid;
|
|
grid-template-columns: minmax(180px, .8fr) 1.5fr;
|
|
gap: 14px;
|
|
align-items: center;
|
|
padding: 8px 0;
|
|
border-bottom: 1px solid #dde3e6;
|
|
}
|
|
.shortcut-help dt,
|
|
.shortcut-help dd {
|
|
margin: 0;
|
|
}
|
|
.shortcut-help kbd {
|
|
display: inline-block;
|
|
border: 1px solid #839198;
|
|
border-bottom-width: 2px;
|
|
border-radius: 3px;
|
|
background: #fff;
|
|
padding: 3px 7px;
|
|
font: 700 12px/1.2 ui-monospace, monospace;
|
|
}
|
|
.shortcut-help > p {
|
|
margin: 0;
|
|
padding: 4px 18px 16px;
|
|
color: #526068;
|
|
}
|
|
|
|
.memory-react {
|
|
border: 1px solid #555;
|
|
background: #fff;
|
|
font:
|
|
14px/1.35 system-ui,
|
|
sans-serif;
|
|
padding: 10px;
|
|
color: #1b1b1b;
|
|
}
|
|
.memory-react > header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
border-bottom: 1px solid #bbb;
|
|
padding-bottom: 7px;
|
|
}
|
|
.memory-react > header small {
|
|
display: block;
|
|
margin-bottom: 2px;
|
|
color: #555;
|
|
font:
|
|
700 10px/1.2 ui-monospace,
|
|
monospace;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
.memory-react h3 {
|
|
font-size: 15px;
|
|
margin: 0;
|
|
}
|
|
.memory-actions {
|
|
display: flex;
|
|
gap: 5px;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
}
|
|
.memory-actions button {
|
|
border: 1px solid #777;
|
|
background: #fff;
|
|
padding: 4px 8px;
|
|
cursor: pointer;
|
|
}
|
|
.memory-actions button[aria-pressed="true"] {
|
|
background: #dff3fb;
|
|
border-color: #237da1;
|
|
font-weight: 700;
|
|
}
|
|
.memory-lanes {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
|
|
gap: 6px;
|
|
margin: 8px 0;
|
|
}
|
|
.memory-lane {
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 3px;
|
|
border: 1px solid #999;
|
|
background: #fafafa;
|
|
padding: 7px;
|
|
text-align: left;
|
|
}
|
|
.memory-lane.compile {
|
|
background: #fff8dc;
|
|
}
|
|
.memory-lane.bss {
|
|
background: #edf7fb;
|
|
}
|
|
.memory-lane.stack {
|
|
background: #f3f8ef;
|
|
}
|
|
.memory-lane.registers {
|
|
background: #f4f4f4;
|
|
}
|
|
.memory-lane.text {
|
|
background: #f7f0fa;
|
|
}
|
|
.memory-lane > b {
|
|
font-size: 11px;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
.memory-lane button {
|
|
border: 1px solid transparent;
|
|
background: transparent;
|
|
padding: 3px;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
.memory-lane button:hover,
|
|
.memory-lane button.active {
|
|
border-color: #238bb7;
|
|
background: #fff;
|
|
}
|
|
.memory-lane code {
|
|
font-size: 10px;
|
|
white-space: normal;
|
|
}
|
|
.arena-wrap {
|
|
margin: 12px 0 6px;
|
|
}
|
|
.arena-label {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 4px;
|
|
}
|
|
.arena {
|
|
--allocp: 0;
|
|
--arena-size: 64;
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: repeat(var(--arena-size), 1fr);
|
|
height: 40px;
|
|
border: 1px solid #222;
|
|
margin-bottom: 28px;
|
|
}
|
|
.arena i {
|
|
border-right: 1px solid #ddd;
|
|
}
|
|
.arena .allocp {
|
|
position: absolute;
|
|
left: calc(var(--allocp) / var(--arena-size) * 100%);
|
|
top: 43px;
|
|
transform: translateX(-50%);
|
|
color: #087da8;
|
|
font:
|
|
700 11px/1.2 ui-monospace,
|
|
monospace;
|
|
white-space: nowrap;
|
|
}
|
|
.memory-stage {
|
|
border-top: 1px solid #ddd;
|
|
padding-top: 7px;
|
|
margin: 0;
|
|
}
|
|
.memory-inspector {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
gap: 2px 10px;
|
|
margin-top: 7px;
|
|
padding: 7px;
|
|
border-left: 3px solid #238bb7;
|
|
background: #f5fbfd;
|
|
}
|
|
.memory-inspector strong {
|
|
grid-row: 1/3;
|
|
}
|
|
.memory-inspector code {
|
|
font-size: 11px;
|
|
}
|
|
.memory-inspector span {
|
|
font-size: 12px;
|
|
}
|
|
.asset-static-fallback {
|
|
display: none;
|
|
}
|
|
.uml-react {
|
|
border: 1px solid #555;
|
|
background: #fff;
|
|
font:
|
|
13px/1.35 system-ui,
|
|
sans-serif;
|
|
color: #1b1b1b;
|
|
}
|
|
.uml-react > header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 6px 8px;
|
|
border-bottom: 1px solid #bbb;
|
|
background: #fafafa;
|
|
}
|
|
.uml-react > header small {
|
|
display: block;
|
|
color: #555;
|
|
font:
|
|
700 10px/1.2 ui-monospace,
|
|
monospace;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
.uml-react h3 {
|
|
margin: 2px 0 0;
|
|
font-size: 15px;
|
|
}
|
|
.uml-actions {
|
|
display: flex;
|
|
gap: 3px;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
}
|
|
.uml-actions button {
|
|
border: 1px solid #aaa;
|
|
border-radius: 2px;
|
|
background: #fcfcfc;
|
|
color: #444;
|
|
padding: 2px 6px;
|
|
font:
|
|
600 10px/1.25 ui-monospace,
|
|
monospace;
|
|
cursor: pointer;
|
|
}
|
|
.uml-actions button:hover {
|
|
border-color: #64879a;
|
|
background: #f5fafc;
|
|
}
|
|
.uml-actions button[data-completed="true"] {
|
|
border-color: #62a47f;
|
|
background: #edf8f1;
|
|
color: #14613a;
|
|
}
|
|
.uml-actions button[aria-pressed="true"] {
|
|
border-color: #287495;
|
|
background: #edf7fb;
|
|
color: #174d64;
|
|
box-shadow: inset 0 0 0 1px #b9dce9;
|
|
}
|
|
.uml-canvas {
|
|
display: block;
|
|
padding: 8px;
|
|
text-align: center;
|
|
}
|
|
.uml-canvas img,
|
|
.uml-svg-host svg {
|
|
display: block;
|
|
width: 100% !important;
|
|
height: auto !important;
|
|
max-height: 760px;
|
|
object-fit: contain;
|
|
}
|
|
.uml-svg-host {
|
|
cursor: pointer;
|
|
}
|
|
.uml-stage-region {
|
|
cursor: pointer;
|
|
transition:
|
|
fill 140ms ease,
|
|
stroke 140ms ease,
|
|
stroke-width 140ms ease;
|
|
}
|
|
.uml-stage-region-completed.uml-stage-region-bg {
|
|
fill: #e7f6ed !important;
|
|
fill-opacity: 1 !important;
|
|
stroke: #258154 !important;
|
|
stroke-width: 3px !important;
|
|
}
|
|
.uml-stage-region-completed.uml-stage-region-outline {
|
|
stroke: #258154 !important;
|
|
stroke-width: 3px !important;
|
|
}
|
|
.uml-stage-region-active.uml-stage-region-bg {
|
|
fill: #e7f6fc !important;
|
|
fill-opacity: 1 !important;
|
|
stroke: #187ea7 !important;
|
|
stroke-width: 3px !important;
|
|
}
|
|
.uml-stage-region-active.uml-stage-region-outline {
|
|
stroke: #187ea7 !important;
|
|
stroke-width: 3px !important;
|
|
}
|
|
.uml-stage-region-active.uml-stage-region-completed.uml-stage-region-bg {
|
|
fill: #e7f6ed !important;
|
|
}
|
|
.uml-stage-region:focus {
|
|
outline: none;
|
|
stroke: #005f87 !important;
|
|
stroke-width: 4px !important;
|
|
}
|
|
.uml-inline-warning {
|
|
display: block;
|
|
padding-top: 5px;
|
|
color: #8b2d20;
|
|
font-size: 11px;
|
|
}
|
|
.uml-stage {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
gap: 3px 10px;
|
|
margin: 0 8px 8px;
|
|
padding: 8px;
|
|
border-left: 3px solid #315f78;
|
|
background: #eef7fb;
|
|
}
|
|
.uml-stage strong {
|
|
grid-row: 1/3;
|
|
}
|
|
.uml-stage code {
|
|
grid-column: 2;
|
|
font-size: 11px;
|
|
}
|
|
.uml-approval {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
margin: 0 8px 8px;
|
|
padding-top: 6px;
|
|
border-top: 1px solid #d2d2d2;
|
|
color: #555;
|
|
font-size: 11px;
|
|
}
|
|
.uml-approval button {
|
|
flex: 0 0 auto;
|
|
border: 1px solid #477a5d;
|
|
border-radius: 2px;
|
|
background: #edf8f1;
|
|
color: #174e30;
|
|
padding: 3px 7px;
|
|
font: 600 10px/1.25 system-ui, sans-serif;
|
|
cursor: pointer;
|
|
}
|
|
.uml-approval button:disabled {
|
|
border-color: #bbb;
|
|
background: #f3f3f3;
|
|
color: #888;
|
|
cursor: not-allowed;
|
|
}
|
|
.uml-snapshot-header p {
|
|
max-width: 620px;
|
|
margin: 2px 0 0;
|
|
color: #555;
|
|
font-size: 10px;
|
|
}
|
|
.uml-phase-actions,
|
|
.uml-step-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 3px;
|
|
}
|
|
.uml-phase-actions {
|
|
justify-content: flex-end;
|
|
}
|
|
.uml-phase-actions button,
|
|
.uml-step-actions button,
|
|
.uml-snapshot-cursor button {
|
|
border: 1px solid #aaa;
|
|
border-radius: 2px;
|
|
background: #fff;
|
|
color: #444;
|
|
cursor: pointer;
|
|
font: 600 9px/1.2 ui-monospace, monospace;
|
|
}
|
|
.uml-phase-actions button {
|
|
padding: 3px 7px;
|
|
}
|
|
.uml-phase-actions button[aria-pressed="true"] {
|
|
border-color: #287495;
|
|
background: #edf7fb;
|
|
color: #174d64;
|
|
}
|
|
.uml-step-actions {
|
|
min-height: 25px;
|
|
padding: 3px 8px;
|
|
border-bottom: 1px solid #ddd;
|
|
background: #fcfcfc;
|
|
}
|
|
.uml-step-actions > span {
|
|
margin-right: 4px;
|
|
color: #555;
|
|
font: 700 9px/1.2 ui-monospace, monospace;
|
|
}
|
|
.uml-step-actions button {
|
|
min-width: 25px;
|
|
padding: 2px 4px;
|
|
}
|
|
.uml-step-actions button[data-completed="true"] {
|
|
border-color: #62a47f;
|
|
background: #edf8f1;
|
|
color: #14613a;
|
|
}
|
|
.uml-step-actions button[aria-pressed="true"] {
|
|
border-color: #287495;
|
|
background: #287495;
|
|
color: #fff;
|
|
}
|
|
.uml-snapshot-layout {
|
|
background: #fff;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
.uml-step-canvas {
|
|
min-width: 0;
|
|
}
|
|
.uml-step-canvas .uml-svg-host svg {
|
|
max-height: 720px;
|
|
}
|
|
.uml-step-hit {
|
|
cursor: pointer;
|
|
fill: transparent;
|
|
}
|
|
.uml-step-hit-active {
|
|
fill: #3ea6ce !important;
|
|
fill-opacity: 0.08 !important;
|
|
}
|
|
.uml-step-element {
|
|
transition: fill 120ms ease, stroke 120ms ease, stroke-width 120ms ease;
|
|
}
|
|
line.uml-step-element-completed:not(.uml-step-element-active) {
|
|
stroke: #258154 !important;
|
|
stroke-width: 1.8px !important;
|
|
}
|
|
polygon.uml-step-element-completed:not(.uml-step-element-active) {
|
|
fill: #258154 !important;
|
|
stroke: #258154 !important;
|
|
}
|
|
text.uml-step-element-completed:not(.uml-step-element-active) {
|
|
fill: #1d7049 !important;
|
|
}
|
|
line.uml-step-element-active {
|
|
stroke: #087ca8 !important;
|
|
stroke-width: 2.6px !important;
|
|
}
|
|
polygon.uml-step-element-active {
|
|
fill: #087ca8 !important;
|
|
stroke: #087ca8 !important;
|
|
}
|
|
text.uml-step-element-active {
|
|
fill: #075d7d !important;
|
|
font-weight: 700 !important;
|
|
}
|
|
.uml-step-hit:focus {
|
|
outline: none;
|
|
stroke: #087ca8;
|
|
stroke-width: 1.5px;
|
|
stroke-dasharray: 4 3;
|
|
}
|
|
.uml-evidence-view {
|
|
border-bottom: 1px solid #b8b8b8;
|
|
background: #f4f5f6;
|
|
}
|
|
.uml-evidence-view > header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
min-height: 38px;
|
|
padding: 5px 8px;
|
|
border-bottom: 1px solid #c8c8c8;
|
|
background: #fff;
|
|
}
|
|
.uml-evidence-view > header small,
|
|
.uml-evidence-view > header strong {
|
|
display: block;
|
|
}
|
|
.uml-evidence-view > header small {
|
|
color: #56707c;
|
|
font: 700 8px/1.2 ui-monospace, monospace;
|
|
}
|
|
.uml-evidence-view > header strong {
|
|
margin-top: 1px;
|
|
font: 700 11px/1.25 system-ui, sans-serif;
|
|
}
|
|
.uml-evidence-tabs {
|
|
display: flex;
|
|
gap: 2px;
|
|
padding: 2px;
|
|
border: 1px solid #c5c9cb;
|
|
border-radius: 4px;
|
|
background: #eef0f1;
|
|
}
|
|
.uml-evidence-tabs button {
|
|
min-width: 68px;
|
|
border: 1px solid transparent;
|
|
border-radius: 3px;
|
|
background: transparent;
|
|
color: #4b5154;
|
|
padding: 3px 10px;
|
|
font: 600 10px/1.2 system-ui, sans-serif;
|
|
cursor: pointer;
|
|
}
|
|
.uml-evidence-tabs button[aria-selected="true"] {
|
|
border-color: #8da6b1;
|
|
background: #fff;
|
|
color: #174d64;
|
|
box-shadow: 0 1px 2px #0001;
|
|
}
|
|
.uml-evidence-tabs button:disabled {
|
|
opacity: 0.4;
|
|
cursor: default;
|
|
}
|
|
.uml-code-view {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 1px;
|
|
background: #40505a;
|
|
}
|
|
.uml-code-view > section {
|
|
min-width: 0;
|
|
background: #12191e;
|
|
color: #e8edf0;
|
|
}
|
|
.uml-code-view > section > header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 5px 8px;
|
|
border-bottom: 1px solid #34434b;
|
|
color: #a8c9d7;
|
|
font: 700 9px/1.2 ui-monospace, monospace;
|
|
}
|
|
.uml-code-view > section > header span {
|
|
border: 1px solid #5b7c8a;
|
|
border-radius: 2px;
|
|
padding: 1px 5px;
|
|
color: #d7f4ff;
|
|
}
|
|
.uml-code-view > section > header code {
|
|
overflow-wrap: anywhere;
|
|
color: #aebac0;
|
|
text-align: right;
|
|
}
|
|
.uml-code-view pre {
|
|
min-height: 76px;
|
|
max-height: 260px;
|
|
margin: 0;
|
|
padding: 10px;
|
|
overflow: auto;
|
|
white-space: pre-wrap;
|
|
color: #eef4f6;
|
|
font: 10px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
|
|
tab-size: 2;
|
|
}
|
|
.uml-code-view > p {
|
|
grid-column: 1/-1;
|
|
margin: 0;
|
|
padding: 5px 8px;
|
|
background: #eef7fb;
|
|
color: #315f78;
|
|
font-size: 9px;
|
|
}
|
|
.uml-terminal-view {
|
|
margin: 0;
|
|
background: #111;
|
|
}
|
|
.uml-terminal-view img {
|
|
display: block;
|
|
width: 100%;
|
|
max-height: 760px;
|
|
object-fit: contain;
|
|
object-position: top center;
|
|
}
|
|
.uml-terminal-view figcaption {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
padding: 5px 8px;
|
|
border-top: 1px solid #38434a;
|
|
background: #1a2227;
|
|
color: #cbd4d8;
|
|
font: 9px/1.35 system-ui, sans-serif;
|
|
}
|
|
.uml-terminal-view figcaption strong {
|
|
flex: 0 0 auto;
|
|
color: #fff;
|
|
}
|
|
.uml-snapshot-panel {
|
|
display: grid;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
padding: 8px;
|
|
background: #fafafa;
|
|
font-size: 10px;
|
|
}
|
|
.uml-snapshot-panel > header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
.uml-snapshot-panel > header > div:first-child > span,
|
|
.uml-snapshot-panel > header > div:first-child > strong {
|
|
display: block;
|
|
}
|
|
.uml-snapshot-panel > header > div:first-child > span {
|
|
color: #5a5a5a;
|
|
font: 700 9px/1.2 ui-monospace, monospace;
|
|
}
|
|
.uml-snapshot-panel > header > div:first-child > strong {
|
|
font-size: 12px;
|
|
}
|
|
.uml-snapshot-panel > header > div:first-child > strong code {
|
|
display: inline-block;
|
|
min-width: 24px;
|
|
color: #075d7d;
|
|
}
|
|
.uml-snapshot-cursor {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
.uml-snapshot-cursor button {
|
|
width: 23px;
|
|
height: 23px;
|
|
padding: 0;
|
|
}
|
|
.uml-snapshot-cursor button:disabled {
|
|
opacity: 0.35;
|
|
cursor: default;
|
|
}
|
|
.uml-snapshot-cursor output {
|
|
min-width: 34px;
|
|
text-align: center;
|
|
font: 700 9px/1 ui-monospace, monospace;
|
|
}
|
|
.uml-snapshot-description {
|
|
margin: 0;
|
|
color: #333;
|
|
}
|
|
.uml-snapshot-panel section {
|
|
min-width: 0;
|
|
border: 1px solid #d0d0d0;
|
|
background: #fff;
|
|
padding: 7px;
|
|
}
|
|
.uml-snapshot-panel h4 {
|
|
margin: 0 0 4px;
|
|
color: #315f78;
|
|
font: 700 9px/1.2 ui-monospace, monospace;
|
|
text-transform: uppercase;
|
|
}
|
|
.uml-state-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 7px;
|
|
min-width: 0;
|
|
}
|
|
.uml-snapshot-registers dl {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 3px;
|
|
margin: 0;
|
|
}
|
|
.uml-snapshot-registers dl > div {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
gap: 5px;
|
|
min-width: 0;
|
|
padding: 2px 4px;
|
|
border-left: 2px solid #bbb;
|
|
background: #f6f6f6;
|
|
}
|
|
.uml-snapshot-registers dl > div.primary {
|
|
grid-column: 1/-1;
|
|
border-color: #287495;
|
|
background: #edf7fb;
|
|
}
|
|
.uml-snapshot-registers dt {
|
|
color: #555;
|
|
font-weight: 700;
|
|
}
|
|
.uml-snapshot-registers dd,
|
|
.uml-snapshot-variables dd,
|
|
.uml-snapshot-memory dd {
|
|
min-width: 0;
|
|
margin: 0;
|
|
overflow-wrap: anywhere;
|
|
text-align: right;
|
|
font: 600 9px/1.25 ui-monospace, monospace;
|
|
}
|
|
.uml-snapshot-variables dl {
|
|
display: grid;
|
|
gap: 3px;
|
|
margin: 0;
|
|
}
|
|
.uml-snapshot-variables dl > div {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 3px 5px;
|
|
border-left: 2px solid #5f899b;
|
|
background: #f5f8f9;
|
|
}
|
|
.uml-snapshot-variables dt {
|
|
font-weight: 700;
|
|
}
|
|
.uml-snapshot-variables dt small {
|
|
display: block;
|
|
color: #777;
|
|
font: 8px/1.2 ui-monospace, monospace;
|
|
}
|
|
.uml-snapshot-variables [data-state="uninitialised"],
|
|
.uml-stack-lane article[data-state="uninitialised"] {
|
|
color: #777;
|
|
background: #f5f5f5;
|
|
}
|
|
.uml-snapshot-variables [data-state="uninitialised"] dt::after,
|
|
.uml-stack-lane article[data-state="uninitialised"] > strong::after {
|
|
content: " ?";
|
|
color: #9a6a00;
|
|
}
|
|
.uml-arena-snapshot > div {
|
|
position: relative;
|
|
height: 10px;
|
|
border: 1px solid #666;
|
|
background: repeating-linear-gradient(90deg, #fff 0 7px, #eee 7px 8px);
|
|
}
|
|
.uml-arena-snapshot > div span {
|
|
display: block;
|
|
height: 100%;
|
|
background: #b8ddeb;
|
|
}
|
|
.uml-arena-snapshot > div i {
|
|
position: absolute;
|
|
top: -3px;
|
|
bottom: -3px;
|
|
width: 2px;
|
|
background: #075d7d;
|
|
transform: translateX(-1px);
|
|
}
|
|
.uml-arena-snapshot > p {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
gap: 4px;
|
|
margin: 3px 0;
|
|
font-size: 8px;
|
|
}
|
|
.uml-arena-snapshot > p code:last-child {
|
|
text-align: right;
|
|
}
|
|
.uml-arena-bytes {
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
overflow-wrap: anywhere;
|
|
color: #666;
|
|
font-size: 8px;
|
|
}
|
|
.uml-snapshot-memory dl {
|
|
display: grid;
|
|
gap: 2px;
|
|
margin: 0;
|
|
}
|
|
.uml-snapshot-memory dl > div {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 4px;
|
|
padding-top: 2px;
|
|
border-top: 1px solid #eee;
|
|
}
|
|
.uml-snapshot-memory dt {
|
|
font-weight: 700;
|
|
}
|
|
.uml-snapshot-memory dt small {
|
|
display: block;
|
|
color: #777;
|
|
font: 8px/1.2 ui-monospace, monospace;
|
|
}
|
|
.uml-snapshot-stack > header {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
.uml-snapshot-stack > header > p {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
gap: 4px 9px;
|
|
margin: 0;
|
|
color: #555;
|
|
font-size: 8px;
|
|
}
|
|
.uml-stack-axis {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
margin: 3px 89px 2px;
|
|
color: #777;
|
|
font: 8px/1.2 ui-monospace, monospace;
|
|
}
|
|
.uml-stack-lane {
|
|
display: flex;
|
|
align-items: stretch;
|
|
min-width: 0;
|
|
overflow-x: auto;
|
|
border: 1px solid #66757c;
|
|
background: #eef1f2;
|
|
}
|
|
.uml-stack-boundary {
|
|
display: grid;
|
|
place-content: center;
|
|
flex: 0 1 82px;
|
|
min-width: 64px;
|
|
padding: 5px;
|
|
background: #273941;
|
|
color: #fff;
|
|
text-align: center;
|
|
font: 700 8px/1.25 ui-monospace, monospace;
|
|
}
|
|
.uml-stack-boundary small {
|
|
color: #a9d9eb;
|
|
font-size: 8px;
|
|
text-transform: uppercase;
|
|
}
|
|
.uml-stack-gap {
|
|
display: grid;
|
|
place-content: center;
|
|
flex: 0.7 1 70px;
|
|
min-width: 60px;
|
|
min-height: 52px;
|
|
border-right: 1px dashed #9da8ad;
|
|
color: #78858b;
|
|
text-align: center;
|
|
font: 8px/1.2 ui-monospace, monospace;
|
|
}
|
|
.uml-stack-gap strong,
|
|
.uml-stack-gap small {
|
|
display: block;
|
|
}
|
|
.uml-stack-gap strong {
|
|
color: #52636b;
|
|
}
|
|
.uml-stack-gap small {
|
|
color: #78858b;
|
|
font-size: 8px;
|
|
}
|
|
.uml-stack-lane article {
|
|
display: grid;
|
|
align-content: center;
|
|
flex: 1 1 92px;
|
|
min-width: 76px;
|
|
padding: 5px 7px;
|
|
border-right: 1px solid #9da8ad;
|
|
background: #fff;
|
|
text-align: center;
|
|
}
|
|
.uml-stack-lane article[data-state="initialised"] {
|
|
border-top: 3px solid #2c8060;
|
|
}
|
|
.uml-stack-lane article[data-state="saved"] {
|
|
border-top: 3px solid #6d7196;
|
|
background: #f7f6fb;
|
|
}
|
|
.uml-stack-lane article strong,
|
|
.uml-stack-lane article code,
|
|
.uml-stack-lane article small {
|
|
display: block;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.uml-stack-lane article strong {
|
|
font: 700 9px/1.2 ui-monospace, monospace;
|
|
}
|
|
.uml-stack-lane article code {
|
|
margin: 2px 0;
|
|
color: #1f4555;
|
|
font-size: 8px;
|
|
}
|
|
.uml-stack-lane article small {
|
|
color: #777;
|
|
font: 8px/1.2 ui-monospace, monospace;
|
|
}
|
|
.uml-snapshot-observation p {
|
|
margin: 0 0 3px;
|
|
}
|
|
.uml-snapshot-observation small {
|
|
display: block;
|
|
overflow-wrap: anywhere;
|
|
color: #666;
|
|
font: 8px/1.3 ui-monospace, monospace;
|
|
}
|
|
.task-conclusion {
|
|
margin: 8px 0 0;
|
|
padding: 7px 9px;
|
|
border: 1px solid #315f78;
|
|
background: #f3f9fc;
|
|
}
|
|
.task-conclusion > strong {
|
|
display: block;
|
|
margin-bottom: 3px;
|
|
color: #315f78;
|
|
font:
|
|
700 10px/1.2 ui-monospace,
|
|
monospace;
|
|
}
|
|
.task-conclusion p {
|
|
margin: 0;
|
|
}
|
|
.asset-source-link {
|
|
display: inline-block;
|
|
margin: 5px 0;
|
|
color: #315f78;
|
|
font:
|
|
600 11px/1.3 system-ui,
|
|
sans-serif;
|
|
}
|
|
.lesson-progress-control {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-right: 7px;
|
|
padding: 2px 7px;
|
|
border: 1px solid #8c8c8c;
|
|
border-radius: 12px;
|
|
background: #fff;
|
|
cursor: pointer;
|
|
}
|
|
.lesson-progress-control:disabled {
|
|
cursor: wait;
|
|
opacity: 0.6;
|
|
}
|
|
.lesson-progress-control[data-status="discussed"] {
|
|
background: #fff4cc;
|
|
border-color: #9b6a00;
|
|
}
|
|
.lesson-progress-control[data-status="completed"] {
|
|
background: #e7f6ed;
|
|
border-color: #18794e;
|
|
}
|
|
.lesson-progress-dock {
|
|
position: fixed;
|
|
right: 12px;
|
|
bottom: 12px;
|
|
z-index: 30;
|
|
width: min(320px, calc(100vw - 24px));
|
|
border: 1px solid #555;
|
|
background: #fff;
|
|
padding: 10px;
|
|
box-shadow: 0 4px 18px #0003;
|
|
font:
|
|
14px/1.35 system-ui,
|
|
sans-serif;
|
|
}
|
|
.lesson-progress-dock p {
|
|
margin: 5px 0;
|
|
}
|
|
.lesson-progress-error {
|
|
color: #9b1c1c;
|
|
}
|
|
.step-row {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 4px 0;
|
|
}
|
|
.section-anchor {
|
|
position: relative;
|
|
top: -45px;
|
|
}
|
|
.app-load-error {
|
|
max-width: 760px;
|
|
margin: 10vh auto;
|
|
padding: 24px;
|
|
border: 1px solid #9b1c1c;
|
|
background: #fff;
|
|
font-family: system-ui, sans-serif;
|
|
}
|
|
.app-load-error pre {
|
|
white-space: pre-wrap;
|
|
}
|
|
@media (max-width: 800px) {
|
|
.topbar-nvim-meta {
|
|
display: none;
|
|
}
|
|
.topbar-nvim-section .nvim-control-indicator {
|
|
max-width: 42vw;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.nvim-shortcut-strip {
|
|
display: none;
|
|
}
|
|
.nvim-work-indicator {
|
|
display: none;
|
|
}
|
|
.memory-lanes {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
.memory-react > header,
|
|
.uml-react > header {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
.memory-actions {
|
|
justify-content: flex-start;
|
|
}
|
|
.uml-snapshot-layout {
|
|
display: block;
|
|
}
|
|
.uml-step-canvas {
|
|
border: 0;
|
|
}
|
|
.uml-phase-actions {
|
|
justify-content: flex-start;
|
|
}
|
|
.uml-code-view,
|
|
.uml-state-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.uml-terminal-view figcaption,
|
|
.uml-snapshot-stack > header {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
.uml-snapshot-stack > header > p {
|
|
justify-content: flex-start;
|
|
}
|
|
.uml-stack-axis {
|
|
margin-right: 0;
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
@media print {
|
|
.viewer-chrome {
|
|
display: none !important;
|
|
}
|
|
.memory-react {
|
|
display: none !important;
|
|
}
|
|
.asset-static-fallback {
|
|
display: block !important;
|
|
width: 100%;
|
|
}
|
|
.uml-actions,
|
|
.uml-phase-actions,
|
|
.uml-step-actions,
|
|
.uml-evidence-view,
|
|
.uml-snapshot-panel,
|
|
.uml-stage,
|
|
.uml-approval,
|
|
.asset-source-link,
|
|
.lesson-progress-dock,
|
|
.lesson-progress-control {
|
|
display: none !important;
|
|
}
|
|
}
|