index.less 510 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. .block {
  2. padding: 20px;
  3. border-radius: 2px;
  4. transition: all 0.3s;
  5. position: relative;
  6. }
  7. .block.full {
  8. height: 100%;
  9. }
  10. .block.center {
  11. text-align: center;
  12. }
  13. .block.flex {
  14. flex: 1;
  15. }
  16. .block.loading {
  17. .mask {
  18. position: absolute;
  19. top: 0;
  20. left: 0;
  21. right: 0;
  22. bottom: 0;
  23. background: #fff;
  24. opacity: 0.5;
  25. z-index: 9;
  26. }
  27. .ant-spin {
  28. position: absolute;
  29. top: 0;
  30. left: 0;
  31. right: 0;
  32. bottom: 0;
  33. z-index: 9;
  34. span {
  35. top: 40%;
  36. }
  37. }
  38. }