feat: Enhance gallery functionality with lightbox feature and improve icon sprite accessibility

- Added a lightbox feature for gallery images, allowing users to view photos in a modal with navigation controls.
- Updated the SVG sprite to include inline styles for better accessibility.
- Increased CSS specificity by doubling the `.vc-app` class to ensure styles override Astra theme defaults.
- Introduced new shortcodes for bus tours, about section, and articles in the VC_Sections class.
- Improved the handling of featured images in the single tour template for sharper display.
- Updated version number to 1.8.15.
This commit is contained in:
2026-09-23 17:26:56 +03:30
parent b0e302be15
commit d5686ed14b
19 changed files with 1700 additions and 684 deletions

View File

@@ -17,7 +17,11 @@
'use strict';
const fs = require('fs');
const SCOPE = process.env.VC_SCOPE || '.vc-app';
// Doubled class (`.vc-app.vc-app`) so every ported rule carries an extra class
// of specificity — enough to win against Astra's content selectors (e.g.
// `.ast-… .entry-content a`) without touching the markup, which still only
// needs a single `class="vc-app"`. Override with VC_SCOPE if ever needed.
const SCOPE = process.env.VC_SCOPE || '.vc-app.vc-app';
function prefixSelector(sel) {
sel = sel.trim();