catime 0.4.3__py3-none-any.whl → 0.4.4__py3-none-any.whl
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.
- catime/docs/app.js +9 -0
- catime/docs/index.html +3 -0
- catime/docs/style.css +21 -0
- {catime-0.4.3.dist-info → catime-0.4.4.dist-info}/METADATA +1 -1
- {catime-0.4.3.dist-info → catime-0.4.4.dist-info}/RECORD +8 -8
- {catime-0.4.3.dist-info → catime-0.4.4.dist-info}/WHEEL +0 -0
- {catime-0.4.3.dist-info → catime-0.4.4.dist-info}/entry_points.txt +0 -0
- {catime-0.4.3.dist-info → catime-0.4.4.dist-info}/licenses/LICENSE +0 -0
catime/docs/app.js
CHANGED
|
@@ -21,6 +21,8 @@
|
|
|
21
21
|
const lbPrompt = document.getElementById("lb-prompt");
|
|
22
22
|
const lbPromptText = document.getElementById("lb-prompt-text");
|
|
23
23
|
const lbCopyBtn = document.getElementById("lb-copy-btn");
|
|
24
|
+
const lbStory = document.getElementById("lb-story");
|
|
25
|
+
const lbStoryText = document.getElementById("lb-story-text");
|
|
24
26
|
|
|
25
27
|
// Date picker elements
|
|
26
28
|
const datePickerBtn = document.getElementById("date-picker-btn");
|
|
@@ -228,6 +230,13 @@
|
|
|
228
230
|
} else {
|
|
229
231
|
lbPrompt.classList.add("hidden");
|
|
230
232
|
}
|
|
233
|
+
// Handle story (backwards compatible)
|
|
234
|
+
if (cat.story) {
|
|
235
|
+
lbStoryText.textContent = cat.story;
|
|
236
|
+
lbStory.classList.remove("hidden");
|
|
237
|
+
} else {
|
|
238
|
+
lbStory.classList.add("hidden");
|
|
239
|
+
}
|
|
231
240
|
lightbox.classList.remove("hidden");
|
|
232
241
|
}
|
|
233
242
|
lbCopyBtn.addEventListener("click", () => {
|
catime/docs/index.html
CHANGED
|
@@ -55,6 +55,9 @@
|
|
|
55
55
|
<p id="lb-prompt-text"></p>
|
|
56
56
|
<button id="lb-copy-btn" title="Copy prompt"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg> Copy</button>
|
|
57
57
|
</div>
|
|
58
|
+
<div id="lb-story" class="hidden">
|
|
59
|
+
<p id="lb-story-text"></p>
|
|
60
|
+
</div>
|
|
58
61
|
</div>
|
|
59
62
|
|
|
60
63
|
<script src="app.js"></script>
|
catime/docs/style.css
CHANGED
|
@@ -300,6 +300,27 @@ button svg, .date-picker-btn svg { vertical-align: -0.15em; }
|
|
|
300
300
|
}
|
|
301
301
|
#lb-copy-btn:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(255, 107, 157, .5); }
|
|
302
302
|
|
|
303
|
+
/* Lightbox story */
|
|
304
|
+
#lb-story {
|
|
305
|
+
margin-top: .6rem;
|
|
306
|
+
max-width: 600px;
|
|
307
|
+
width: 90vw;
|
|
308
|
+
background: linear-gradient(135deg, rgba(201, 177, 255, .4), rgba(255, 107, 157, .3));
|
|
309
|
+
border-radius: 12px;
|
|
310
|
+
padding: .8rem 1rem;
|
|
311
|
+
border: 1px solid rgba(255, 255, 255, .2);
|
|
312
|
+
}
|
|
313
|
+
#lb-story-text {
|
|
314
|
+
color: #fff;
|
|
315
|
+
font-size: .9rem;
|
|
316
|
+
line-height: 1.6;
|
|
317
|
+
text-align: center;
|
|
318
|
+
margin: 0;
|
|
319
|
+
}
|
|
320
|
+
#lb-story::before {
|
|
321
|
+
content: "📖 ";
|
|
322
|
+
}
|
|
323
|
+
|
|
303
324
|
/* Responsive */
|
|
304
325
|
@media (max-width: 1024px) {
|
|
305
326
|
.masonry { column-count: 2; margin-right: 0; }
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
catime/__init__.py,sha256=i8FYHW-V2UO0kNEghreL2-uQ70fLxsGQ0z5kGoNEbfk,70
|
|
2
2
|
catime/cli.py,sha256=pFuEWlUvQdXcqc1VeO8pqxil4hGzib5j4PfVa-5C4lA,5821
|
|
3
|
-
catime/docs/app.js,sha256=
|
|
3
|
+
catime/docs/app.js,sha256=W8_ma0DN8so24mWXF3o_J-yj3FrZ5-k7Q8gE3TGCoDg,10113
|
|
4
4
|
catime/docs/apple-touch-icon.png,sha256=ZSipNfat3Wz3Gu3S5hTGPfIpc5hT_eDFFgScStJLzwQ,38872
|
|
5
5
|
catime/docs/favicon-32.png,sha256=13byvPFWFl_u2RiFITAIVZJZk75Ljo7_N_xS6NUmX_g,2496
|
|
6
6
|
catime/docs/favicon.ico,sha256=2LLdNzyOh5dCYMkpcOVCMyvYyg9PVJPTmmZ2APubvpQ,8050
|
|
7
7
|
catime/docs/icon-192.png,sha256=hx10FySGPXgaBVWMDLR6VJd9UBOfzybOeo9fNZMZTdw,43281
|
|
8
|
-
catime/docs/index.html,sha256=
|
|
9
|
-
catime/docs/style.css,sha256=
|
|
10
|
-
catime-0.4.
|
|
11
|
-
catime-0.4.
|
|
12
|
-
catime-0.4.
|
|
13
|
-
catime-0.4.
|
|
14
|
-
catime-0.4.
|
|
8
|
+
catime/docs/index.html,sha256=Uup_GMkCveRvdiJOrnNA0DBW2wPcF8BU8f-kq7Yh9IU,3907
|
|
9
|
+
catime/docs/style.css,sha256=NzfVrv8IBa1nV_Td6wbmI5CDrIZa35063ykCrWYXdKg,12029
|
|
10
|
+
catime-0.4.4.dist-info/METADATA,sha256=ZkPJdQAwUijoSoWItaqjo67HgVgvbvj-14_XlsUJQyU,1814
|
|
11
|
+
catime-0.4.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
12
|
+
catime-0.4.4.dist-info/entry_points.txt,sha256=oPgi6h026vMo9YyEOH3wuNtD3A28e-s1ChJs-KWWGXw,43
|
|
13
|
+
catime-0.4.4.dist-info/licenses/LICENSE,sha256=p_h5YRMaNCwMqGXX5KDrk49_NWGpzAJ2d6IhKa67B0E,1064
|
|
14
|
+
catime-0.4.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|