@enact/moonstone
Version:
Large-screen/TV support library for Enact, containing a variety of UI components.
695 lines (694 loc) • 32.6 kB
CSS
.input {
font-family: "Moonstone";
font-weight: 300;
font-size: 1.25rem;
line-height: 1.5rem;
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: "Moonstone";
font-weight: 300;
font-size: 1.125rem;
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] {
-moz-appearance: textfield;
}
.input[type=number]::-webkit-inner-spin-button,
.input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
}
.input[type=number]:hover {
-moz-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;
}
.decorator {
display: inline-flex;
position: relative;
padding: 0 0.625rem;
border-radius: 0.125rem;
margin: 0 0.375rem;
box-sizing: border-box;
vertical-align: middle;
}
.decorator .input,
.decorator .inputHighlight {
font-size: 1.625rem;
font-weight: 600;
}
.decorator .input,
.decorator .inputHighlight,
.decorator .iconBefore,
.decorator .iconAfter {
line-height: 3.5rem;
height: 3.5rem;
vertical-align: middle;
}
.decorator .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;
}
.decorator.small {
height: 2.5rem;
}
.decorator.small .iconBefore,
.decorator.small .iconAfter {
line-height: 2.5rem;
height: 2.5rem;
}
.decorator.small .input {
font-size: 1.5rem;
height: 2.5rem;
line-height: 2.5rem;
}
.decorator.small .inputHighlight {
line-height: 2.5rem;
height: 2.5rem;
max-width: 14.875rem;
}
.decorator .iconBefore,
.decorator .iconAfter {
flex: 0 0;
}
.decorator .iconAfter {
padding-left: 0.625rem;
padding-right: 0;
}
:global(.enact-locale-right-to-left) .decorator .iconAfter {
padding-left: 0;
padding-right: 0.625rem;
}
.decorator .iconBefore {
padding-left: 0;
padding-right: 0.625rem;
}
:global(.enact-locale-right-to-left) .decorator .iconBefore {
padding-left: 0.625rem;
padding-right: 0;
}
.decorator.multiline {
display: block;
padding: 0.5rem 0.75rem;
border-radius: 0.5rem;
}
.decorator:not(:global(.spottable)) .input {
pointer-events: none;
}
.decorator .decoratorIcon,
.decorator:global(.spottable):focus .decoratorIcon {
width: auto;
margin: 0;
}
.decorator:global(.moonstone) {
background-color: #aaa;
color: #000;
}
.decorator:global(.moonstone) .input {
background: transparent;
color: inherit;
}
.decorator:global(.moonstone) .input::-webkit-input-placeholder {
opacity: 0.5;
filter: alpha(opacity=50);
color: #fff;
}
.decorator:global(.moonstone) .input::-moz-placeholder {
opacity: 0.5;
filter: alpha(opacity=50);
color: #fff;
}
.decorator:global(.moonstone) .input:focus-within {
color: #000;
}
.decorator:global(.moonstone) .input:focus-within::-webkit-input-placeholder {
color: #aaa;
}
.decorator:global(.moonstone) .input:focus-within::-moz-placeholder {
color: #aaa;
}
.decorator:global(.moonstone).invalid input {
color: #f00;
}
.decorator:global(.moonstone) .inputHighlight {
color: transparent;
background-color: transparent;
}
:global(.spotlight-input-key) .decorator:global(.moonstone):global(.spottable):focus,
:global(.spotlight-input-mouse) .decorator:global(.moonstone):global(.spottable):focus {
background-color: #fff;
color: #000;
box-shadow: 0 0 0 0.125rem #cf0652;
}
:global(.spotlight-input-key) .decorator:global(.moonstone):global(.spottable):focus .input::-webkit-input-placeholder,
:global(.spotlight-input-mouse) .decorator:global(.moonstone):global(.spottable):focus .input::-webkit-input-placeholder {
color: #aaa;
}
:global(.spotlight-input-key) .decorator:global(.moonstone):global(.spottable):focus .input::-moz-placeholder,
:global(.spotlight-input-mouse) .decorator:global(.moonstone):global(.spottable):focus .input::-moz-placeholder {
color: #aaa;
}
:global(.spotlight-input-touch) .decorator:global(.moonstone):global(.spottable):active {
background-color: #fff;
color: #000;
box-shadow: 0 0 0 0.125rem #cf0652;
}
:global(.spotlight-input-touch) .decorator:global(.moonstone):global(.spottable):active .input::-webkit-input-placeholder {
color: #aaa;
}
:global(.spotlight-input-touch) .decorator:global(.moonstone):global(.spottable):active .input::-moz-placeholder {
color: #aaa;
}
.decorator:global(.moonstone):focus-within {
background-color: #fff;
}
.decorator:global(.moonstone)[disabled] {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.spotlight-input-key) .decorator:global(.moonstone)[disabled]:global(.spottable):focus,
:global(.spotlight-input-mouse) .decorator:global(.moonstone)[disabled]:global(.spottable):focus {
background-color: rgba(255, 255, 255, 0.4);
}
:global(.spotlight-input-key) .decorator:global(.moonstone)[disabled]:global(.spottable):focus .input,
:global(.spotlight-input-mouse) .decorator:global(.moonstone)[disabled]:global(.spottable):focus .input,
:global(.spotlight-input-key) .decorator:global(.moonstone)[disabled]:global(.spottable):focus .decoratorIcon,
:global(.spotlight-input-mouse) .decorator:global(.moonstone)[disabled]:global(.spottable):focus .decoratorIcon {
opacity: 1;
filter: alpha(opacity=100);
color: rgba(0, 0, 0, 0.4);
}
:global(.spotlight-input-key) .decorator:global(.moonstone)[disabled]:global(.spottable):focus .input::-webkit-input-placeholder,
:global(.spotlight-input-mouse) .decorator:global(.moonstone)[disabled]:global(.spottable):focus .input::-webkit-input-placeholder,
:global(.spotlight-input-key) .decorator:global(.moonstone)[disabled]:global(.spottable):focus .decoratorIcon::-webkit-input-placeholder,
:global(.spotlight-input-mouse) .decorator:global(.moonstone)[disabled]:global(.spottable):focus .decoratorIcon::-webkit-input-placeholder {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.spotlight-input-key) .decorator:global(.moonstone)[disabled]:global(.spottable):focus .input::-moz-placeholder,
:global(.spotlight-input-mouse) .decorator:global(.moonstone)[disabled]:global(.spottable):focus .input::-moz-placeholder,
:global(.spotlight-input-key) .decorator:global(.moonstone)[disabled]:global(.spottable):focus .decoratorIcon::-moz-placeholder,
:global(.spotlight-input-mouse) .decorator:global(.moonstone)[disabled]:global(.spottable):focus .decoratorIcon::-moz-placeholder {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.spotlight-input-touch) .decorator:global(.moonstone)[disabled]:global(.spottable):active {
background-color: rgba(255, 255, 255, 0.4);
}
:global(.spotlight-input-touch) .decorator:global(.moonstone)[disabled]:global(.spottable):active .input,
:global(.spotlight-input-touch) .decorator:global(.moonstone)[disabled]:global(.spottable):active .decoratorIcon {
opacity: 1;
filter: alpha(opacity=100);
color: rgba(0, 0, 0, 0.4);
}
:global(.spotlight-input-touch) .decorator:global(.moonstone)[disabled]:global(.spottable):active .input::-webkit-input-placeholder,
:global(.spotlight-input-touch) .decorator:global(.moonstone)[disabled]:global(.spottable):active .decoratorIcon::-webkit-input-placeholder {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.spotlight-input-touch) .decorator:global(.moonstone)[disabled]:global(.spottable):active .input::-moz-placeholder,
:global(.spotlight-input-touch) .decorator:global(.moonstone)[disabled]:global(.spottable):active .decoratorIcon::-moz-placeholder {
opacity: 0.4;
filter: alpha(opacity=40);
}
.decorator:global(.moonstone)[disabled] .input,
.decorator:global(.moonstone)[disabled] .decoratorIcon {
opacity: 0.4;
filter: alpha(opacity=40);
color: inherit;
}
.decorator:global(.moonstone)[disabled] .input::-webkit-input-placeholder {
opacity: 1;
filter: alpha(opacity=100);
color: #fff;
}
.decorator:global(.moonstone)[disabled] .input::-moz-placeholder {
opacity: 1;
filter: alpha(opacity=100);
color: #fff;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast) {
background-color: #aaa;
color: #000;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast) .input {
background: transparent;
color: inherit;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast) .input::-webkit-input-placeholder {
opacity: 0.5;
filter: alpha(opacity=50);
color: #fff;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast) .input::-moz-placeholder {
opacity: 0.5;
filter: alpha(opacity=50);
color: #fff;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast) .input:focus-within {
color: #000;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast) .input:focus-within::-webkit-input-placeholder {
color: #aaa;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast) .input:focus-within::-moz-placeholder {
color: #aaa;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast).invalid input {
color: #f00;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast) .inputHighlight {
color: transparent;
background-color: transparent;
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast):global(.spottable):focus,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast):global(.spottable):focus {
background-color: #fff;
color: #000;
box-shadow: 0rem 0rem 0rem 0.25rem #ccc;
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast):global(.spottable):focus .input::-webkit-input-placeholder,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast):global(.spottable):focus .input::-webkit-input-placeholder {
color: #aaa;
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast):global(.spottable):focus .input::-moz-placeholder,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast):global(.spottable):focus .input::-moz-placeholder {
color: #aaa;
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast):global(.spottable):active {
background-color: #fff;
color: #000;
box-shadow: 0rem 0rem 0rem 0.25rem #ccc;
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast):global(.spottable):active .input::-webkit-input-placeholder {
color: #aaa;
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast):global(.spottable):active .input::-moz-placeholder {
color: #aaa;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast):focus-within {
background-color: #fff;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled] {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):focus,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):focus {
background-color: rgba(255, 255, 255, 0.4);
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):focus .input,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):focus .input,
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):focus .decoratorIcon,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):focus .decoratorIcon {
opacity: 1;
filter: alpha(opacity=100);
color: rgba(0, 0, 0, 0.4);
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):focus .input::-webkit-input-placeholder,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):focus .input::-webkit-input-placeholder,
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):focus .decoratorIcon::-webkit-input-placeholder,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):focus .decoratorIcon::-webkit-input-placeholder {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):focus .input::-moz-placeholder,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):focus .input::-moz-placeholder,
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):focus .decoratorIcon::-moz-placeholder,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):focus .decoratorIcon::-moz-placeholder {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):active {
background-color: rgba(255, 255, 255, 0.4);
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):active .input,
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):active .decoratorIcon {
opacity: 1;
filter: alpha(opacity=100);
color: rgba(0, 0, 0, 0.4);
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):active .input::-webkit-input-placeholder,
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):active .decoratorIcon::-webkit-input-placeholder {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):active .input::-moz-placeholder,
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled]:global(.spottable):active .decoratorIcon::-moz-placeholder {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled] .input,
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled] .decoratorIcon {
opacity: 0.4;
filter: alpha(opacity=40);
color: inherit;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled] .input::-webkit-input-placeholder {
opacity: 1;
filter: alpha(opacity=100);
color: #fff;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone.highContrast)[disabled] .input::-moz-placeholder {
opacity: 1;
filter: alpha(opacity=100);
color: #fff;
}
.decorator:global(.moonstone-light) {
background-color: #aaa;
color: #000;
}
.decorator:global(.moonstone-light) .input {
background: transparent;
color: inherit;
}
.decorator:global(.moonstone-light) .input::-webkit-input-placeholder {
opacity: 0.5;
filter: alpha(opacity=50);
color: #fff;
}
.decorator:global(.moonstone-light) .input::-moz-placeholder {
opacity: 0.5;
filter: alpha(opacity=50);
color: #fff;
}
.decorator:global(.moonstone-light) .input:focus-within {
color: #000;
}
.decorator:global(.moonstone-light) .input:focus-within::-webkit-input-placeholder {
color: #aaa;
}
.decorator:global(.moonstone-light) .input:focus-within::-moz-placeholder {
color: #aaa;
}
.decorator:global(.moonstone-light).invalid input {
color: #f00;
}
.decorator:global(.moonstone-light) .inputHighlight {
color: transparent;
background-color: transparent;
}
:global(.spotlight-input-key) .decorator:global(.moonstone-light):global(.spottable):focus,
:global(.spotlight-input-mouse) .decorator:global(.moonstone-light):global(.spottable):focus {
background-color: #fff;
color: #000;
box-shadow: 0 0 0 0.125rem #cf0652;
}
:global(.spotlight-input-key) .decorator:global(.moonstone-light):global(.spottable):focus .input::-webkit-input-placeholder,
:global(.spotlight-input-mouse) .decorator:global(.moonstone-light):global(.spottable):focus .input::-webkit-input-placeholder {
color: #aaa;
}
:global(.spotlight-input-key) .decorator:global(.moonstone-light):global(.spottable):focus .input::-moz-placeholder,
:global(.spotlight-input-mouse) .decorator:global(.moonstone-light):global(.spottable):focus .input::-moz-placeholder {
color: #aaa;
}
:global(.spotlight-input-touch) .decorator:global(.moonstone-light):global(.spottable):active {
background-color: #fff;
color: #000;
box-shadow: 0 0 0 0.125rem #cf0652;
}
:global(.spotlight-input-touch) .decorator:global(.moonstone-light):global(.spottable):active .input::-webkit-input-placeholder {
color: #aaa;
}
:global(.spotlight-input-touch) .decorator:global(.moonstone-light):global(.spottable):active .input::-moz-placeholder {
color: #aaa;
}
.decorator:global(.moonstone-light):focus-within {
background-color: #fff;
}
.decorator:global(.moonstone-light)[disabled] {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.spotlight-input-key) .decorator:global(.moonstone-light)[disabled]:global(.spottable):focus,
:global(.spotlight-input-mouse) .decorator:global(.moonstone-light)[disabled]:global(.spottable):focus {
background-color: rgba(170, 170, 170, 0.4);
}
:global(.spotlight-input-key) .decorator:global(.moonstone-light)[disabled]:global(.spottable):focus .input,
:global(.spotlight-input-mouse) .decorator:global(.moonstone-light)[disabled]:global(.spottable):focus .input,
:global(.spotlight-input-key) .decorator:global(.moonstone-light)[disabled]:global(.spottable):focus .decoratorIcon,
:global(.spotlight-input-mouse) .decorator:global(.moonstone-light)[disabled]:global(.spottable):focus .decoratorIcon {
opacity: 1;
filter: alpha(opacity=100);
color: rgba(0, 0, 0, 0.4);
}
:global(.spotlight-input-key) .decorator:global(.moonstone-light)[disabled]:global(.spottable):focus .input::-webkit-input-placeholder,
:global(.spotlight-input-mouse) .decorator:global(.moonstone-light)[disabled]:global(.spottable):focus .input::-webkit-input-placeholder,
:global(.spotlight-input-key) .decorator:global(.moonstone-light)[disabled]:global(.spottable):focus .decoratorIcon::-webkit-input-placeholder,
:global(.spotlight-input-mouse) .decorator:global(.moonstone-light)[disabled]:global(.spottable):focus .decoratorIcon::-webkit-input-placeholder {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.spotlight-input-key) .decorator:global(.moonstone-light)[disabled]:global(.spottable):focus .input::-moz-placeholder,
:global(.spotlight-input-mouse) .decorator:global(.moonstone-light)[disabled]:global(.spottable):focus .input::-moz-placeholder,
:global(.spotlight-input-key) .decorator:global(.moonstone-light)[disabled]:global(.spottable):focus .decoratorIcon::-moz-placeholder,
:global(.spotlight-input-mouse) .decorator:global(.moonstone-light)[disabled]:global(.spottable):focus .decoratorIcon::-moz-placeholder {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.spotlight-input-touch) .decorator:global(.moonstone-light)[disabled]:global(.spottable):active {
background-color: rgba(170, 170, 170, 0.4);
}
:global(.spotlight-input-touch) .decorator:global(.moonstone-light)[disabled]:global(.spottable):active .input,
:global(.spotlight-input-touch) .decorator:global(.moonstone-light)[disabled]:global(.spottable):active .decoratorIcon {
opacity: 1;
filter: alpha(opacity=100);
color: rgba(0, 0, 0, 0.4);
}
:global(.spotlight-input-touch) .decorator:global(.moonstone-light)[disabled]:global(.spottable):active .input::-webkit-input-placeholder,
:global(.spotlight-input-touch) .decorator:global(.moonstone-light)[disabled]:global(.spottable):active .decoratorIcon::-webkit-input-placeholder {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.spotlight-input-touch) .decorator:global(.moonstone-light)[disabled]:global(.spottable):active .input::-moz-placeholder,
:global(.spotlight-input-touch) .decorator:global(.moonstone-light)[disabled]:global(.spottable):active .decoratorIcon::-moz-placeholder {
opacity: 0.4;
filter: alpha(opacity=40);
}
.decorator:global(.moonstone-light)[disabled] .input,
.decorator:global(.moonstone-light)[disabled] .decoratorIcon {
opacity: 0.4;
filter: alpha(opacity=40);
color: inherit;
}
.decorator:global(.moonstone-light)[disabled] .input::-webkit-input-placeholder {
opacity: 1;
filter: alpha(opacity=100);
color: #fff;
}
.decorator:global(.moonstone-light)[disabled] .input::-moz-placeholder {
opacity: 1;
filter: alpha(opacity=100);
color: #fff;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast) {
background-color: #aaa;
color: #000;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast) .input {
background: transparent;
color: inherit;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast) .input::-webkit-input-placeholder {
opacity: 0.5;
filter: alpha(opacity=50);
color: #fff;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast) .input::-moz-placeholder {
opacity: 0.5;
filter: alpha(opacity=50);
color: #fff;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast) .input:focus-within {
color: #000;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast) .input:focus-within::-webkit-input-placeholder {
color: #aaa;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast) .input:focus-within::-moz-placeholder {
color: #aaa;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast).invalid input {
color: #f00;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast) .inputHighlight {
color: transparent;
background-color: transparent;
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast):global(.spottable):focus,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast):global(.spottable):focus {
background-color: #fff;
color: #000;
box-shadow: 0rem 0rem 0rem 0.25rem #000;
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast):global(.spottable):focus .input::-webkit-input-placeholder,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast):global(.spottable):focus .input::-webkit-input-placeholder {
color: #aaa;
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast):global(.spottable):focus .input::-moz-placeholder,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast):global(.spottable):focus .input::-moz-placeholder {
color: #aaa;
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast):global(.spottable):active {
background-color: #fff;
color: #000;
box-shadow: 0rem 0rem 0rem 0.25rem #000;
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast):global(.spottable):active .input::-webkit-input-placeholder {
color: #aaa;
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast):global(.spottable):active .input::-moz-placeholder {
color: #aaa;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast):focus-within {
background-color: #fff;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled] {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):focus,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):focus {
background-color: rgba(170, 170, 170, 0.4);
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):focus .input,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):focus .input,
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):focus .decoratorIcon,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):focus .decoratorIcon {
opacity: 1;
filter: alpha(opacity=100);
color: rgba(0, 0, 0, 0.4);
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):focus .input::-webkit-input-placeholder,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):focus .input::-webkit-input-placeholder,
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):focus .decoratorIcon::-webkit-input-placeholder,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):focus .decoratorIcon::-webkit-input-placeholder {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):focus .input::-moz-placeholder,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):focus .input::-moz-placeholder,
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):focus .decoratorIcon::-moz-placeholder,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):focus .decoratorIcon::-moz-placeholder {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):active {
background-color: rgba(170, 170, 170, 0.4);
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):active .input,
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):active .decoratorIcon {
opacity: 1;
filter: alpha(opacity=100);
color: rgba(0, 0, 0, 0.4);
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):active .input::-webkit-input-placeholder,
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):active .decoratorIcon::-webkit-input-placeholder {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):active .input::-moz-placeholder,
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled]:global(.spottable):active .decoratorIcon::-moz-placeholder {
opacity: 0.4;
filter: alpha(opacity=40);
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled] .input,
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled] .decoratorIcon {
opacity: 0.4;
filter: alpha(opacity=40);
color: inherit;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled] .input::-webkit-input-placeholder {
opacity: 1;
filter: alpha(opacity=100);
color: #fff;
}
:global(.enact-a11y-high-contrast) .decorator:global(.moonstone-light.highContrast)[disabled] .input::-moz-placeholder {
opacity: 1;
filter: alpha(opacity=100);
color: #fff;
}
.invalidTooltip {
top: 50%;
left: auto;
right: 0;
pointer-events: none;
transform: translate(100%, -100%) translateX(0.125rem);
}
:global(.enact-locale-right-to-left) .invalidTooltip {
left: 0;
right: auto;
transform: translate(-100%, -100%) translateX(-0.125rem);
}
:global(.spotlight-input-key) [data-spotlight-container-muted="true"] .decorator:global(.moonstone):global(.spottable):focus,
:global(.spotlight-input-mouse) [data-spotlight-container-muted="true"] .decorator:global(.moonstone):global(.spottable):focus {
background-color: #aaa;
}
:global(.spotlight-input-touch) [data-spotlight-container-muted="true"] .decorator:global(.moonstone):global(.spottable):active {
background-color: #aaa;
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) [data-spotlight-container-muted="true"] .decorator:global(.moonstone.highContrast):global(.spottable):focus,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) [data-spotlight-container-muted="true"] .decorator:global(.moonstone.highContrast):global(.spottable):focus {
background-color: #aaa;
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) [data-spotlight-container-muted="true"] .decorator:global(.moonstone.highContrast):global(.spottable):active {
background-color: #aaa;
}
:global(.spotlight-input-key) [data-spotlight-container-muted="true"] .decorator:global(.moonstone-light):global(.spottable):focus,
:global(.spotlight-input-mouse) [data-spotlight-container-muted="true"] .decorator:global(.moonstone-light):global(.spottable):focus {
background-color: #aaa;
}
:global(.spotlight-input-touch) [data-spotlight-container-muted="true"] .decorator:global(.moonstone-light):global(.spottable):active {
background-color: #aaa;
}
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) [data-spotlight-container-muted="true"] .decorator:global(.moonstone-light.highContrast):global(.spottable):focus,
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) [data-spotlight-container-muted="true"] .decorator:global(.moonstone-light.highContrast):global(.spottable):focus {
background-color: #aaa;
}
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) [data-spotlight-container-muted="true"] .decorator:global(.moonstone-light.highContrast):global(.spottable):active {
background-color: #aaa;
}