UNPKG

@enact/sandstone

Version:

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

102 lines (101 loc) 2.5 kB
.titleFrame { --infoComponentsOffset: 0; position: relative; flex-grow: 1; opacity: 1; margin-left: 0; margin-right: 1rem; } :global(.enact-locale-right-to-left) .titleFrame { margin-left: 1rem; margin-right: 0; } .titleFrame.hidden { transition: opacity 1000ms ease-in-out; opacity: 0; } .titleFrame .title { position: absolute; bottom: -0.20833rem; width: 100%; font-family: "Sandstone"; font-weight: normal; font-size: 1.625rem; line-height: 1.375rem; line-height: 1.3em; transition: transform 500ms ease-in-out; font-kerning: normal; } :global(.enact-locale-non-latin) .titleFrame .title { font-family: "Sandstone"; font-weight: normal; } :global(.enact-locale-km) .titleFrame .title { line-height: 1.7em; } :global(.enact-locale-si) .titleFrame .title { line-height: 1.7em; } :global(.enact-locale-th) .titleFrame .title { line-height: 1.7em; } :global(.enact-locale-vi) .titleFrame .title { line-height: 1.7em; } .titleFrame .title.infoVisible { transform: translateY(calc(var(--infoComponentsOffset) * -1)) translateZ(0); } :global(.enact-locale-km) .titleFrame .title { bottom: 0; } :global(.enact-locale-si) .titleFrame .title { bottom: 0; } :global(.enact-locale-th) .titleFrame .title { bottom: 0; } :global(.enact-locale-vi) .titleFrame .title { bottom: 0; } .titleFrame .infoComponents { vertical-align: super; font-size: 1.125rem; } .titleFrame .infoComponents.hidden { opacity: 0; } .titleFrame .infoComponents.visible { transition: opacity 500ms ease-in-out; } .titleFrame .infoComponents > * { display: inline-block; margin: 0 0.25rem; } .titleFrame .infoComponents .badgeTextIcon { font-family: "Sandstone"; font-size: 1rem; text-align: center; white-space: nowrap; display: inline-block; } .titleFrame .infoComponents .fontLgIcons { font-family: "LG Icons"; } .titleFrame:global(.neutral) .titleFrame { color: var(--sand-focus-text-color, #ffffff); } :global(.enact-a11y-high-contrast) .titleFrame:global(.neutral):global(.highContrast) .titleFrame { color: var(--sand-focus-text-color, #ffffff); } .titleFrame:global(.light) .titleFrame { color: var(--sand-focus-text-color, #575e66); } .titleFrame:global(.game) .titleFrame { color: var(--sand-focus-text-color, #ffffff); } :global(.green) .titleFrame:global(.game) .titleFrame { color: var(--sand-focus-text-color, #ffffff); } :global(.orange) .titleFrame:global(.game) .titleFrame { color: var(--sand-focus-text-color, #ffffff); }