Spaces:
Running
Running
Commit
·
634c9ed
1
Parent(s):
84b375a
add
Browse files- src/display/css_html_js.py +17 -17
src/display/css_html_js.py
CHANGED
@@ -1,21 +1,21 @@
|
|
1 |
custom_css = """
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
}
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
.
|
18 |
-
|
19 |
}
|
20 |
|
21 |
.markdown-text {
|
|
|
1 |
custom_css = """
|
2 |
+
/* 修改排序按钮颜色、大小等 */
|
3 |
+
.gr-datatable .sorting:before,
|
4 |
+
.gr-datatable .sorting:after {
|
5 |
+
color: #007bff !important; /* 修改排序图标颜色 */
|
6 |
+
font-size: 16px !important; /* 调整大小 */
|
7 |
+
}
|
8 |
+
|
9 |
+
/* 鼠标悬停时改变颜色 */
|
10 |
+
.gr-datatable .sorting:hover:before,
|
11 |
+
.gr-datatable .sorting:hover:after {
|
12 |
+
color: #ff4500 !important; /* 悬停时变色 */
|
13 |
+
}
|
14 |
+
|
15 |
+
/* 激活的排序图标 */
|
16 |
+
.gr-datatable .sorting_asc:before,
|
17 |
+
.gr-datatable .sorting_desc:before {
|
18 |
+
color: #28a745 !important; /* 绿色代表当前排序状态 */
|
19 |
}
|
20 |
|
21 |
.markdown-text {
|