UNPKG

@enact/sandstone

Version:

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

79 lines (78 loc) 1.89 kB
.colorPicker { align-items: center; justify-content: space-between; } .colorPicker .colorsRow { width: 10.875rem; padding-top: 0.1875rem; } .colorPicker .coloredButton { border-radius: 1.5rem; border: 1px solid #ffffff; height: 2.5rem; margin-left: 0; min-width: 2.5rem; padding: 0; transform: none; } :global(.spotlight-input-key) .colorPicker .coloredButton:global(.spottable):focus, :global(.spotlight-input-mouse) .colorPicker .coloredButton:global(.spottable):focus { transform: scale(1.1); } :global(.spotlight-input-touch) .colorPicker .coloredButton:global(.spottable):active { transform: scale(1.1); } .colorPicker .coloredButton[disabled] { opacity: 0.28; } .colorPicker .coloredDiv, .colorPicker .coloredInput { border-radius: 0.5rem; } .colorPicker .coloredDiv { display: block; height: 1.6875rem; border: 1px solid #ffffff; } .colorPicker .coloredDiv.button, .colorPicker .coloredDiv.focusExpand { margin: 0.5rem; } :global(.spotlight-input-key) .colorPicker .coloredDiv:global(.spottable):focus, :global(.spotlight-input-mouse) .colorPicker .coloredDiv:global(.spottable):focus { transform: scale(1.1); } :global(.spotlight-input-touch) .colorPicker .coloredDiv:global(.spottable):active { transform: scale(1.1); } .colorPicker .coloredInput { opacity: 0; } .colorPicker .coloredInput:hover { cursor: pointer; } .colorPopup { height: max-content; } .colorPopup .colorPopupHeader { font-size: 1.375rem; text-transform: capitalize; margin: 0 0 0 0.3125rem; } .colorPopup .closeButton.button, .colorPopup .closeButton.focusExpand { margin: 0; } .colorPopup .closeButton .icon { font-size: 1rem; } .colorPopup .colorPickerSliders { padding: 0.9375rem 0; } .colorPopup .colorPickerSliders .colorSlider { margin: 0 0.5625rem; } .colorPopup .colorPickerSliders .colorSliderText { font-size: 1.125rem; margin: 0 0.5rem; }