-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathstyle.css
More file actions
196 lines (165 loc) · 3.04 KB
/
style.css
File metadata and controls
196 lines (165 loc) · 3.04 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
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
188
189
190
191
192
193
194
195
196
/* 全局样式 */
body {
font-family: 'Microsoft YaHei', Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f5f5f5;
color: #333;
}
.container {
width: 400px;
padding: 15px;
}
/* 标题栏样式 */
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
border-bottom: 1px solid #eaeaea;
padding-bottom: 10px;
}
.header h3 {
margin: 0;
color: #333;
font-size: 18px;
}
/* 按钮样式 */
.btn {
padding: 6px 12px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
transition: background-color 0.3s;
}
.btn-primary {
background-color: #4CAF50;
color: white;
}
.btn-primary:hover {
background-color: #45a049;
}
.btn-secondary {
background-color: #2196F3;
color: white;
}
.btn-secondary:hover {
background-color: #0b7dda;
}
/* 结果项样式 */
.result-item {
margin: 8px 0;
padding: 10px;
border: 1px solid #eee;
border-radius: 4px;
background-color: #fff;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.result-item:hover {
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.important {
background-color: #fff3cd;
border-color: #ffeeba;
}
.type-label {
font-size: 12px;
color: #666;
margin-left: 8px;
background-color: #f0f0f0;
padding: 2px 6px;
border-radius: 10px;
}
.no-match {
color: #666;
font-style: italic;
text-align: center;
padding: 20px;
}
/* 导航栏 */
.nav-tabs {
display: flex;
border-bottom: 1px solid #ddd;
margin-bottom: 15px;
}
.nav-tab {
padding: 8px 15px;
cursor: pointer;
border-bottom: 2px solid transparent;
}
.nav-tab.active {
border-bottom: 2px solid #4CAF50;
color: #4CAF50;
}
/* 表单样式 */
.form-group {
margin-bottom: 15px;
}
.form-group label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
.form-control {
width: 100%;
padding: 8px;
border: 1px solid #ddd;
border-radius: 4px;
box-sizing: border-box;
}
select.form-control {
height: 35px;
}
/* 导出按钮样式 */
.form-actions {
margin-top: 20px;
display: flex;
justify-content: space-between;
}
.btn-export {
background-color: #2196F3;
color: white;
}
.btn-export:hover {
background-color: #0b7dda;
}
/* 关键词输入区域 */
.keyword-container {
margin-top: 10px;
}
.keyword-item {
display: flex;
margin-bottom: 5px;
}
.keyword-item input {
flex: 1;
margin-right: 5px;
}
.keyword-actions {
margin-top: 5px;
}
/* 加载动画 */
.loading-container {
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.loading-spinner {
width: 40px;
height: 40px;
border: 4px solid #f3f3f3;
border-top: 4px solid #4CAF50;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.loading-text {
margin-left: 10px;
color: #666;
font-size: 14px;
}