global.less 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. @import '~ant-design-vue/es/style/themes/default.less';
  2. html,
  3. body,
  4. #app, #root {
  5. height: 100%;
  6. }
  7. .colorWeak {
  8. filter: invert(80%);
  9. }
  10. .ant-layout.layout-basic {
  11. height: 100vh;
  12. min-height: 100vh;
  13. }
  14. canvas {
  15. display: block;
  16. }
  17. body {
  18. text-rendering: optimizeLegibility;
  19. -webkit-font-smoothing: antialiased;
  20. -moz-osx-font-smoothing: grayscale;
  21. }
  22. ul,
  23. ol {
  24. list-style: none;
  25. }
  26. // 数据列表 样式
  27. .table-alert {
  28. margin-bottom: 16px;
  29. }
  30. // 数据列表 操作
  31. .table-operator {
  32. margin-bottom: 18px;
  33. button {
  34. margin-right: 8px;
  35. }
  36. }
  37. // 数据列表 搜索条件
  38. .table-page-search-wrapper {
  39. .ant-form-inline {
  40. .ant-form-item {
  41. display: flex;
  42. margin-bottom: 24px;
  43. margin-right: 0;
  44. .ant-form-item-control-wrapper {
  45. flex: 1 1;
  46. display: inline-block;
  47. vertical-align: middle;
  48. }
  49. > .ant-form-item-label {
  50. line-height: 32px;
  51. padding-right: 8px;
  52. width: auto;
  53. }
  54. .ant-form-item-control {
  55. height: 32px;
  56. line-height: 32px;
  57. }
  58. }
  59. }
  60. .table-page-search-submitButtons {
  61. display: block;
  62. margin-bottom: 24px;
  63. white-space: nowrap;
  64. }
  65. }
  66. @media (max-width: @screen-xs) {
  67. .ant-table {
  68. width: 100%;
  69. overflow-x: auto;
  70. &-thead > tr,
  71. &-tbody > tr {
  72. > th,
  73. > td {
  74. white-space: pre;
  75. > span {
  76. display: block;
  77. }
  78. }
  79. }
  80. }
  81. }
  82. .cp {
  83. cursor: pointer;
  84. }