-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
546 additions
and
728 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
87 changes: 0 additions & 87 deletions
87
ListSearchApplications/src/components/StandardFormRow/index.less
This file was deleted.
Oops, something went wrong.
60 changes: 60 additions & 0 deletions
60
ListSearchApplications/src/components/StandardFormRow/index.style.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
import { createStyles } from 'antd-style'; | ||
|
||
const useStyles = createStyles(({ token }) => { | ||
return { | ||
standardFormRow: { | ||
display: 'flex', | ||
marginBottom: '16px', | ||
paddingBottom: '16px', | ||
borderBottom: `1px dashed ${token.colorSplit}`, | ||
'.ant-form-item, .ant-legacy-form-item': { marginRight: '24px' }, | ||
'.ant-form-item-label, .ant-legacy-form-item-label': { | ||
label: { | ||
marginRight: '0', | ||
color: token.colorText, | ||
}, | ||
}, | ||
'.ant-form-item-label, .ant-legacy-form-item-label, .ant-form-item-control, .ant-legacy-form-item-control': | ||
{ padding: '0', lineHeight: '32px' }, | ||
}, | ||
label: { | ||
flex: '0 0 auto', | ||
marginRight: '24px', | ||
color: token.colorTextHeading, | ||
fontSize: token.fontSize, | ||
textAlign: 'right', | ||
'& > span': { | ||
display: 'inline-block', | ||
height: '32px', | ||
lineHeight: '32px', | ||
'&::after': { | ||
content: "':'", | ||
}, | ||
}, | ||
}, | ||
content: { | ||
flex: '1 1 0', | ||
'.ant-form-item, .ant-legacy-form-item': { | ||
'&:last-child': { | ||
marginRight: '0', | ||
}, | ||
}, | ||
}, | ||
standardFormRowLast: { | ||
marginBottom: '0', | ||
paddingBottom: '0', | ||
border: 'none', | ||
}, | ||
standardFormRowBlock: { | ||
'.ant-form-item, .ant-legacy-form-item, div.ant-form-item-control-wrapper, div.ant-legacy-form-item-control-wrapper': | ||
{ display: 'block' }, | ||
}, | ||
standardFormRowGrid: { | ||
'.ant-form-item, .ant-legacy-form-item, div.ant-form-item-control-wrapper, div.ant-legacy-form-item-control-wrapper': | ||
{ display: 'block' }, | ||
'.ant-form-item-label, .ant-legacy-form-item-label': { float: 'left' }, | ||
}, | ||
}; | ||
}); | ||
|
||
export default useStyles; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 0 additions & 34 deletions
34
ListSearchApplications/src/components/TagSelect/index.less
This file was deleted.
Oops, something went wrong.
35 changes: 35 additions & 0 deletions
35
ListSearchApplications/src/components/TagSelect/index.style.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { createStyles } from 'antd-style'; | ||
|
||
const useStyles = createStyles(({ token }) => { | ||
return { | ||
tagSelect: { | ||
position: 'relative', | ||
maxHeight: '32px', | ||
marginLeft: '-8px', | ||
overflow: 'hidden', | ||
lineHeight: '32px', | ||
transition: 'all 0.3s', | ||
userSelect: 'none', | ||
'.ant-tag': { | ||
marginRight: '24px', | ||
padding: '0 8px', | ||
fontSize: token.fontSize, | ||
}, | ||
}, | ||
trigger: { | ||
position: 'absolute', | ||
top: '0', | ||
right: '0', | ||
'span.anticon': { fontSize: '12px' }, | ||
}, | ||
expanded: { | ||
maxHeight: '200px', | ||
transition: 'all 0.3s', | ||
}, | ||
hasExpandTag: { | ||
paddingRight: '50px', | ||
}, | ||
}; | ||
}); | ||
|
||
export default useStyles; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.