@enact/moonstone
Version:
Large-screen/TV support library for Enact, containing a variety of UI components.
119 lines (118 loc) • 2.71 kB
CSS
.dialog {
position: relative;
padding: 1.75rem 1.75rem 1rem 1.75rem;
padding-left: 1.75rem;
padding-right: 1.75rem;
}
:global(.enact-locale-right-to-left) .dialog {
padding-left: 1.75rem;
padding-right: 1.75rem;
}
.dialog.showDivider .titleWrapper {
border-bottom-width: 0.125rem;
border-bottom-style: solid;
padding-bottom: 0.75rem;
margin-bottom: 0.75rem;
}
.dialog.reserveClose .body {
margin: 0;
margin-left: 0;
margin-right: 0;
}
:global(.enact-locale-right-to-left) .dialog.reserveClose .body {
margin-left: 0;
margin-right: 0;
}
.dialog .body {
margin: 0;
margin-left: 0;
margin-right: 0;
}
:global(.enact-locale-right-to-left) .dialog .body {
margin-left: 0;
margin-right: 0;
}
.dialog .closeContainer {
margin-left: 0.75rem;
margin-right: auto;
}
:global(.enact-locale-right-to-left) .dialog .closeContainer {
margin-left: auto;
margin-right: 0.75rem;
}
.dialog .title {
padding-left: 0;
padding-right: 2.125rem;
font-family: "Moonstone";
font-weight: normal;
font-size: 2.875rem;
font-style: normal;
-webkit-font-kerning: normal;
font-kerning: normal;
line-height: 1.3em;
font-size: 2rem;
font-weight: bold;
margin: 0;
}
:global(.enact-locale-right-to-left) .dialog .title {
padding-left: 2.125rem;
padding-right: 0;
}
:global(.enact-locale-non-latin) .dialog .title {
font-family: "Moonstone";
font-size: 2.375rem;
line-height: 1.5em;
}
.dialog .titleBelow {
font-weight: normal;
font-size: 1.125rem;
margin: 0;
}
.dialog .dialogBody {
font-family: "Moonstone";
font-weight: 300;
font-size: 1.25rem;
line-height: 1.5rem;
margin: 0;
position: relative;
}
:global(.enact-locale-non-latin) .dialog .dialogBody {
font-family: "Moonstone";
font-weight: 300;
font-size: 1.125rem;
line-height: 1.7em;
}
.dialog .dialogBody a:link {
color: inherit;
text-decoration: none;
}
.dialog .dialogBody a:visited {
color: inherit;
text-decoration: none;
}
.dialog .dialogBody a:hover {
color: inherit;
text-decoration: none;
}
.dialog .dialogBody a:active {
color: inherit;
text-decoration: none;
}
:global(.enact-locale-ja) .dialog .dialogBody {
line-break: strict;
}
.dialog .buttons > :last-child {
-webkit-margin-end: 0;
}
.dialog:global(.moonstone).showDivider .titleWrapper {
border-bottom-color: #505050;
}
:global(.enact-a11y-high-contrast) .dialog:global(.moonstone.highContrast).showDivider .titleWrapper {
border-bottom-color: #505050;
}
.dialog:global(.moonstone-light).showDivider .titleWrapper {
border-bottom-color: #4d4d4d;
}
:global(.enact-a11y-high-contrast) .dialog:global(.moonstone-light.highContrast).showDivider .titleWrapper {
border-bottom-color: #404040;
}