11.DataPointsContent {
22 width : 100% ;
3- margin : 10px ;
3+ margin-top : 10px ;
44 overflow-x : auto;
55 user-select : text;
66 height : calc (100% - 20px );
99 position : relative;
1010}
1111
12+ /* 数据网格容器样式 */
13+ .data-grid-container {
14+ display : flex;
15+ flex-direction : column;
16+ position : relative;
17+ width : 100% ;
18+ height : 100% ;
19+ }
20+
21+ .filter-container-wrapper {
22+ padding : 8px ;
23+ }
24+
25+ /* 优化每个过滤器元素的宽度和样式 */
26+ .filter-container > .MuiTextField-root ,
27+ .filter-container > .MuiFormControl-root {
28+ min-width : 160px ;
29+ flex : 1 ;
30+ margin : 0 ;
31+ }
32+
33+ .filter-container .MuiOutlinedInput-root {
34+ border-radius : 8px ;
35+ transition : all 0.2s ease;
36+ }
37+
38+ .filter-container .MuiOutlinedInput-root : hover {
39+ background-color : rgba (128 , 128 , 128 , 0.05 );
40+ }
41+
42+ /* 搜索结果指示器 */
43+ .search-results-indicator {
44+ background-color : rgba (128 , 128 , 128 , 0.08 );
45+ padding : 6px 16px ;
46+ border-radius : 8px ;
47+ margin : 6px ;
48+ display : flex;
49+ align-items : center;
50+ justify-content : center;
51+ animation : fadeIn 0.3s ease;
52+ }
53+
54+ /* 响应式布局 */
55+ @media (max-width : 1024px ) {
56+ .filter-container {
57+ gap : 12px ;
58+ }
59+
60+ .filter-container > .MuiTextField-root ,
61+ .filter-container > .MuiFormControl-root {
62+ min-width : 140px ;
63+ }
64+ }
65+
66+ @media (max-width : 768px ) {
67+ .DataPointsContent {
68+ margin : 5px ;
69+ height : calc (100% - 10px );
70+ }
71+
72+ .filter-container {
73+ flex-direction : column;
74+ align-items : stretch;
75+ gap : 10px ;
76+ }
77+
78+ .filter-container > * {
79+ width : 100% !important ;
80+ min-width : unset !important ;
81+ }
82+
83+ .advanced-search-filter .expanded {
84+ max-height : 400px !important ;
85+ overflow-y : auto;
86+ }
87+
88+ /* Mobile styles for the usage guidance component */
89+ .MuiPaper-root ol {
90+ padding-left : 16px ;
91+ font-size : 14px ;
92+ margin-bottom : 0 ;
93+ }
94+
95+ .MuiPaper-root li {
96+ margin-bottom : 8px ;
97+ }
98+
99+ /* Smaller margins for mobile usage guidance panel */
100+ .MuiBox-root .MuiPaper-root {
101+ margin : 0 !important ;
102+ max-width : 100% ;
103+ overflow-y : auto;
104+ }
105+
106+ /* Ensure floating action buttons don't overlap important content */
107+ form .MuiFab-root {
108+ z-index : 1060 !important ; /* Match the z-index with the close button */
109+ }
110+ }
111+
12112.DataTableStyle {
13113 display : flex;
14114 flex-direction : column;
18118 overflow-x : auto;
19119}
20120
121+ /* 专门为项目页面内的表格添加样式 */
122+ .p-datatable-wrapper {
123+ overflow : auto;
124+ }
125+
21126.DataTableStyle * {
22127 transition : none;
23128}
133238
134239.p-dropdown-panel .p-dropdown-items .p-dropdown-item {
135240 padding : 5px 1rem 5px 1rem ;
136- }
241+ }
242+
243+ .group-header {
244+ height : 40px ;
245+ padding-top : 10px ;
246+ }
247+
248+ @media (max-width : 1024px ) {
249+ .group-header {
250+ height : 25px ;
251+ padding-top : 6px ;
252+ }
253+ }
254+
255+ .refresh-button {
256+ position : fixed;
257+ z-index : 20 ;
258+ bottom : 40px ;
259+ right : 20px ;
260+ }
261+
262+ @media (max-width : 768px ) {
263+ bottom : 20px ;
264+ right : 16px ;
265+ transform : scale (0.9 );
266+ }
0 commit comments