You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
713 B

11 months ago
  1. import { createStyles } from '@/theme'
  2. export const useStyle = createStyles(({ token, css, cx, prefixCls }, props: any) => {
  3. const prefix = `${prefixCls}-${token?.proPrefix}-dialog-component`
  4. const container = css`
  5. `
  6. const wrap = css`
  7. .ant-modal-content{
  8. padding: 20px 0 15px 0;
  9. .ant-modal-header{
  10. padding: 0 24px 10px;
  11. border-bottom: 1px solid #eee;
  12. }
  13. .ant-modal-body{
  14. padding: 10px 24px;
  15. }
  16. .ant-modal-footer{
  17. background-color: #fcfcfc;
  18. padding: 15px 24px 0;
  19. border-top: 1px solid #eee;
  20. }
  21. }
  22. `
  23. return {
  24. container: cx(prefix, props?.className, container),
  25. wrap,
  26. }
  27. })