mirror of
https://github.com/fleetdm/fleet
synced 2026-05-18 06:28:40 +00:00
* Api client get targets * Allow entities to parse full api response * responsive nav style fixes * Add disabled prop to button * Add targets from API to target select input * customize target rendering in input field * call API on select target input change * display # hosts selected * Adds new icons to icon font * Customize select targets input options * Update directory structure * restructure select targets input * Adds hosts to labels * Host modal styles * ShadowBoxInput component * TargetInfoModal for labels * consistent entity response in api client stubs * Fix bug removing multiple hosts in target select input * change Button component to use css classes
40 lines
882 B
JavaScript
40 lines
882 B
JavaScript
import Styles from '../../../../styles';
|
|
|
|
const { color, font, padding } = Styles;
|
|
|
|
export default {
|
|
avatarWrapperStyles: {
|
|
textAlign: 'center',
|
|
},
|
|
buttonWrapperStyles: {
|
|
display: 'flex',
|
|
flexDirection: 'row-reverse',
|
|
justifyContent: 'space-between',
|
|
marginTop: padding.half,
|
|
},
|
|
formWrapperStyles: {
|
|
boxSizing: 'border-box',
|
|
paddingLeft: padding.half,
|
|
paddingRight: padding.half,
|
|
},
|
|
inputStyles: {
|
|
borderLeft: 'none',
|
|
borderRight: 'none',
|
|
borderTop: 'none',
|
|
borderBottomWidth: '1px',
|
|
fontSize: font.small,
|
|
borderBottomStyle: 'solid',
|
|
borderBottomColor: color.brand,
|
|
color: color.textMedium,
|
|
width: '100%',
|
|
},
|
|
inputWrapperStyles: {
|
|
marginBottom: padding.half,
|
|
marginTop: 0,
|
|
},
|
|
labelStyles: {
|
|
color: color.textLight,
|
|
textTransform: 'uppercase',
|
|
fontSize: font.mini,
|
|
},
|
|
};
|