appscms-tools-theme 5.2.1 → 5.2.3

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.
@@ -0,0 +1,266 @@
1
+
2
+ {%- if site.show_contenttool_promo -%}
3
+ <style>
4
+ /* Main Promotion Banner */
5
+ .promo-banner {
6
+ position: sticky;
7
+ top: 0;
8
+ z-index: 9999;
9
+ background: linear-gradient(135deg, #667eea 0%, #1b2fe7 100%);
10
+ /* background: linear-gradient(to right, #d53369, #cbad6d); */
11
+ /* background: linear-gradient(to right, #f857a6, #ff5858); */
12
+ /* background: linear-gradient(135deg, #4456f6f7 0%, #4456f6f7 100%); */
13
+ background-size: 200% 200%;
14
+ animation: gradientShift 4s ease infinite;
15
+ padding: 12px 20px;
16
+ box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
17
+ overflow: hidden;
18
+ position: relative;
19
+ }
20
+
21
+ .promo-banner::before {
22
+ content: '';
23
+ position: absolute;
24
+ top: 0;
25
+ left: -100%;
26
+ width: 100%;
27
+ height: 100%;
28
+ background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
29
+ animation: shine 3s infinite;
30
+ }
31
+
32
+ @keyframes gradientShift {
33
+ 0% {
34
+ background-position: 0% 50%;
35
+ }
36
+
37
+ 50% {
38
+ background-position: 100% 50%;
39
+ }
40
+
41
+ 100% {
42
+ background-position: 0% 50%;
43
+ }
44
+ }
45
+
46
+ @keyframes shine {
47
+ 0% {
48
+ left: -100%;
49
+ }
50
+
51
+ 100% {
52
+ left: 100%;
53
+ }
54
+ }
55
+
56
+ .banner-content {
57
+ display: flex;
58
+ align-items: center;
59
+ justify-content: center;
60
+ gap: 15px;
61
+ max-width: 1200px;
62
+ margin: 0 auto;
63
+ position: relative;
64
+ z-index: 2;
65
+ }
66
+
67
+ .banner-icon {
68
+ font-size: 24px;
69
+ animation: bounce 2s infinite;
70
+ }
71
+
72
+ @keyframes bounce {
73
+
74
+ 0%,
75
+ 20%,
76
+ 50%,
77
+ 80%,
78
+ 100% {
79
+ transform: translateY(0);
80
+ }
81
+
82
+ 40% {
83
+ transform: translateY(-5px);
84
+ }
85
+
86
+ 60% {
87
+ transform: translateY(-3px);
88
+ }
89
+ }
90
+
91
+ .banner-text {
92
+ color: white;
93
+ font-size: 16px;
94
+ font-weight: 600;
95
+ text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
96
+ letter-spacing: 0.5px;
97
+ }
98
+
99
+ .highlight {
100
+ color: #ffd700;
101
+ font-weight: 700;
102
+ text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
103
+ }
104
+
105
+ .cta-button {
106
+ background: linear-gradient(45deg, #f59e0b, #d97706);
107
+ /* background-color: #fff; */
108
+ /* background: linear-gradient(45deg, #007bff, #007bff); */
109
+ /* background: linear-gradient(45deg, #ff6b6b, #ff8e8e); */
110
+ color: #fff;
111
+ padding: 5px 15px;
112
+ border-radius: 25px;
113
+ text-decoration: none;
114
+ font-weight: 700;
115
+ font-size: 14px;
116
+ border: 1px solid rgba(0, 0, 0, 0.1);
117
+ transition: all 0.3s ease;
118
+ /* box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4); */
119
+ position: relative;
120
+ overflow: hidden;
121
+ text-transform: uppercase;
122
+ letter-spacing: 1px;
123
+ }
124
+
125
+ .cta-button::before {
126
+ content: '';
127
+ position: absolute;
128
+ top: 0;
129
+ left: -100%;
130
+ width: 100%;
131
+ height: 100%;
132
+ background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
133
+ transition: left 0.5s;
134
+ }
135
+
136
+ .cta-button:hover::before {
137
+ left: 100%;
138
+ }
139
+
140
+ .cta-button:hover {
141
+ color: #000;
142
+ transform: translateY(-2px);
143
+ box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
144
+ border-color: rgba(255, 255, 255, 0.4);
145
+ }
146
+
147
+ .close-btn {
148
+ background: rgba(255, 255, 255, 0.2);
149
+ border: none;
150
+ color: white;
151
+ font-size: 18px;
152
+ width: 30px;
153
+ height: 30px;
154
+ border-radius: 50%;
155
+ cursor: pointer;
156
+ transition: all 0.3s ease;
157
+ position: absolute;
158
+ right: 15px;
159
+ top: 50%;
160
+ transform: translateY(-50%);
161
+ }
162
+
163
+ .close-btn:hover {
164
+ background: rgba(255, 255, 255, 0.3);
165
+ transform: translateY(-50%) rotate(90deg);
166
+ }
167
+
168
+ /* Floating particles effect */
169
+ .particle {
170
+ position: absolute;
171
+ background: rgba(255, 255, 255, 0.1);
172
+ border-radius: 50%;
173
+ pointer-events: none;
174
+ }
175
+
176
+ .particle:nth-child(1) {
177
+ width: 6px;
178
+ height: 6px;
179
+ top: 20%;
180
+ left: 10%;
181
+ animation: float 6s infinite ease-in-out;
182
+ }
183
+
184
+ .particle:nth-child(2) {
185
+ width: 4px;
186
+ height: 4px;
187
+ top: 60%;
188
+ left: 80%;
189
+ animation: float 4s infinite ease-in-out reverse;
190
+ }
191
+
192
+ .particle:nth-child(3) {
193
+ width: 8px;
194
+ height: 8px;
195
+ top: 40%;
196
+ left: 20%;
197
+ animation: float 5s infinite ease-in-out;
198
+ }
199
+
200
+ @keyframes float {
201
+
202
+ 0%,
203
+ 100% {
204
+ transform: translateY(0px);
205
+ }
206
+
207
+ 50% {
208
+ transform: translateY(-10px);
209
+ }
210
+ }
211
+
212
+ /* Mobile Responsive */
213
+ @media (max-width: 768px) {
214
+ .promo-banner {
215
+ padding: 8px 15px;
216
+ }
217
+
218
+ .banner-content {
219
+ gap: 10px;
220
+ flex-wrap: wrap;
221
+ }
222
+
223
+ .banner-text {
224
+ font-size: 14px;
225
+ text-align: center;
226
+ flex: 1 1 100%;
227
+ }
228
+
229
+ .cta-button {
230
+ padding: 8px 20px;
231
+ font-size: 12px;
232
+ }
233
+
234
+ .banner-icon {
235
+ font-size: 20px;
236
+ }
237
+
238
+ .close-btn {
239
+ position: relative;
240
+ right: auto;
241
+ top: auto;
242
+ transform: none;
243
+ margin-left: auto;
244
+ }
245
+ }
246
+ </style>
247
+ <!-- Attractive Promotion Banner -->
248
+ <div class="promo-banner" id="promoBanner">
249
+ <!-- Floating particles for extra effect -->
250
+ <div class="particle"></div>
251
+ <div class="particle"></div>
252
+ <div class="particle"></div>
253
+
254
+ <div class="banner-content">
255
+ <div class="banner-icon">🚀</div>
256
+ <div class="banner-text">
257
+ {{site.contenttool_promo_text}}
258
+ <!-- New! Try ContentTool – <span class="highlight">410+ AI Tools</span> in One Place -->
259
+ </div>
260
+ <a href="https://contenttool.io" class="cta-button">
261
+ Try Now →
262
+ </a>
263
+ </div>
264
+ <button class="close-btn" onclick="closeBanner()">×</button>
265
+ </div>
266
+ {%- endif -%}
@@ -0,0 +1,135 @@
1
+ {%- if site.show_contenttool_promo -%}
2
+ <style>
3
+ .go-back-block {
4
+ margin: 0 !important;
5
+ }
6
+
7
+ .action-section {
8
+ background: linear-gradient(135deg, #667eea 0%, #1b2fe7 100%);
9
+ border-radius: 4px;
10
+ padding: 30px 40px;
11
+ margin: 30px 0 40px 0;
12
+ color: white;
13
+ position: relative;
14
+ overflow: hidden;
15
+ box-shadow: 0 10px 30px rgba(91, 33, 182, 0.3);
16
+ }
17
+
18
+ .action-section::before {
19
+ content: '';
20
+ position: absolute;
21
+ top: 0;
22
+ left: -100%;
23
+ width: 100%;
24
+ height: 100%;
25
+ background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
26
+ animation: shine 4s infinite;
27
+ }
28
+
29
+ @keyframes shine {
30
+ 0% { left: -100%; }
31
+ 100% { left: 100%; }
32
+ }
33
+
34
+ .action-content {
35
+ position: relative;
36
+ z-index: 2;
37
+ text-align: center;
38
+ }
39
+
40
+ .action-buttons {
41
+ display: flex;
42
+ justify-content: center;
43
+ align-items: center;
44
+ flex-wrap: wrap;
45
+ }
46
+
47
+ .action-btn {
48
+ height: auto !important;
49
+ padding: 12px 25px !important;
50
+ border-radius: 30px !important;
51
+ font-size: 14px !important;
52
+ font-weight: 700;
53
+ cursor: pointer;
54
+ transition: all 0.3s ease;
55
+ text-decoration: none;
56
+ border: none;
57
+ position: relative;
58
+ overflow: hidden;
59
+ text-transform: uppercase;
60
+ letter-spacing: 0.5px;
61
+ }
62
+
63
+ .action-btn:hover {
64
+ text-decoration: none;
65
+ color: #fff;
66
+ }
67
+
68
+ .primary-btn {
69
+ width: 400px;
70
+ background: rgba(255, 255, 255, 0.2) !important;
71
+ color: white !important;
72
+ border: 2px solid rgba(255, 255, 255, 0.3) !important;
73
+ backdrop-filter: blur(10px) !important;
74
+ }
75
+
76
+ .primary-btn:hover {
77
+ background: rgba(255, 255, 255, 0.3);
78
+ transform: translateY(-3px);
79
+ box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
80
+ }
81
+
82
+ .secondary-btn {
83
+ background: linear-gradient(45deg, #f59e0b, #d97706);
84
+ color: white;
85
+ border: 2px solid rgba(245, 158, 11, 0.3);
86
+ }
87
+
88
+ .secondary-btn:hover {
89
+ background: linear-gradient(45deg, #d97706, #b45309);
90
+ transform: translateY(-3px);
91
+ box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
92
+ }
93
+
94
+ .action-divider {
95
+ font-size: 18px;
96
+ font-weight: 600;
97
+ margin: 0 15px;
98
+ opacity: 0.8;
99
+ }
100
+
101
+ /* Mobile Responsive */
102
+ @media (max-width: 768px) {
103
+ .action-buttons {
104
+ flex-direction: column;
105
+ gap: 15px;
106
+ }
107
+
108
+ .action-divider {
109
+ margin: 0;
110
+ }
111
+
112
+ .action-btn {
113
+ width: 100%;
114
+ max-width: 280px;
115
+ padding: 12px 25px;
116
+ font-size: 14px;
117
+ }
118
+ }
119
+ </style>
120
+ <div class="action-section">
121
+ <div class="action-content">
122
+ <div class="action-buttons">
123
+ <div class="go-back-block">
124
+ <button id="processing-btn" class="action-btn primary-btn">Try processing another file</button>
125
+ </div>
126
+
127
+
128
+ <div class="action-divider">OR</div>
129
+ <a href="https://contenttool.io" class="action-btn secondary-btn">
130
+ Explore 410+ AI Tools on Contenttool →
131
+ </a>
132
+ </div>
133
+ </div>
134
+ </div>
135
+ {%- endif -%}