UNPKG

@enact/sandstone

Version:

Large-screen/TV support library for Enact, containing a variety of UI components.

637 lines (636 loc) 29.6 kB
.switch { display: inline-block; position: relative; } .switch .client { border-radius: 20rem; width: 2.375rem; height: 1.25rem; position: relative; text-align: left; cursor: default; } .switch .icon { visibility: visible; left: 0; width: 1.25rem; height: inherit; font-size: 1.75rem; line-height: 1.25rem; margin: 0; vertical-align: top; } .switch.selected .icon { left: 1.125rem; } .switch.animated .client { transition: background-color 200ms; } .switch.animated .icon { transition: left 200ms, color 200ms; } .switch:global(.spottable) { margin: 0.375rem 1.375rem; } .switch:global(.spottable) .bg { position: absolute; top: -0.375rem; right: -0.625rem; bottom: -0.375rem; left: -0.625rem; z-index: -1; } .switch:global(.neutral) .client { background-color: var(--sand-toggle-off-bg-color, #777777); } .switch:global(.neutral) .icon { background-color: transparent; color: var(--sand-toggle-off-color, #aeaeae); } .switch:global(.neutral).selected .client { background-color: var(--sand-toggle-on-bg-color, #30ad6b); } .switch:global(.neutral).selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } .switch:global(.neutral)[disabled].selected .client { background-color: var(--sand-toggle-off-bg-color, #777777); } .switch:global(.neutral)[disabled].selected .icon { color: var(--sand-toggle-off-color, #aeaeae); } .switch:global(.neutral):global(.spottable)::before { content: ""; position: absolute; top: -1.125rem; right: -1.125rem; bottom: -1.125rem; left: -1.125rem; border-radius: 0.25rem; } .switch:global(.neutral):global(.spottable) .bg { border-radius: 0.25rem; will-change: box-shadow, box-shadow; opacity: 0; background-color: rgb(var(--sand-focus-bg-color-rgb, 230, 230, 230)); } :global(.spotlight-input-key) .switch:global(.neutral):global(.spottable):focus .bg, :global(.spotlight-input-mouse) .switch:global(.neutral):global(.spottable):focus .bg { opacity: 1; background-color: rgb(var(--sand-focus-bg-color-rgb, 230, 230, 230)); box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%); } :global(.spotlight-input-key) .switch:global(.neutral):global(.spottable):focus .icon, :global(.spotlight-input-mouse) .switch:global(.neutral):global(.spottable):focus .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-key) .switch:global(.neutral):global(.spottable):focus.selected .icon, :global(.spotlight-input-mouse) .switch:global(.neutral):global(.spottable):focus.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.spotlight-input-touch) .switch:global(.neutral):global(.spottable):active .bg { opacity: 1; background-color: rgb(var(--sand-focus-bg-color-rgb, 230, 230, 230)); box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%); } :global(.spotlight-input-touch) .switch:global(.neutral):global(.spottable):active .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-touch) .switch:global(.neutral):global(.spottable):active.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } .switch:global(.neutral)[disabled] { opacity: 1; } .switch:global(.neutral)[disabled] .client { opacity: 0.28; } :global(.spotlight-input-key) .switch:global(.neutral)[disabled]:global(.spottable):focus .bg, :global(.spotlight-input-mouse) .switch:global(.neutral)[disabled]:global(.spottable):focus .bg { opacity: 0.585; } :global(.spotlight-input-key) .switch:global(.neutral)[disabled]:global(.spottable):focus .client, :global(.spotlight-input-mouse) .switch:global(.neutral)[disabled]:global(.spottable):focus .client { opacity: 0.4; } :global(.spotlight-input-touch) .switch:global(.neutral)[disabled]:global(.spottable):active .bg { opacity: 0.585; } :global(.spotlight-input-touch) .switch:global(.neutral)[disabled]:global(.spottable):active .client { opacity: 0.4; } :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast) .client { background-color: var(--sand-toggle-off-bg-color, #777777); } :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast) .icon { background-color: transparent; color: var(--sand-toggle-off-color, #aeaeae); } :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast).selected .client { background-color: var(--sand-toggle-on-bg-color, #30ad6b); } :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast).selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast)[disabled].selected .client { background-color: var(--sand-toggle-off-bg-color, #777777); } :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast)[disabled].selected .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast):global(.spottable)::before { content: ""; position: absolute; top: -1.125rem; right: -1.125rem; bottom: -1.125rem; left: -1.125rem; border-radius: 0.25rem; } :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast):global(.spottable) .bg { border-radius: 0.25rem; will-change: box-shadow, box-shadow; opacity: 0; background-color: rgb(var(--sand-focus-bg-color-rgb, 230, 230, 230)); } :global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast):global(.spottable):focus .bg, :global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast):global(.spottable):focus .bg { opacity: 1; background-color: rgb(var(--sand-focus-bg-color-rgb, 230, 230, 230)); box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%); } :global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast):global(.spottable):focus .icon, :global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast):global(.spottable):focus .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast):global(.spottable):focus.selected .icon, :global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast):global(.spottable):focus.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast):global(.spottable):active .bg { opacity: 1; background-color: rgb(var(--sand-focus-bg-color-rgb, 230, 230, 230)); box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%); } :global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast):global(.spottable):active .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast):global(.spottable):active.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast)[disabled] { opacity: 1; } :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast)[disabled] .client { opacity: 0.28; } :global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast)[disabled]:global(.spottable):focus .bg, :global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast)[disabled]:global(.spottable):focus .bg { opacity: 0.585; } :global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast)[disabled]:global(.spottable):focus .client, :global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast)[disabled]:global(.spottable):focus .client { opacity: 0.4; } :global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast)[disabled]:global(.spottable):active .bg { opacity: 0.585; } :global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .switch:global(.neutral):global(.highContrast)[disabled]:global(.spottable):active .client { opacity: 0.4; } .switch:global(.light) .client { background-color: var(--sand-toggle-off-bg-color, #777777); } .switch:global(.light) .icon { background-color: transparent; color: var(--sand-toggle-off-color, #aeaeae); } .switch:global(.light).selected .client { background-color: var(--sand-toggle-on-bg-color, #30ad6b); } .switch:global(.light).selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } .switch:global(.light)[disabled].selected .client { background-color: var(--sand-toggle-off-bg-color, #777777); } .switch:global(.light)[disabled].selected .icon { color: var(--sand-toggle-off-color, #aeaeae); } .switch:global(.light):global(.spottable)::before { content: ""; position: absolute; top: -1.125rem; right: -1.125rem; bottom: -1.125rem; left: -1.125rem; border-radius: 0.25rem; } .switch:global(.light):global(.spottable) .bg { border-radius: 0.25rem; will-change: box-shadow, box-shadow; opacity: 0; background-color: rgb(var(--sand-focus-bg-color-rgb, 230, 230, 230)); } :global(.spotlight-input-key) .switch:global(.light):global(.spottable):focus .bg, :global(.spotlight-input-mouse) .switch:global(.light):global(.spottable):focus .bg { opacity: 1; background-color: rgb(var(--sand-focus-bg-color-rgb, 230, 230, 230)); box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%); } :global(.spotlight-input-key) .switch:global(.light):global(.spottable):focus .icon, :global(.spotlight-input-mouse) .switch:global(.light):global(.spottable):focus .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-key) .switch:global(.light):global(.spottable):focus.selected .icon, :global(.spotlight-input-mouse) .switch:global(.light):global(.spottable):focus.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.spotlight-input-touch) .switch:global(.light):global(.spottable):active .bg { opacity: 1; background-color: rgb(var(--sand-focus-bg-color-rgb, 230, 230, 230)); box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%); } :global(.spotlight-input-touch) .switch:global(.light):global(.spottable):active .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-touch) .switch:global(.light):global(.spottable):active.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } .switch:global(.light)[disabled] { opacity: 1; } .switch:global(.light)[disabled] .client { opacity: 0.28; } :global(.spotlight-input-key) .switch:global(.light)[disabled]:global(.spottable):focus .bg, :global(.spotlight-input-mouse) .switch:global(.light)[disabled]:global(.spottable):focus .bg { opacity: 0.585; } :global(.spotlight-input-key) .switch:global(.light)[disabled]:global(.spottable):focus .client, :global(.spotlight-input-mouse) .switch:global(.light)[disabled]:global(.spottable):focus .client { opacity: 0.4; } :global(.spotlight-input-touch) .switch:global(.light)[disabled]:global(.spottable):active .bg { opacity: 0.585; } :global(.spotlight-input-touch) .switch:global(.light)[disabled]:global(.spottable):active .client { opacity: 0.4; } .switch:global(.game) .client { background-color: var(--sand-toggle-off-bg-color, #777777); } .switch:global(.game) .icon { background-color: transparent; color: var(--sand-toggle-off-color, #aeaeae); } .switch:global(.game).selected .client { background-color: var(--sand-toggle-on-bg-color, #30ad6b); } .switch:global(.game).selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } .switch:global(.game)[disabled].selected .client { background-color: var(--sand-toggle-off-bg-color, #777777); } .switch:global(.game)[disabled].selected .icon { color: var(--sand-toggle-off-color, #aeaeae); } .switch:global(.game):global(.spottable)::before { content: ""; position: absolute; top: -1.125rem; right: -1.125rem; bottom: -1.125rem; left: -1.125rem; border-radius: 0; } .switch:global(.game):global(.spottable) .bg { border-radius: 0.25rem; will-change: box-shadow, box-shadow; opacity: 0; background-color: var(--sand-focus-bg-color, #6d2fa1); } :global(.spotlight-input-key) .switch:global(.game):global(.spottable):focus .bg, :global(.spotlight-input-mouse) .switch:global(.game):global(.spottable):focus .bg { opacity: 1; background-color: var(--sand-focus-bg-color, #6d2fa1); box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%); } :global(.spotlight-input-key) .switch:global(.game):global(.spottable):focus .icon, :global(.spotlight-input-mouse) .switch:global(.game):global(.spottable):focus .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-key) .switch:global(.game):global(.spottable):focus.selected .icon, :global(.spotlight-input-mouse) .switch:global(.game):global(.spottable):focus.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.spotlight-input-touch) .switch:global(.game):global(.spottable):active .bg { opacity: 1; background-color: var(--sand-focus-bg-color, #6d2fa1); box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%); } :global(.spotlight-input-touch) .switch:global(.game):global(.spottable):active .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-touch) .switch:global(.game):global(.spottable):active.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } .switch:global(.game)[disabled] { opacity: 1; } .switch:global(.game)[disabled] .client { opacity: 0.28; } :global(.spotlight-input-key) .switch:global(.game)[disabled]:global(.spottable):focus .bg, :global(.spotlight-input-mouse) .switch:global(.game)[disabled]:global(.spottable):focus .bg { opacity: 0.585; } :global(.spotlight-input-key) .switch:global(.game)[disabled]:global(.spottable):focus .client, :global(.spotlight-input-mouse) .switch:global(.game)[disabled]:global(.spottable):focus .client { opacity: 0.4; } :global(.spotlight-input-touch) .switch:global(.game)[disabled]:global(.spottable):active .bg { opacity: 0.585; } :global(.spotlight-input-touch) .switch:global(.game)[disabled]:global(.spottable):active .client { opacity: 0.4; } :global(.green) .switch:global(.game) .client { background-color: var(--sand-toggle-off-bg-color, #777777); } :global(.green) .switch:global(.game) .icon { background-color: transparent; color: var(--sand-toggle-off-color, #aeaeae); } :global(.green) .switch:global(.game).selected .client { background-color: var(--sand-toggle-on-bg-color, #30ad6b); } :global(.green) .switch:global(.game).selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.green) .switch:global(.game)[disabled].selected .client { background-color: var(--sand-toggle-off-bg-color, #777777); } :global(.green) .switch:global(.game)[disabled].selected .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.green) .switch:global(.game):global(.spottable)::before { content: ""; position: absolute; top: -1.125rem; right: -1.125rem; bottom: -1.125rem; left: -1.125rem; border-radius: 0; } :global(.green) .switch:global(.game):global(.spottable) .bg { border-radius: 0.25rem; will-change: box-shadow, box-shadow; opacity: 0; background-color: var(--sand-focus-bg-color, #3ea07d); } :global(.spotlight-input-key) :global(.green) .switch:global(.game):global(.spottable):focus .bg, :global(.spotlight-input-mouse) :global(.green) .switch:global(.game):global(.spottable):focus .bg { opacity: 1; background-color: var(--sand-focus-bg-color, #3ea07d); box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%); } :global(.spotlight-input-key) :global(.green) .switch:global(.game):global(.spottable):focus .icon, :global(.spotlight-input-mouse) :global(.green) .switch:global(.game):global(.spottable):focus .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-key) :global(.green) .switch:global(.game):global(.spottable):focus.selected .icon, :global(.spotlight-input-mouse) :global(.green) .switch:global(.game):global(.spottable):focus.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.spotlight-input-touch) :global(.green) .switch:global(.game):global(.spottable):active .bg { opacity: 1; background-color: var(--sand-focus-bg-color, #3ea07d); box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%); } :global(.spotlight-input-touch) :global(.green) .switch:global(.game):global(.spottable):active .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-touch) :global(.green) .switch:global(.game):global(.spottable):active.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.green) .switch:global(.game)[disabled] { opacity: 1; } :global(.green) .switch:global(.game)[disabled] .client { opacity: 0.28; } :global(.spotlight-input-key) :global(.green) .switch:global(.game)[disabled]:global(.spottable):focus .bg, :global(.spotlight-input-mouse) :global(.green) .switch:global(.game)[disabled]:global(.spottable):focus .bg { opacity: 0.585; } :global(.spotlight-input-key) :global(.green) .switch:global(.game)[disabled]:global(.spottable):focus .client, :global(.spotlight-input-mouse) :global(.green) .switch:global(.game)[disabled]:global(.spottable):focus .client { opacity: 0.4; } :global(.spotlight-input-touch) :global(.green) .switch:global(.game)[disabled]:global(.spottable):active .bg { opacity: 0.585; } :global(.spotlight-input-touch) :global(.green) .switch:global(.game)[disabled]:global(.spottable):active .client { opacity: 0.4; } :global(.orange) .switch:global(.game) .client { background-color: var(--sand-toggle-off-bg-color, #777777); } :global(.orange) .switch:global(.game) .icon { background-color: transparent; color: var(--sand-toggle-off-color, #aeaeae); } :global(.orange) .switch:global(.game).selected .client { background-color: var(--sand-toggle-on-bg-color, #30ad6b); } :global(.orange) .switch:global(.game).selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.orange) .switch:global(.game)[disabled].selected .client { background-color: var(--sand-toggle-off-bg-color, #777777); } :global(.orange) .switch:global(.game)[disabled].selected .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.orange) .switch:global(.game):global(.spottable)::before { content: ""; position: absolute; top: -1.125rem; right: -1.125rem; bottom: -1.125rem; left: -1.125rem; border-radius: 0; } :global(.orange) .switch:global(.game):global(.spottable) .bg { border-radius: 0.25rem; will-change: box-shadow, box-shadow; opacity: 0; background-color: var(--sand-focus-bg-color, #b85f23); } :global(.spotlight-input-key) :global(.orange) .switch:global(.game):global(.spottable):focus .bg, :global(.spotlight-input-mouse) :global(.orange) .switch:global(.game):global(.spottable):focus .bg { opacity: 1; background-color: var(--sand-focus-bg-color, #b85f23); box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%); } :global(.spotlight-input-key) :global(.orange) .switch:global(.game):global(.spottable):focus .icon, :global(.spotlight-input-mouse) :global(.orange) .switch:global(.game):global(.spottable):focus .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-key) :global(.orange) .switch:global(.game):global(.spottable):focus.selected .icon, :global(.spotlight-input-mouse) :global(.orange) .switch:global(.game):global(.spottable):focus.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.spotlight-input-touch) :global(.orange) .switch:global(.game):global(.spottable):active .bg { opacity: 1; background-color: var(--sand-focus-bg-color, #b85f23); box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%); } :global(.spotlight-input-touch) :global(.orange) .switch:global(.game):global(.spottable):active .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-touch) :global(.orange) .switch:global(.game):global(.spottable):active.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.orange) .switch:global(.game)[disabled] { opacity: 1; } :global(.orange) .switch:global(.game)[disabled] .client { opacity: 0.28; } :global(.spotlight-input-key) :global(.orange) .switch:global(.game)[disabled]:global(.spottable):focus .bg, :global(.spotlight-input-mouse) :global(.orange) .switch:global(.game)[disabled]:global(.spottable):focus .bg { opacity: 0.585; } :global(.spotlight-input-key) :global(.orange) .switch:global(.game)[disabled]:global(.spottable):focus .client, :global(.spotlight-input-mouse) :global(.orange) .switch:global(.game)[disabled]:global(.spottable):focus .client { opacity: 0.4; } :global(.spotlight-input-touch) :global(.orange) .switch:global(.game)[disabled]:global(.spottable):active .bg { opacity: 0.585; } :global(.spotlight-input-touch) :global(.orange) .switch:global(.game)[disabled]:global(.spottable):active .client { opacity: 0.4; } :global(.spotlight-input-key) :global(.neutral) :global(.spottable):focus .switch .icon, :global(.spotlight-input-mouse) :global(.neutral) :global(.spottable):focus .switch .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-key) :global(.neutral) :global(.spottable):focus .switch.selected .icon, :global(.spotlight-input-mouse) :global(.neutral) :global(.spottable):focus .switch.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.spotlight-input-touch) :global(.neutral) :global(.spottable):active .switch .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-touch) :global(.neutral) :global(.spottable):active .switch.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.spotlight-input-key) :global(.enact-a11y-high-contrast) :global(.neutral):global(.highContrast) :global(.spottable):focus .switch .icon, :global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) :global(.neutral):global(.highContrast) :global(.spottable):focus .switch .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-key) :global(.enact-a11y-high-contrast) :global(.neutral):global(.highContrast) :global(.spottable):focus .switch.selected .icon, :global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) :global(.neutral):global(.highContrast) :global(.spottable):focus .switch.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) :global(.neutral):global(.highContrast) :global(.spottable):active .switch .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) :global(.neutral):global(.highContrast) :global(.spottable):active .switch.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.spotlight-input-key) :global(.light) :global(.spottable):focus .switch .icon, :global(.spotlight-input-mouse) :global(.light) :global(.spottable):focus .switch .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-key) :global(.light) :global(.spottable):focus .switch.selected .icon, :global(.spotlight-input-mouse) :global(.light) :global(.spottable):focus .switch.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.spotlight-input-touch) :global(.light) :global(.spottable):active .switch .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-touch) :global(.light) :global(.spottable):active .switch.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.spotlight-input-key) :global(.game) :global(.spottable):focus .switch .icon, :global(.spotlight-input-mouse) :global(.game) :global(.spottable):focus .switch .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-key) :global(.game) :global(.spottable):focus .switch.selected .icon, :global(.spotlight-input-mouse) :global(.game) :global(.spottable):focus .switch.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.spotlight-input-touch) :global(.game) :global(.spottable):active .switch .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-touch) :global(.game) :global(.spottable):active .switch.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.spotlight-input-key) :global(.green) :global(.game) :global(.spottable):focus .switch .icon, :global(.spotlight-input-mouse) :global(.green) :global(.game) :global(.spottable):focus .switch .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-key) :global(.green) :global(.game) :global(.spottable):focus .switch.selected .icon, :global(.spotlight-input-mouse) :global(.green) :global(.game) :global(.spottable):focus .switch.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.spotlight-input-touch) :global(.green) :global(.game) :global(.spottable):active .switch .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-touch) :global(.green) :global(.game) :global(.spottable):active .switch.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.spotlight-input-key) :global(.orange) :global(.game) :global(.spottable):focus .switch .icon, :global(.spotlight-input-mouse) :global(.orange) :global(.game) :global(.spottable):focus .switch .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-key) :global(.orange) :global(.game) :global(.spottable):focus .switch.selected .icon, :global(.spotlight-input-mouse) :global(.orange) :global(.game) :global(.spottable):focus .switch.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.spotlight-input-touch) :global(.orange) :global(.game) :global(.spottable):active .switch .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.spotlight-input-touch) :global(.orange) :global(.game) :global(.spottable):active .switch.selected .icon { color: var(--sand-toggle-on-color, rgb(var(--sand-selected-color-rgb, 230, 230, 230))); } :global(.neutral)[disabled] .switch.selected .client { background-color: var(--sand-toggle-off-bg-color, #777777); } :global(.neutral)[disabled] .switch.selected .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.enact-a11y-high-contrast) :global(.neutral):global(.highContrast)[disabled] .switch.selected .client { background-color: var(--sand-toggle-off-bg-color, #777777); } :global(.enact-a11y-high-contrast) :global(.neutral):global(.highContrast)[disabled] .switch.selected .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.light)[disabled] .switch.selected .client { background-color: var(--sand-toggle-off-bg-color, #777777); } :global(.light)[disabled] .switch.selected .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.game)[disabled] .switch.selected .client { background-color: var(--sand-toggle-off-bg-color, #777777); } :global(.game)[disabled] .switch.selected .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.green) :global(.game)[disabled] .switch.selected .client { background-color: var(--sand-toggle-off-bg-color, #777777); } :global(.green) :global(.game)[disabled] .switch.selected .icon { color: var(--sand-toggle-off-color, #aeaeae); } :global(.orange) :global(.game)[disabled] .switch.selected .client { background-color: var(--sand-toggle-off-bg-color, #777777); } :global(.orange) :global(.game)[disabled] .switch.selected .icon { color: var(--sand-toggle-off-color, #aeaeae); }