From 0c5bfb755f8b43dc547edc7050d8a1babfbf7746 Mon Sep 17 00:00:00 2001 From: Tuomas Airaksinen Date: Thu, 29 Aug 2024 12:06:23 +0300 Subject: [PATCH] Improve css scoping so that it is easier to make css customization via modules --- app/bibleview-js/src/components/BibleView.vue | 6 +----- app/bibleview-js/src/components/BookmarkText.vue | 2 +- app/bibleview-js/src/components/MyBible/B.vue | 2 +- app/bibleview-js/src/components/MyBible/Br.vue | 2 +- app/bibleview-js/src/components/MyBible/H3.vue | 2 +- app/bibleview-js/src/components/MyBible/I.vue | 2 +- app/bibleview-js/src/components/MyBible/Li.vue | 2 +- app/bibleview-js/src/components/MyBible/Ol.vue | 2 +- app/bibleview-js/src/components/MyBible/Pb.vue | 2 +- app/bibleview-js/src/components/MyBible/S.vue | 2 +- app/bibleview-js/src/components/MyBible/Strong.vue | 2 +- app/bibleview-js/src/components/OSIS/A.vue | 2 +- app/bibleview-js/src/components/OSIS/Abbr.vue | 2 +- app/bibleview-js/src/components/OSIS/AndBibleLink.vue | 2 +- app/bibleview-js/src/components/OSIS/CatchWord.vue | 2 +- app/bibleview-js/src/components/OSIS/Cell.vue | 2 +- app/bibleview-js/src/components/OSIS/Div.vue | 2 +- app/bibleview-js/src/components/OSIS/DivineName.vue | 2 +- app/bibleview-js/src/components/OSIS/Figure.vue | 2 +- app/bibleview-js/src/components/OSIS/Foreign.vue | 2 +- app/bibleview-js/src/components/OSIS/Hi.vue | 2 +- app/bibleview-js/src/components/OSIS/Item.vue | 2 +- app/bibleview-js/src/components/OSIS/L.vue | 2 +- app/bibleview-js/src/components/OSIS/Lb.vue | 4 ++-- app/bibleview-js/src/components/OSIS/Lg.vue | 2 +- app/bibleview-js/src/components/OSIS/List.vue | 2 +- app/bibleview-js/src/components/OSIS/Milestone.vue | 4 ++-- app/bibleview-js/src/components/OSIS/NoOp.vue | 4 ++-- app/bibleview-js/src/components/OSIS/P.vue | 2 +- app/bibleview-js/src/components/OSIS/Q.vue | 4 ++-- app/bibleview-js/src/components/OSIS/Reference.vue | 2 +- app/bibleview-js/src/components/OSIS/Row.vue | 2 +- app/bibleview-js/src/components/OSIS/Seg.vue | 2 +- app/bibleview-js/src/components/OSIS/Table.vue | 2 +- app/bibleview-js/src/components/OSIS/Title.vue | 2 +- app/bibleview-js/src/components/OSIS/TransChange.vue | 4 ++-- app/bibleview-js/src/components/OSIS/W.vue | 10 +++++----- app/bibleview-js/src/components/OpenAllLink.vue | 2 +- app/bibleview-js/src/components/VerseNumber.vue | 2 +- 39 files changed, 48 insertions(+), 52 deletions(-) diff --git a/app/bibleview-js/src/components/BibleView.vue b/app/bibleview-js/src/components/BibleView.vue index f66c8ca947..00368dc5b6 100644 --- a/app/bibleview-js/src/components/BibleView.vue +++ b/app/bibleview-js/src/components/BibleView.vue @@ -312,7 +312,7 @@ setupEventBusListener("scroll_up", () => scrollUpDown(true)); useSharing({topElement, android}); const direction = computed(() => appSettings.rightToLeft ? "rtl" : "ltr"); - - diff --git a/app/bibleview-js/src/components/MyBible/Br.vue b/app/bibleview-js/src/components/MyBible/Br.vue index 17d4fee8e4..63f4c00613 100644 --- a/app/bibleview-js/src/components/MyBible/Br.vue +++ b/app/bibleview-js/src/components/MyBible/Br.vue @@ -25,6 +25,6 @@ import {useCommon} from "@/composables"; useCommon(); - diff --git a/app/bibleview-js/src/components/MyBible/H3.vue b/app/bibleview-js/src/components/MyBible/H3.vue index 1af09ea205..3dfc7bbf63 100644 --- a/app/bibleview-js/src/components/MyBible/H3.vue +++ b/app/bibleview-js/src/components/MyBible/H3.vue @@ -27,6 +27,6 @@ import {useCommon} from "@/composables"; useCommon() - diff --git a/app/bibleview-js/src/components/MyBible/I.vue b/app/bibleview-js/src/components/MyBible/I.vue index a3ab40a650..0b0c19692c 100644 --- a/app/bibleview-js/src/components/MyBible/I.vue +++ b/app/bibleview-js/src/components/MyBible/I.vue @@ -27,7 +27,7 @@ const {config} = useCommon(); const show = computed(() => config.showNonCanonical); - diff --git a/app/bibleview-js/src/components/MyBible/Ol.vue b/app/bibleview-js/src/components/MyBible/Ol.vue index d718811e64..2ce9488a72 100644 --- a/app/bibleview-js/src/components/MyBible/Ol.vue +++ b/app/bibleview-js/src/components/MyBible/Ol.vue @@ -25,6 +25,6 @@ import {useCommon} from "@/composables"; useCommon(); - diff --git a/app/bibleview-js/src/components/MyBible/Pb.vue b/app/bibleview-js/src/components/MyBible/Pb.vue index 75477edd1c..2d8d5858e2 100644 --- a/app/bibleview-js/src/components/MyBible/Pb.vue +++ b/app/bibleview-js/src/components/MyBible/Pb.vue @@ -25,6 +25,6 @@ import {useCommon} from "@/composables"; useCommon(); - diff --git a/app/bibleview-js/src/components/MyBible/S.vue b/app/bibleview-js/src/components/MyBible/S.vue index bfba12621d..88441dedfa 100644 --- a/app/bibleview-js/src/components/MyBible/S.vue +++ b/app/bibleview-js/src/components/MyBible/S.vue @@ -59,7 +59,7 @@ function openLink(event: MouseEvent) { } - diff --git a/app/bibleview-js/src/components/OSIS/A.vue b/app/bibleview-js/src/components/OSIS/A.vue index 7776fab8b7..9555e3f3a6 100644 --- a/app/bibleview-js/src/components/OSIS/A.vue +++ b/app/bibleview-js/src/components/OSIS/A.vue @@ -38,6 +38,6 @@ function openLink(event: MouseEvent, url: string) { } - diff --git a/app/bibleview-js/src/components/OSIS/Abbr.vue b/app/bibleview-js/src/components/OSIS/Abbr.vue index a2b610f9b6..a4eba27750 100644 --- a/app/bibleview-js/src/components/OSIS/Abbr.vue +++ b/app/bibleview-js/src/components/OSIS/Abbr.vue @@ -26,7 +26,7 @@ defineProps<{expansion: string}>(); useCommon(); - diff --git a/app/bibleview-js/src/components/OSIS/CatchWord.vue b/app/bibleview-js/src/components/OSIS/CatchWord.vue index 9c8635ec9b..c19a6a7ebd 100644 --- a/app/bibleview-js/src/components/OSIS/CatchWord.vue +++ b/app/bibleview-js/src/components/OSIS/CatchWord.vue @@ -25,7 +25,7 @@ import {useCommon} from "@/composables"; useCommon(); - diff --git a/app/bibleview-js/src/components/OSIS/DivineName.vue b/app/bibleview-js/src/components/OSIS/DivineName.vue index 92e101ff52..fa7d63eaae 100644 --- a/app/bibleview-js/src/components/OSIS/DivineName.vue +++ b/app/bibleview-js/src/components/OSIS/DivineName.vue @@ -25,7 +25,7 @@ import {useCommon} from "@/composables"; useCommon() - diff --git a/app/bibleview-js/src/components/OSIS/L.vue b/app/bibleview-js/src/components/OSIS/L.vue index b71873faf5..83b7854a00 100644 --- a/app/bibleview-js/src/components/OSIS/L.vue +++ b/app/bibleview-js/src/components/OSIS/L.vue @@ -67,5 +67,5 @@ const isIndent = computed(() => type.value === "x-indent"); useCommon(); - diff --git a/app/bibleview-js/src/components/OSIS/Lb.vue b/app/bibleview-js/src/components/OSIS/Lb.vue index 2633d5f100..3c6aa4b07b 100644 --- a/app/bibleview-js/src/components/OSIS/Lb.vue +++ b/app/bibleview-js/src/components/OSIS/Lb.vue @@ -16,7 +16,7 @@ --> - diff --git a/app/bibleview-js/src/components/OSIS/Lg.vue b/app/bibleview-js/src/components/OSIS/Lg.vue index 17d8a44d74..59f836a81b 100644 --- a/app/bibleview-js/src/components/OSIS/Lg.vue +++ b/app/bibleview-js/src/components/OSIS/Lg.vue @@ -34,7 +34,7 @@ const show = computed(() => props.sID); useCommon(); - diff --git a/app/bibleview-js/src/components/OSIS/NoOp.vue b/app/bibleview-js/src/components/OSIS/NoOp.vue index bde3603458..306bd79132 100644 --- a/app/bibleview-js/src/components/OSIS/NoOp.vue +++ b/app/bibleview-js/src/components/OSIS/NoOp.vue @@ -16,7 +16,7 @@ --> - diff --git a/app/bibleview-js/src/components/OSIS/P.vue b/app/bibleview-js/src/components/OSIS/P.vue index 32c6edd3f0..c7a0b1f086 100644 --- a/app/bibleview-js/src/components/OSIS/P.vue +++ b/app/bibleview-js/src/components/OSIS/P.vue @@ -25,6 +25,6 @@ import {useCommon} from "@/composables"; useCommon(); - diff --git a/app/bibleview-js/src/components/OSIS/Q.vue b/app/bibleview-js/src/components/OSIS/Q.vue index ec5455a846..f763e55b60 100644 --- a/app/bibleview-js/src/components/OSIS/Q.vue +++ b/app/bibleview-js/src/components/OSIS/Q.vue @@ -15,7 +15,7 @@ - If not, see http://www.gnu.org/licenses/. --> - + - diff --git a/app/bibleview-js/src/components/OSIS/Seg.vue b/app/bibleview-js/src/components/OSIS/Seg.vue index 44bceae07d..2a962bab29 100644 --- a/app/bibleview-js/src/components/OSIS/Seg.vue +++ b/app/bibleview-js/src/components/OSIS/Seg.vue @@ -29,7 +29,7 @@ const isOtPassage = computed(() => props.type === "otPassage"); useCommon(); - diff --git a/app/bibleview-js/src/components/OSIS/Title.vue b/app/bibleview-js/src/components/OSIS/Title.vue index a43f7967f7..6761564dfb 100644 --- a/app/bibleview-js/src/components/OSIS/Title.vue +++ b/app/bibleview-js/src/components/OSIS/Title.vue @@ -56,7 +56,7 @@ const show = computed(() => const isSubTitle = computed(() => props.type === "sub"); -