-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.css
More file actions
104 lines (92 loc) · 1.68 KB
/
Copy pathcommon.css
File metadata and controls
104 lines (92 loc) · 1.68 KB
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
#log-table {
border-left: 1px solid red;
border-top: 1px solid red;
border-right: 1px solid red
}
.tr {
display: flex;
align-items: stretch;
border-bottom: 1px solid red;
}
.logTime{
padding: 0 10px;
display: inline-block;
text-align: left;
width: 200px;
height: fit-content;
flex-shrink: 0;
}
.logMsg{
display: inline-block;
border-left: 1px solid red;
padding: 0 10px;
flex-grow: 1;
overflow-wrap: anywhere;
word-break: normal;
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
overflow: auto;
}
.logMsg mark.highlight {
background-color: yellow;
color: black;
font-weight: bold;
padding: 2px 4px;
border-radius: 3px;
}
search {
display: block;
padding: 10px;
background-color: #f0f0f0;
border-bottom: 1px solid #ccc;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
}
search input {
margin-right: 10px;
padding: 5px;
width: 200px;
}
search button {
margin-right: 5px;
padding: 5px 10px;
cursor: pointer;
}
search button.active {
background-color: #4CAF50;
color: white;
}
/* 为固定查找框预留空间 */
#log-table {
margin-top: 70px;
}
/* 加载效果 */
#loading {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
justify-content: center;
align-items: center;
z-index: 9999;
}
.loading-spinner {
background-color: white;
padding: 20px 40px;
border-radius: 8px;
font-size: 16px;
font-weight: bold;
}
.loading-spinner #loading-time {
color: #666;
font-weight: normal;
font-size: 14px;
}