office-ui-fabric-react
Version: 
Reusable React components for building experiences for Office 365.
31 lines • 908 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getStyles = function (props) {
    var className = props.className, theme = props.theme, isNotHost = props.isNotHost;
    // const { palette, semanticColors } = theme;
    return ({
        root: [
            'ms-Layer',
            isNotHost && [
                'ms-Layer--fixed',
                {
                    position: 'fixed',
                    zIndex: 1000000,
                    top: 0,
                    left: 0,
                    width: '100vw',
                    height: '100vh',
                    visibility: 'hidden'
                }
            ],
            className
        ],
        content: [
            'ms-Layer-content',
            {
                visibility: 'visible'
            }
        ]
    });
};
//# sourceMappingURL=Layer.styles.js.map