office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
52 lines • 1.6 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
var centeredIconSize = '42px';
var cornerIconSize = '32px';
exports.getStyles = function (props) {
var theme = props.theme, className = props.className, height = props.height, width = props.width;
var palette = theme.palette;
return {
root: [
{
borderBottom: "1px solid " + palette.neutralLight,
position: 'relative',
backgroundColor: palette.neutralLighterAlt,
overflow: "hidden",
height: height && height + "px",
width: width && width + "px"
},
className
],
centeredIcon: [
{
height: centeredIconSize,
width: centeredIconSize,
fontSize: centeredIconSize
}
],
centeredIconWrapper: [
{
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
height: '100%',
width: '100%',
position: 'absolute',
top: 0,
left: 0
}
],
cornerIcon: [
{
left: '10px',
bottom: '10px',
height: cornerIconSize,
width: cornerIconSize,
fontSize: cornerIconSize,
position: 'absolute',
overflow: 'visible'
}
]
};
};
//# sourceMappingURL=DocumentCardImage.styles.js.map
;