global.less 876 Bytes
Newer Older
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
1
@import '~antd/es/style/themes/default.less';
Yu's avatar
Yu committed
2

3 4 5 6 7
html,
body,
#root {
  height: 100%;
}
ζ„šι“'s avatar
ζ„šι“ committed
8

9 10 11
.colorWeak {
  filter: invert(80%);
}
ζ„šι“'s avatar
ζ„šι“ committed
12

13 14 15
.ant-layout {
  min-height: 100vh;
}
ζ„šι“'s avatar
ζ„šι“ committed
16

17 18 19
canvas {
  display: block;
}
ζ„šι“'s avatar
ζ„šι“ committed
20

21 22 23 24 25
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ζ„šι“'s avatar
ζ„šι“ committed
26

27 28 29 30
ul,
ol {
  list-style: none;
}
Yu's avatar
Yu committed
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}
duanledexianxianxian's avatar
duanledexianxianxian committed
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63

// 覆盖antd design pro样式
:global {
  .kim-layout {
    .ant-pro-sider-menu-logo {
      padding-left: 8px;
    }
    .ant-pro-sider-menu-logo h1 {
      font-weight: 500;
      font-size: 16px;
    }
    .ant-pro-global-header {
      // background: #43cec4;
    }
  }
}