office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
55 lines • 1.46 kB
JavaScript
import * as tslib_1 from "tslib";
export var getStyles = function (props) {
var className = props.className, theme = props.theme;
return {
root: [
'ms-ColorPicker',
{
position: 'relative',
maxWidth: 300
},
className
],
panel: [
'ms-ColorPicker-panel',
{
padding: '16px'
}
],
table: [
'ms-ColorPicker-table',
{
tableLayout: 'fixed',
width: '100%'
}
],
tableHeader: [
tslib_1.__assign({}, theme.fonts.small)
],
tableHexCell: [
{
width: '25%'
}
],
input: [
'ms-ColorPicker-input',
{
width: '100%',
border: 'none',
boxSizing: 'border-box',
height: 30,
selectors: {
'&.ms-TextField': {
paddingRight: 2
},
'& .ms-TextField-field': {
minWidth: 'auto',
padding: 5,
textOverflow: 'clip'
}
}
}
]
};
};
//# sourceMappingURL=ColorPicker.styles.js.map