39 lines
1.5 KiB
JavaScript
39 lines
1.5 KiB
JavaScript
define(["require", "exports", "../../Styling"], function (require, exports, Styling_1) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.getStyles = exports.DocumentCardLocationGlobalClassNames = void 0;
|
|
exports.DocumentCardLocationGlobalClassNames = {
|
|
root: 'ms-DocumentCardLocation',
|
|
};
|
|
var getStyles = function (props) {
|
|
var theme = props.theme, className = props.className;
|
|
var palette = theme.palette, fonts = theme.fonts;
|
|
var classNames = (0, Styling_1.getGlobalClassNames)(exports.DocumentCardLocationGlobalClassNames, theme);
|
|
return {
|
|
root: [
|
|
classNames.root,
|
|
fonts.small,
|
|
{
|
|
color: palette.themePrimary,
|
|
display: 'block',
|
|
fontWeight: Styling_1.FontWeights.semibold,
|
|
overflow: 'hidden',
|
|
padding: '8px 16px',
|
|
position: 'relative',
|
|
textDecoration: 'none',
|
|
textOverflow: 'ellipsis',
|
|
whiteSpace: 'nowrap',
|
|
selectors: {
|
|
':hover': {
|
|
color: palette.themePrimary,
|
|
cursor: 'pointer',
|
|
},
|
|
},
|
|
},
|
|
className,
|
|
],
|
|
};
|
|
};
|
|
exports.getStyles = getStyles;
|
|
});
|
|
//# sourceMappingURL=DocumentCardLocation.styles.js.map
|