From 0d04bc5d8080b82338302fba0a59fccff2eaedfc Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期日, 06 七月 2025 11:28:29 +0800
Subject: [PATCH] #
---
zy-asrs-flow/src/global.less | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 51 insertions(+), 5 deletions(-)
diff --git a/zy-asrs-flow/src/global.less b/zy-asrs-flow/src/global.less
index a9a0c51..9618d1f 100644
--- a/zy-asrs-flow/src/global.less
+++ b/zy-asrs-flow/src/global.less
@@ -1,3 +1,7 @@
+:root {
+ --scrollbar-thumb-color: rgba(128, 128, 128, .5);
+}
+
html,
body,
#root {
@@ -16,6 +20,7 @@
.ant-layout {
min-height: 100vh;
}
+
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
left: unset;
}
@@ -35,19 +40,60 @@
list-style: none;
}
+::-webkit-scrollbar {
+ width: 6px;
+ height: 7px;
+ background-color: transparent;
+}
+
+::-webkit-scrollbar-thumb {
+ background-color: var(--scrollbar-thumb-color);
+ border-radius: 5px;
+}
+
+::-webkit-scrollbar-track {
+ background-color: transparent;
+ border-radius: 5px;
+}
+
@media (max-width: 768px) {
.ant-table {
width: 100%;
overflow-x: auto;
- &-thead > tr,
- &-tbody > tr {
- > th,
- > td {
+
+ &-thead>tr,
+ &-tbody>tr {
+
+ >th,
+ >td {
white-space: pre;
- > span {
+
+ >span {
display: block;
}
}
}
}
+
}
+
+// ------------------------
+.header-logo {
+ padding-left: 50px;
+ padding-right: 60px;
+}
+
+.header-title {
+ font-size: xx-large;
+ color: #eee;
+}
+
+.ant-pro-form-login-page-logo {
+ width: 200px;
+ height: 100%;
+ margin: 30px 0;
+}
+
+.centered-select .ant-select-selection-item {
+ text-align: center;
+}
\ No newline at end of file
--
Gitblit v1.9.1