@enact/sandstone
Version:
Large-screen/TV support library for Enact, containing a variety of UI components.
729 lines (728 loc) • 28.3 kB
CSS
.input {
font-weight: normal;
font-size: 1.25rem;
font-style: normal;
font-family: "Sandstone";
line-height: 1.375rem;
padding: 0;
border: 0;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex-grow: 1;
text-indent: 0.2em;
}
:global(.enact-locale-non-latin) .input {
font-family: "Sandstone";
}
:global(.enact-locale-non-latin) .input {
font-family: "Sandstone";
font-weight: 300;
font-size: 1.125rem;
font-style: normal;
}
:global(.enact-locale-km) .input {
line-height: 1.7em;
}
:global(.enact-locale-si) .input {
line-height: 1.7em;
}
:global(.enact-locale-th) .input {
line-height: 1.7em;
}
:global(.enact-locale-vi) .input {
line-height: 1.7em;
}
.input a:link {
color: inherit;
text-decoration: none;
}
.input a:visited {
color: inherit;
text-decoration: none;
}
.input a:hover {
color: inherit;
text-decoration: none;
}
.input a:active {
color: inherit;
text-decoration: none;
}
.input[type=number] {
appearance: textfield;
}
.input[type=number]::-webkit-inner-spin-button,
.input[type=number]::-webkit-outer-spin-button {
appearance: none;
}
.input[type=number]:hover {
appearance: none;
}
.input[placeholder] {
text-overflow: ellipsis;
}
:global(.spotlight-input-key) .input:global(.spottable):focus,
:global(.spotlight-input-mouse) .input:global(.spottable):focus {
cursor: text;
}
:global(.spotlight-input-touch) .input:global(.spottable):active {
cursor: text;
}
.input[disabled] {
cursor: default;
}
:global(.enact-locale-right-to-left) .input {
text-align: right;
}
.inputField {
display: inline-flex;
position: relative;
padding: 0 0.625rem;
margin: 0 0.75rem;
box-sizing: border-box;
vertical-align: middle;
align-items: center;
}
.inputField .bg {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: 0.25rem;
}
.inputField .input,
.inputField .inputHighlight {
z-index: 1;
font-size: 1.625rem;
font-weight: 600;
}
.inputField .input,
.inputField .inputHighlight {
line-height: 3.5rem;
height: 3.5rem;
vertical-align: middle;
}
.inputField .input.passwordtel {
-webkit-text-security: disc;
}
.inputField .inputHighlight {
position: absolute;
top: 0;
height: 100%;
max-width: 15.75rem;
overflow: hidden;
letter-spacing: 0.1px;
pointer-events: none;
opacity: 0;
z-index: -1;
}
.inputField.large {
/* Defined to prevent global export */
}
.inputField.small {
height: 2.75rem;
}
.inputField.small .input {
font-size: 1.5rem;
height: 2.75rem;
line-height: 2.75rem;
}
.inputField.small .inputHighlight {
line-height: 2.75rem;
height: 2.75rem;
max-width: 14.875rem;
}
.inputField.multiline {
display: block;
padding: 0.5rem 0.75rem;
border-radius: 0.5rem;
}
.inputField:not(:global(.spottable)) .input {
pointer-events: none;
}
.inputField .tooltip {
margin-top: 0.625rem;
}
.inputField .tooltip .tooltipLabel {
font-size: 1rem;
font-weight: 600;
}
.inputField:global(.neutral) {
color: rgb(var(--sand-text-color-rgb, 230, 230, 230));
}
.inputField:global(.neutral) .bg {
opacity: 0.2;
background-color: rgb(var(--sand-focus-bg-color-rgb, 230, 230, 230));
will-change: box-shadow;
}
.inputField:global(.neutral) .input {
background: transparent;
color: inherit;
}
.inputField:global(.neutral) .input::placeholder {
font-weight: normal;
color: rgb(var(--sand-component-text-color-rgb, 230, 230, 230), 20%);
}
.inputField:global(.neutral) .input:focus-within {
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89));
}
.inputField:global(.neutral) .input:focus-within::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89), 40%);
}
.inputField:global(.neutral).invalid input {
color: #ff0000;
}
.inputField:global(.neutral) .inputHighlight {
color: transparent;
background-color: transparent;
}
.inputField:global(.neutral) .tooltip .tooltipLabel {
color: #fb5656;
}
:global(.spotlight-input-key) .inputField:global(.neutral):global(.spottable):focus,
:global(.spotlight-input-mouse) .inputField:global(.neutral):global(.spottable):focus {
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89));
}
:global(.spotlight-input-key) .inputField:global(.neutral):global(.spottable):focus .bg,
:global(.spotlight-input-mouse) .inputField: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) .inputField:global(.neutral):global(.spottable):focus .input::placeholder,
:global(.spotlight-input-mouse) .inputField:global(.neutral):global(.spottable):focus .input::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89), 40%);
}
:global(.spotlight-input-touch) .inputField:global(.neutral):global(.spottable):active {
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89));
}
:global(.spotlight-input-touch) .inputField: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) .inputField:global(.neutral):global(.spottable):active .input::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89), 40%);
}
.inputField:global(.neutral):focus-within {
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89));
}
.inputField:global(.neutral):focus-within .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%);
box-shadow: none;
}
.inputField:global(.neutral)[disabled] {
opacity: 1;
}
.inputField:global(.neutral)[disabled] .bg {
opacity: 0.585;
filter: brightness(0.28);
}
.inputField:global(.neutral)[disabled] .input {
opacity: 0.28;
color: inherit;
}
:global(.spotlight-input-key) .inputField:global(.neutral)[disabled]:global(.spottable):focus .bg,
:global(.spotlight-input-mouse) .inputField:global(.neutral)[disabled]:global(.spottable):focus .bg {
opacity: 0.585;
filter: unset;
}
:global(.spotlight-input-key) .inputField:global(.neutral)[disabled]:global(.spottable):focus .input,
:global(.spotlight-input-mouse) .inputField:global(.neutral)[disabled]:global(.spottable):focus .input {
opacity: 0.4;
}
:global(.spotlight-input-touch) .inputField:global(.neutral)[disabled]:global(.spottable):active .bg {
opacity: 0.585;
filter: unset;
}
:global(.spotlight-input-touch) .inputField:global(.neutral)[disabled]:global(.spottable):active .input {
opacity: 0.4;
}
:global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast) {
color: rgb(var(--sand-text-color-rgb, 230, 230, 230));
}
:global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast) .bg {
opacity: 0.2;
background-color: rgb(var(--sand-focus-bg-color-rgb, 230, 230, 230));
will-change: box-shadow;
}
:global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast) .input {
background: transparent;
color: inherit;
}
:global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast) .input::placeholder {
font-weight: normal;
color: rgb(var(--sand-component-text-color-rgb, 230, 230, 230), 20%);
}
:global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast) .input:focus-within {
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89));
}
:global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast) .input:focus-within::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89), 40%);
}
:global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast).invalid input {
color: #ff0000;
}
:global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast) .inputHighlight {
color: transparent;
background-color: transparent;
}
:global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast) .tooltip .tooltipLabel {
color: #fb5656;
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast):global(.spottable):focus,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast):global(.spottable):focus {
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89));
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast):global(.spottable):focus .bg,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .inputField: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) .inputField:global(.neutral):global(.highContrast):global(.spottable):focus .input::placeholder,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast):global(.spottable):focus .input::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89), 40%);
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast):global(.spottable):active {
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89));
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .inputField: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) .inputField:global(.neutral):global(.highContrast):global(.spottable):active .input::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89), 40%);
}
:global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast):focus-within {
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89));
}
:global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast):focus-within .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%);
box-shadow: none;
}
:global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast)[disabled] {
opacity: 1;
}
:global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast)[disabled] .bg {
opacity: 0.585;
filter: brightness(0.28);
}
:global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast)[disabled] .input {
opacity: 0.28;
color: inherit;
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast)[disabled]:global(.spottable):focus .bg,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast)[disabled]:global(.spottable):focus .bg {
opacity: 0.585;
filter: unset;
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast)[disabled]:global(.spottable):focus .input,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast)[disabled]:global(.spottable):focus .input {
opacity: 0.4;
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast)[disabled]:global(.spottable):active .bg {
opacity: 0.585;
filter: unset;
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .inputField:global(.neutral):global(.highContrast)[disabled]:global(.spottable):active .input {
opacity: 0.4;
}
.inputField:global(.light) {
color: rgb(var(--sand-text-color-rgb, 46, 50, 57));
}
.inputField:global(.light) .bg {
opacity: 0.2;
background-color: rgb(var(--sand-focus-bg-color-rgb, 230, 230, 230));
will-change: box-shadow;
}
.inputField:global(.light) .input {
background: transparent;
color: inherit;
}
.inputField:global(.light) .input::placeholder {
font-weight: normal;
color: rgb(var(--sand-component-text-color-rgb, 230, 230, 230), 20%);
}
.inputField:global(.light) .input:focus-within {
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89));
}
.inputField:global(.light) .input:focus-within::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89), 40%);
}
.inputField:global(.light).invalid input {
color: #ff0000;
}
.inputField:global(.light) .inputHighlight {
color: transparent;
background-color: transparent;
}
.inputField:global(.light) .tooltip .tooltipLabel {
color: #fb5656;
}
:global(.spotlight-input-key) .inputField:global(.light):global(.spottable):focus,
:global(.spotlight-input-mouse) .inputField:global(.light):global(.spottable):focus {
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89));
}
:global(.spotlight-input-key) .inputField:global(.light):global(.spottable):focus .bg,
:global(.spotlight-input-mouse) .inputField: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) .inputField:global(.light):global(.spottable):focus .input::placeholder,
:global(.spotlight-input-mouse) .inputField:global(.light):global(.spottable):focus .input::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89), 40%);
}
:global(.spotlight-input-touch) .inputField:global(.light):global(.spottable):active {
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89));
}
:global(.spotlight-input-touch) .inputField: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) .inputField:global(.light):global(.spottable):active .input::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89), 40%);
}
.inputField:global(.light):focus-within {
color: rgb(var(--sand-component-focus-text-color-rgb, 76, 80, 89));
}
.inputField:global(.light):focus-within .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%);
box-shadow: none;
}
.inputField:global(.light)[disabled] {
opacity: 1;
}
.inputField:global(.light)[disabled] .bg {
opacity: 0.585;
filter: brightness(0.28);
}
.inputField:global(.light)[disabled] .input {
opacity: 0.28;
color: inherit;
}
:global(.spotlight-input-key) .inputField:global(.light)[disabled]:global(.spottable):focus .bg,
:global(.spotlight-input-mouse) .inputField:global(.light)[disabled]:global(.spottable):focus .bg {
opacity: 0.585;
filter: unset;
}
:global(.spotlight-input-key) .inputField:global(.light)[disabled]:global(.spottable):focus .input,
:global(.spotlight-input-mouse) .inputField:global(.light)[disabled]:global(.spottable):focus .input {
opacity: 0.4;
}
:global(.spotlight-input-touch) .inputField:global(.light)[disabled]:global(.spottable):active .bg {
opacity: 0.585;
filter: unset;
}
:global(.spotlight-input-touch) .inputField:global(.light)[disabled]:global(.spottable):active .input {
opacity: 0.4;
}
.inputField:global(.game) {
color: rgb(var(--sand-text-color-rgb, 230, 230, 230));
}
.inputField:global(.game) .bg {
opacity: 0.2;
background-color: var(--sand-focus-bg-color, #6d2fa1);
will-change: box-shadow;
}
.inputField:global(.game) .input {
background: transparent;
color: inherit;
}
.inputField:global(.game) .input::placeholder {
font-weight: normal;
color: rgb(var(--sand-component-text-color-rgb, 230, 230, 230), 20%);
}
.inputField:global(.game) .input:focus-within {
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230));
}
.inputField:global(.game) .input:focus-within::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230), 40%);
}
.inputField:global(.game).invalid input {
color: #ff0000;
}
.inputField:global(.game) .inputHighlight {
color: transparent;
background-color: transparent;
}
.inputField:global(.game) .tooltip .tooltipLabel {
color: #fb5656;
}
:global(.spotlight-input-key) .inputField:global(.game):global(.spottable):focus,
:global(.spotlight-input-mouse) .inputField:global(.game):global(.spottable):focus {
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230));
}
:global(.spotlight-input-key) .inputField:global(.game):global(.spottable):focus .bg,
:global(.spotlight-input-mouse) .inputField: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) .inputField:global(.game):global(.spottable):focus .input::placeholder,
:global(.spotlight-input-mouse) .inputField:global(.game):global(.spottable):focus .input::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230), 40%);
}
:global(.spotlight-input-touch) .inputField:global(.game):global(.spottable):active {
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230));
}
:global(.spotlight-input-touch) .inputField: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) .inputField:global(.game):global(.spottable):active .input::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230), 40%);
}
.inputField:global(.game):focus-within {
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230));
}
.inputField:global(.game):focus-within .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%);
box-shadow: none;
}
.inputField:global(.game)[disabled] {
opacity: 1;
}
.inputField:global(.game)[disabled] .bg {
opacity: 0.585;
filter: brightness(0.28);
}
.inputField:global(.game)[disabled] .input {
opacity: 0.28;
color: inherit;
}
:global(.spotlight-input-key) .inputField:global(.game)[disabled]:global(.spottable):focus .bg,
:global(.spotlight-input-mouse) .inputField:global(.game)[disabled]:global(.spottable):focus .bg {
opacity: 0.585;
filter: unset;
}
:global(.spotlight-input-key) .inputField:global(.game)[disabled]:global(.spottable):focus .input,
:global(.spotlight-input-mouse) .inputField:global(.game)[disabled]:global(.spottable):focus .input {
opacity: 0.4;
}
:global(.spotlight-input-touch) .inputField:global(.game)[disabled]:global(.spottable):active .bg {
opacity: 0.585;
filter: unset;
}
:global(.spotlight-input-touch) .inputField:global(.game)[disabled]:global(.spottable):active .input {
opacity: 0.4;
}
:global(.green) .inputField:global(.game) {
color: rgb(var(--sand-text-color-rgb, 230, 230, 230));
}
:global(.green) .inputField:global(.game) .bg {
opacity: 0.2;
background-color: var(--sand-focus-bg-color, #3ea07d);
will-change: box-shadow;
}
:global(.green) .inputField:global(.game) .input {
background: transparent;
color: inherit;
}
:global(.green) .inputField:global(.game) .input::placeholder {
font-weight: normal;
color: rgb(var(--sand-component-text-color-rgb, 230, 230, 230), 20%);
}
:global(.green) .inputField:global(.game) .input:focus-within {
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230));
}
:global(.green) .inputField:global(.game) .input:focus-within::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230), 40%);
}
:global(.green) .inputField:global(.game).invalid input {
color: #ff0000;
}
:global(.green) .inputField:global(.game) .inputHighlight {
color: transparent;
background-color: transparent;
}
:global(.green) .inputField:global(.game) .tooltip .tooltipLabel {
color: #fb5656;
}
:global(.spotlight-input-key) :global(.green) .inputField:global(.game):global(.spottable):focus,
:global(.spotlight-input-mouse) :global(.green) .inputField:global(.game):global(.spottable):focus {
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230));
}
:global(.spotlight-input-key) :global(.green) .inputField:global(.game):global(.spottable):focus .bg,
:global(.spotlight-input-mouse) :global(.green) .inputField: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) .inputField:global(.game):global(.spottable):focus .input::placeholder,
:global(.spotlight-input-mouse) :global(.green) .inputField:global(.game):global(.spottable):focus .input::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230), 40%);
}
:global(.spotlight-input-touch) :global(.green) .inputField:global(.game):global(.spottable):active {
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230));
}
:global(.spotlight-input-touch) :global(.green) .inputField: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) .inputField:global(.game):global(.spottable):active .input::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230), 40%);
}
:global(.green) .inputField:global(.game):focus-within {
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230));
}
:global(.green) .inputField:global(.game):focus-within .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%);
box-shadow: none;
}
:global(.green) .inputField:global(.game)[disabled] {
opacity: 1;
}
:global(.green) .inputField:global(.game)[disabled] .bg {
opacity: 0.585;
filter: brightness(0.28);
}
:global(.green) .inputField:global(.game)[disabled] .input {
opacity: 0.28;
color: inherit;
}
:global(.spotlight-input-key) :global(.green) .inputField:global(.game)[disabled]:global(.spottable):focus .bg,
:global(.spotlight-input-mouse) :global(.green) .inputField:global(.game)[disabled]:global(.spottable):focus .bg {
opacity: 0.585;
filter: unset;
}
:global(.spotlight-input-key) :global(.green) .inputField:global(.game)[disabled]:global(.spottable):focus .input,
:global(.spotlight-input-mouse) :global(.green) .inputField:global(.game)[disabled]:global(.spottable):focus .input {
opacity: 0.4;
}
:global(.spotlight-input-touch) :global(.green) .inputField:global(.game)[disabled]:global(.spottable):active .bg {
opacity: 0.585;
filter: unset;
}
:global(.spotlight-input-touch) :global(.green) .inputField:global(.game)[disabled]:global(.spottable):active .input {
opacity: 0.4;
}
:global(.orange) .inputField:global(.game) {
color: rgb(var(--sand-text-color-rgb, 230, 230, 230));
}
:global(.orange) .inputField:global(.game) .bg {
opacity: 0.2;
background-color: var(--sand-focus-bg-color, #b85f23);
will-change: box-shadow;
}
:global(.orange) .inputField:global(.game) .input {
background: transparent;
color: inherit;
}
:global(.orange) .inputField:global(.game) .input::placeholder {
font-weight: normal;
color: rgb(var(--sand-component-text-color-rgb, 230, 230, 230), 20%);
}
:global(.orange) .inputField:global(.game) .input:focus-within {
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230));
}
:global(.orange) .inputField:global(.game) .input:focus-within::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230), 40%);
}
:global(.orange) .inputField:global(.game).invalid input {
color: #ff0000;
}
:global(.orange) .inputField:global(.game) .inputHighlight {
color: transparent;
background-color: transparent;
}
:global(.orange) .inputField:global(.game) .tooltip .tooltipLabel {
color: #fb5656;
}
:global(.spotlight-input-key) :global(.orange) .inputField:global(.game):global(.spottable):focus,
:global(.spotlight-input-mouse) :global(.orange) .inputField:global(.game):global(.spottable):focus {
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230));
}
:global(.spotlight-input-key) :global(.orange) .inputField:global(.game):global(.spottable):focus .bg,
:global(.spotlight-input-mouse) :global(.orange) .inputField: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) .inputField:global(.game):global(.spottable):focus .input::placeholder,
:global(.spotlight-input-mouse) :global(.orange) .inputField:global(.game):global(.spottable):focus .input::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230), 40%);
}
:global(.spotlight-input-touch) :global(.orange) .inputField:global(.game):global(.spottable):active {
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230));
}
:global(.spotlight-input-touch) :global(.orange) .inputField: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) .inputField:global(.game):global(.spottable):active .input::placeholder {
font-weight: 600;
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230), 40%);
}
:global(.orange) .inputField:global(.game):focus-within {
color: rgb(var(--sand-component-focus-text-color-rgb, 230, 230, 230));
}
:global(.orange) .inputField:global(.game):focus-within .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%);
box-shadow: none;
}
:global(.orange) .inputField:global(.game)[disabled] {
opacity: 1;
}
:global(.orange) .inputField:global(.game)[disabled] .bg {
opacity: 0.585;
filter: brightness(0.28);
}
:global(.orange) .inputField:global(.game)[disabled] .input {
opacity: 0.28;
color: inherit;
}
:global(.spotlight-input-key) :global(.orange) .inputField:global(.game)[disabled]:global(.spottable):focus .bg,
:global(.spotlight-input-mouse) :global(.orange) .inputField:global(.game)[disabled]:global(.spottable):focus .bg {
opacity: 0.585;
filter: unset;
}
:global(.spotlight-input-key) :global(.orange) .inputField:global(.game)[disabled]:global(.spottable):focus .input,
:global(.spotlight-input-mouse) :global(.orange) .inputField:global(.game)[disabled]:global(.spottable):focus .input {
opacity: 0.4;
}
:global(.spotlight-input-touch) :global(.orange) .inputField:global(.game)[disabled]:global(.spottable):active .bg {
opacity: 0.585;
filter: unset;
}
:global(.spotlight-input-touch) :global(.orange) .inputField:global(.game)[disabled]:global(.spottable):active .input {
opacity: 0.4;
}