@enact/sandstone
Version:
Large-screen/TV support library for Enact, containing a variety of UI components.
82 lines (81 loc) • 1.71 kB
CSS
.bodyText {
font-weight: normal;
font-size: 1.25rem;
font-style: normal;
font-family: "Sandstone";
line-height: 1.375rem;
margin: 0 0.75rem 1.25rem 0.75rem;
padding: 0;
white-space: normal;
}
:global(.enact-locale-non-latin) .bodyText {
font-family: "Sandstone";
}
:global(.enact-locale-non-latin) .bodyText {
font-family: "Sandstone";
font-weight: 300;
font-size: 1.125rem;
font-style: normal;
}
:global(.enact-locale-km) .bodyText {
line-height: 1.7em;
}
:global(.enact-locale-si) .bodyText {
line-height: 1.7em;
}
:global(.enact-locale-th) .bodyText {
line-height: 1.7em;
}
:global(.enact-locale-vi) .bodyText {
line-height: 1.7em;
}
.bodyText a:link {
color: inherit;
text-decoration: none;
}
.bodyText a:visited {
color: inherit;
text-decoration: none;
}
.bodyText a:hover {
color: inherit;
text-decoration: none;
}
.bodyText a:active {
color: inherit;
text-decoration: none;
}
.bodyText.large {
/* Needed to prevent global class being added in the DOM */
}
.bodyText.small {
font-size: 1.125rem;
}
:global(.enact-locale-km) .bodyText.small {
font-size: 1rem;
}
:global(.enact-locale-si) .bodyText.small {
font-size: 1rem;
}
:global(.enact-locale-th) .bodyText.small {
font-size: 1rem;
}
:global(.enact-locale-vi) .bodyText.small {
font-size: 1rem;
}
:global(.enact-locale-non-latin) .bodyText.small {
font-size: 1rem;
}
:global(.enact-locale-right-to-left) .bodyText {
text-align: right;
}
:global(.enact-locale-right-to-left) .bodyText.centered {
text-align: center;
}
.bodyText.noWrap {
/* Support for single-line, provided for extensibility */
white-space: nowrap;
}
:global(.enact-locale-ja) .bodyText {
line-break: strict;
}