-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.css
More file actions
134 lines (112 loc) · 1.82 KB
/
popup.css
File metadata and controls
134 lines (112 loc) · 1.82 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
/**
* 拖拽即走 Chrome 插件 - 弹出窗口样式
*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
width: 320px;
background: white;
color: #333;
}
.popup-container {
background: white;
border: 1px solid #e2e8f0;
}
header {
background: #f8f9fa;
padding: 16px 20px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #e2e8f0;
}
.logo {
display: flex;
align-items: center;
gap: 8px;
}
.icon {
font-size: 20px;
}
header h1 {
font-size: 16px;
font-weight: 600;
color: #2d3748;
}
.version {
font-size: 11px;
color: #718096;
background: #e2e8f0;
padding: 2px 6px;
border-radius: 3px;
}
main {
padding: 20px;
}
.status-section {
margin-bottom: 20px;
}
.status-item {
display: flex;
align-items: center;
gap: 10px;
padding: 12px;
background: #f0f9ff;
border-radius: 4px;
border: 1px solid #bae6fd;
}
.status-item.disabled {
background: #fef2f2;
border-color: #fecaca;
}
.status-icon {
font-size: 16px;
}
.status-text {
font-weight: 500;
font-size: 14px;
color: #374151;
}
.actions {
display: flex;
flex-direction: column;
gap: 8px;
}
.btn {
padding: 10px 16px;
border: none;
border-radius: 4px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s ease;
text-decoration: none;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
}
.btn-primary {
background: #3b82f6;
color: white;
}
.btn-primary:hover {
background: #2563eb;
}
.btn-secondary {
background: #6b7280;
color: white;
}
.btn-secondary:hover {
background: #4b5563;
}
.btn-secondary.remove {
background: #dc2626;
}
.btn-secondary.remove:hover {
background: #b91c1c;
}