-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
187 lines (157 loc) · 3.64 KB
/
index.css
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
* {
-webkit-font-smoothing: antialiased;
-webkit-overflow-scrolling: touch;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-text-size-adjust: none;
-webkit-touch-callout: none;
box-sizing: border-box;
}
:root {
--three-color: var(--sl-color-neutral-600);
--four-color: var(--sl-color-purple-600);
--five-color: var(--sl-color-amber-500);
--six-color: var(--sl-color-orange-600);
--tip: var(--sl-color-neutral-600);
--black: var(--sl-color-neutral-1000);
--white: var(--sl-color-neutral-0);
}
html {
background: var(--sl-color-neutral-0);
color: var(--sl-color-neutral-1000);
}
body {
background-color: var(--white);
}
@media (min-width: 800px) and (-webkit-device-pixel-ratio: 1) {
.detail-data {
break-inside: avoid;
counter-increment: item-counter;
float: unset !important;
}
.dataGrid {
column-count: 2; /*css3新增,把contaner容器中的内容分为三列*/
column-gap: 10px; /*定义列之间的间隙为20px*/
}
}
@media (min-width: 1600px) and (-webkit-device-pixel-ratio: 2) {
.detail-data {
break-inside: avoid;
counter-increment: item-counter;
float: unset !important;
}
.dataGrid {
column-count: 2; /*css3新增,把contaner容器中的内容分为三列*/
column-gap: 10px; /*定义列之间的间隙为20px*/
}
}
@media (min-width: 2400px) and (-webkit-device-pixel-ratio: 3) {
.detail-data {
break-inside: avoid;
counter-increment: item-counter;
float: unset !important;
}
.dataGrid {
column-count: 2; /*css3新增,把contaner容器中的内容分为三列*/
column-gap: 10px; /*定义列之间的间隙为20px*/
}
}
a {
color: var(--sl-color-primary-600);
}
.title {
font-size: 20px;
font-weight: 700;
margin: 0;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
box-sizing: border-box;
}
.main-container {
padding: 20px;
font-size: 1rem;
}
.alert--closable {
margin-bottom: 1rem;
}
.token {
display: inline-block;
width: calc(100% - 84px);
}
.submitBtn {
display: inline-block;
}
.dataGrid {
text-align: center;
}
.pBlue {
color: var(--sl-color-primary-700);
}
.detail-data {
box-sizing: border-box;
padding: 10px;
text-align: left;
line-height: 1.5;
float: left;
width: 100%;
}
.pt10 {
padding-top: 10px
}
.clean-float:after { /*伪元素是行内元素 正常浏览器清除浮动方法*/
content: "";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.spinner-icon {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
align-items: center;
justify-content: center;
background-color: transparent;
}
.spinner-bg {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
align-items: center;
justify-content: center;
background-color: var(--sl-color-neutral-700);
opacity: 0.5;
}
.echart-c {
display: flex;
align-items: center;
justify-content: center;
}
.avatar-me {
display: flex;
justify-content: center;
align-items: center;
}
.new-tag {
font-family: 'monospace';
color: var(--sl-color-primary-400);
}
.tip {
font-family: 'monospace';
color: var(--sl-color-neutral-600);
}
.title-container {
text-align: center;
margin: 10px 0;
}