UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

35 lines 1.13 kB
import { HighContrastSelector, } from '../../Styling'; export var getStyles = function (props) { var className = props.className, theme = props.theme, isNone = props.isNone, isDark = props.isDark; var palette = theme.palette, semanticColors = theme.semanticColors; return ({ root: [ 'ms-Overlay', { backgroundColor: palette.whiteTranslucent40, top: 0, right: 0, bottom: 0, left: 0, position: 'absolute', selectors: (_a = {}, _a[HighContrastSelector] = { border: '1px solid WindowText', }, _a) }, isNone && { visibility: 'hidden', }, isDark && [ 'ms-Overlay--dark', { backgroundColor: palette.blackTranslucent40, } ], className ], }); var _a; }; //# sourceMappingURL=Overlay.styles.js.map