@enact/sandstone
Version:
Large-screen/TV support library for Enact, containing a variety of UI components.
34 lines (33 loc) • 582 B
CSS
.panel {
position: relative;
height: 100%;
width: 100%;
overflow: hidden;
padding: 0;
box-sizing: border-box;
display: inline-flex;
flex-direction: column;
vertical-align: top;
white-space: initial;
}
.panel .body {
position: relative;
padding: 0 2.375rem;
flex: 1;
min-height: 0;
opacity: 0;
transition: opacity 200ms ease-out;
will-change: opacity;
}
.panel .body.noHeader {
padding-top: 0;
}
.panel .body.visible {
opacity: 1;
}
.panel:global(.enact-fit) {
height: auto;
}
:global(.enact-locale-right-to-left) .panel {
direction: rtl;
}