global.less 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. @import './helper/distance.less';
  2. .distance();
  3. .flex {
  4. display: flex;
  5. }
  6. .align-middle {
  7. vertical-align: middle;
  8. }
  9. .flex-wrap {
  10. flex-wrap: wrap;
  11. }
  12. .justify-center {
  13. justify-content: center;
  14. }
  15. .items-center {
  16. align-items: center;
  17. }
  18. .justify-start {
  19. justify-content: flex-start;
  20. }
  21. .justify-end {
  22. justify-content: flex-end;
  23. }
  24. .justify-around {
  25. justify-content: space-around;
  26. }
  27. .relative {
  28. position: relative;
  29. }
  30. .absolute {
  31. position: absolute;
  32. }
  33. .ellipsis {
  34. overflow: hidden;
  35. text-overflow: ellipsis;
  36. word-wrap: normal;
  37. white-space: nowrap;
  38. }
  39. .shadow-xs {
  40. box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
  41. }
  42. .shadow-sm {
  43. box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  44. }
  45. .shadow {
  46. box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  47. }
  48. .shadow-md {
  49. box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  50. }
  51. .shadow-lg {
  52. box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  53. }
  54. .shadow-xl {
  55. box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  56. }