52 lines
1.7 KiB
JavaScript
52 lines
1.7 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 = {
|
|
actions: 'ms-Dialog-actions',
|
|
action: 'ms-Dialog-action',
|
|
actionsRight: 'ms-Dialog-actionsRight',
|
|
};
|
|
var getStyles = function (props) {
|
|
var className = props.className, theme = props.theme;
|
|
var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme);
|
|
return {
|
|
actions: [
|
|
classNames.actions,
|
|
{
|
|
position: 'relative',
|
|
width: '100%',
|
|
minHeight: '24px',
|
|
lineHeight: '24px',
|
|
margin: '16px 0 0',
|
|
fontSize: '0',
|
|
selectors: {
|
|
'.ms-Button': {
|
|
lineHeight: 'normal',
|
|
verticalAlign: 'middle',
|
|
},
|
|
},
|
|
},
|
|
className,
|
|
],
|
|
action: [
|
|
classNames.action,
|
|
{
|
|
margin: '0 4px',
|
|
},
|
|
],
|
|
actionsRight: [
|
|
classNames.actionsRight,
|
|
{
|
|
alignItems: 'center',
|
|
display: 'flex',
|
|
fontSize: '0',
|
|
justifyContent: 'flex-end',
|
|
marginRight: '-4px',
|
|
},
|
|
],
|
|
};
|
|
};
|
|
exports.getStyles = getStyles;
|
|
});
|
|
//# sourceMappingURL=DialogFooter.styles.js.map
|