-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.css
More file actions
55 lines (52 loc) · 1.24 KB
/
Copy pathcommon.css
File metadata and controls
55 lines (52 loc) · 1.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
/* ── Common styles shared by cet6-reading-exam.html & cet6-vocabulary.html ── */
/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
/* ── Toast notification ── */
.toast {
position: fixed;
bottom: 32px;
left: 50%;
transform: translateX(-50%);
background: #333;
color: #fff;
padding: 12px 28px;
border-radius: 24px;
font-size: 0.875rem;
z-index: 10001;
opacity: 0;
transition: opacity 0.35s ease;
pointer-events: none;
font-family: inherit;
}
.toast.show { opacity: 1; }
/* ── Context menu ── */
.context-menu {
position: fixed;
background: var(--card-bg, #fff);
border: 1px solid var(--border, #e0e0e0);
border-radius: var(--radius-sm, 8px);
box-shadow: var(--shadow-lg, 0 4px 16px rgba(0,0,0,0.12));
z-index: 10000;
min-width: 170px;
padding: 4px 0;
display: none;
}
.context-menu .menu-item {
padding: 10px 18px;
cursor: pointer;
font-size: 0.875rem;
transition: background 0.15s;
display: flex;
align-items: center;
gap: 8px;
font-family: inherit;
}
.context-menu .menu-item:hover {
background: var(--accent-light, #e8f0fe);
color: var(--accent, #1a73e8);
}
.context-menu .menu-divider {
height: 1px;
background: var(--border, #e0e0e0);
margin: 4px 0;
}