-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
82 lines (71 loc) · 1.26 KB
/
styles.css
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
/* 主体样式 */
body {
font-family: "Segoe UI", Arial, sans-serif;
margin: 10px;
padding: 10px;
width: 200px;
height: auto;
}
#timestamp-popup {
font-size: 14px;
font-family: "Segoe UI", Arial, sans-serif;
background: rgba(255, 255, 255, 0.9);
/* 淡白色背景 */
border: 1px solid #ddd;
padding: 12px;
border-radius: 12px;
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
animation: fadeIn 0.3s ease-in-out;
transition: transform 0.2s ease-in-out;
}
#timestamp-popup:hover {
transform: translateY(-3px);
}
.popup-content {
display: flex;
align-items: center;
justify-content: space-between;
}
.time-output {
font-size: 16px;
font-weight: bold;
color: #333;
margin-right: 10px;
}
button {
background-color: transparent;
border: none;
padding: 0;
cursor: pointer;
}
button img {
width: 18px;
/* 图标大小保持一致 */
height: 18px;
}
#copy-btn-img {
width: 18px;
/* 图标大小保持一致 */
height: 18px;
}
#copy-status {
margin-top: 5px;
font-size: 12px;
color: #4CAF50;
text-align: center;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
@media (max-width: 600px) {
#timestamp-popup {
width: 250px;
}
}