File size: 1,858 Bytes
aa1490a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | /* S68-T26: sibling of Format Cells; the kit shell owns appear and reduced motion. */
.lp-dialog:has(.sheet-paste-special) {
width: min(600px, calc(100vw - 32px));
}
.lp-dialog-body:has(.sheet-paste-special) {
color: var(--lp-ink);
}
/* The body footer has Excel's Paste Link, OK and Cancel, including independent disabling. */
.lp-dialog:has(.sheet-paste-special) > .lp-dialog-actions {
display: none;
}
.sheet-paste-special {
display: flex;
flex-direction: column;
gap: 12px;
margin-top: 8px;
font-size: var(--lp-fs-sm);
}
.sheet-paste-special-group {
border: 0;
margin: 0;
padding: 0;
min-width: 0;
}
.sheet-paste-special-group legend {
padding: 0 0 8px;
font-weight: 600;
color: var(--lp-ink);
}
.sheet-paste-special-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
gap: 8px 16px;
}
/* Excel's Operation group fills by column: None, Add, Subtract, then Multiply, Divide. */
.sheet-paste-special-grid.is-operation {
grid-auto-flow: column;
grid-template-rows: repeat(3, auto);
}
.sheet-paste-special-option {
display: flex;
align-items: flex-start;
gap: 8px;
min-width: 0;
cursor: pointer;
line-height: var(--lp-lh);
}
.sheet-paste-special-option input {
flex: none;
margin: 3px 0 0;
accent-color: var(--lp-primary);
}
.sheet-paste-special-option input:focus-visible {
outline: 2px solid var(--lp-primary);
outline-offset: 2px;
}
.sheet-paste-special-reason {
margin: 0;
min-height: 2lh;
font-size: var(--lp-fs-2xs);
line-height: var(--lp-lh);
color: var(--lp-muted);
}
.sheet-paste-special-actions,
.sheet-paste-special-confirm {
display: flex;
align-items: center;
gap: 8px;
}
.sheet-paste-special-actions {
justify-content: space-between;
}
.sheet-paste-special-actions button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
|