global.less 1.6 KB

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