global.less
1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
@import '~antd/es/style/themes/default.less';
html,
body,
#root {
height: 100%;
}
.colorWeak {
filter: invert(80%);
}
.ant-layout {
min-height: 100vh;
}
canvas {
display: block;
}
body {
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
ul,
ol {
list-style: none;
}
#logo {
width: 200px;
}
.ant-pro-top-nav-header-menu {
max-width: 860px !important;
}
.antd-pro-components-global-header-index-right {
width: 154px !important;
}
@media (max-width: @screen-xs) {
.ant-table {
width: 100%;
overflow-x: auto;
&-thead > tr,
&-tbody > tr {
> th,
> td {
white-space: pre;
> span {
display: block;
}
}
}
}
}
.ant-pro-sider-menu-logo h1 {
font-size: 18px !important;
}
// 设置PageHeaderwrapper的基础样式
.ant-pro-grid-content.wide {
max-width: 1200px;
min-width: 1000px;
margin: 0 auto;
}
//iconfont图标的图标样式
.ant-pro-icon {
width: 1.1em;
height: 1.1em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
margin: 0 5px;
}
//menu头
.ant-layout-sider-children > .ant-pro-sider-menu-logo, #logo {
width: 100%;
}