@enact/moonstone
Version:
Large-screen/TV support library for Enact, containing a variety of UI components.
39 lines (38 loc) • 1.03 kB
CSS
.slotItem .marquee {
flex: 1 1 auto;
}
.slotItem .slot {
line-height: 0;
white-space: nowrap;
}
.slotItem .slot.before > *,
.slotItem .slot.after > * {
margin-top: 0;
margin-bottom: 0;
vertical-align: middle;
}
.slotItem .slot.after > :first-child {
-webkit-margin-start: 0.5rem;
}
.slotItem .slot.after > :last-child {
-webkit-margin-end: 0;
}
.slotItem .slot.before > :first-child {
-webkit-margin-start: 0;
}
.slotItem .slot.before > :last-child {
-webkit-margin-end: 0.5rem;
}
.slotItem:global(.spottable):not(:focus) .slot.hidden {
display: none;
}
.slotItem[disabled] .slot.hidden {
display: none;
}
:global(.spotlight-input-key) [data-spotlight-container-muted="true"] .slotItem:global(.spottable):focus .slot.hidden,
:global(.spotlight-input-mouse) [data-spotlight-container-muted="true"] .slotItem:global(.spottable):focus .slot.hidden {
display: none;
}
:global(.spotlight-input-touch) [data-spotlight-container-muted="true"] .slotItem:global(.spottable):active .slot.hidden {
display: none;
}