UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

51 lines 1.53 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var Utilities_1 = require("../../../Utilities"); var Styling_1 = require("../../../Styling"); // @TODO Remove this tslint disable statement after the styles are converted // to the updated mergeStyles method. /* tslint:disable */ function highContrastActive(styles) { return { '@media screen and (-ms-high-contrast: active)': styles }; } exports.highContrastActive = highContrastActive; function focusClear() { return { '&::-moz-focus-inner': { border: 0 }, '&': { outline: 'transparent' } }; } exports.focusClear = focusClear; /* tslint:enable */ exports.getClassNames = Utilities_1.memoizeFunction(function () { return Styling_1.mergeStyleSets({ root: { position: 'absolute', boxSizing: 'border-box', border: '1px solid ${}', selectors: tslib_1.__assign({}, highContrastActive({ border: '1px solid WindowText' }), focusClear()) }, container: { position: 'relative' }, main: { backgroundColor: '#ffffff', overflowX: 'hidden', overflowY: 'hidden', position: 'relative' }, overFlowYHidden: { overflowY: 'hidden' } }); }); //# sourceMappingURL=PositioningContainer.styles.js.map