PluginProbe
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar / 3.2.7
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar v3.2.7
3.3.3 3.3.2 3.3.1 3.3.0 3.2.14 3.2.13 3.2.12 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 trunk 0.2.5.5 0.2.5.6 0.2.5.7 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 All 158 releases
notificationx / assets / public / css / nx-countdown.css

nx-countdown.css in NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar 3.2.7, at assets/public/css/nx-countdown.css

124 lines 3.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ── NotificationX Countdown Timer Widget ─────────────────────────────────── */
2
3 .nx-countdown-wrapper {
4 display: block;
5 }
6
7 .nx-countdown-container {
8 display: flex;
9 flex-wrap: wrap;
10 align-items: center;
11 list-style: none;
12 margin: 0;
13 padding: 0;
14 }
15
16 /* ── Layout: Grid View (side by side) ────────────────────────────────────── */
17 .nx-countdown-layout-grid {
18 flex-direction: row;
19 flex-wrap: wrap;
20 display: table;
21 table-layout: fixed;
22 width: 100%;
23 }
24
25 .nx-countdown-layout-grid .nx-countdown-item {
26 display: table-cell;
27 }
28
29 /* ── Layout: List View (stacked full-width) ──────────────────────────────── */
30 .nx-countdown-layout-list {
31 flex-direction: column;
32 }
33
34 .nx-countdown-layout-list .nx-countdown-item {
35 display: block;
36 width: 100%;
37 }
38
39 .nx-countdown-layout-list .nx-countdown-item > div {
40 width: 100%;
41 box-sizing: border-box;
42 }
43
44 /* ── Each time unit item ──────────────────────────────────────────────────── */
45 .nx-countdown-item {
46 display: flex;
47 }
48
49 .nx-countdown-item > div {
50 display: flex;
51 flex-direction: column;
52 align-items: center;
53 justify-content: center;
54 padding: 20px 24px;
55 text-align: center;
56 }
57
58 /* ── Digits ──────────────────────────────────────────────────────────────── */
59 .nx-countdown-digits {
60 display: block;
61 font-size: 48px;
62 font-weight: 700;
63 line-height: 1;
64 color: #fec503;
65 }
66
67 /* ── Labels ──────────────────────────────────────────────────────────────── */
68 .nx-countdown-label {
69 display: block;
70 font-size: 13px;
71 font-weight: 600;
72 text-transform: uppercase;
73 letter-spacing: 0.08em;
74 margin-top: 6px;
75 color: #aaaaaa; /* explicit fallback — overridden by the style control */
76 }
77
78 /* ── Label position variants ─────────────────────────────────────────────── */
79 .nx-countdown-label-inline .nx-countdown-label {
80 display: inline-block;
81 margin-top: 0;
82 }
83
84 /* ── Separator (pseudo-element on the digits wrapper) ────────────────────── */
85 .nx-countdown-item > div {
86 position: relative;
87 }
88
89 .nx-countdown-show-separator .nx-countdown-digits::after {
90 content: ':';
91 position: absolute;
92 top: 50%;
93 left: 98%;
94 transform: translateY(-50%);
95 font-size: inherit;
96 font-weight: inherit;
97 pointer-events: none;
98 }
99
100 .nx-countdown-show-separator.nx-countdown-separator-dotted .nx-countdown-digits::after {
101 content: '·';
102 font-size: 2em;
103 line-height: 0;
104 }
105
106 .nx-countdown-show-separator .nx-countdown-item:last-child .nx-countdown-digits::after {
107 display: none;
108 }
109
110 /* ── Finish / expiry message ─────────────────────────────────────────────── */
111 .nx-countdown-finish-message {
112 padding: 16px;
113 }
114
115 .nx-countdown-finish-message .nx-expiry-title {
116 margin-top: 0;
117 margin-bottom: 8px;
118 }
119
120 /* ── Template expiry (hidden by default, shown by JS) ───────────────────── */
121 .nx-countdown-expiry-template {
122 display: none;
123 }
124