nodebb-plugin-pdf-secure2 1.2.33 → 1.2.34

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-pdf-secure2",
3
- "version": "1.2.33",
3
+ "version": "1.2.34",
4
4
  "description": "Secure PDF viewer plugin for NodeBB - prevents downloading, enables canvas-only rendering with Premium group support",
5
5
  "main": "library.js",
6
6
  "repository": {
@@ -23,7 +23,7 @@
23
23
  --accent: #0078d4;
24
24
  --accent-hover: #1a86d9;
25
25
  --border-color: #404040;
26
- --toolbar-height: 38px;
26
+ --toolbar-height: 34px;
27
27
  --sidebar-width: 200px;
28
28
  --toolbar-height-mobile: 44px;
29
29
  --bottom-bar-height: 52px;
@@ -121,9 +121,9 @@
121
121
  }
122
122
 
123
123
  .toolbarBtn {
124
- width: 28px;
125
- height: 28px;
126
- min-width: 28px;
124
+ width: 24px;
125
+ height: 24px;
126
+ min-width: 24px;
127
127
  border: none;
128
128
  background: transparent;
129
129
  color: var(--text-primary);
@@ -145,16 +145,16 @@
145
145
  }
146
146
 
147
147
  .toolbarBtn svg {
148
- width: 16px;
149
- height: 16px;
148
+ width: 14px;
149
+ height: 14px;
150
150
  fill: currentColor;
151
151
  }
152
152
 
153
153
  .separator {
154
154
  width: 1px;
155
- height: 20px;
155
+ height: 16px;
156
156
  background: var(--border-color);
157
- margin: 0 3px;
157
+ margin: 0 2px;
158
158
  }
159
159
 
160
160
  /* Enhanced Tooltips */
@@ -416,8 +416,8 @@
416
416
  }
417
417
 
418
418
  .dropdownArrow {
419
- width: 16px;
420
- height: 28px;
419
+ width: 14px;
420
+ height: 24px;
421
421
  border: none;
422
422
  background: transparent;
423
423
  color: var(--text-primary);
@@ -547,19 +547,19 @@
547
547
  }
548
548
 
549
549
  #pageInput {
550
- width: 32px;
551
- height: 24px;
550
+ width: 28px;
551
+ height: 22px;
552
552
  background: var(--bg-tertiary);
553
553
  border: 1px solid var(--border-color);
554
- border-radius: 4px;
554
+ border-radius: 3px;
555
555
  color: var(--text-primary);
556
556
  text-align: center;
557
- font-size: 12px;
557
+ font-size: 11px;
558
558
  }
559
559
 
560
560
  #pageCount {
561
561
  color: var(--text-secondary);
562
- font-size: 12px;
562
+ font-size: 11px;
563
563
  }
564
564
 
565
565
  /* Sidebar - Thumbnails */
@@ -1398,6 +1398,64 @@
1398
1398
  }
1399
1399
  }
1400
1400
 
1401
+ /* ==========================================
1402
+ FULLSCREEN - restore larger toolbar
1403
+ ========================================== */
1404
+ body.viewer-fullscreen #toolbar {
1405
+ --toolbar-height: 46px;
1406
+ height: 46px;
1407
+ padding: 0 12px;
1408
+ gap: 4px;
1409
+ }
1410
+
1411
+ body.viewer-fullscreen .toolbarGroup {
1412
+ gap: 2px;
1413
+ }
1414
+
1415
+ body.viewer-fullscreen .toolbarBtn {
1416
+ width: 34px;
1417
+ height: 34px;
1418
+ min-width: 34px;
1419
+ }
1420
+
1421
+ body.viewer-fullscreen .toolbarBtn svg {
1422
+ width: 18px;
1423
+ height: 18px;
1424
+ }
1425
+
1426
+ body.viewer-fullscreen .separator {
1427
+ height: 24px;
1428
+ margin: 0 6px;
1429
+ }
1430
+
1431
+ body.viewer-fullscreen .dropdownArrow {
1432
+ width: 18px;
1433
+ height: 34px;
1434
+ }
1435
+
1436
+ body.viewer-fullscreen .dropdownArrow svg {
1437
+ width: 12px;
1438
+ height: 12px;
1439
+ }
1440
+
1441
+ body.viewer-fullscreen #pageInput {
1442
+ width: 40px;
1443
+ height: 28px;
1444
+ font-size: 13px;
1445
+ }
1446
+
1447
+ body.viewer-fullscreen #pageCount {
1448
+ font-size: 13px;
1449
+ }
1450
+
1451
+ body.viewer-fullscreen .pageInfo {
1452
+ gap: 8px;
1453
+ }
1454
+
1455
+ body.viewer-fullscreen #viewerContainer {
1456
+ top: 46px;
1457
+ }
1458
+
1401
1459
  /* ==========================================
1402
1460
  TABLET BREAKPOINT (600px - 1024px)
1403
1461
  ========================================== */
package/image.png DELETED
Binary file