loopable / web /src /styles /sdlc73 /sheet.css
fsanyoto's picture
Deploy AIOS web (React glide grid + FastAPI slice)
f03fdf0 verified
Raw History Blame Contribute Delete
6.15 kB
/* Both glyphs use the same scale so their regular strokes stay equal. */
.sheet-ribbon-icon.sheet-paste-icon {
position: relative;
display: inline-block;
flex-shrink: 0;
width: 20px;
height: 20px;
}
.sheet-paste-icon > .sheet-paste-glyph {
position: absolute;
width: 75%;
height: 75%;
fill: currentColor;
stroke: none;
}
.sheet-paste-clipboard {
top: 0;
left: 0;
}
.sheet-paste-badge {
right: 0;
bottom: 0;
background: var(--sheet-paste-badge-bg, var(--lp-surface));
}
.sheet-cell-menu-paste-row .sheet-cell-menu-paste {
width: 32px;
height: 32px;
font: inherit;
}
.sheet-cell-menu-paste-row .sheet-paste-icon,
.sheet-ribbon .sheet-ribbon-group .sheet-ribbon-large .sheet-paste-icon {
width: 24px;
height: 24px;
}
.sheet-cell-menu-paste-row .sheet-cell-menu-paste:disabled {
--sheet-paste-badge-bg: var(--lp-surface-2);
background: var(--lp-surface-2);
color: var(--lp-muted);
opacity: 1;
cursor: not-allowed;
}
.sheet-cell-menu-paste:hover:not(:disabled),
.sheet-cell-menu-paste:focus-visible,
.sheet-cell-menu-item:hover:not(:disabled),
.sheet-cell-menu-item:focus-visible {
--sheet-paste-badge-bg: var(--lp-blue-tint);
}
.sheet-cell-menu-paste-row .sheet-cell-menu-paste:focus-visible {
outline: 2px solid var(--lp-blue-deep);
outline-offset: 1px;
}
.sheet-ribbon-btn:hover:not(:disabled) {
--sheet-paste-badge-bg: var(--lp-line);
}
.sheet-tab-line {
display: flex;
flex: 0 0 auto;
align-items: stretch;
min-width: 0;
background: var(--lp-surface);
border-top: 1px solid var(--lp-line);
}
.sheet-tab-line > .sheet-tab-strip {
flex: 1 1 0;
min-width: 0;
border-top: 0;
overflow-x: auto;
}
.sheet-tab-status {
display: flex;
flex: 0 0 auto;
align-items: center;
gap: 12px;
min-width: 0;
max-width: 60%;
padding: 0 12px;
background: var(--lp-surface);
}
.sheet-refresh-history-trigger {
appearance: none;
flex: 0 0 auto;
border: 0;
background: transparent;
color: var(--lp-muted);
font: inherit;
font-size: var(--lp-fs-2xs);
padding: 8px 0;
cursor: pointer;
white-space: nowrap;
}
.sheet-refresh-history-trigger:focus-visible {
outline: 2px solid var(--lp-blue-deep);
outline-offset: 2px;
}
.sheet-refresh-history-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.sheet-refresh-history button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.sheet-refresh-last-good {
color: var(--lp-muted);
font-size: var(--lp-fs-xs);
}
.sheet-tab-status:empty {
display: none;
}
.sheet-catch-up {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 0;
color: var(--lp-muted);
font-size: var(--lp-fs-2xs);
white-space: nowrap;
}
.sheet-catch-up-track {
display: block;
width: 80px;
height: 4px;
overflow: hidden;
border-radius: var(--lp-r-sm);
background: var(--lp-line);
}
.sheet-catch-up-fill {
display: block;
width: 100%;
height: 100%;
background: var(--lp-blue-deep);
transform-origin: left;
transition: transform var(--lp-motion-feedback-duration) var(--lp-motion-feedback-easing);
}
.sheet-catch-up-count {
font-variant-numeric: tabular-nums;
}
.sheet-catch-up-behind {
padding: 8px 0;
color: var(--lp-muted);
font-size: var(--lp-fs-2xs);
white-space: nowrap;
}
.sheet-last-edit {
appearance: none;
border: 0;
background: transparent;
font: inherit;
color: var(--lp-muted);
font-size: var(--lp-fs-2xs);
cursor: pointer;
padding: 8px 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.sheet-last-edit:focus-visible {
outline: 2px solid var(--lp-blue-deep);
outline-offset: 2px;
}
.sheet-activity-scrim {
justify-content: flex-end;
padding: 0;
}
.sheet-activity-panel.lp-dialog {
display: flex;
flex-direction: column;
width: min(400px, 100vw);
max-height: 100%;
height: 100%;
border-radius: 0;
animation: sheet-activity-enter var(--lp-motion-feedback-duration) var(--lp-motion-feedback-easing);
}
.sheet-activity-body {
overflow-y: auto;
min-height: 0;
}
.sheet-activity-list {
list-style: none;
margin: 0;
padding: 0;
}
.sheet-activity-write {
display: flex;
flex-direction: column;
gap: 4px;
padding: 12px 0;
border-bottom: 1px solid var(--lp-line);
font-size: var(--lp-fs-xs);
overflow-wrap: anywhere;
}
.sheet-activity-detail {
font-size: var(--lp-fs-2xs);
color: var(--lp-muted);
}
@keyframes sheet-activity-enter {
from { transform: translateX(12px); opacity: 0; }
to { transform: translateX(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
.sheet-catch-up-fill {
transition: none;
}
.sheet-activity-panel.lp-dialog {
animation: none;
}
}
.sheet-export-review {
width: min(320px, calc(100vw - 32px));
}
.sheet-export-losses {
padding: 8px 12px;
color: var(--lp-muted);
font-size: var(--lp-fs-xs);
line-height: 1.5;
overflow-wrap: anywhere;
}
.sheet-export-losses strong {
color: var(--lp-ink);
font-weight: var(--lp-fw-semibold);
}
.sheet-export-losses ul {
margin: 8px 0 0;
padding-left: 16px;
}
.sheet-export-losses li + li {
margin-top: 4px;
}
.sheet-workbook-checks-trigger {
border: 0;
background: transparent;
font: inherit;
color: var(--lp-muted);
font-size: var(--lp-fs-2xs);
padding: 4px 8px;
cursor: pointer;
white-space: nowrap;
}
.sheet-workbook-checks [data-check-state="failed"] strong {
color: var(--lp-red-d);
}
.sheet-workbook-check-form {
display: grid;
gap: 12px;
margin-top: 16px;
font-size: var(--lp-fs-xs);
}
.sheet-workbook-check-form label {
display: grid;
gap: 4px;
}
.sheet-workbook-check-form input,
.sheet-workbook-check-form select {
width: 100%;
min-height: 32px;
border: 1px solid var(--lp-line);
border-radius: var(--lp-r-sm);
background: var(--lp-panel);
color: var(--lp-ink);
font: inherit;
padding: 4px 8px;
}
.sheet-workbook-check-form :focus-visible,
.sheet-workbook-checks-trigger:focus-visible {
outline: 2px solid var(--lp-blue-d);
outline-offset: 2px;
}
.sheet-workbook-check-form button:disabled {
opacity: 0.5;
cursor: not-allowed;
}