nodebb-plugin-pdf-secure2 1.2.31 → 1.2.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/image.png +0 -0
- package/library.js +1 -1
- package/package.json +1 -1
- package/static/viewer.html +25 -22
- package/image copy.png +0 -0
package/image.png
ADDED
|
Binary file
|
package/library.js
CHANGED
|
@@ -125,7 +125,7 @@ plugin.init = async (params) => {
|
|
|
125
125
|
'Expires': '0',
|
|
126
126
|
'Referrer-Policy': 'no-referrer',
|
|
127
127
|
'Permissions-Policy': 'accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=()',
|
|
128
|
-
'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdnjs.cloudflare.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com; img-src 'self' data: blob
|
|
128
|
+
'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdnjs.cloudflare.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com; img-src 'self' data: blob: https://i.ibb.co; connect-src 'self'; frame-ancestors 'self'",
|
|
129
129
|
});
|
|
130
130
|
|
|
131
131
|
// Inject the filename, nonce, and key into the cached viewer
|
package/package.json
CHANGED
package/static/viewer.html
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
--accent: #0078d4;
|
|
24
24
|
--accent-hover: #1a86d9;
|
|
25
25
|
--border-color: #404040;
|
|
26
|
-
--toolbar-height:
|
|
26
|
+
--toolbar-height: 38px;
|
|
27
27
|
--sidebar-width: 200px;
|
|
28
28
|
--toolbar-height-mobile: 44px;
|
|
29
29
|
--bottom-bar-height: 52px;
|
|
@@ -109,20 +109,21 @@
|
|
|
109
109
|
border-bottom: 1px solid var(--border-color);
|
|
110
110
|
display: flex;
|
|
111
111
|
align-items: center;
|
|
112
|
-
padding: 0
|
|
113
|
-
gap:
|
|
112
|
+
padding: 0 6px;
|
|
113
|
+
gap: 1px;
|
|
114
114
|
z-index: 100;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
.toolbarGroup {
|
|
118
118
|
display: flex;
|
|
119
119
|
align-items: center;
|
|
120
|
-
gap:
|
|
120
|
+
gap: 0px;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.toolbarBtn {
|
|
124
|
-
width:
|
|
125
|
-
height:
|
|
124
|
+
width: 28px;
|
|
125
|
+
height: 28px;
|
|
126
|
+
min-width: 28px;
|
|
126
127
|
border: none;
|
|
127
128
|
background: transparent;
|
|
128
129
|
color: var(--text-primary);
|
|
@@ -144,16 +145,16 @@
|
|
|
144
145
|
}
|
|
145
146
|
|
|
146
147
|
.toolbarBtn svg {
|
|
147
|
-
width:
|
|
148
|
-
height:
|
|
148
|
+
width: 16px;
|
|
149
|
+
height: 16px;
|
|
149
150
|
fill: currentColor;
|
|
150
151
|
}
|
|
151
152
|
|
|
152
153
|
.separator {
|
|
153
154
|
width: 1px;
|
|
154
|
-
height:
|
|
155
|
+
height: 20px;
|
|
155
156
|
background: var(--border-color);
|
|
156
|
-
margin: 0
|
|
157
|
+
margin: 0 3px;
|
|
157
158
|
}
|
|
158
159
|
|
|
159
160
|
/* Enhanced Tooltips */
|
|
@@ -415,8 +416,8 @@
|
|
|
415
416
|
}
|
|
416
417
|
|
|
417
418
|
.dropdownArrow {
|
|
418
|
-
width:
|
|
419
|
-
height:
|
|
419
|
+
width: 16px;
|
|
420
|
+
height: 28px;
|
|
420
421
|
border: none;
|
|
421
422
|
background: transparent;
|
|
422
423
|
color: var(--text-primary);
|
|
@@ -437,8 +438,8 @@
|
|
|
437
438
|
}
|
|
438
439
|
|
|
439
440
|
.dropdownArrow svg {
|
|
440
|
-
width:
|
|
441
|
-
height:
|
|
441
|
+
width: 10px;
|
|
442
|
+
height: 10px;
|
|
442
443
|
fill: currentColor;
|
|
443
444
|
}
|
|
444
445
|
|
|
@@ -541,24 +542,24 @@
|
|
|
541
542
|
.pageInfo {
|
|
542
543
|
display: flex;
|
|
543
544
|
align-items: center;
|
|
544
|
-
gap:
|
|
545
|
+
gap: 4px;
|
|
545
546
|
margin-left: auto;
|
|
546
547
|
}
|
|
547
548
|
|
|
548
549
|
#pageInput {
|
|
549
|
-
width:
|
|
550
|
-
height:
|
|
550
|
+
width: 32px;
|
|
551
|
+
height: 24px;
|
|
551
552
|
background: var(--bg-tertiary);
|
|
552
553
|
border: 1px solid var(--border-color);
|
|
553
554
|
border-radius: 4px;
|
|
554
555
|
color: var(--text-primary);
|
|
555
556
|
text-align: center;
|
|
556
|
-
font-size:
|
|
557
|
+
font-size: 12px;
|
|
557
558
|
}
|
|
558
559
|
|
|
559
560
|
#pageCount {
|
|
560
561
|
color: var(--text-secondary);
|
|
561
|
-
font-size:
|
|
562
|
+
font-size: 12px;
|
|
562
563
|
}
|
|
563
564
|
|
|
564
565
|
/* Sidebar - Thumbnails */
|
|
@@ -1604,11 +1605,13 @@
|
|
|
1604
1605
|
display: flex;
|
|
1605
1606
|
flex-direction: column;
|
|
1606
1607
|
align-items: center;
|
|
1607
|
-
justify-content:
|
|
1608
|
+
justify-content: flex-start;
|
|
1609
|
+
padding-top: clamp(30px, 8%, 80px);
|
|
1608
1610
|
background: linear-gradient(180deg, rgba(31,31,31,0.95) 0%, rgba(20,20,20,0.98) 100%);
|
|
1609
1611
|
z-index: 15;
|
|
1610
1612
|
text-align: center;
|
|
1611
|
-
padding: 20px;
|
|
1613
|
+
padding-left: 20px;
|
|
1614
|
+
padding-right: 20px;
|
|
1612
1615
|
box-sizing: border-box;
|
|
1613
1616
|
}
|
|
1614
1617
|
|
|
@@ -2834,7 +2837,7 @@
|
|
|
2834
2837
|
a.rel = 'noopener';
|
|
2835
2838
|
a.className = 'unicourse-page-wm';
|
|
2836
2839
|
a.style.setProperty('--wm-scale', scale);
|
|
2837
|
-
a.innerHTML = '<img src="https://
|
|
2840
|
+
a.innerHTML = '<img src="https://i.ibb.co/SbzdR8K/logo-unicorn.png" alt="unicourse">' +
|
|
2838
2841
|
'<div class="unicourse-page-wm-text">' +
|
|
2839
2842
|
'<span>Çıkmış sorular ve</span>' +
|
|
2840
2843
|
'<span>ders notları için tıkla</span>' +
|
package/image copy.png
DELETED
|
Binary file
|