forked from liyupi/mianshiya
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.less
99 lines (81 loc) · 1.34 KB
/
global.less
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
@import '~antd/es/style/themes/default.less';
@import '~intro.js/introjs.css';
html,
body,
#root {
height: 100%;
}
.colorWeak {
filter: invert(80%);
}
.ant-layout {
min-height: 100vh;
}
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
left: unset;
}
.ant-layout-header {
position: sticky;
top: 0;
}
.ant-pro-top-menu,
.ant-layout-header {
height: 64px !important;
line-height: 64px !important;
}
.ant-page-header {
margin: 0 auto;
}
.ant-pro-global-footer {
margin-top: 24px;
}
.ant-radio-wrapper {
margin-bottom: 8px;
}
.ant-back-top {
right: 0 !important;
}
.ant-back-top-content {
border-radius: 0 !important;
}
canvas {
display: block;
}
body {
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
ul,
ol {
list-style: none;
}
.my-link {
color: initial;
}
.ant-list-vertical .ant-list-item {
padding-top: 16px;
padding-bottom: 16px;
}
@media (max-width: @screen-xs) {
.ant-table {
width: 100%;
overflow-x: auto;
&-thead > tr,
&-tbody > tr {
> th,
> td {
white-space: pre;
> span {
display: block;
}
}
}
}
}
// Compatible with IE11
@media screen and(-ms-high-contrast: active), (-ms-high-contrast: none) {
body .ant-design-pro > .ant-layout {
min-height: 100vh;
}
}