l0qp1n5qr: Give the disabled sparkle button a solid readable face
This commit is contained in:
@@ -490,3 +490,20 @@
|
||||
.btn-spark:focus-visible .btn-spark-hex { fill: var(--on-accent); }
|
||||
.btn-gloss::after { display: none; }
|
||||
}
|
||||
|
||||
/* Sparkle glow, disabled: a solid readable face, no glow, no sparks, no fade. */
|
||||
.btn-spark:disabled {
|
||||
opacity: 1;
|
||||
cursor: not-allowed;
|
||||
background: var(--tile-3);
|
||||
color: var(--ink-2);
|
||||
box-shadow: inset 0 0 0 1px var(--line-2);
|
||||
transform: none;
|
||||
}
|
||||
.btn-spark:disabled .btn-spark-inner,
|
||||
.btn-spark:disabled .btn-spark-hex { color: var(--ink-2); }
|
||||
.btn-spark:disabled .btn-spark-hex { stroke: var(--ink-2); animation: none; }
|
||||
.btn-spark:disabled::before,
|
||||
.btn-spark:disabled::after,
|
||||
.btn-spark:disabled .btn-spark-fold,
|
||||
.btn-spark:disabled .btn-spark-pts { display: none; }
|
||||
|
||||
Reference in New Issue
Block a user