UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

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