appscms-tools-theme 5.7.4 → 5.7.5
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.
- checksums.yaml +4 -4
- data/_data/feature/.DS_Store +0 -0
- data/_includes/.DS_Store +0 -0
- data/_includes/appscms/navbars/navbar.html +13 -13
- data/_includes/appscms/scripts/script.html +18 -15
- data/_includes/bookmark.html +190 -5
- data/_includes/contenttool_result_banner.html +326 -93
- data/_includes/script.html +17 -14
- data/_layouts/appscms-download.html +793 -251
- data/_layouts/appscms-home.html +1 -0
- data/assets/.DS_Store +0 -0
- data/assets/images/contenttool-icon.svg +20 -0
- data/assets/images/contenttool-logo.svg +84 -0
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f9a5c9a03d53d9e07b8133e0e17bce312236432a9c0e40d77df39cbd550749aa
|
|
4
|
+
data.tar.gz: 52769718d50791e0831e62c55e22a9628adc043c49628d3cc083058c9e00a6c1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 648ce0189e006d1c315d644b5ed8edb8e163705119287bd7b4db451a6f2c435f7c9bae1ce59ed45436a9e4f97c7bc5ed8ab78a17110624fc134d465aaa1a1851
|
|
7
|
+
data.tar.gz: dfe6d1aeea0814fa3cf123c96ac68a8e0c55b4b1dd0d0d8ac4d32fb461e712bd656ee532767e07b42956e78a3b18e7cf62fb25c9f59896d196e3d2cd6b99da24
|
data/_data/feature/.DS_Store
CHANGED
|
Binary file
|
data/_includes/.DS_Store
CHANGED
|
Binary file
|
|
@@ -66,10 +66,10 @@
|
|
|
66
66
|
|
|
67
67
|
<div class="user-modal" id="userModal">
|
|
68
68
|
<div class="modal-item">
|
|
69
|
-
<div class="profile-user-avatar">
|
|
69
|
+
<div class="profile-user-avatar">US</div>
|
|
70
70
|
<div class="user-info">
|
|
71
|
-
<div class="logged-in-username">
|
|
72
|
-
<p class="logged-in-user-email">
|
|
71
|
+
<div class="logged-in-username">User</div>
|
|
72
|
+
<p class="logged-in-user-email">example@gmail.com</p>
|
|
73
73
|
</div>
|
|
74
74
|
|
|
75
75
|
</div>
|
|
@@ -115,10 +115,10 @@
|
|
|
115
115
|
<div class="user-avatar" id="userAvatar" style="display: none">GI</div>
|
|
116
116
|
<div class="auth-container" id="authContainer">
|
|
117
117
|
<div id="loginForm">
|
|
118
|
-
<
|
|
119
|
-
<
|
|
118
|
+
<div>Log in</div>
|
|
119
|
+
<div>
|
|
120
120
|
Don't have an account? <a href="#" id="showSignup">Create account</a>
|
|
121
|
-
</
|
|
121
|
+
</div>
|
|
122
122
|
|
|
123
123
|
<div class="auth-forms">
|
|
124
124
|
<button class="social-btn google-btn" id="googleLogin">
|
|
@@ -186,11 +186,11 @@
|
|
|
186
186
|
Back to login
|
|
187
187
|
</div>
|
|
188
188
|
|
|
189
|
-
<
|
|
190
|
-
<
|
|
189
|
+
<div>Reset password</div>
|
|
190
|
+
<div>
|
|
191
191
|
Enter your email address and we'll send you a link to reset your
|
|
192
192
|
password
|
|
193
|
-
</
|
|
193
|
+
</div>
|
|
194
194
|
|
|
195
195
|
<form id="resetPasswordForm">
|
|
196
196
|
<div class="input-group">
|
|
@@ -202,15 +202,15 @@
|
|
|
202
202
|
|
|
203
203
|
<div class="reset-success" id="resetSuccess">
|
|
204
204
|
<div class="success-icon">✓</div>
|
|
205
|
-
<
|
|
205
|
+
<div>Reset link sent</div>
|
|
206
206
|
<p>Check your email for instructions to reset your password</p>
|
|
207
207
|
</div>
|
|
208
208
|
</div>
|
|
209
209
|
|
|
210
210
|
<!-- Sign Up Form -->
|
|
211
211
|
<div id="signupForm" style="display: none">
|
|
212
|
-
<
|
|
213
|
-
<
|
|
212
|
+
<div>Create your account</div>
|
|
213
|
+
<div>Already have an account? <a href="#" id="showLogin">Log in</a></div>
|
|
214
214
|
|
|
215
215
|
<div class="auth-forms">
|
|
216
216
|
<button class="social-btn google-btn" id="googleSignup">
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
<div class="share-modal-overlay" id="shareModalOverlay"></div>
|
|
269
269
|
<div class="share-modal" id="shareModal">
|
|
270
270
|
<div class="share-modal-content">
|
|
271
|
-
<
|
|
271
|
+
<div class="share-modal-title">Show Us Some Love</div>
|
|
272
272
|
<p class="share-modal-subtitle">Tell the world about {{ site.url }}</p>
|
|
273
273
|
|
|
274
274
|
<div class="share-social-icons">
|
|
@@ -55,23 +55,26 @@ replace: "$fileName", page.fileName | replace: "$lang", page.lang | replace:
|
|
|
55
55
|
{%- endif -%} {%- include google-analytics.html -%} {%- if site.bookmark -%} {%-
|
|
56
56
|
if page.layout == "appscms-feature" -%}
|
|
57
57
|
<script>
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
58
|
+
(function () {
|
|
59
|
+
var toaster = document.querySelector(".toaster");
|
|
60
|
+
if (!toaster) return;
|
|
61
|
+
if (
|
|
62
|
+
!/webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
|
|
63
|
+
navigator.userAgent
|
|
64
|
+
)
|
|
65
|
+
) {
|
|
66
|
+
if (navigator.userAgent.indexOf("Mac OS X") != -1) {
|
|
67
|
+
toaster.innerHTML = `Press Command + D to Bookmark this page`;
|
|
68
|
+
} else {
|
|
69
|
+
toaster.innerHTML = `Press Ctrl + D to Bookmark this page`;
|
|
70
|
+
}
|
|
66
71
|
} else {
|
|
67
|
-
toaster.
|
|
72
|
+
toaster.style.display = "none";
|
|
68
73
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
toaster.style.display = "none";
|
|
74
|
-
}, 10000);
|
|
74
|
+
setTimeout(function () {
|
|
75
|
+
toaster.style.display = "none";
|
|
76
|
+
}, 10000);
|
|
77
|
+
})();
|
|
75
78
|
</script>
|
|
76
79
|
{%- endif -%} {%- endif -%}
|
|
77
80
|
|
data/_includes/bookmark.html
CHANGED
|
@@ -1,7 +1,192 @@
|
|
|
1
1
|
{%- if site.bookmark -%}
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
<style>
|
|
3
|
+
.bm-prompt {
|
|
4
|
+
position: fixed;
|
|
5
|
+
right: 28px;
|
|
6
|
+
bottom: 32px;
|
|
7
|
+
z-index: 2147483647;
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: 18px;
|
|
11
|
+
padding: 24px 22px;
|
|
12
|
+
min-height: 120px;
|
|
13
|
+
max-width: 400px;
|
|
14
|
+
background: #fff;
|
|
15
|
+
border: 1px solid #e4e7f5;
|
|
16
|
+
border-radius: 20px;
|
|
17
|
+
box-shadow: 0 28px 70px -24px rgba(27, 47, 231, 0.45), 0 6px 14px rgba(15, 23, 42, 0.08);
|
|
18
|
+
opacity: 0;
|
|
19
|
+
transform: translateY(20px);
|
|
20
|
+
transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
21
|
+
pointer-events: none;
|
|
22
|
+
font-family: inherit;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.bm-prompt.is-visible {
|
|
26
|
+
opacity: 1;
|
|
27
|
+
transform: translateY(0);
|
|
28
|
+
pointer-events: auto;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.bm-prompt::before {
|
|
32
|
+
content: '';
|
|
33
|
+
position: absolute;
|
|
34
|
+
left: 0;
|
|
35
|
+
top: 14%;
|
|
36
|
+
bottom: 14%;
|
|
37
|
+
width: 5px;
|
|
38
|
+
border-radius: 0 5px 5px 0;
|
|
39
|
+
background: linear-gradient(180deg, #1b2fe7, #4a5bff);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.bm-prompt__icon {
|
|
43
|
+
width: 60px;
|
|
44
|
+
height: 60px;
|
|
45
|
+
border-radius: 14px;
|
|
46
|
+
display: inline-flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
background: linear-gradient(135deg, #eef1ff, #e8edff);
|
|
50
|
+
color: #1b2fe7;
|
|
51
|
+
flex-shrink: 0;
|
|
52
|
+
box-shadow: inset 0 0 0 1px rgba(27, 47, 231, 0.1);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.bm-prompt__icon svg {
|
|
56
|
+
width: 30px;
|
|
57
|
+
height: 30px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.bm-prompt__body {
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
gap: 6px;
|
|
64
|
+
line-height: 1.35;
|
|
65
|
+
min-width: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.bm-prompt__title {
|
|
69
|
+
font-size: 17px;
|
|
70
|
+
font-weight: 700;
|
|
71
|
+
color: #0f172a;
|
|
72
|
+
letter-spacing: -0.015em;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.bm-prompt__hint {
|
|
76
|
+
font-size: 14px;
|
|
77
|
+
color: #64748b;
|
|
78
|
+
display: inline-flex;
|
|
79
|
+
align-items: center;
|
|
80
|
+
gap: 6px;
|
|
81
|
+
flex-wrap: wrap;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.bm-prompt__hint kbd {
|
|
85
|
+
display: inline-flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
justify-content: center;
|
|
88
|
+
min-width: 30px;
|
|
89
|
+
height: 28px;
|
|
90
|
+
padding: 0 9px;
|
|
91
|
+
border-radius: 7px;
|
|
92
|
+
background: #f4f5ff;
|
|
93
|
+
border: 1px solid #d6dbec;
|
|
94
|
+
border-bottom-width: 2px;
|
|
95
|
+
color: #1b2fe7;
|
|
96
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
97
|
+
font-size: 13px;
|
|
98
|
+
font-weight: 700;
|
|
99
|
+
letter-spacing: 0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.bm-prompt__close {
|
|
103
|
+
width: 32px;
|
|
104
|
+
height: 32px;
|
|
105
|
+
border-radius: 10px;
|
|
106
|
+
display: inline-flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
justify-content: center;
|
|
109
|
+
background: transparent;
|
|
110
|
+
border: none;
|
|
111
|
+
color: #94a3b8;
|
|
112
|
+
cursor: pointer;
|
|
113
|
+
flex-shrink: 0;
|
|
114
|
+
margin-left: auto;
|
|
115
|
+
transition: background 0.15s ease, color 0.15s ease;
|
|
116
|
+
padding: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.bm-prompt__close:hover {
|
|
120
|
+
background: #f1f5f9;
|
|
121
|
+
color: #0f172a;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.bm-prompt__close svg {
|
|
125
|
+
width: 18px;
|
|
126
|
+
height: 18px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@media (max-width: 640px) {
|
|
130
|
+
.bm-prompt {
|
|
131
|
+
display: none !important;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@media (prefers-reduced-motion: reduce) {
|
|
136
|
+
.bm-prompt {
|
|
137
|
+
transition: opacity 0.1s linear;
|
|
138
|
+
transform: none;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
</style>
|
|
142
|
+
|
|
143
|
+
<div class="bm-prompt" role="status" aria-live="polite" aria-label="Bookmark this page tip">
|
|
144
|
+
<span class="bm-prompt__icon" aria-hidden="true">
|
|
145
|
+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round">
|
|
146
|
+
<path d="M19 21 12 16 5 21V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"/>
|
|
147
|
+
</svg>
|
|
148
|
+
</span>
|
|
149
|
+
<span class="bm-prompt__body">
|
|
150
|
+
<span class="bm-prompt__title">Don't lose this tool</span>
|
|
151
|
+
<span class="bm-prompt__hint">
|
|
152
|
+
Hit <kbd class="bm-prompt__k1">Ctrl</kbd> <span>+</span> <kbd>D</kbd> to bookmark & come back anytime
|
|
153
|
+
</span>
|
|
154
|
+
</span>
|
|
155
|
+
<button type="button" class="bm-prompt__close" aria-label="Dismiss bookmark tip">
|
|
156
|
+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round">
|
|
157
|
+
<path d="M18 6 6 18M6 6l12 12"/>
|
|
158
|
+
</svg>
|
|
159
|
+
</button>
|
|
6
160
|
</div>
|
|
7
|
-
|
|
161
|
+
|
|
162
|
+
<script>
|
|
163
|
+
(function () {
|
|
164
|
+
var el = document.querySelector('.bm-prompt');
|
|
165
|
+
if (!el) return;
|
|
166
|
+
|
|
167
|
+
var isMobile = /webOS|iPhone|iPad|iPod|Android|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
168
|
+
if (isMobile) { el.remove(); return; }
|
|
169
|
+
|
|
170
|
+
var isMac = /Mac OS X|Macintosh/i.test(navigator.userAgent);
|
|
171
|
+
var k = el.querySelector('.bm-prompt__k1');
|
|
172
|
+
if (k) k.textContent = isMac ? '⌘' : 'Ctrl';
|
|
173
|
+
|
|
174
|
+
var showTimer = setTimeout(function () { el.classList.add('is-visible'); }, 900);
|
|
175
|
+
|
|
176
|
+
var hideTimer = setTimeout(function () {
|
|
177
|
+
el.classList.remove('is-visible');
|
|
178
|
+
setTimeout(function () { if (el.parentNode) el.parentNode.removeChild(el); }, 350);
|
|
179
|
+
}, 15000);
|
|
180
|
+
|
|
181
|
+
var closeBtn = el.querySelector('.bm-prompt__close');
|
|
182
|
+
if (closeBtn) {
|
|
183
|
+
closeBtn.addEventListener('click', function () {
|
|
184
|
+
clearTimeout(showTimer);
|
|
185
|
+
clearTimeout(hideTimer);
|
|
186
|
+
el.classList.remove('is-visible');
|
|
187
|
+
setTimeout(function () { if (el.parentNode) el.parentNode.removeChild(el); }, 300);
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
})();
|
|
191
|
+
</script>
|
|
192
|
+
{%- endif -%}
|