for admin form page
This commit is contained in:
@@ -12,4 +12,27 @@ export const SPACING = {
|
||||
FIELD_CONTAINER_WIDTH: '100%',
|
||||
};
|
||||
|
||||
// 样式配置常量
|
||||
export const STYLES = {
|
||||
BASIC_LABEL_TOP: 'calc(5px + 1rem)',
|
||||
SUBTABLE_LABEL_TOP: 'calc(12px + 1rem)',
|
||||
GROUP_LABEL_TOP: 'calc(20px + 1rem)',
|
||||
};
|
||||
|
||||
// LABEL 基本样式
|
||||
export const ADMIN_LABEL_STYLE = {
|
||||
position: 'absolute',
|
||||
zIndex: '1',
|
||||
lineHeight: '1',
|
||||
background: '#ffd9d9',
|
||||
padding: '2px',
|
||||
top: STYLES.BASIC_LABEL_TOP,
|
||||
border: 'dotted red 1px',
|
||||
fontSize: '0.75rem',
|
||||
};
|
||||
|
||||
export const LABEL_STYLE = {
|
||||
display: 'inline-block'
|
||||
}
|
||||
|
||||
export let IS_FIELD_TYPE_DISPLAY = false;
|
||||
|
||||
Reference in New Issue
Block a user