for admin form page

This commit is contained in:
hsueh chiahao
2025-10-11 22:56:59 +08:00
parent 2793c70010
commit c88e1faa7c
10 changed files with 445 additions and 17 deletions

View File

@@ -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;