UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

47 lines 1.62 kB
define(["require", "exports", "../../Styling"], function (require, exports, Styling_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var GlobalClassNames = { actions: 'ms-Dialog-actions', action: 'ms-Dialog-action', actionsRight: 'ms-Dialog-actionsRight' }; exports.getStyles = function (props) { var className = props.className, theme = props.theme; var classNames = Styling_1.getGlobalClassNames(GlobalClassNames, theme); return { actions: [ classNames.actions, { position: 'relative', width: '100%', minHeight: '24px', lineHeight: '24px', margin: '20px 0 0', fontSize: '0', selectors: { '.ms-Button': { lineHeight: 'normal' } } }, className ], action: [classNames.action], actionsRight: [ classNames.actionsRight, { textAlign: 'right', marginRight: '-4px', fontSize: '0', selectors: { $action: { margin: '0 4px' } } } ] }; }; }); //# sourceMappingURL=DialogFooter.styles.js.map