-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemp_append.css
More file actions
56 lines (51 loc) · 1.24 KB
/
temp_append.css
File metadata and controls
56 lines (51 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
56
/* ============================================
MAIN CONTENT WRAPPER (for the push effect)
============================================ */
.main-content-wrapper {
display: flex;
width: 100%;
max-width: var(--site-max-width);
margin: 0 auto;
transition: all 0.3s ease;
}
/* ============================================
CONTEXT MENU SIDEBAR (Mobile Responsive)
============================================ */
.context-menu-sidebar {
position: fixed;
right: 0;
top: var(--topbar-height);
bottom: 0;
width: 80%;
max-width: 300px;
z-index: 1500;
border-left: none;
border-radius: 1rem 0 0 1rem;
box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
transition:
transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
opacity 0.3s ease;
opacity: 0;
transform: translateX(100%);
background: var(--bg);
}
.context-menu-sidebar.visible {
opacity: 1;
transform: translateX(0);
}
@media (max-width: 800px) {
.context-menu-sidebar {
position: fixed;
right: 0;
top: var(--topbar-height);
bottom: 0;
width: 80%;
max-width: 300px;
z-index: 1500;
border-left: none;
border-radius: 1rem 0 0 1rem;
box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
opacity: 1;
transform: translateX(0);
}
}