-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent.css
More file actions
91 lines (81 loc) · 2.24 KB
/
Copy pathcontent.css
File metadata and controls
91 lines (81 loc) · 2.24 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
/* AdOps Report Helper - Content Script Styles */
.adops-helper-notification {
position: fixed;
top: 20px;
left: 50%;
transform: translateX(-50%);
background: rgba(255, 255, 255, 0.95);
color: #333;
padding: 12px 20px;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
z-index: 2147483647; /* 使用最高z-index确保在插件菜单前面 */
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
font-size: 14px;
font-weight: 500;
animation: slideInTop 0.4s ease-out;
max-width: 400px;
line-height: 1.5;
white-space: pre-line;
text-align: center;
backdrop-filter: blur(10px);
border: 1px solid rgba(0, 0, 0, 0.1);
border-left: 4px solid #1890ff;
}
/* 移除背景遮罩,让通知半透明 */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes fadeOut {
from {
opacity: 1;
transform: translateX(-50%) translateY(0);
}
to {
opacity: 0;
transform: translateX(-50%) translateY(-20px);
}
}
@keyframes slideInTop {
from {
transform: translateX(-50%) translateY(-100%);
opacity: 0;
}
to {
transform: translateX(-50%) translateY(0);
opacity: 1;
}
}
.adops-helper-notification.success {
background: rgba(16, 185, 129, 0.95);
color: white;
border-left-color: #10b981;
}
.adops-helper-notification.error {
background: rgba(239, 68, 68, 0.95);
color: white;
border-left-color: #ef4444;
}
.adops-helper-notification.warning {
background: rgba(245, 158, 11, 0.95);
color: white;
border-left-color: #f59e0b;
}
.adops-helper-notification.info {
background: rgba(59, 130, 246, 0.95);
color: white;
border-left-color: #3b82f6;
}
/* 高亮被操作的元素 */
.adops-helper-highlight {
outline: 2px solid #4f46e5 !important;
outline-offset: 2px !important;
background-color: rgba(79, 70, 229, 0.1) !important;
transition: all 0.3s ease !important;
}
/* 按钮点击效果 */
.adops-helper-click-effect {
transform: scale(0.95) !important;
transition: transform 0.1s ease !important;
}