kits-core
Version:
Kits core module
75 lines (67 loc) • 1.53 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
var InputTableCellStyle = exports.InputTableCellStyle = {
height: 32,
boxSizing: 'border-box',
borderRadius: 8,
color: '#141415',
transition: 'all 0.3s ease'
};
var MessageErrorStyle = exports.MessageErrorStyle = {
textAlign: 'end',
color: 'red',
right: '6px',
fontSize: '10px'
};
var InputErrorStyle = exports.InputErrorStyle = {
boxSizing: 'border-box',
borderRadius: 8,
border: '1px solid #E84B2C',
outline: 0,
boxShadow: 'rgb(255 24 24 / 20%) 0px 0px 0px 2px',
background: '#FEE9E2',
transition: 'all 0.3s ease'
};
var styleAnd = {
delay: true,
borderStyle: 'solid',
borderColor: '#0A495C',
borderWidth: 3,
fromAnchor: 'left',
toAnchor: 'left',
orientation: 'h',
zIndex: 5,
className: 'line-and--style'
};
var styleOr = {
delay: true,
borderStyle: 'solid',
borderColor: '#7B5514',
borderWidth: 3,
fromAnchor: 'left',
toAnchor: 'left',
orientation: 'h',
zIndex: 3,
className: 'line-or--style'
};
var styleWithinClass = {
display: 'flex',
flexDirection: 'row',
alignItems: 'flex-start',
position: 'relative',
overflow: 'auto',
width: '100%'
};
var TypeSegmentStyle = exports.TypeSegmentStyle = {
styleAnd: styleAnd,
styleOr: styleOr,
styleWithinClass: styleWithinClass
};
exports.default = {
MessageErrorStyle: MessageErrorStyle,
InputTableCellStyle: InputTableCellStyle,
InputErrorStyle: InputErrorStyle,
TypeSegmentStyle: TypeSegmentStyle
};