mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
* Adds loadAll action to redux entity config * API Client get invites * Add invites to the user management page * Updates user block styles on user management page * Submit modal form on enter * Modify details form styles * Enter submits edit user form * Removes unused admin dashboard page * API Client - revoke invites * Delete invite entities in redux * Revoke invites from admin manage users page * Show success flash message after user invite is revoked
44 lines
972 B
JavaScript
44 lines
972 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,
|
|
},
|
|
formButtonStyles: {
|
|
paddingLeft: padding.base,
|
|
paddingRight: padding.base,
|
|
},
|
|
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,
|
|
},
|
|
};
|