Files
starface-outlook-sync-addin/node_modules/@fluentui/react/lib-amd/components/Layer/Layer.styles.js
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

41 lines
1.3 KiB
JavaScript

define(["require", "exports", "../../Styling"], function (require, exports, Styling_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getStyles = void 0;
var GlobalClassNames = {
root: 'ms-Layer',
rootNoHost: 'ms-Layer--fixed',
content: 'ms-Layer-content',
};
var getStyles = function (props) {
var className = props.className, isNotHost = props.isNotHost, theme = props.theme;
var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme);
return {
root: [
classNames.root,
theme.fonts.medium,
isNotHost && [
classNames.rootNoHost,
{
position: 'fixed',
zIndex: Styling_1.ZIndexes.Layer,
top: 0,
left: 0,
bottom: 0,
right: 0,
visibility: 'hidden',
},
],
className,
],
content: [
classNames.content,
{
visibility: 'visible',
},
],
};
};
exports.getStyles = getStyles;
});
//# sourceMappingURL=Layer.styles.js.map