bible270 1.17.0 → 1.17.2
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/CHANGELOG.md +56 -24
- data/README.md +28 -14
- data/app/views/bible270/admin/_scripture_frames.html.erb +9 -3
- data/app/views/bible270/shared/_admin_reader_list_ui.html.erb +8 -4
- data/app/views/bible270/shared/_day_completion_dove.html.erb +4 -3
- data/app/views/bible270/shared/_day_completion_ui.html.erb +1 -1
- data/app/views/bible270/shared/_styles.html.erb +25 -14
- data/config/scripture_frames.yml +34 -0
- data/lib/bible270/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c99403f2988bb64614996cf4b447679f8ad56731d1c4f6d5f9f6f93cb23d1d4d
|
|
4
|
+
data.tar.gz: f87f1e3baf25aa620da73eb9ad2fc8e3ff40a082d4ffdfef10bbed98246e08d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 02fe754b4c1a32a3ae63c8353b145a034c98d9a5bb1c60e7a44675aebdc9aa6185ed9319482f1e21db9b72fecc32f32a7081aafb6a3b94dbf2b01f99aa0c2be1
|
|
7
|
+
data.tar.gz: e8fcff4ab48c0bd01f778ec10b25ebd5c252f243aebba7b0c57ce795c27bc93d587b58dcc5c204f476610a0aae13884d70e4eb253f071c207549828ce6c64e95
|
data/CHANGELOG.md
CHANGED
|
@@ -6,39 +6,68 @@ Notable changes, following [Keep a Changelog](https://keepachangelog.com/en/1.1.
|
|
|
6
6
|
|
|
7
7
|
### Added
|
|
8
8
|
|
|
9
|
-
-
|
|
9
|
+
- add a session-remembered Show/Hide Scripture frames toggle in Admin
|
|
10
|
+
- expand the bundled Scripture frame collection
|
|
11
|
+
|
|
12
|
+
## [1.17.1] - 2026-11-13
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- expand the bundled Scripture frame collection
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- simplify documentation
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- fix iPhone completion rendering; grow and fade the dove without a final flash
|
|
25
|
+
|
|
26
|
+
## [1.17.0] - 2026-11-12
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
|
|
10
30
|
- show random, theme-matched Scripture frames on a 3-second bread-icon hover or immediately by tap, click, or keyboard
|
|
11
|
-
-
|
|
12
|
-
- support
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
- add Active/Alumni
|
|
17
|
-
- let configured Site-admins grant or
|
|
31
|
+
- manage Scripture texts in Admin; custom texts supplement YAML defaults with automatic translation credits
|
|
32
|
+
- support custom quotations with **Author / source**, without Bible translation credits
|
|
33
|
+
- enable or disable default Scripture texts without changing YAML; choices persist across runs
|
|
34
|
+
- start new runs with fresh admin memberships, alumni status for other readers, and open enrollment; preserve accounts, history, and discussions
|
|
35
|
+
- revert post-upgrade restarts to saved memberships, calendars, and enrollment settings; preserve both runs' progress and discussions
|
|
36
|
+
- add collapsible Active/Alumni lists, quick **Make Active** buttons, and read-only run history; remember active-list visibility for the tab's sign-in session
|
|
37
|
+
- let configured Site-admins grant or revoke admin access; roles persist independently of run membership
|
|
18
38
|
|
|
19
39
|
### Changed
|
|
20
40
|
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
- simplify
|
|
24
|
-
- alumni
|
|
25
|
-
- exclude alumni from current-group
|
|
41
|
+
- show a random frame on day completion, with an optional dove, synchronized fade, and reduced-motion support
|
|
42
|
+
- improve the bread icon, title alignment, and small-screen Papyrus layout
|
|
43
|
+
- simplify frame dismissal and remove lingering bread-icon focus outlines
|
|
44
|
+
- let alumni use Community and discussions; retain shared reflections and frozen progress
|
|
45
|
+
- exclude alumni from current-group notices and reminders; retain opted-in personal notices and admin broadcasts
|
|
26
46
|
- keep separate progress and consistency history for each run
|
|
27
|
-
- speed up
|
|
28
|
-
- compact
|
|
29
|
-
-
|
|
30
|
-
- consolidate Scripture management
|
|
31
|
-
-
|
|
47
|
+
- speed up tests with CPU-aware workers, focused suites, and quieter logs
|
|
48
|
+
- compact reader controls and replace the completion-animation checkbox with an Enable/Disable button
|
|
49
|
+
- simplify custom-text forms; require pasted text while API lookup is deferred
|
|
50
|
+
- consolidate Scripture management in Admin, with inline actions and custom passages first in biblical order
|
|
51
|
+
- compact name fields and reorder Admin/Profile controls
|
|
32
52
|
|
|
33
|
-
**Upgrade:** Back up the database, then copy and run migrations `20260101000024`–`20260101000027
|
|
53
|
+
**Upgrade:** Back up the host database, then copy and run migrations `20260101000024`–`20260101000027`. Existing progress becomes the first run; the run-history migration is irreversible.
|
|
34
54
|
|
|
35
55
|
### Fixed
|
|
36
56
|
|
|
37
|
-
- hide collapsed Scripture passages immediately
|
|
38
|
-
-
|
|
39
|
-
- give Admin, Site-admin, and Alumni labels matching compact, theme-colored badges; center uppercase text without font-dependent offsets
|
|
57
|
+
- hide collapsed Scripture passages immediately; restore previews on fresh hover or focus
|
|
58
|
+
- align Admin, Site-admin, and Alumni badges with compact, theme-matched styling
|
|
40
59
|
- shorten theme and upload hints on Admin and Profile; keep the System hint on one line
|
|
41
|
-
-
|
|
60
|
+
- avoid repeated calendar lookups when rendering the day grid
|
|
61
|
+
|
|
62
|
+
## [1.16.0] - 2026-11-10
|
|
63
|
+
|
|
64
|
+
### Added
|
|
65
|
+
|
|
66
|
+
- preview original avatar photos after a 3-second hover; keep touch behavior unchanged
|
|
67
|
+
|
|
68
|
+
### Fixed
|
|
69
|
+
|
|
70
|
+
- always confirm reader removal before deleting progress and reflections
|
|
42
71
|
|
|
43
72
|
## [1.15.1] - 2026-11-06
|
|
44
73
|
|
|
@@ -851,7 +880,10 @@ This is the initial public release.
|
|
|
851
880
|
|
|
852
881
|
- Email sign-in requires working Action Mailer delivery in the host application. Set `config.mailer_from`; delivery is inline by default, or set `email_sign_in_deliver_later` when a queue backend is available.
|
|
853
882
|
|
|
854
|
-
[Unreleased]: https://github.com/avonderluft/bible270/compare/v1.
|
|
883
|
+
[Unreleased]: https://github.com/avonderluft/bible270/compare/v1.17.1...main
|
|
884
|
+
[1.17.1]: https://github.com/avonderluft/bible270/compare/v1.17.0...v1.17.1
|
|
885
|
+
[1.17.0]: https://github.com/avonderluft/bible270/compare/v1.16.0...v1.17.0
|
|
886
|
+
[1.16.0]: https://github.com/avonderluft/bible270/compare/v1.15.1...v1.16.0
|
|
855
887
|
[1.15.1]: https://github.com/avonderluft/bible270/compare/v1.15.0...v1.15.1
|
|
856
888
|
[1.15.0]: https://github.com/avonderluft/bible270/compare/v1.14.0...v1.15.0
|
|
857
889
|
[1.14.0]: https://github.com/avonderluft/bible270/compare/v1.13.5...v1.14.0
|
data/README.md
CHANGED
|
@@ -256,7 +256,7 @@ config.admin_emails = %w[andrew@example.org]
|
|
|
256
256
|
config.admin_resolver = ->(reader) { reader.email.to_s.end_with?('@example.org') }
|
|
257
257
|
```
|
|
258
258
|
|
|
259
|
-
The
|
|
259
|
+
The `admin_resolver` callback takes precedence over `admin_emails`.
|
|
260
260
|
|
|
261
261
|
- **Site-admins** can grant or revoke admin access on any reader's Admin page, including alumni, and delete other admins. Configured Site-admins cannot be demoted or deleted in the UI.
|
|
262
262
|
- **Admins** manage readers but cannot change roles or delete privileged readers.
|
|
@@ -267,13 +267,13 @@ Authorized readers get an **Admin** link. **View as non-admin** hides admin deta
|
|
|
267
267
|
The panel supports:
|
|
268
268
|
|
|
269
269
|
- Sort active readers by name, completed days, activity, or consistency; **Reader Stats** follows the same sort.
|
|
270
|
-
- Edit profiles, themes,
|
|
270
|
+
- Edit profiles, themes, notification preferences, and the completion-dove setting.
|
|
271
271
|
- Adjust active readers' start dates; check-offs stay tied to day numbers.
|
|
272
272
|
- Set progress through day N, **clearing completions after N**, or toggle individual days.
|
|
273
273
|
- Mark readers as alumni, reactivate them, and view past-run history.
|
|
274
274
|
- Delete unprotected readers **and all their check-offs and reflections across runs**.
|
|
275
275
|
- Hide (reversibly) or delete reflections at `<mount>/admin/comments`. Posts are public immediately, without approval.
|
|
276
|
-
- Manage [Scripture frame](#scripture-frame) texts
|
|
276
|
+
- Manage [Scripture frame](#scripture-frame) texts.
|
|
277
277
|
- Send individually addressed email: **Write to everyone** reaches active readers; **Write to all admins** includes alumni admins. Both require an email address.
|
|
278
278
|
|
|
279
279
|
To print a progress report ordered by completed days:
|
|
@@ -293,13 +293,13 @@ At the bottom of Admin, enter a start date, choose **Start a new run**, and acce
|
|
|
293
293
|
- Leaves other readers as alumni and opens enrollment, even if the installation started with `config.enrollment_open = false`.
|
|
294
294
|
- Keeps reader accounts, photos, check-offs, reflections, replies, likes, and admin roles.
|
|
295
295
|
|
|
296
|
-
**Revert to previous run** restores
|
|
296
|
+
**Revert to previous run** restores saved memberships (including admins), personal dates, the shared-date override, and enrollment settings. Newcomers become alumni; both runs' progress and discussions remain, and roles do not change. Confirm to proceed. Revert requires a restart made after migration `20260101000026`. Without a saved date override, the current site configuration applies.
|
|
297
297
|
|
|
298
298
|
Alumni can sign in, view Community's **active-reader list**, and post, reply to, and like reflections. Earlier reflections remain visible under the same moderation rules. Archived check-offs are read-only and excluded from current statistics and daily completer lists.
|
|
299
299
|
|
|
300
|
-
**Show / Hide Active Readers** starts expanded and remembers your choice
|
|
300
|
+
**Show / Hide Active Readers** starts expanded and remembers your choice for the current tab's sign-in session. Sorting and Reader Stats remain accessible when collapsed.
|
|
301
301
|
|
|
302
|
-
**Show / Hide Alumni**
|
|
302
|
+
**Show / Hide Alumni** starts collapsed. Alumni use the selected sort and frozen statistics; each row has a confirmed **Make Active** button. Reader Stats includes active readers only.
|
|
303
303
|
|
|
304
304
|
Only admins reactivate alumni; signing in or posting does not re-enroll them:
|
|
305
305
|
|
|
@@ -365,15 +365,21 @@ For a host Content Security Policy (CSP), add `https://www.youtube-nocookie.com`
|
|
|
365
365
|
|
|
366
366
|
## Scripture frame
|
|
367
367
|
|
|
368
|
-
Hover over the
|
|
368
|
+
Hover over the bread icon for **3 seconds**, or open it immediately by tap, click, or Enter/Space. The random, theme-matched frame closes when you leave a hover preview, press Escape, click outside, or select the bread again.
|
|
369
369
|
|
|
370
|
-
Completing a day
|
|
370
|
+
Completing a day shows a random frame followed by the optional dove; both fade out together. Disabling the dove keeps the frame. Reduced-motion users see a static frame, and Escape dismisses the sequence.
|
|
371
371
|
|
|
372
|
-
The [bundled YAML catalog](config/scripture_frames.yml)
|
|
372
|
+
The [bundled YAML catalog](config/scripture_frames.yml) supplies the defaults in biblical order. Manage texts under **Admin → Scripture frames**:
|
|
373
373
|
|
|
374
|
-
**
|
|
374
|
+
- **Add text:** enter Reference, Translation, and the required Text (up to 4,000 characters). Line breaks are preserved; Bible translation credits are automatic.
|
|
375
|
+
- For non-Scripture text, select **Other quotation** under Translation and enter **Author / source** and the quote. No Bible credit is attached.
|
|
376
|
+
- Edit or delete custom texts; enable or disable any text. Disabled texts remain previewable but do not appear in random frames.
|
|
375
377
|
|
|
376
|
-
|
|
378
|
+
Custom passages come first in biblical order, then quotations and defaults. Hover or focus a heading to preview; select it to expand. Use text you have permission to reproduce.
|
|
379
|
+
|
|
380
|
+
**Custom texts are stored in the database and supplement, not change, the YAML catalog.** Texts and enable/disable choices persist across runs. Defaults start enabled and cannot be edited or deleted. Custom texts require migration `20260101000027`.
|
|
381
|
+
|
|
382
|
+
**TODO:** Add [YouVersion API](https://developers.youversion.com/) lookup by reference and translation, with server-side credentials and required licensing and attribution.
|
|
377
383
|
|
|
378
384
|
Hosts can optionally replace the default catalog:
|
|
379
385
|
|
|
@@ -381,7 +387,7 @@ Hosts can optionally replace the default catalog:
|
|
|
381
387
|
config.scripture_frames_path = Rails.root.join('config/bible270_scripture_frames.yml')
|
|
382
388
|
```
|
|
383
389
|
|
|
384
|
-
Use the bundled
|
|
390
|
+
Use the bundled format: entries with a unique slug `id`, `reference`, `translation`, `text`, and optional `attribution`. Keep one consistent credit per translation. Catalog translations join the built-in Admin choices. Custom texts still supplement the catalog; invalid or unreadable catalogs fall back to the bundled defaults.
|
|
385
391
|
|
|
386
392
|
Custom layouts that include the header must also render the shared styles and this partial once near the end of `<body>`:
|
|
387
393
|
|
|
@@ -710,11 +716,19 @@ node --test test/javascript/*.cjs
|
|
|
710
716
|
bundle exec rubocop --cache false
|
|
711
717
|
```
|
|
712
718
|
|
|
713
|
-
`rake test` uses
|
|
719
|
+
`rake test` uses up to eight CPU-aware workers and writes coverage to `coverage/index.html`. Tests share setup in `test/support`.
|
|
714
720
|
|
|
715
721
|
Use `PARALLEL_WORKERS=4 bundle exec rake test` to choose the count, or `bundle exec rake test:serial` for serial coverage. Logs keep warnings and errors in `test/dummy/log/test-*.log`; set `TEST_LOG_LEVEL=debug` for request, template, and SQL details.
|
|
716
722
|
|
|
717
|
-
|
|
723
|
+
JavaScript tests require **Node.js 22+**. Chromium layout checks run when a browser is available (`CHROME_BIN` selects it). Video tests do not contact YouTube; check live playback and host CSP separately.
|
|
724
|
+
|
|
725
|
+
CI also checks completion rendering in mobile and desktop WebKit. To run that check locally:
|
|
726
|
+
|
|
727
|
+
```bash
|
|
728
|
+
npm install --prefix tmp/browser-tests --no-save --no-package-lock playwright@1.65.0
|
|
729
|
+
tmp/browser-tests/node_modules/.bin/playwright install --with-deps webkit
|
|
730
|
+
NODE_PATH=./tmp/browser-tests/node_modules B270_WEBKIT_TESTS=1 node --test test/javascript/day_completion_webkit_test.cjs
|
|
731
|
+
```
|
|
718
732
|
|
|
719
733
|
### Get an email link for local testing
|
|
720
734
|
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
<section class="b270-panel" id="b270-scripture-frames" aria-labelledby="b270-scripture-frames-heading">
|
|
2
|
-
<
|
|
3
|
-
|
|
2
|
+
<details class="b270-index b270-scripture-frames" id="b270-scripture-frames-list"
|
|
3
|
+
data-b270-admin-disclosure-key="<%= "#{admin_path}:#{@active_readers_session_key}:scripture-frames" %>" open>
|
|
4
|
+
<summary class="b270-scripture-panel-header">
|
|
5
|
+
<span class="b270-subhead" id="b270-scripture-frames-heading">
|
|
6
|
+
<span class="b270-disclosure-show">Show Scripture frames</span>
|
|
7
|
+
<span class="b270-disclosure-hide">Hide Scripture frames</span>
|
|
8
|
+
</span>
|
|
4
9
|
<% if @scripture_frame_storage %>
|
|
5
10
|
<%= link_to 'Add text', new_admin_scripture_frame_path(sort: @reader_sort), class: 'b270-btn' %>
|
|
6
11
|
<% end %>
|
|
7
|
-
</
|
|
12
|
+
</summary>
|
|
8
13
|
<% unless @scripture_frame_storage %>
|
|
9
14
|
<p class="b270-hint">Run the pending database migration to add custom texts.</p>
|
|
10
15
|
<% end %>
|
|
@@ -31,4 +36,5 @@
|
|
|
31
36
|
<% end %>
|
|
32
37
|
</div>
|
|
33
38
|
<% end %>
|
|
39
|
+
</details>
|
|
34
40
|
</section>
|
|
@@ -5,14 +5,18 @@
|
|
|
5
5
|
return;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
const selector = "details[data-b270-active-readers-key]";
|
|
8
|
+
const selector = "details[data-b270-active-readers-key], details[data-b270-admin-disclosure-key]";
|
|
9
9
|
const initialized = new WeakSet();
|
|
10
10
|
const states = new Map();
|
|
11
|
-
const keyFor = (element) =>
|
|
11
|
+
const keyFor = (element) => {
|
|
12
|
+
if (element.dataset.b270AdminDisclosureKey) return `b270-admin-disclosure:${element.dataset.b270AdminDisclosureKey}`;
|
|
13
|
+
if (element.dataset.b270ActiveReadersKey) return `b270-active-readers:${element.dataset.b270ActiveReadersKey}`;
|
|
14
|
+
return null;
|
|
15
|
+
};
|
|
12
16
|
|
|
13
17
|
function remember(element) {
|
|
14
|
-
if (!element.isConnected || !element.dataset.b270ActiveReadersKey) return;
|
|
15
18
|
const key = keyFor(element);
|
|
19
|
+
if (!element.isConnected || !key) return;
|
|
16
20
|
const value = element.open ? "open" : "closed";
|
|
17
21
|
states.set(key, value);
|
|
18
22
|
try { window.sessionStorage.setItem(key, value); } catch (_error) { /* Keep Turbo visits working without storage. */ }
|
|
@@ -20,8 +24,8 @@
|
|
|
20
24
|
|
|
21
25
|
function restore(force = false) {
|
|
22
26
|
document.querySelectorAll(selector).forEach((element) => {
|
|
23
|
-
if (!element.dataset.b270ActiveReadersKey || (initialized.has(element) && !force)) return;
|
|
24
27
|
const key = keyFor(element);
|
|
28
|
+
if (!key || (initialized.has(element) && !force)) return;
|
|
25
29
|
let value = states.get(key);
|
|
26
30
|
if (value === undefined) {
|
|
27
31
|
try { value = window.sessionStorage.getItem(key); } catch (_error) { /* Native disclosure remains usable. */ }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<%# locals: (day:, completion_event_id:) %>
|
|
2
|
-
<
|
|
3
|
-
data-b270-completion-event="<%= completion_event_id %>" data-turbo-temporary
|
|
4
|
-
|
|
2
|
+
<div class="b270-completion-dove" data-b270-completion-dove data-b270-day="<%= day %>"
|
|
3
|
+
data-b270-completion-event="<%= completion_event_id %>" data-turbo-temporary aria-hidden="true">
|
|
4
|
+
<svg viewBox="0 0 260 200" width="260" height="200" aria-hidden="true" focusable="false">
|
|
5
5
|
<defs>
|
|
6
6
|
<radialGradient id="b270-dove-light" cx="50%" cy="43%" r="68%">
|
|
7
7
|
<stop class="b270-dove-light-center" offset="0%" stop-color="#fff" />
|
|
@@ -17,3 +17,4 @@
|
|
|
17
17
|
<path d="M108 116c5-10 9-17 14-17-1-11-2-23 4-29 5-4 12-3 15 1 2 3 2 6 1 9 1 1 1 3 0 4-1 5-3 10-5 15 6 3 11 9 15 17-1 15-6 28-16 39-3 4-7 7-10 9-4-2-8-5-11-9-9-11-14-25-11-37 1-1 2-2 4-2Z" />
|
|
18
18
|
</g>
|
|
19
19
|
</svg>
|
|
20
|
+
</div>
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
state.dove.classList.add("b270-completion-dove-active");
|
|
84
84
|
// animationend is authoritative; the fallback also cleans up when CSS
|
|
85
85
|
// animations are blocked or a browser drops the event.
|
|
86
|
-
later(state, () => endFlight(state),
|
|
86
|
+
later(state, () => endFlight(state), 1200);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
function initialize(element) {
|
|
@@ -391,32 +391,38 @@
|
|
|
391
391
|
.b270-day-complete strong{font-family:"Spectral",serif;font-size:16px}
|
|
392
392
|
.b270-day-complete span{font-size:12px;color:var(--muted)}
|
|
393
393
|
.b270 .b270-day-complete .b270-btn{flex:none;margin:0 0 0 auto}
|
|
394
|
-
.b270-completion{position:fixed;inset:0;z-index:1050;display:grid;place-items:center;padding:12px;pointer-events:none}
|
|
394
|
+
.b270-completion{position:fixed;inset:0;z-index:1050;display:grid;place-items:center;padding:12px;overflow:hidden;pointer-events:none}
|
|
395
395
|
.b270-completion[hidden]{display:none}
|
|
396
396
|
.b270-completion-frame{width:min(32rem,100%);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);
|
|
397
397
|
overflow:auto;overscroll-behavior:contain;opacity:0;transition:opacity .2s ease-in-out}
|
|
398
398
|
.b270-completion.is-visible .b270-completion-frame{opacity:1;pointer-events:auto;transition-duration:1.3s}
|
|
399
399
|
/* Fade both together while the dove is still moving, with no stationary hold. */
|
|
400
|
-
.b270-completion.is-visible.is-flying{animation:b270-completion-exit .
|
|
400
|
+
.b270-completion.is-visible.is-flying{animation:b270-completion-exit .2s ease-in-out calc(var(--b270-dove-duration,1s) - .2s) both}
|
|
401
401
|
@keyframes b270-completion-exit{
|
|
402
402
|
from{opacity:1}
|
|
403
403
|
to{opacity:0;visibility:hidden}
|
|
404
404
|
}
|
|
405
|
-
.
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
405
|
+
/* Keep SVG filters out of the scaled layer to avoid WebKit compositing artifacts. */
|
|
406
|
+
.b270-completion-dove{position:absolute;z-index:1000;top:50%;left:50%;
|
|
407
|
+
width:min(94vw,112vh);width:min(94vw,112dvh);aspect-ratio:13/10;pointer-events:none;opacity:0;
|
|
408
|
+
--b270-dove-rise:22vh;
|
|
409
|
+
color-scheme:only light;forced-color-adjust:none}
|
|
410
|
+
@supports (height:1dvh){
|
|
411
|
+
.b270-completion-dove{--b270-dove-rise:22dvh}
|
|
412
|
+
}
|
|
413
|
+
.b270-completion-dove::before{content:"";position:absolute;inset:-8%;
|
|
414
|
+
background:radial-gradient(ellipse,rgba(255,249,226,.3),transparent 65%)}
|
|
415
|
+
.b270-completion-dove>svg{position:relative;display:block;width:100%;height:100%;overflow:visible}
|
|
416
|
+
.b270-completion-dove-active{animation:b270-dove-flight var(--b270-dove-duration,1s) linear both}
|
|
411
417
|
.b270-dove-silhouette{fill:url(#b270-dove-light)!important;stroke:none}
|
|
412
418
|
.b270-dove-light-center{stop-color:#fff!important}
|
|
413
419
|
.b270-dove-light-middle{stop-color:#fffef8!important}
|
|
414
420
|
.b270-dove-light-edge{stop-color:#fff9e2!important}
|
|
415
421
|
@keyframes b270-dove-flight{
|
|
416
|
-
0%{
|
|
417
|
-
8%{
|
|
418
|
-
|
|
419
|
-
100%{
|
|
422
|
+
0%{opacity:.22;visibility:visible;transform:translate(-50%,calc(-50% + var(--b270-dove-rise))) scale(.02) rotate(-8deg)}
|
|
423
|
+
8%{opacity:.78;transform:translate(-50%,calc(-50% + var(--b270-dove-rise) - 10px)) scale(.08) rotate(-5deg)}
|
|
424
|
+
80%{opacity:1;transform:translate(-50%,calc(-50% + var(--b270-dove-rise) / 25)) scale(.96) rotate(3deg)}
|
|
425
|
+
100%{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(1.15) rotate(4deg)}
|
|
420
426
|
}
|
|
421
427
|
|
|
422
428
|
/* readings */
|
|
@@ -502,6 +508,11 @@
|
|
|
502
508
|
.b270-scripture-fields label{white-space:nowrap}
|
|
503
509
|
.b270-scripture-fields .b270-field>input,.b270-scripture-fields .b270-select-wrap{flex:1;min-width:0}
|
|
504
510
|
.b270-scripture-panel-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}
|
|
511
|
+
details.b270-scripture-frames>summary.b270-scripture-panel-header{margin:0 0 8px}
|
|
512
|
+
.b270-scripture-frames:not([open])>:not(summary){display:none}
|
|
513
|
+
.b270-scripture-frames>.b270-scripture-panel-header .b270-disclosure-hide{display:none}
|
|
514
|
+
.b270-scripture-frames[open]>.b270-scripture-panel-header .b270-disclosure-show{display:none}
|
|
515
|
+
.b270-scripture-frames[open]>.b270-scripture-panel-header .b270-disclosure-hide{display:inline}
|
|
505
516
|
.b270-scripture-panel-header>.b270-subhead,.b270 .b270-scripture-panel-header>.b270-btn{margin:0}
|
|
506
517
|
.b270-scripture-panel-header>.b270-subhead{min-width:0;overflow-wrap:anywhere}
|
|
507
518
|
.b270 .b270-scripture-panel-header>.b270-btn{flex-shrink:0;padding:6px 10px;font-size:12.5px;white-space:nowrap}
|
|
@@ -761,8 +772,8 @@
|
|
|
761
772
|
|
|
762
773
|
.b270-footer{margin-top:20px;padding-top:11px;border-top:1px solid var(--line-soft);color:var(--faint);font-size:13px}
|
|
763
774
|
.b270-footer p{margin:0;line-height:1.5}
|
|
764
|
-
details.b270-index
|
|
765
|
-
details.b270-index
|
|
775
|
+
details.b270-index>summary{cursor:pointer;font-family:"Spectral",serif;font-size:18px;font-weight:600;list-style:none;margin-top:30px}
|
|
776
|
+
details.b270-index>summary::-webkit-details-marker{display:none}
|
|
766
777
|
details.b270-active-readers{margin-bottom:24px}
|
|
767
778
|
details.b270-active-readers>summary{margin:0 0 12px}
|
|
768
779
|
details.b270-active-readers .b270-active-readers-hide{display:none}
|
data/config/scripture_frames.yml
CHANGED
|
@@ -27,6 +27,13 @@
|
|
|
27
27
|
He sent His word and healed them,
|
|
28
28
|
And delivered them from their destructions.
|
|
29
29
|
attribution: NKJV © 1982 Thomas Nelson.
|
|
30
|
+
- id: psalm-119-9
|
|
31
|
+
reference: Psalm 119:9
|
|
32
|
+
translation: NASB95
|
|
33
|
+
text: |-
|
|
34
|
+
How can a young man keep his way pure?
|
|
35
|
+
By keeping it according to Your word.
|
|
36
|
+
attribution: NASB 1995 © The Lockman Foundation.
|
|
30
37
|
- id: psalm-119-11
|
|
31
38
|
reference: Psalm 119:11
|
|
32
39
|
translation: NASB95
|
|
@@ -69,6 +76,13 @@
|
|
|
69
76
|
For the commandment is a lamp and the teaching is light;
|
|
70
77
|
And reproofs for discipline are the way of life
|
|
71
78
|
attribution: NASB 1995 © The Lockman Foundation.
|
|
79
|
+
- id: proverbs-16-20
|
|
80
|
+
reference: Proverbs 16:20
|
|
81
|
+
translation: NASB95
|
|
82
|
+
text: |-
|
|
83
|
+
He who gives attention to the word will find good,
|
|
84
|
+
And blessed is he who trusts in the LORD.
|
|
85
|
+
attribution: NASB 1995 © The Lockman Foundation.
|
|
72
86
|
- id: isaiah-55-11
|
|
73
87
|
reference: Isaiah 55:11
|
|
74
88
|
translation: ESV
|
|
@@ -100,18 +114,38 @@
|
|
|
100
114
|
text: |-
|
|
101
115
|
It is the Spirit who gives life; the flesh profits nothing. The words that I speak to you are spirit, and they are life.
|
|
102
116
|
attribution: NKJV © 1982 Thomas Nelson.
|
|
117
|
+
- id: john-15-3-4
|
|
118
|
+
reference: John 15:3-4
|
|
119
|
+
translation: NKJV
|
|
120
|
+
text: You are already clean because of the word which I have spoken to you. Abide in Me, and I in you. As the branch cannot bear fruit of itself, unless it abides in the vine, neither can you, unless you abide in Me.
|
|
121
|
+
attribution: NKJV © 1982 Thomas Nelson.
|
|
103
122
|
- id: john-17-17
|
|
104
123
|
reference: John 17:17
|
|
105
124
|
translation: NASB95
|
|
106
125
|
text: |-
|
|
107
126
|
“Sanctify them in the truth; Your word is truth.
|
|
108
127
|
attribution: NASB 1995 © The Lockman Foundation.
|
|
128
|
+
- id: john-20-31
|
|
129
|
+
reference: John 20:31
|
|
130
|
+
translation: NKJV
|
|
131
|
+
text: these are written that you may believe that Jesus is the Christ, the Son of God, and that believing you may have life in His name.
|
|
132
|
+
attribution: NKJV © 1982 Thomas Nelson.
|
|
133
|
+
- id: romans-15-4
|
|
134
|
+
reference: Romans 15:4
|
|
135
|
+
translation: NASB95
|
|
136
|
+
text: For whatever was written in earlier times was written for our instruction, so that through perseverance and the encouragement of the Scriptures we might have hope.
|
|
137
|
+
attribution: NASB 1995 © The Lockman Foundation.
|
|
109
138
|
- id: 2-corinthians-4-6
|
|
110
139
|
reference: 2 Corinthians 4:6
|
|
111
140
|
translation: NKJV
|
|
112
141
|
text: |-
|
|
113
142
|
For it is the God who commanded light to shine out of darkness, who has shone in our hearts to give the light of the knowledge of the glory of God in the face of Jesus Christ.
|
|
114
143
|
attribution: NKJV © 1982 Thomas Nelson.
|
|
144
|
+
- id: ephesians-5-25-27
|
|
145
|
+
reference: Ephesians 5:25-27
|
|
146
|
+
translation: ESV
|
|
147
|
+
text: Christ loved the church and gave himself up for her, that he might sanctify her, having cleansed her by the washing of water with the word, so that he might present the church to himself in splendor, without spot or wrinkle or any such thing, that she might be holy and without blemish.
|
|
148
|
+
attribution: ESV © 2001 Crossway.
|
|
115
149
|
- id: colossians-3-16
|
|
116
150
|
reference: Colossians 3:16
|
|
117
151
|
translation: ESV
|
data/lib/bible270/version.rb
CHANGED