-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent.css
More file actions
134 lines (118 loc) · 2.77 KB
/
Copy pathcontent.css
File metadata and controls
134 lines (118 loc) · 2.77 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
/* ===================================================
Twitter Auto Reply - Content Script Styles
=================================================== */
/* Status Badge */
#autoreply-badge {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 99999;
cursor: pointer;
user-select: none;
}
.autoreply-badge {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
border-radius: 24px;
font-size: 12px;
font-weight: 600;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
backdrop-filter: blur(12px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
transition: all 0.3s ease;
transform: translateY(0);
}
.autoreply-badge:hover {
transform: translateY(-2px);
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}
.autoreply-badge.active {
background: rgba(29, 155, 240, 0.15);
border: 1px solid rgba(29, 155, 240, 0.4);
color: #1d9bf0;
}
.autoreply-badge.inactive {
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.15);
color: #8899aa;
}
.autoreply-dot {
width: 8px;
height: 8px;
border-radius: 50%;
display: inline-block;
}
.autoreply-badge.active .autoreply-dot {
background: #00c853;
box-shadow: 0 0 8px rgba(0, 200, 83, 0.6);
animation: pulse-green 2s infinite;
}
.autoreply-badge.inactive .autoreply-dot {
background: #666;
}
@keyframes pulse-green {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
/* Toast Notification */
#autoreply-toast {
position: fixed;
bottom: 70px;
right: 20px;
z-index: 99999;
padding: 10px 20px;
background: rgba(15, 15, 15, 0.9);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 10px;
color: white;
font-size: 13px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
opacity: 0;
transform: translateY(10px);
transition: all 0.3s ease;
pointer-events: none;
}
#autoreply-toast.show {
opacity: 1;
transform: translateY(0);
}
/* Processing indicator */
.autoreply-processing {
display: inline-block;
width: 12px;
height: 12px;
border: 2px solid rgba(29, 155, 240, 0.3);
border-top-color: #1d9bf0;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* Already replied indicator */
[data-ar-already-replied] {
position: relative;
}
[data-ar-already-replied]::after {
content: '✅ Đã reply';
position: absolute;
top: 4px;
right: 8px;
font-size: 10px;
color: #00c853;
background: rgba(0, 200, 83, 0.1);
padding: 2px 8px;
border-radius: 4px;
pointer-events: none;
z-index: 10;
}
/* Dark mode compatibility */
@media (prefers-color-scheme: dark) {
.autoreply-badge {
backdrop-filter: blur(16px);
}
}