|
|
|
html,
|
|
|
|
body,
|
|
|
|
#root {
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
|
|
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
|
|
'Noto Color Emoji';
|
|
|
|
}
|
|
|
|
|
|
|
|
.colorWeak {
|
|
|
|
filter: invert(80%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-layout {
|
|
|
|
min-height: 100vh;
|
|
|
|
}
|
|
|
|
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
|
|
|
|
left: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
canvas {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul,
|
|
|
|
ol {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
.ant-table {
|
|
|
|
width: 100%;
|
|
|
|
overflow-x: auto;
|
|
|
|
&-thead > tr,
|
|
|
|
&-tbody > tr {
|
|
|
|
> th,
|
|
|
|
> td {
|
|
|
|
white-space: pre;
|
|
|
|
> span {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.keep-alive-tabs {
|
|
|
|
.ant-tabs-nav {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-pro .ant-pro-layout .ant-pro-layout-content {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ant-pro-form-login-page-left{
|
|
|
|
max-width: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-pro-card-col.ant-pro-card-split-vertical {
|
|
|
|
border-inline-end: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-pro-card-col.ant-pro-card-split-horizontal {
|
|
|
|
border-block-end: none;
|
|
|
|
}
|
|
|
|
/* 1108 update 全局样式新增调整 */
|
|
|
|
// TODO 全局小尺寸按钮,统一间距 (列表操作栏位按钮)
|
|
|
|
.ant-table-cell .ant-btn.ant-btn-sm{
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.ant-pro-table-search .ant-form-item .ant-form-item-label{
|
|
|
|
text-align: left
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-btn-link{
|
|
|
|
color: #155BD4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-pro-card .ant-pro-card-title {
|
|
|
|
color: #333333;
|
|
|
|
font-weight: 700;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// TODO 自定义样式块
|
|
|
|
|
|
|
|
/* 单行文本溢出显示省略号 */
|
|
|
|
.single_line {
|
|
|
|
white-space: nowrap; /* 防止文本换行 */
|
|
|
|
overflow: hidden; /* 隐藏溢出的文本 */
|
|
|
|
text-overflow: ellipsis; /* 显示省略号 */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 多行文本溢出显示省略号 */
|
|
|
|
.two_line {
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2; /* 限制显示的行数 */
|
|
|
|
overflow: hidden; /* 隐藏溢出的文本 */
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|