-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent.css
More file actions
131 lines (117 loc) · 3.26 KB
/
content.css
File metadata and controls
131 lines (117 loc) · 3.26 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
/* content.css */
/* Pop link modal styles */
.glance-ui-pop-link-modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80vw; /* Increased horizontally */
height: 88vh; /* Increased vertically */
max-width: 1300px; /* Increased max width */
max-height: 950px; /* Increased max height */
z-index: 2147483647; /* Maximum z-index value */
background: #181818; /* Updated to match button color */
border-radius: 16px;
box-shadow: 0 15px 60px rgba(0, 0, 0, 0.5);
overflow: hidden;
display: flex;
flex-direction: column;
}
.glance-ui-pop-link-modal.iframe-loaded {
background: transparent;
}
.glance-ui-pop-link-modal iframe {
width: 100%;
height: 100%;
border: none;
background: #1a1a1a;
}
/* Custom scrollbar styling */
.glance-ui-pop-link-modal iframe {
scrollbar-width: thin;
scrollbar-color: #444 #2a2a2a;
}
.glance-ui-pop-link-modal iframe::-webkit-scrollbar {
width: 6px;
}
.glance-ui-pop-link-modal iframe::-webkit-scrollbar-track {
background: #2a2a2a;
}
.glance-ui-pop-link-modal iframe::-webkit-scrollbar-thumb {
background-color: #444;
border-radius: 3px;
}
/* Control buttons outside the modal - positioned at fixed position */
.glance-ui-pop-link-controls {
display: flex;
flex-direction: column-reverse; /* Reverse the order so open button is above close button */
gap: 12px;
z-index: 2147483648; /* Higher than modal */
position: fixed;
top: 20px;
right: 20px;
}
.glance-ui-pop-link-control-btn {
width: 40px;
height: 40px;
border: 0.5px solid #ffffff; /* Reduced to minimal 1px white border */
border-radius: 50%; /* Circular */
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
background-color: #181818; /* New color */
color: white;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
transition: none; /* Remove hover effects */
}
.glance-ui-pop-link-control-btn:hover {
background-color: #181818; /* Same as default, no hover effect */
}
/* Drag and drop target */
.glance-ui-drag-target {
position: fixed;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
padding: 15px 30px;
background: rgba(40, 40, 40, 0.9);
border: 2px dashed #ccc; /* Changed to less bright white */
border-radius: 8px;
color: #ccc;
font-size: 16px;
font-weight: 500;
z-index: 2147483649;
backdrop-filter: blur(4px);
transition: all 0.3s ease;
opacity: 0;
pointer-events: none;
}
.glance-ui-drag-target.active {
opacity: 1;
pointer-events: auto;
border-color: #ccc; /* Changed to less bright white */
background: rgba(30, 30, 30, 0.95);
transform: translateX(-50%) scale(1.05);
}
.glance-ui-drag-target.drag-over {
border-color: #ccc; /* Changed to less bright white */
background: rgba(25, 25, 25, 0.95);
box-shadow: 0 0 20px rgba(204, 204, 204, 0.4); /* Less bright white glow */
}
.glance-ui-pop-link-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(24, 24, 24, 0.8); /* Dark background with opacity to match #181818 */
z-index: 2147483646; /* One less than modal */
backdrop-filter: blur(10px); /* Increased blur for cleaner effect */
transition: all 0.3s ease;
}
/* Make body unscrollable when modal is open */
.glance-ui-modal-open {
overflow: hidden;
}