3179 lines
67 KiB
CSS
3179 lines
67 KiB
CSS
.paper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3.3cm;
|
|
}
|
|
.paper > .sheet,
|
|
.paper > .sheet-spread > .sheet {
|
|
width: 210mm;
|
|
height: 297mm;
|
|
min-height: 297mm;
|
|
max-height: 297mm;
|
|
margin: 0 auto;
|
|
overflow: hidden;
|
|
}
|
|
.paper > .sheet.sheet--landscape,
|
|
.paper > .sheet-spread > .sheet.sheet--landscape {
|
|
width: 297mm;
|
|
min-width: 297mm;
|
|
max-width: 297mm;
|
|
height: 210mm;
|
|
min-height: 210mm;
|
|
max-height: 210mm;
|
|
}
|
|
.paper > .sheet > .sheet-content,
|
|
.paper > .sheet-spread > .sheet > .sheet-content {
|
|
height: 297mm;
|
|
min-height: 297mm;
|
|
max-height: 297mm;
|
|
overflow-x: hidden;
|
|
overflow-y: hidden;
|
|
}
|
|
.paper > .sheet.sheet--landscape > .sheet-content,
|
|
.paper > .sheet-spread > .sheet.sheet--landscape > .sheet-content {
|
|
height: 210mm;
|
|
min-height: 210mm;
|
|
max-height: 210mm;
|
|
}
|
|
.sheet-spread {
|
|
display: contents;
|
|
}
|
|
.paper.is-diagram-spread .sheet-spread {
|
|
display: grid;
|
|
grid-template-columns: repeat(var(--spread-columns, 1), max-content);
|
|
width: max-content;
|
|
max-width: none;
|
|
margin: 0 auto;
|
|
align-items: flex-start;
|
|
gap: 2mm;
|
|
zoom: var(--spread-fit-scale, 1);
|
|
}
|
|
.paper.is-diagram-spread .sheet-spread > .sheet {
|
|
flex: 0 0 auto;
|
|
}
|
|
.viewer-chrome {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 80;
|
|
width: 100%;
|
|
}
|
|
.viewer-action-toast {
|
|
position: absolute;
|
|
z-index: 12;
|
|
right: 9px;
|
|
bottom: 9px;
|
|
max-width: min(720px, calc(100vw - 18px));
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
border: 1px solid #42b8e7;
|
|
border-radius: 3px;
|
|
background: #102c38ee;
|
|
color: #dff7ff;
|
|
padding: 5px 9px;
|
|
box-shadow: 0 4px 14px #0007;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font: 750 10px/1.25 ui-monospace, monospace;
|
|
}
|
|
.viewer-chrome .topbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 90;
|
|
}
|
|
.viewpoint-bar {
|
|
display: grid;
|
|
grid-template-columns: repeat(8, minmax(0, 1fr));
|
|
gap: 1px;
|
|
min-height: 31px;
|
|
border-top: 1px solid #9aa8ae;
|
|
border-bottom: 1px solid #718087;
|
|
background: #718087;
|
|
box-shadow: 0 2px 5px #0002;
|
|
}
|
|
.viewpoint-bar button {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 5px;
|
|
min-width: 0;
|
|
border: 0;
|
|
background: #f7f9fa;
|
|
color: #1f3038;
|
|
padding: 5px 7px;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
.viewpoint-bar button:hover,
|
|
.viewpoint-bar button:focus-visible {
|
|
z-index: 1;
|
|
background: #e9f3f7;
|
|
outline: 2px solid #287495;
|
|
outline-offset: -2px;
|
|
}
|
|
.viewpoint-bar button[aria-current="location"] {
|
|
background: #dcecf3;
|
|
box-shadow: inset 0 -3px 0 #167ca4;
|
|
}
|
|
.viewpoint-bar button > span {
|
|
color: #1b6785;
|
|
font: 850 10px/1 ui-monospace, monospace;
|
|
}
|
|
.viewpoint-bar button > strong {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font: 750 10px/1.1 system-ui, sans-serif;
|
|
}
|
|
.viewpoint-bar button.is-unavailable {
|
|
background: #eef0f1;
|
|
color: #5d686d;
|
|
cursor: not-allowed;
|
|
}
|
|
.viewpoint-bar button.is-unavailable > span {
|
|
color: #68747a;
|
|
}
|
|
.viewpoint-bar button.is-unavailable > small {
|
|
border: 1px solid #9da7ab;
|
|
border-radius: 2px;
|
|
padding: 1px 3px;
|
|
font: 750 7px/1 ui-monospace, monospace;
|
|
}
|
|
.card-library-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex: none;
|
|
height: 28px;
|
|
gap: 6px;
|
|
border: 1px solid #6e7d84;
|
|
border-radius: 3px;
|
|
background: #f6f8f9;
|
|
color: #26373f;
|
|
padding: 2px 8px;
|
|
font: 750 11px/1 ui-monospace, monospace;
|
|
cursor: pointer;
|
|
}
|
|
.card-library-toggle:hover,
|
|
.card-library-toggle:focus-visible {
|
|
border-color: #1d7799;
|
|
background: #edf7fa;
|
|
outline: none;
|
|
}
|
|
.card-library-toggle.is-active {
|
|
border-color: #126d8f;
|
|
background: #174f67;
|
|
color: #fff;
|
|
}
|
|
.card-library-toggle-icon {
|
|
font: 700 16px/1 system-ui, sans-serif;
|
|
}
|
|
.card-library-toggle kbd {
|
|
color: #267697;
|
|
font: inherit;
|
|
}
|
|
.card-library-toggle.is-active kbd {
|
|
color: #aee9ff;
|
|
}
|
|
:root {
|
|
--side-panel-top: 36px;
|
|
--side-panel-width: min(960px, calc(100vw - 28px));
|
|
--side-panel-trigger-length: 56px;
|
|
}
|
|
.side-panel-dock {
|
|
position: fixed;
|
|
z-index: 240;
|
|
top: var(--side-panel-top);
|
|
bottom: 0;
|
|
width: 0;
|
|
pointer-events: none;
|
|
}
|
|
.side-panel-dock--left {
|
|
left: 0;
|
|
}
|
|
.side-panel-dock--right {
|
|
right: 0;
|
|
}
|
|
.side-panel-rail {
|
|
position: fixed;
|
|
z-index: 243;
|
|
top: calc(var(--side-panel-top) + 8px);
|
|
display: flex;
|
|
width: 13px;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
pointer-events: auto;
|
|
}
|
|
.side-panel-dock--left .side-panel-rail {
|
|
left: 0;
|
|
}
|
|
.side-panel-dock--right .side-panel-rail {
|
|
right: 0;
|
|
}
|
|
.side-panel-trigger {
|
|
--side-panel-accent: #167ca4;
|
|
position: relative;
|
|
display: grid;
|
|
width: 13px;
|
|
height: var(--side-panel-trigger-length);
|
|
place-items: center;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
}
|
|
.side-panel-trigger::before {
|
|
content: "";
|
|
display: block;
|
|
width: 3px;
|
|
height: calc(var(--side-panel-trigger-length) - 8px);
|
|
border-radius: 999px;
|
|
background: var(--side-panel-accent);
|
|
box-shadow: 0 0 0 1px rgb(255 255 255 / 45%), 0 3px 10px -5px var(--side-panel-accent);
|
|
opacity: .78;
|
|
transition: width 140ms ease, opacity 140ms ease, box-shadow 140ms ease;
|
|
}
|
|
.side-panel-trigger:hover::before,
|
|
.side-panel-trigger:focus-visible::before,
|
|
.side-panel-trigger.is-open::before {
|
|
width: 4px;
|
|
opacity: 1;
|
|
}
|
|
.side-panel-trigger.is-pinned::before {
|
|
width: 5px;
|
|
box-shadow: 0 0 0 1px rgb(255 255 255 / 62%), 0 3px 12px -4px var(--side-panel-accent);
|
|
}
|
|
.side-panel-trigger:focus-visible {
|
|
outline: 2px solid var(--side-panel-accent);
|
|
outline-offset: -2px;
|
|
}
|
|
.side-panel-trigger > span {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
clip: rect(0 0 0 0);
|
|
white-space: nowrap;
|
|
}
|
|
.side-panel {
|
|
position: fixed;
|
|
z-index: 241;
|
|
top: var(--side-panel-top);
|
|
bottom: 0;
|
|
display: flex;
|
|
width: var(--side-panel-width);
|
|
max-width: calc(100vw - 20px);
|
|
box-sizing: border-box;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
border-color: #819098;
|
|
background: #f7f9fa;
|
|
color: #17252c;
|
|
pointer-events: none;
|
|
transition: transform 180ms cubic-bezier(.22, .78, .24, 1);
|
|
will-change: transform;
|
|
}
|
|
.side-panel-dock--left .side-panel {
|
|
left: 0;
|
|
border-right: 1px solid #819098;
|
|
box-shadow: 15px 0 34px -24px rgb(16 27 33 / 55%);
|
|
transform: translateX(calc(-100% - 14px));
|
|
}
|
|
.side-panel-dock--right .side-panel {
|
|
right: 0;
|
|
border-left: 1px solid #819098;
|
|
box-shadow: -15px 0 34px -24px rgb(16 27 33 / 55%);
|
|
transform: translateX(calc(100% + 14px));
|
|
}
|
|
.side-panel.is-open {
|
|
transform: translateX(0);
|
|
pointer-events: auto;
|
|
}
|
|
.side-panel::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 10px;
|
|
width: 4px;
|
|
height: 48px;
|
|
border-radius: 999px;
|
|
background: var(--side-panel-accent);
|
|
pointer-events: none;
|
|
}
|
|
.side-panel-dock--left .side-panel::after {
|
|
right: -2px;
|
|
}
|
|
.side-panel-dock--right .side-panel::after {
|
|
left: -2px;
|
|
}
|
|
.side-panel-header {
|
|
display: flex;
|
|
min-height: 38px;
|
|
box-sizing: border-box;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
border-bottom: 1px solid #aebbc1;
|
|
background: #e7edef;
|
|
padding: 4px 7px 4px 10px;
|
|
}
|
|
.side-panel-header > div:first-child {
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: baseline;
|
|
gap: 7px;
|
|
}
|
|
.side-panel-header small {
|
|
color: #52666f;
|
|
font: 600 16px/1 ui-monospace, monospace;
|
|
letter-spacing: .08em;
|
|
}
|
|
.side-panel-header strong {
|
|
overflow: hidden;
|
|
color: #11191d;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font: 600 16px/1.2 system-ui, sans-serif;
|
|
}
|
|
.side-panel-actions {
|
|
display: flex;
|
|
flex: none;
|
|
gap: 4px;
|
|
}
|
|
.side-panel-actions button {
|
|
display: grid;
|
|
min-width: 38px;
|
|
height: 24px;
|
|
place-items: center;
|
|
border: 1px solid #8b999f;
|
|
border-radius: 3px;
|
|
background: #fff;
|
|
color: #26373f;
|
|
padding: 0 6px;
|
|
font: 650 16px/1 ui-monospace, monospace;
|
|
cursor: pointer;
|
|
}
|
|
.side-panel-actions button:last-child {
|
|
min-width: 24px;
|
|
padding: 0;
|
|
font-size: 18px;
|
|
}
|
|
.side-panel-actions button:hover,
|
|
.side-panel-actions button:focus-visible,
|
|
.side-panel-actions button.is-pinned {
|
|
border-color: var(--side-panel-accent);
|
|
background: #edf7fa;
|
|
outline: none;
|
|
}
|
|
.side-panel-body {
|
|
display: flex;
|
|
min-height: 0;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
.card-library-panel {
|
|
display: flex;
|
|
min-height: 0;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
.card-library-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
padding: 18px 18px 15px;
|
|
border-bottom: 1px solid #bdc9ce;
|
|
background: #e8eef1;
|
|
}
|
|
.card-library-header small {
|
|
color: #52666f;
|
|
font: 600 16px/1.25 ui-monospace, monospace;
|
|
letter-spacing: .09em;
|
|
text-transform: uppercase;
|
|
}
|
|
.card-library-header h2 {
|
|
margin: 4px 0 2px;
|
|
font: 750 22px/1.15 system-ui, sans-serif;
|
|
}
|
|
.card-library-header p {
|
|
margin: 0;
|
|
color: #607078;
|
|
font: 500 16px/1.35 system-ui, sans-serif;
|
|
}
|
|
.card-library-header > button {
|
|
display: grid;
|
|
width: 34px;
|
|
height: 34px;
|
|
place-items: center;
|
|
flex: none;
|
|
border: 1px solid #77878e;
|
|
border-radius: 3px;
|
|
background: #fff;
|
|
color: #25353c;
|
|
padding: 0;
|
|
font: 25px/1 system-ui, sans-serif;
|
|
cursor: pointer;
|
|
}
|
|
.card-library-header > button:hover,
|
|
.card-library-header > button:focus-visible {
|
|
border-color: #126d8f;
|
|
background: #edf7fa;
|
|
outline: 2px solid #85c5dc;
|
|
outline-offset: 1px;
|
|
}
|
|
.card-library-tree {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
padding: 6px 0 18px;
|
|
scrollbar-color: #8a9aa1 #edf1f3;
|
|
}
|
|
.card-library-tree details {
|
|
border: 0;
|
|
}
|
|
.card-library-tree summary {
|
|
display: grid;
|
|
grid-template-columns: 14px minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-height: 30px;
|
|
box-sizing: border-box;
|
|
padding: 5px 10px 5px 4px;
|
|
list-style: none;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
.card-library-tree summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
.card-library-tree summary:hover,
|
|
.card-library-tree summary:focus-visible {
|
|
background: #eaf1f4;
|
|
outline: none;
|
|
}
|
|
.card-library-branch {
|
|
color: #25363d;
|
|
font: 16px/1 ui-monospace, monospace;
|
|
transform: rotate(-90deg);
|
|
transition: transform 120ms ease;
|
|
}
|
|
.card-library-tree details[open] > summary .card-library-branch {
|
|
transform: rotate(0);
|
|
}
|
|
.card-library-tree summary strong,
|
|
.card-library-tree summary small {
|
|
display: block;
|
|
}
|
|
.card-library-tree summary strong {
|
|
color: #070a0b;
|
|
font: 550 16px/1.3 system-ui, sans-serif;
|
|
}
|
|
.card-library-tree summary small {
|
|
margin-top: 2px;
|
|
color: #303b40;
|
|
font: 500 16px/1.25 ui-monospace, monospace;
|
|
letter-spacing: .04em;
|
|
}
|
|
.card-library-tree summary output {
|
|
min-width: 22px;
|
|
color: #26363d;
|
|
padding: 0 2px;
|
|
text-align: center;
|
|
font: 550 16px/1.2 ui-monospace, monospace;
|
|
}
|
|
.card-library-subject > summary {
|
|
min-height: 42px;
|
|
border-bottom: 1px solid #9eacb2;
|
|
background: #dfe8ec;
|
|
padding: 7px 14px;
|
|
}
|
|
.card-library-subject > summary:hover,
|
|
.card-library-subject > summary:focus-visible {
|
|
background: #d5e1e5;
|
|
}
|
|
.card-library-subject > summary strong {
|
|
color: #000;
|
|
font: 600 16px/1.3 system-ui, sans-serif;
|
|
}
|
|
.card-library-subject > summary small {
|
|
color: #28353a;
|
|
font: 500 16px/1.25 ui-monospace, monospace;
|
|
}
|
|
.card-library-level-list {
|
|
margin-left: 18px;
|
|
border-left: 1px solid #8e9da4;
|
|
}
|
|
.card-library-level > summary {
|
|
min-height: 38px;
|
|
border-bottom: 1px solid #cbd4d8;
|
|
padding-left: 8px;
|
|
}
|
|
.card-library-level > summary strong {
|
|
color: #000;
|
|
font: 550 16px/1.3 system-ui, sans-serif;
|
|
}
|
|
.card-library-series-list {
|
|
margin-left: 18px;
|
|
border-left: 1px solid #a5b1b6;
|
|
padding: 2px 0 6px;
|
|
}
|
|
.card-library-series > summary {
|
|
min-height: 34px;
|
|
padding-left: 8px;
|
|
}
|
|
.card-library-series > summary strong {
|
|
color: #000;
|
|
font: 550 16px/1.3 system-ui, sans-serif;
|
|
}
|
|
.card-library-series > summary small {
|
|
color: #26343a;
|
|
font: 500 16px/1.25 ui-monospace, monospace;
|
|
}
|
|
.card-library-cards,
|
|
.card-library-tasks {
|
|
list-style: none;
|
|
margin-top: 0;
|
|
margin-bottom: 2px;
|
|
padding: 0;
|
|
}
|
|
.card-library-cards {
|
|
margin-left: 18px;
|
|
border-left: 1px solid #bac3c7;
|
|
}
|
|
.card-library-card-entry {
|
|
margin: 0;
|
|
}
|
|
.card-library-card {
|
|
display: grid;
|
|
grid-template-columns: 19px minmax(0, 1fr) auto;
|
|
align-items: start;
|
|
gap: 5px;
|
|
min-height: 38px;
|
|
box-sizing: border-box;
|
|
border: 0;
|
|
border-left: 3px solid transparent;
|
|
color: #000;
|
|
padding: 5px 8px 5px 3px;
|
|
text-decoration: none;
|
|
}
|
|
.card-library-node {
|
|
color: #536168;
|
|
font: 16px/1.35 ui-monospace, monospace;
|
|
}
|
|
.card-library-card-copy,
|
|
.card-library-card-copy strong,
|
|
.card-library-card-copy > span {
|
|
display: block;
|
|
min-width: 0;
|
|
}
|
|
.card-library-card-copy strong {
|
|
color: #000;
|
|
font: 550 16px/1.3 ui-monospace, monospace;
|
|
}
|
|
.card-library-card-copy > span {
|
|
margin-top: 2px;
|
|
color: #0b0d0e;
|
|
font: 500 16px/1.35 system-ui, sans-serif;
|
|
white-space: normal;
|
|
}
|
|
.card-library-card-meta {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
.card-library-card-meta small {
|
|
color: #26343a;
|
|
font: 500 16px/1.25 ui-monospace, monospace;
|
|
}
|
|
.card-library-card.is-available {
|
|
cursor: pointer;
|
|
}
|
|
.card-library-card.is-available:hover,
|
|
.card-library-card.is-available:focus-visible {
|
|
background: #eaf5f8;
|
|
outline: none;
|
|
}
|
|
.card-library-card.is-current {
|
|
border-left-color: #16769b;
|
|
background: #dff1f7;
|
|
}
|
|
.card-library-card.is-current:hover,
|
|
.card-library-card.is-current:focus-visible {
|
|
background: #cfeaf3;
|
|
outline: 1px solid #5ba9c4;
|
|
outline-offset: -1px;
|
|
}
|
|
.card-library-card.is-unavailable {
|
|
color: #000;
|
|
}
|
|
.card-library-card.is-unavailable .card-library-card-copy strong,
|
|
.card-library-card.is-unavailable .card-library-card-meta small {
|
|
color: #1d292e;
|
|
}
|
|
.card-library-card.is-unavailable .card-library-card-copy > span {
|
|
color: #0b0d0e;
|
|
}
|
|
.card-library-tasks {
|
|
margin-left: 36px;
|
|
border-left: 1px solid #c3cacc;
|
|
}
|
|
.card-library-tasks li > a,
|
|
.card-library-tasks li > span {
|
|
display: grid;
|
|
grid-template-columns: 19px auto minmax(0, 1fr);
|
|
gap: 5px;
|
|
align-items: start;
|
|
color: #000;
|
|
padding: 4px 8px 5px 3px;
|
|
text-decoration: none;
|
|
}
|
|
.card-library-tasks li > a:hover,
|
|
.card-library-tasks li > a:focus-visible {
|
|
background: #eaf5f8;
|
|
outline: none;
|
|
}
|
|
.card-library-tasks strong {
|
|
color: #000;
|
|
font: 550 16px/1.35 ui-monospace, monospace;
|
|
}
|
|
.card-library-tasks li > a > span:last-child,
|
|
.card-library-tasks li > span > span:last-child {
|
|
color: #111;
|
|
font: 500 16px/1.35 system-ui, sans-serif;
|
|
}
|
|
.card-library-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
padding: 10px 16px;
|
|
border-top: 1px solid #bdc9ce;
|
|
background: #edf1f3;
|
|
color: #5a6a72;
|
|
font: 500 16px/1.3 system-ui, sans-serif;
|
|
}
|
|
.card-library-footer span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
.card-library-footer i {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: #929da2;
|
|
}
|
|
.card-library-footer i.is-online {
|
|
background: #26815b;
|
|
}
|
|
.card-library-footer kbd {
|
|
margin-left: auto;
|
|
border: 1px solid #a2afb5;
|
|
border-radius: 2px;
|
|
background: #fff;
|
|
padding: 2px 5px;
|
|
font: 600 16px/1 ui-monospace, monospace;
|
|
}
|
|
|
|
/* Shared tree-widget presentation: the library uses the same tabular grammar
|
|
as the classroom tree (tree column, fixed metadata columns, sticky head). */
|
|
.card-library-treegrid {
|
|
min-height: 0;
|
|
flex: 1;
|
|
overflow: auto;
|
|
margin: 8px;
|
|
border: 1px solid rgb(31 35 40 / 18%);
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
scrollbar-color: #93a2a8 #edf1f2;
|
|
scrollbar-width: thin;
|
|
}
|
|
.card-library-treegrid-row {
|
|
display: grid;
|
|
min-width: 760px;
|
|
min-height: 38px;
|
|
box-sizing: border-box;
|
|
grid-template-columns: minmax(500px, 1fr) 110px 120px;
|
|
align-items: stretch;
|
|
border-bottom: 1px solid rgb(31 35 40 / 9%);
|
|
color: #273941;
|
|
font: 500 16px/1.25 ui-monospace, monospace;
|
|
}
|
|
.card-library-treegrid-row > [role="gridcell"],
|
|
.card-library-treegrid-row > [role="columnheader"] {
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
padding: 7px 9px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.card-library-treegrid-row > [role="gridcell"] + [role="gridcell"],
|
|
.card-library-treegrid-row > [role="columnheader"] + [role="columnheader"] {
|
|
border-left: 1px solid rgb(31 35 40 / 9%);
|
|
}
|
|
.card-library-treegrid-head {
|
|
position: sticky;
|
|
z-index: 3;
|
|
top: 0;
|
|
min-height: 34px;
|
|
border-bottom-color: rgb(31 35 40 / 20%);
|
|
background: #eef1f2;
|
|
color: #3e525b;
|
|
font-weight: 700;
|
|
letter-spacing: .045em;
|
|
}
|
|
.card-library-treegrid-row:not(.card-library-treegrid-head):hover {
|
|
background: rgb(31 35 40 / 4%);
|
|
}
|
|
.card-library-treegrid-row.is-subject {
|
|
background: #dfe8e5;
|
|
}
|
|
.card-library-treegrid-row.is-level {
|
|
background: #f5f8f8;
|
|
}
|
|
.card-library-treegrid-row.is-series {
|
|
background: #f9fbfb;
|
|
}
|
|
.card-library-treegrid-row.is-card {
|
|
min-height: 42px;
|
|
background: #fff;
|
|
}
|
|
.card-library-treegrid-row.is-task {
|
|
background: #fbfcfc;
|
|
}
|
|
.card-library-treegrid-row.is-current {
|
|
box-shadow: inset 3px 0 #1680a5;
|
|
background: #e1f1f6;
|
|
}
|
|
.card-library-tree-title {
|
|
gap: 6px;
|
|
padding-left: calc(8px + (var(--card-library-depth, 0) * 21px)) !important;
|
|
font-family: system-ui, sans-serif;
|
|
}
|
|
.card-library-tree-expander {
|
|
display: inline-grid;
|
|
width: 24px;
|
|
height: 24px;
|
|
flex: none;
|
|
place-items: center;
|
|
border: 0;
|
|
background: transparent;
|
|
color: #405961;
|
|
padding: 0;
|
|
font: 18px/1 ui-monospace, monospace;
|
|
cursor: pointer;
|
|
}
|
|
.card-library-tree-expander:hover,
|
|
.card-library-tree-expander:focus-visible {
|
|
background: rgb(22 93 107 / 10%);
|
|
color: #165d6b;
|
|
outline: 1px solid rgb(22 93 107 / 28%);
|
|
}
|
|
.card-library-tree-expander.is-empty {
|
|
cursor: default;
|
|
}
|
|
.card-library-tree-link,
|
|
.card-library-tree-label {
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: baseline;
|
|
gap: 7px;
|
|
overflow: hidden;
|
|
color: #10181c;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
}
|
|
.card-library-tree-link:hover,
|
|
.card-library-tree-link:focus-visible {
|
|
color: #075d7c;
|
|
outline: none;
|
|
text-decoration: underline;
|
|
text-underline-offset: 2px;
|
|
}
|
|
.card-library-tree-link strong,
|
|
.card-library-tree-label strong {
|
|
flex: none;
|
|
color: inherit;
|
|
font: 700 16px/1.25 ui-monospace, monospace;
|
|
}
|
|
.card-library-tree-link > span,
|
|
.card-library-tree-label > span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: inherit;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font: 500 16px/1.25 system-ui, sans-serif;
|
|
}
|
|
.card-library-treegrid-row.is-subject .card-library-tree-label strong,
|
|
.card-library-treegrid-row.is-level .card-library-tree-label strong,
|
|
.card-library-treegrid-row.is-series .card-library-tree-label strong {
|
|
font-family: system-ui, sans-serif;
|
|
font-weight: 650;
|
|
}
|
|
.card-library-tree-state {
|
|
display: inline-flex;
|
|
min-width: 76px;
|
|
min-height: 24px;
|
|
box-sizing: border-box;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid transparent;
|
|
border-radius: 5px;
|
|
color: #33474f;
|
|
padding: 2px 7px;
|
|
font: 650 14px/1 ui-monospace, monospace;
|
|
white-space: nowrap;
|
|
}
|
|
.card-library-tree-state[data-state="current"] {
|
|
border-color: #3184a0;
|
|
background: #e9f5f8;
|
|
color: #075d7c;
|
|
}
|
|
.card-library-tree-state[data-state="online"] {
|
|
border-color: #4b9a7a;
|
|
background: #edf8f2;
|
|
color: #176144;
|
|
}
|
|
.card-library-tree-state[data-state="plan"] {
|
|
border-color: #c59a49;
|
|
background: #fff7e5;
|
|
color: #775313;
|
|
}
|
|
.card-library-treegrid-row.is-unavailable .card-library-tree-label,
|
|
.card-library-treegrid-row.is-unavailable .card-library-tree-label strong {
|
|
color: #10181c;
|
|
}
|
|
.side-toc,
|
|
.side-progress {
|
|
min-height: 0;
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
background: #fff;
|
|
color: #11191d;
|
|
}
|
|
.side-toc > header,
|
|
.side-progress > header {
|
|
padding: 16px 18px 13px;
|
|
border-bottom: 1px solid #bdc9ce;
|
|
background: #f0f4f5;
|
|
}
|
|
.side-toc > header small,
|
|
.side-progress > header small {
|
|
color: #53666f;
|
|
font: 750 9px/1 ui-monospace, monospace;
|
|
letter-spacing: .08em;
|
|
}
|
|
.side-toc > header h2,
|
|
.side-progress > header h2 {
|
|
margin: 4px 0 0;
|
|
color: #10181c;
|
|
font: 750 21px/1.15 system-ui, sans-serif;
|
|
}
|
|
.side-toc ol {
|
|
margin: 0;
|
|
padding: 7px 0 20px;
|
|
list-style: none;
|
|
}
|
|
.side-toc li {
|
|
border-bottom: 1px solid #e2e7e9;
|
|
}
|
|
.side-toc a {
|
|
display: grid;
|
|
grid-template-columns: 34px minmax(0, 1fr);
|
|
gap: 9px;
|
|
align-items: baseline;
|
|
padding: 10px 16px;
|
|
color: #11191d;
|
|
text-decoration: none;
|
|
}
|
|
.side-toc a:hover,
|
|
.side-toc a:focus-visible {
|
|
background: #eaf5f8;
|
|
outline: none;
|
|
}
|
|
.side-toc a span {
|
|
color: #267493;
|
|
font: 800 10px/1 ui-monospace, monospace;
|
|
}
|
|
.side-toc a strong {
|
|
font: 650 13px/1.3 system-ui, sans-serif;
|
|
}
|
|
.side-progress-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin: 16px;
|
|
border: 1px solid #b6c2c7;
|
|
background: #f4f7f8;
|
|
padding: 14px;
|
|
font: 650 13px/1.3 system-ui, sans-serif;
|
|
}
|
|
.side-progress-summary strong {
|
|
color: #1d617b;
|
|
font: 850 20px/1 ui-monospace, monospace;
|
|
}
|
|
.side-progress-links {
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 0 16px 18px;
|
|
}
|
|
.side-progress-links a {
|
|
border: 1px solid #87979e;
|
|
border-radius: 3px;
|
|
background: #fff;
|
|
color: #174f67;
|
|
padding: 10px 12px;
|
|
text-decoration: none;
|
|
font: 700 12px/1.2 system-ui, sans-serif;
|
|
}
|
|
.side-progress-links a:hover,
|
|
.side-progress-links a:focus-visible {
|
|
border-color: #167ca4;
|
|
background: #edf7fa;
|
|
outline: none;
|
|
}
|
|
.side-progress-error {
|
|
margin: 0 16px 14px;
|
|
border-left: 3px solid #a52d2d;
|
|
background: #fff1f1;
|
|
color: #7d1f1f;
|
|
padding: 8px 10px;
|
|
font: 12px/1.35 system-ui, sans-serif;
|
|
}
|
|
.classroom-panel {
|
|
display: flex;
|
|
min-height: 0;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
background: #f7f9fa;
|
|
color: #11191d;
|
|
}
|
|
.classroom-treegrid {
|
|
min-height: 0;
|
|
flex: 1;
|
|
overflow: auto;
|
|
margin: 8px;
|
|
border: 1px solid rgb(31 35 40 / 18%);
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
scrollbar-color: #93a2a8 #edf1f2;
|
|
scrollbar-width: thin;
|
|
}
|
|
.classroom-treegrid-row {
|
|
display: grid;
|
|
min-width: 920px;
|
|
box-sizing: border-box;
|
|
grid-template-columns: minmax(410px, 1fr) 100px 150px 150px 110px;
|
|
align-items: center;
|
|
border-bottom: 1px solid rgb(31 35 40 / 8%);
|
|
color: #273941;
|
|
font: 500 16px/1.25 ui-monospace, monospace;
|
|
}
|
|
.classroom-treegrid-row > [role="gridcell"],
|
|
.classroom-treegrid-row > [role="columnheader"] {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
padding: 8px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.classroom-treegrid-row > [role="gridcell"] + [role="gridcell"],
|
|
.classroom-treegrid-row > [role="columnheader"] + [role="columnheader"] {
|
|
border-left: 1px solid rgb(31 35 40 / 8%);
|
|
}
|
|
.classroom-treegrid-head {
|
|
position: sticky;
|
|
z-index: 2;
|
|
top: 0;
|
|
border-bottom-color: rgb(31 35 40 / 18%);
|
|
background: #eef1f2;
|
|
color: #3e525b;
|
|
font-weight: 650;
|
|
letter-spacing: .04em;
|
|
}
|
|
.classroom-node-row:hover {
|
|
background: rgb(31 35 40 / 4%);
|
|
}
|
|
.classroom-node-row.is-class {
|
|
background: #dfe8e5;
|
|
}
|
|
.classroom-node-row.is-student {
|
|
background: #f8faf9;
|
|
}
|
|
.classroom-node-row.is-task {
|
|
background: #edf3f5;
|
|
}
|
|
.classroom-node-row.is-block,
|
|
.classroom-node-row.is-exercises {
|
|
background: #f5f7f8;
|
|
}
|
|
.classroom-node-row.is-phase {
|
|
background: #fafbfb;
|
|
}
|
|
.classroom-node-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding-left: calc(8px + (var(--classroom-depth, 0) * 20px)) !important;
|
|
font-family: system-ui, sans-serif;
|
|
}
|
|
.classroom-node-title strong {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
}
|
|
.classroom-node-row.is-class .classroom-node-title strong,
|
|
.classroom-node-row.is-student .classroom-node-title strong,
|
|
.classroom-node-row.is-task .classroom-node-title strong {
|
|
font-weight: 650;
|
|
}
|
|
.classroom-expander {
|
|
display: inline-grid;
|
|
width: 24px;
|
|
height: 24px;
|
|
flex: none;
|
|
place-items: center;
|
|
border: 0;
|
|
background: transparent;
|
|
color: #405961;
|
|
padding: 0;
|
|
font: 18px/1 ui-monospace, monospace;
|
|
cursor: pointer;
|
|
}
|
|
.classroom-expander:hover,
|
|
.classroom-expander:focus-visible {
|
|
background: rgb(22 93 107 / 10%);
|
|
color: #165d6b;
|
|
outline: 1px solid rgb(22 93 107 / 28%);
|
|
}
|
|
.classroom-expander.is-empty {
|
|
cursor: default;
|
|
}
|
|
.classroom-status,
|
|
.classroom-sync,
|
|
.classroom-visit,
|
|
.classroom-commit {
|
|
display: inline-flex;
|
|
min-width: 92px;
|
|
box-sizing: border-box;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid;
|
|
border-radius: 5px;
|
|
padding: 4px 6px;
|
|
font: 550 16px/1 ui-monospace, monospace;
|
|
letter-spacing: .015em;
|
|
}
|
|
.classroom-status[data-status="online"] {
|
|
border-color: #6b9a87;
|
|
background: #e7f4ee;
|
|
color: #155e43;
|
|
}
|
|
.classroom-status[data-status="away"] {
|
|
border-color: #baa06a;
|
|
background: #fff5d9;
|
|
color: #765510;
|
|
}
|
|
.classroom-status[data-status="offline"] {
|
|
border-color: #a5afb3;
|
|
background: #f0f2f3;
|
|
color: #596970;
|
|
}
|
|
.classroom-status[data-status="error"] {
|
|
border-color: #bd7b7b;
|
|
background: #fff0f0;
|
|
color: #8c2929;
|
|
}
|
|
.classroom-sync[data-sync="follow"] {
|
|
border-color: #6c98aa;
|
|
background: #e8f3f7;
|
|
color: #155c77;
|
|
}
|
|
.classroom-sync[data-sync="paused"] {
|
|
border-color: #baa06a;
|
|
background: #fff6df;
|
|
color: #765510;
|
|
}
|
|
.classroom-sync[data-sync="local"] {
|
|
border-color: #9a86ae;
|
|
background: #f4eef9;
|
|
color: #65427c;
|
|
}
|
|
.classroom-visit[data-visit="present"],
|
|
.classroom-commit[data-commit="committed"] {
|
|
border-color: #6b9a87;
|
|
background: #e7f4ee;
|
|
color: #155e43;
|
|
}
|
|
.classroom-visit[data-visit="missed"],
|
|
.classroom-commit[data-commit="missing"] {
|
|
border-color: #bd7b7b;
|
|
background: #fff0f0;
|
|
color: #8c2929;
|
|
}
|
|
.classroom-visit[data-visit="pending"],
|
|
.classroom-commit[data-commit="working"] {
|
|
border-color: #baa06a;
|
|
background: #fff6df;
|
|
color: #765510;
|
|
}
|
|
.classroom-legend {
|
|
display: flex;
|
|
flex: none;
|
|
flex-wrap: wrap;
|
|
gap: 7px 12px;
|
|
border-top: 1px solid #aebbc1;
|
|
background: #edf1f2;
|
|
padding: 9px 11px;
|
|
color: #485c65;
|
|
font: 500 16px/1.35 system-ui, sans-serif;
|
|
}
|
|
.classroom-legend span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
.classroom-legend i {
|
|
width: 12px;
|
|
height: 12px;
|
|
border: 1px solid #73858c;
|
|
border-radius: 50%;
|
|
background: #aeb7bb;
|
|
}
|
|
.classroom-legend i[data-status="online"] {
|
|
border-color: #3e7c63;
|
|
background: #45a27b;
|
|
}
|
|
.classroom-legend i[data-status="away"] {
|
|
border-color: #a0782d;
|
|
background: #dcae51;
|
|
}
|
|
.classroom-legend i[data-status="offline"] {
|
|
border-color: #859399;
|
|
background: #b6c0c4;
|
|
}
|
|
.classroom-legend b {
|
|
color: #65427c;
|
|
font: 600 16px/1 ui-monospace, monospace;
|
|
}
|
|
.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 .viewpoint-bar {
|
|
flex: none;
|
|
}
|
|
.viewer-chrome.is-nvim-fit .allocator-panel {
|
|
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;
|
|
}
|
|
.nvim-toolbar-boundary {
|
|
flex: none;
|
|
color: #6f7d83;
|
|
font: 700 14px/1 ui-monospace, monospace;
|
|
}
|
|
.nvim-toolbar-context {
|
|
flex: none;
|
|
width: 5ch;
|
|
color: #263238;
|
|
font: 800 12px/1 ui-monospace, monospace;
|
|
letter-spacing: .08em;
|
|
text-align: center;
|
|
}
|
|
.nvim-toolbar-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
}
|
|
.nvim-toolbar-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
.nvim-toolbar-key {
|
|
flex: 0 0 2ch;
|
|
color: #267697;
|
|
font: inherit;
|
|
text-align: center;
|
|
}
|
|
.nvim-toolbar-label {
|
|
flex: 0 0 5ch;
|
|
max-width: 5ch;
|
|
overflow: hidden;
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
}
|
|
.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;
|
|
}
|
|
.allocator-panel {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
border-top: 1px solid #40515a;
|
|
border-bottom: 1px solid #40515a;
|
|
background: #f7f9f5;
|
|
color: #182127;
|
|
box-shadow: 0 4px 12px #0002;
|
|
font: 11px/1.25 system-ui, sans-serif;
|
|
}
|
|
.allocator-panel > header {
|
|
display: grid;
|
|
grid-template-columns: 125px minmax(260px, auto) 1fr;
|
|
gap: 8px;
|
|
align-items: baseline;
|
|
min-height: 22px;
|
|
padding: 3px 8px;
|
|
border-bottom: 1px solid #b7c1c4;
|
|
background: #e8eef0;
|
|
}
|
|
.allocator-panel > header > span {
|
|
color: #166987;
|
|
font: 800 9px/1.2 ui-monospace, monospace;
|
|
letter-spacing: .06em;
|
|
}
|
|
.allocator-panel > header > strong {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font: 750 11px/1.2 ui-monospace, monospace;
|
|
}
|
|
.allocator-panel > header > small {
|
|
overflow: hidden;
|
|
color: #536168;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.allocator-panel-body {
|
|
display: grid;
|
|
grid-template-columns: 230px minmax(420px, 1fr) minmax(310px, .8fr);
|
|
gap: 9px;
|
|
align-items: stretch;
|
|
padding: 5px 8px 7px;
|
|
}
|
|
.allocator-metrics {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 3px 8px;
|
|
margin: 0;
|
|
}
|
|
.allocator-metrics > div {
|
|
min-width: 0;
|
|
border-left: 2px solid #8ea2ab;
|
|
padding-left: 5px;
|
|
}
|
|
.allocator-metrics dt {
|
|
color: #627077;
|
|
font: 750 7px/1.2 ui-monospace, monospace;
|
|
letter-spacing: .05em;
|
|
}
|
|
.allocator-metrics dd {
|
|
margin: 1px 0 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font: 700 10px/1.2 ui-monospace, monospace;
|
|
}
|
|
.allocator-arena-view {
|
|
min-width: 0;
|
|
}
|
|
.allocator-arena-view.is-inactive {
|
|
opacity: .42;
|
|
}
|
|
.allocator-arena-labels {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
margin-bottom: 3px;
|
|
color: #536168;
|
|
font: 700 8px/1.2 ui-monospace, monospace;
|
|
}
|
|
.allocator-arena-labels strong {
|
|
color: #075f80;
|
|
}
|
|
.allocator-pinned-arena {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: repeat(var(--allocator-size), minmax(2px, 1fr));
|
|
height: 32px;
|
|
border: 1px solid #28343a;
|
|
background: #fff;
|
|
}
|
|
.allocator-pinned-arena i {
|
|
min-width: 0;
|
|
border-right: 1px solid #e1e5e6;
|
|
background: #fbfcfc;
|
|
}
|
|
.allocator-pinned-arena i:nth-child(8n) {
|
|
border-right-color: #87969d;
|
|
}
|
|
.allocator-pinned-arena i.is-allocated {
|
|
border-right-color: #b2d8e6;
|
|
background: #43a8ce;
|
|
}
|
|
.allocator-cursor {
|
|
position: absolute;
|
|
z-index: 2;
|
|
top: -4px;
|
|
bottom: -4px;
|
|
width: 2px;
|
|
background: #d02d25;
|
|
transform: translateX(-1px);
|
|
box-shadow: 0 0 0 1px #fff9;
|
|
}
|
|
.allocator-cursor::before {
|
|
content: "allocp";
|
|
position: absolute;
|
|
top: 1px;
|
|
left: 4px;
|
|
color: #8d1d17;
|
|
font: 800 7px/1 ui-monospace, monospace;
|
|
}
|
|
.allocator-facts {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 2px 7px;
|
|
min-width: 0;
|
|
}
|
|
.allocator-facts > div {
|
|
display: flex;
|
|
min-width: 0;
|
|
justify-content: space-between;
|
|
gap: 5px;
|
|
border-bottom: 1px dotted #b4bec2;
|
|
}
|
|
.allocator-facts span {
|
|
overflow: hidden;
|
|
color: #46565e;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.allocator-facts code {
|
|
overflow: hidden;
|
|
color: #142e39;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font: 700 9px/1.3 ui-monospace, monospace;
|
|
}
|
|
.allocator-facts p {
|
|
grid-column: 1 / -1;
|
|
margin: 0;
|
|
color: #647278;
|
|
}
|
|
.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;
|
|
}
|
|
.topbar-nvim-section .nvim-toolbar-button {
|
|
flex: 0 0 9.5ch;
|
|
width: 9.5ch;
|
|
min-width: 9.5ch;
|
|
max-width: 9.5ch;
|
|
height: 24px;
|
|
box-sizing: border-box;
|
|
justify-content: flex-start;
|
|
gap: .55ch;
|
|
padding: 2px .55ch;
|
|
font: 750 12px/1 ui-monospace, monospace;
|
|
letter-spacing: 0;
|
|
}
|
|
.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;
|
|
overscroll-behavior: contain;
|
|
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;
|
|
overscroll-behavior: contain;
|
|
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;
|
|
overflow-x: hidden;
|
|
overflow-y: visible;
|
|
box-sizing: border-box;
|
|
padding: 8px 10px;
|
|
text-align: center;
|
|
}
|
|
.uml-svg-host {
|
|
width: max-content;
|
|
min-width: 100%;
|
|
}
|
|
.uml-canvas img,
|
|
.uml-svg-host svg {
|
|
display: block;
|
|
width: auto !important;
|
|
max-width: none !important;
|
|
height: auto !important;
|
|
max-height: none;
|
|
margin-inline: auto;
|
|
object-fit: contain;
|
|
}
|
|
.uml-svg-host {
|
|
cursor: pointer;
|
|
}
|
|
.uml-svg-host.is-tiled {
|
|
position: relative;
|
|
width: var(--uml-tile-page-width);
|
|
min-width: var(--uml-tile-page-width);
|
|
height: var(--uml-tile-page-height);
|
|
overflow: hidden;
|
|
cursor: default;
|
|
}
|
|
.uml-svg-host.is-tiled > svg {
|
|
position: absolute;
|
|
top: var(--uml-tile-top);
|
|
left: var(--uml-tile-left);
|
|
margin: 0;
|
|
}
|
|
.uml-static-crop {
|
|
position: absolute;
|
|
top: var(--uml-tile-top);
|
|
left: var(--uml-tile-left);
|
|
overflow: hidden;
|
|
}
|
|
.uml-static-crop > img {
|
|
display: block;
|
|
max-width: none !important;
|
|
max-height: none !important;
|
|
margin: 0 !important;
|
|
object-fit: fill !important;
|
|
transform-origin: 0 0;
|
|
}
|
|
.uml-tile-part {
|
|
display: inline-block;
|
|
margin-left: 0.65em;
|
|
color: #607985;
|
|
font: 650 9px/1.2 ui-monospace, monospace;
|
|
letter-spacing: 0.03em;
|
|
white-space: nowrap;
|
|
}
|
|
.uml-phase-actions > span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
border: 1px solid #9eb2bd;
|
|
border-radius: 2px;
|
|
background: #f1f5f7;
|
|
color: #3d5967;
|
|
padding: 2px 6px;
|
|
font: 700 10px/1.25 ui-monospace, monospace;
|
|
}
|
|
.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-react > .uml-snapshot-header {
|
|
display: block;
|
|
padding: 5px 8px 4px;
|
|
}
|
|
.uml-header-first-line {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
.uml-header-first-line h3 {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
margin: 0;
|
|
color: #20282c;
|
|
text-align: left;
|
|
font-size: 12px;
|
|
line-height: 1.25;
|
|
}
|
|
.uml-header-first-line h3 > span {
|
|
color: #245f7a;
|
|
font-family: ui-monospace, monospace;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
.uml-header-description {
|
|
max-width: 620px;
|
|
margin: 2px 0 0;
|
|
color: #555;
|
|
text-align: left;
|
|
font-size: 8px;
|
|
}
|
|
.uml-header-navigation {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 6px;
|
|
}
|
|
.uml-page-continuation {
|
|
display: inline-flex;
|
|
flex: 0 0 auto;
|
|
align-items: center;
|
|
gap: 2px;
|
|
min-height: 22px;
|
|
border: 1px solid #86a5b3;
|
|
border-radius: 3px;
|
|
background: #edf7fa;
|
|
padding: 1px 5px;
|
|
color: #126b8c;
|
|
font: 850 15px/1 ui-monospace, monospace;
|
|
animation: uml-continuation-pulse 1.15s ease-in-out infinite alternate;
|
|
}
|
|
.uml-page-continuation i {
|
|
display: inline-grid;
|
|
min-width: 14px;
|
|
place-items: center;
|
|
font-style: normal;
|
|
}
|
|
@keyframes uml-continuation-pulse {
|
|
from {
|
|
border-color: #9fb5be;
|
|
background: #f6fafb;
|
|
color: #4c7180;
|
|
box-shadow: none;
|
|
}
|
|
to {
|
|
border-color: #167ca4;
|
|
background: #dff2f8;
|
|
color: #075c7c;
|
|
box-shadow: 0 0 0 2px #8dcde433;
|
|
}
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.uml-page-continuation {
|
|
animation: none;
|
|
}
|
|
}
|
|
.uml-phase-actions,
|
|
.uml-step-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 3px;
|
|
}
|
|
.uml-phase-actions {
|
|
flex: 0 0 auto;
|
|
flex-wrap: nowrap;
|
|
justify-content: flex-end;
|
|
white-space: nowrap;
|
|
}
|
|
.uml-phase-actions button,
|
|
.uml-step-actions button,
|
|
.uml-edit-toggle,
|
|
.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-edit-toggle {
|
|
min-width: 42px;
|
|
padding: 3px 7px;
|
|
border: 1px solid #8a9ca5;
|
|
border-radius: 2px;
|
|
background: #f7f9fa;
|
|
color: #334d59;
|
|
cursor: pointer;
|
|
font: 750 9px/1.2 ui-monospace, monospace;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
.uml-edit-toggle.is-active {
|
|
border-color: #b56b16;
|
|
background: #fff3df;
|
|
color: #713c00;
|
|
box-shadow: inset 0 0 0 1px #f0c78f;
|
|
}
|
|
.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: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
}
|
|
.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-step-actions button[data-mode="CODE"]::after,
|
|
.uml-step-actions button[data-mode="RUN"]::after {
|
|
margin-left: 3px;
|
|
font-size: 7px;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
.uml-step-actions button[data-mode="CODE"]::after {
|
|
content: "C";
|
|
}
|
|
.uml-step-actions button[data-mode="RUN"]::after {
|
|
content: "R";
|
|
}
|
|
.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: none;
|
|
}
|
|
.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: #bd554d;
|
|
stroke-width: 0.8px;
|
|
stroke-dasharray: 3 3;
|
|
}
|
|
.uml-class-svg-active > g > *:not(.uml-class-focus-region):not(.uml-class-step-hit):not(.uml-layout-hit):not(.uml-layout-resize) {
|
|
opacity: 0.62;
|
|
transition: opacity 120ms ease;
|
|
}
|
|
.uml-class-svg-active .uml-step-element:not(.uml-step-element-active) {
|
|
opacity: 0.98 !important;
|
|
}
|
|
/* PlantUML writes colors as SVG presentation attributes. These state rules
|
|
deliberately use !important so selectable/active semantics win uniformly. */
|
|
.uml-class-svg-active text.uml-step-element-tone-a:not(.uml-step-element-active) {
|
|
fill: #174f69 !important;
|
|
}
|
|
.uml-class-svg-active text.uml-step-element-tone-b:not(.uml-step-element-active) {
|
|
fill: #586581 !important;
|
|
}
|
|
.uml-class-svg-active rect.uml-step-element-tone-a:not(.uml-step-element-active) {
|
|
fill: #eaf5f8 !important;
|
|
stroke: #3f7890 !important;
|
|
}
|
|
.uml-class-svg-active rect.uml-step-element-tone-b:not(.uml-step-element-active) {
|
|
fill: #f2eef8 !important;
|
|
stroke: #7b86a1 !important;
|
|
}
|
|
.uml-class-svg-active path.uml-step-element-tone-a:not(.uml-step-element-active),
|
|
.uml-class-svg-active line.uml-step-element-tone-a:not(.uml-step-element-active),
|
|
.uml-class-svg-active polygon.uml-step-element-tone-a:not(.uml-step-element-active) {
|
|
stroke: #3f7890 !important;
|
|
}
|
|
.uml-class-svg-active path.uml-step-element-tone-b:not(.uml-step-element-active),
|
|
.uml-class-svg-active line.uml-step-element-tone-b:not(.uml-step-element-active),
|
|
.uml-class-svg-active polygon.uml-step-element-tone-b:not(.uml-step-element-active) {
|
|
stroke: #7b86a1 !important;
|
|
}
|
|
.uml-class-svg-active .uml-step-element-active {
|
|
opacity: 1 !important;
|
|
}
|
|
.uml-class-svg-active text.uml-step-element-active {
|
|
fill: #b42318 !important;
|
|
font-weight: 700 !important;
|
|
}
|
|
.uml-class-svg-active path.uml-step-element-active,
|
|
.uml-class-svg-active line.uml-step-element-active,
|
|
.uml-class-svg-active polygon.uml-step-element-active,
|
|
.uml-class-svg-active rect.uml-step-element-active {
|
|
stroke: #bd554d !important;
|
|
stroke-width: 1.35px !important;
|
|
}
|
|
.uml-class-svg-active polygon.uml-step-element-active {
|
|
fill: #bd554d !important;
|
|
}
|
|
.uml-class-focus-region {
|
|
display: none;
|
|
}
|
|
.uml-step-canvas.is-layout-editing {
|
|
position: relative;
|
|
touch-action: none;
|
|
background-color: #fbfcfd;
|
|
background-image:
|
|
linear-gradient(#7d98a20d 1px, transparent 1px),
|
|
linear-gradient(90deg, #7d98a20d 1px, transparent 1px);
|
|
background-size: 12px 12px;
|
|
}
|
|
.uml-layout-editing .uml-step-hit,
|
|
.uml-layout-editing .uml-class-focus-region {
|
|
pointer-events: none;
|
|
}
|
|
.uml-layout-hit {
|
|
fill: #4e9ec4;
|
|
fill-opacity: 0.035;
|
|
stroke: #247a9e;
|
|
stroke-width: 1.1px;
|
|
stroke-dasharray: 5 3;
|
|
vector-effect: non-scaling-stroke;
|
|
cursor: grab;
|
|
pointer-events: all;
|
|
}
|
|
.uml-layout-hit:hover {
|
|
fill-opacity: 0.09;
|
|
stroke-width: 1.6px;
|
|
}
|
|
.uml-layout-hit.is-selected {
|
|
fill: #f7a928;
|
|
fill-opacity: 0.08;
|
|
stroke: #b66b00;
|
|
stroke-width: 1.8px;
|
|
stroke-dasharray: none;
|
|
}
|
|
.uml-layout-hit:active {
|
|
cursor: grabbing;
|
|
}
|
|
.uml-layout-resize {
|
|
fill: #fff;
|
|
stroke: #b66b00;
|
|
stroke-width: 1.5px;
|
|
vector-effect: non-scaling-stroke;
|
|
cursor: nwse-resize;
|
|
pointer-events: all;
|
|
}
|
|
.uml-layout-editor {
|
|
display: grid;
|
|
grid-template-columns: minmax(140px, .8fr) minmax(240px, 1.8fr) minmax(260px, 1.4fr);
|
|
gap: 7px 10px;
|
|
align-items: end;
|
|
padding: 8px 10px 9px;
|
|
border-top: 2px solid #b97822;
|
|
background: #f7f5f0;
|
|
color: #26343a;
|
|
text-align: left;
|
|
font: 10px/1.3 system-ui, sans-serif;
|
|
}
|
|
.uml-layout-editor-title {
|
|
grid-column: 1/-1;
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 9px;
|
|
}
|
|
.uml-layout-editor-title strong {
|
|
color: #713c00;
|
|
font: 800 11px/1.2 ui-monospace, monospace;
|
|
text-transform: uppercase;
|
|
}
|
|
.uml-layout-editor-title span {
|
|
color: #65737a;
|
|
}
|
|
.uml-layout-editor-title b {
|
|
margin-left: auto;
|
|
color: #9c2f1b;
|
|
font-size: 9px;
|
|
}
|
|
.uml-layout-editor label {
|
|
display: grid;
|
|
gap: 2px;
|
|
color: #52636b;
|
|
font: 700 8px/1.2 ui-monospace, monospace;
|
|
text-transform: uppercase;
|
|
}
|
|
.uml-layout-editor input,
|
|
.uml-layout-editor select,
|
|
.uml-layout-editor textarea {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
min-width: 0;
|
|
border: 1px solid #9ca9ae;
|
|
border-radius: 2px;
|
|
background: #fff;
|
|
color: #172126;
|
|
padding: 4px 5px;
|
|
font: 10px/1.25 ui-monospace, monospace;
|
|
text-transform: none;
|
|
}
|
|
.uml-layout-editor textarea {
|
|
resize: vertical;
|
|
line-height: 1.35;
|
|
}
|
|
.uml-layout-number-grid,
|
|
.uml-layout-style-grid {
|
|
display: grid;
|
|
gap: 5px;
|
|
}
|
|
.uml-layout-number-grid {
|
|
grid-template-columns: repeat(4, minmax(48px, 1fr));
|
|
}
|
|
.uml-layout-style-grid {
|
|
grid-template-columns: repeat(5, minmax(54px, 1fr));
|
|
}
|
|
.uml-layout-editor-text {
|
|
align-self: stretch;
|
|
}
|
|
.uml-layout-editor input[type="color"] {
|
|
min-height: 27px;
|
|
padding: 2px;
|
|
}
|
|
.uml-layout-editor-actions {
|
|
grid-column: 1/-1;
|
|
display: flex;
|
|
gap: 5px;
|
|
}
|
|
.uml-layout-editor-actions button {
|
|
border: 1px solid #87979f;
|
|
border-radius: 2px;
|
|
background: #fff;
|
|
color: #283940;
|
|
padding: 4px 8px;
|
|
cursor: pointer;
|
|
font: 700 9px/1.2 ui-monospace, monospace;
|
|
}
|
|
.uml-layout-editor-actions button.is-primary {
|
|
border-color: #287495;
|
|
background: #287495;
|
|
color: #fff;
|
|
}
|
|
.uml-layout-editor-actions button.is-danger {
|
|
margin-left: auto;
|
|
border-color: #a26156;
|
|
color: #812b1c;
|
|
}
|
|
.uml-layout-editor-actions button:disabled {
|
|
opacity: .45;
|
|
cursor: not-allowed;
|
|
}
|
|
.uml-layout-editor output {
|
|
grid-column: 1/-1;
|
|
min-height: 1.2em;
|
|
color: #52636b;
|
|
font: 9px/1.25 ui-monospace, monospace;
|
|
}
|
|
@media (max-width: 900px) {
|
|
.uml-layout-editor {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.uml-layout-editor-title,
|
|
.uml-layout-editor-actions,
|
|
.uml-layout-editor output {
|
|
grid-column: 1;
|
|
}
|
|
}
|
|
@media print {
|
|
.uml-edit-toggle,
|
|
.uml-layout-editor,
|
|
.uml-layout-hit,
|
|
.uml-layout-resize {
|
|
display: none !important;
|
|
}
|
|
}
|
|
.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;
|
|
}
|
|
.section-sheet--asset .section-heading {
|
|
align-items: baseline;
|
|
margin: 0 0 1.5mm;
|
|
}
|
|
.section-sheet--asset .section-heading .section-index {
|
|
margin-right: 4mm;
|
|
color: #68757b;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
}
|
|
.section-sheet--asset .section-heading .section-title {
|
|
color: #20282c;
|
|
font: 750 13px/1.2 system-ui, sans-serif;
|
|
}
|
|
.section-sheet--asset .card-section > p {
|
|
max-width: 110ch;
|
|
margin: 0 0 2mm;
|
|
color: #58656b;
|
|
font: 9px/1.3 system-ui, sans-serif;
|
|
}
|
|
.section-sheet--asset .card-asset {
|
|
margin-top: 2mm;
|
|
}
|
|
.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="approved"] {
|
|
background: #e7f6ed;
|
|
border-color: #18794e;
|
|
}
|
|
.lesson-progress-topbar {
|
|
display: flex;
|
|
flex: none;
|
|
align-items: center;
|
|
gap: 5px;
|
|
min-width: 0;
|
|
padding-left: 7px;
|
|
border-left: 1px solid #a9b3b8;
|
|
color: #33444c;
|
|
font: 650 10px/1.2 system-ui, sans-serif;
|
|
white-space: nowrap;
|
|
}
|
|
.lesson-progress-topbar strong {
|
|
color: #52636b;
|
|
font: 800 9px/1 ui-monospace, monospace;
|
|
letter-spacing: .05em;
|
|
}
|
|
.lesson-progress-topbar output {
|
|
min-width: 3.8ch;
|
|
border: 1px solid #91a1a8;
|
|
border-radius: 999px;
|
|
background: #fff;
|
|
padding: 2px 6px;
|
|
color: #1e566e;
|
|
text-align: center;
|
|
font: 800 9px/1 ui-monospace, monospace;
|
|
}
|
|
.lesson-progress-topbar a {
|
|
color: #245f7a;
|
|
text-decoration: none;
|
|
}
|
|
.lesson-progress-topbar a:hover,
|
|
.lesson-progress-topbar a:focus-visible {
|
|
text-decoration: underline;
|
|
}
|
|
.lesson-progress-error {
|
|
color: #9b1c1c;
|
|
font-weight: 900;
|
|
}
|
|
.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) {
|
|
.viewpoint-bar {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
.viewpoint-bar button {
|
|
min-height: 28px;
|
|
}
|
|
.card-library-toggle > span:last-child {
|
|
display: none;
|
|
}
|
|
.card-library-toggle {
|
|
gap: 4px;
|
|
padding-inline: 6px;
|
|
}
|
|
.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;
|
|
}
|
|
.allocator-panel > header {
|
|
grid-template-columns: auto 1fr;
|
|
}
|
|
.allocator-panel > header > small {
|
|
display: none;
|
|
}
|
|
.allocator-panel-body {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.allocator-metrics,
|
|
.allocator-facts {
|
|
display: none;
|
|
}
|
|
.memory-lanes {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
.memory-react > header,
|
|
.uml-react > header {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
.uml-header-first-line,
|
|
.uml-header-navigation {
|
|
width: 100%;
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
.uml-header-navigation {
|
|
gap: 4px;
|
|
}
|
|
.memory-actions {
|
|
justify-content: flex-start;
|
|
}
|
|
.uml-snapshot-layout {
|
|
display: block;
|
|
}
|
|
.uml-step-canvas {
|
|
border: 0;
|
|
}
|
|
.uml-phase-actions {
|
|
width: 100%;
|
|
justify-content: flex-end;
|
|
}
|
|
.uml-state-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.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 {
|
|
@page card-portrait {
|
|
size: A4 portrait;
|
|
margin: 0;
|
|
}
|
|
@page card-landscape {
|
|
size: A4 landscape;
|
|
margin: 0;
|
|
}
|
|
.sheet--portrait {
|
|
page: card-portrait;
|
|
}
|
|
.sheet--landscape {
|
|
page: card-landscape;
|
|
}
|
|
.paper {
|
|
display: block;
|
|
gap: 0;
|
|
}
|
|
.paper > .sheet,
|
|
.paper > .sheet > .sheet-content,
|
|
.paper > .sheet-spread > .sheet,
|
|
.paper > .sheet-spread > .sheet > .sheet-content {
|
|
height: auto;
|
|
min-height: 0;
|
|
max-height: none;
|
|
overflow: visible;
|
|
}
|
|
.sheet-spread {
|
|
display: contents !important;
|
|
}
|
|
.viewer-chrome {
|
|
display: none !important;
|
|
}
|
|
.side-panel-dock {
|
|
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-snapshot-panel,
|
|
.uml-stage,
|
|
.uml-approval,
|
|
.asset-source-link,
|
|
.lesson-progress-topbar,
|
|
.lesson-progress-control {
|
|
display: none !important;
|
|
}
|
|
.uml-page-continuation {
|
|
display: none !important;
|
|
}
|
|
}
|