nodebb-plugin-ezoic-infinite 1.7.0 → 1.7.1
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 +1 -1
- package/public/client.js +437 -560
- package/public/style.css +15 -26
package/public/style.css
CHANGED
|
@@ -1,32 +1,28 @@
|
|
|
1
1
|
/*
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
- Suppression de line-height:0/font-size:0 global (cassait le texte adjacent)
|
|
5
|
-
- Ciblage précis pour éviter les effets de bord sur les composants NodeBB
|
|
6
|
-
- Règles is-empty revues pour ne pas interférer avec les slots en cours de fill
|
|
7
|
-
*/
|
|
2
|
+
* NodeBB Ezoic Infinite Ads — style.css (v20)
|
|
3
|
+
*/
|
|
8
4
|
|
|
9
|
-
/* ── Wrapper
|
|
5
|
+
/* ── Wrapper ──────────────────────────────────────────────────────────────── */
|
|
10
6
|
.nodebb-ezoic-wrap {
|
|
11
7
|
display: block;
|
|
12
8
|
width: 100%;
|
|
13
9
|
margin: 0 !important;
|
|
14
10
|
padding: 0 !important;
|
|
15
11
|
overflow: hidden;
|
|
16
|
-
contain: layout style;
|
|
12
|
+
contain: layout style;
|
|
17
13
|
}
|
|
18
14
|
|
|
19
|
-
/* Placeholder :
|
|
15
|
+
/* Placeholder : 1px minimum pour rester visible par l'IntersectionObserver */
|
|
20
16
|
.nodebb-ezoic-wrap > [id^="ezoic-pub-ad-placeholder-"] {
|
|
17
|
+
display: block;
|
|
21
18
|
margin: 0 !important;
|
|
22
19
|
padding: 0 !important;
|
|
23
20
|
min-height: 1px;
|
|
24
|
-
display: block;
|
|
25
21
|
}
|
|
26
22
|
|
|
27
|
-
/* ── Ciblage précis des
|
|
23
|
+
/* ── Ciblage précis des nœuds Ezoic dans nos wraps ───────────────────────── */
|
|
28
24
|
|
|
29
|
-
/*
|
|
25
|
+
/* Supprime le gap "baseline" sous les iframes */
|
|
30
26
|
.nodebb-ezoic-wrap iframe,
|
|
31
27
|
.nodebb-ezoic-wrap div[id$="__container__"] iframe {
|
|
32
28
|
display: block !important;
|
|
@@ -38,15 +34,14 @@
|
|
|
38
34
|
.nodebb-ezoic-wrap div[id$="__container__"] {
|
|
39
35
|
display: block !important;
|
|
40
36
|
line-height: 0 !important;
|
|
41
|
-
font-size: 0 !important;
|
|
42
37
|
}
|
|
43
38
|
|
|
44
|
-
/*
|
|
39
|
+
/* Écrase la réserve 400px inline qu'Ezoic injecte */
|
|
45
40
|
.nodebb-ezoic-wrap .ezoic-ad,
|
|
46
41
|
.nodebb-ezoic-wrap span.ezoic-ad {
|
|
47
42
|
margin: 0 !important;
|
|
48
43
|
padding: 0 !important;
|
|
49
|
-
min-height: 1px !important;
|
|
44
|
+
min-height: 1px !important;
|
|
50
45
|
height: auto !important;
|
|
51
46
|
}
|
|
52
47
|
|
|
@@ -55,17 +50,16 @@
|
|
|
55
50
|
position: absolute !important;
|
|
56
51
|
}
|
|
57
52
|
|
|
58
|
-
/* Neutralise sticky
|
|
53
|
+
/* Neutralise sticky dans nos wraps (évite l'effet "gliding") */
|
|
59
54
|
.nodebb-ezoic-wrap .ezads-sticky-intradiv {
|
|
60
55
|
position: static !important;
|
|
61
56
|
top: auto !important;
|
|
62
57
|
}
|
|
63
58
|
|
|
64
|
-
/* ── État
|
|
59
|
+
/* ── État vide ────────────────────────────────────────────────────────────── */
|
|
65
60
|
/*
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
trop tard si le fill arrive après le collapse).
|
|
61
|
+
Ajouté 20s après showAds si aucun fill détecté.
|
|
62
|
+
Collapse à 1px (pas 0) : reste observable par l'IO si le fill arrive tard.
|
|
69
63
|
*/
|
|
70
64
|
.nodebb-ezoic-wrap.is-empty {
|
|
71
65
|
display: block !important;
|
|
@@ -77,13 +71,8 @@
|
|
|
77
71
|
overflow: hidden !important;
|
|
78
72
|
}
|
|
79
73
|
|
|
80
|
-
/* ── Ezoic global (hors de nos wraps)
|
|
74
|
+
/* ── Ezoic global (hors de nos wraps) ────────────────────────────────────── */
|
|
81
75
|
.ezoic-ad {
|
|
82
76
|
margin: 0 !important;
|
|
83
77
|
padding: 0 !important;
|
|
84
78
|
}
|
|
85
|
-
|
|
86
|
-
/* ── Orphan hidden (compatibilité transitoire) ───────────────────────────── */
|
|
87
|
-
.ez-orphan-hidden {
|
|
88
|
-
display: none !important;
|
|
89
|
-
}
|