Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] theme_*: fix s_big_number wrong gradient implementation #930

Draft
wants to merge 1 commit into
base: 18.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions theme_anelusia/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="replace" mode="inner">
<font class="text-gradient" style="background-image: linear-gradient(0deg, rgb(29, 32, 48) 25%, rgb(222, 222, 222) 80%);">
<xpath expr="//h2/span" position="replace" mode="inner">
<font class="text-gradient" style="background-image: linear-gradient(15deg, var(--o-color-1) 25%, var(--o-color-5) 100%);">
100+
</font>
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
happy customers
</xpath>
</template>
Expand Down
8 changes: 4 additions & 4 deletions theme_artists/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="attributes">
<xpath expr="//h2/span" position="attributes">
<attribute name="style" add="font-size: 7.75rem;" remove="font-size: 10.75rem;" separator=";"/>
</xpath>
<xpath expr="//h2/div" position="replace" mode="inner">
<font class="text-gradient" style="background-image: linear-gradient(0deg, rgb(165, 78, 223) 8%, rgb(222, 222, 222) 80%);">
<xpath expr="//h2/span" position="replace" mode="inner">
<font class="text-gradient" style="background-image: linear-gradient(0deg, var(--o-color-1) 25%, var(--o-color-4) 90%);">
250+
</font>
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
songs released
</xpath>
</template>
Expand Down
6 changes: 3 additions & 3 deletions theme_avantgarde/views/customizations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -600,12 +600,12 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="replace" mode="inner">
<font class="text-gradient" style="background-image: linear-gradient(0deg, rgb(56, 60, 214) 0%, rgb(255, 255, 255) 65%);">
<xpath expr="//h2/span" position="replace" mode="inner">
<font class="text-gradient" style="background-image: linear-gradient(0deg, var(--o-color-1) 0%, var(--o-color-4) 90%);">
50+
</font>
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
projects shipped
</xpath>
</template>
Expand Down
8 changes: 4 additions & 4 deletions theme_aviato/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="attributes">
<xpath expr="//h2/span" position="attributes">
<attribute name="style" add="font-size: 7.75rem;" remove="font-size: 10.75rem;" separator=";"/>
</xpath>
<xpath expr="//h2/div" position="replace" mode="inner">
<font class="text-gradient" style="background-image: linear-gradient(0deg, rgb(244, 168, 26) 0%, rgb(222, 222, 222) 58%);">100+</font>
<xpath expr="//h2/span" position="replace" mode="inner">
<font class="text-gradient" style="background-image: linear-gradient(0deg, var(--o-color-1) 0%, var(--o-color-4) 90%);">100+</font>
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
destinations available
</xpath>
</template>
Expand Down
8 changes: 4 additions & 4 deletions theme_beauty/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="attributes">
<xpath expr="//h2/span" position="attributes">
<attribute name="style" add="font-size: 7.75rem;" remove="font-size: 10.75rem;" separator=";"/>
</xpath>
<xpath expr="//h2/div" position="replace" mode="inner">
<font style="color: rgb(165, 35, 91);">200+</font>
<xpath expr="//h2/span" position="replace" mode="inner">
<font style="color: var(--o-color-1)">200+</font>
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
happy customers
</xpath>
</template>
Expand Down
6 changes: 3 additions & 3 deletions theme_bewise/views/customizations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -884,10 +884,10 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="replace" mode="inner">
<font class="text-gradient" style="background-image: linear-gradient(0deg, rgb(29, 32, 48) 0%, rgb(222, 222, 222) 56%);">60+</font>
<xpath expr="//h2/span" position="replace" mode="inner">
<font class="text-gradient" style="background-image: linear-gradient(0deg, var(--o-color-1) 0%, var(--o-color-4) 90%);">60+</font>
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
academic programs available
</xpath>
</template>
Expand Down
6 changes: 3 additions & 3 deletions theme_bistro/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="replace" mode="inner">
<xpath expr="//h2/span" position="replace" mode="inner">
350+
</xpath>
<xpath expr="//h2/div" position="attributes">
<xpath expr="//h2/span" position="attributes">
<attribute name="style" remove="font-size: 10.75rem;" add="font-size: 7.75rem;" separator=";"/>
350+
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
happy guests served
</xpath>
</template>
Expand Down
2 changes: 1 addition & 1 deletion theme_bookstore/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="replace" mode="inner">
<xpath expr="//h2/span" position="replace" mode="inner">
90%
</xpath>
</template>
Expand Down
5 changes: 1 addition & 4 deletions theme_buzzy/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,9 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="replace" mode="inner">
<xpath expr="//h2/span" position="replace" mode="inner">
90%
</xpath>
<xpath expr="//h2/following-sibling::div" position="attributes">
<attribute name="style" add="font-size: 7.75rem;" remove="font-size: 2.25rem;" separator=";"/>
</xpath>
</template>

</odoo>
5 changes: 1 addition & 4 deletions theme_clean/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,9 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="replace" mode="inner">
<xpath expr="//h2/span" position="replace" mode="inner">
90%
</xpath>
<xpath expr="//h2/following-sibling::div" position="attributes">
<attribute name="style" add="font-size: 7.75rem;" remove="font-size: 2.25rem;" separator=";"/>
</xpath>
</template>

</odoo>
5 changes: 1 addition & 4 deletions theme_cobalt/views/customizations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -522,12 +522,9 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="replace" mode="inner">
<xpath expr="//h2/span" position="replace" mode="inner">
90%
</xpath>
<xpath expr="//h2/following-sibling::div" position="attributes">
<attribute name="style" add="font-size: 7.75rem;" remove="font-size: 2.25rem;" separator=";"/>
</xpath>
</template>

<!-- ===== WAVY GRID ======== -->
Expand Down
4 changes: 2 additions & 2 deletions theme_enark/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="replace" mode="inner">
<xpath expr="//h2/span" position="replace" mode="inner">
80+
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
projects shipped
</xpath>
</template>
Expand Down
5 changes: 1 addition & 4 deletions theme_graphene/views/customizations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -587,12 +587,9 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="replace" mode="inner">
<xpath expr="//h2/span" position="replace" mode="inner">
90%
</xpath>
<xpath expr="//h2/following-sibling::div" position="attributes">
<attribute name="style" add="font-size: 7.75rem;" remove="font-size: 2.25rem;" separator=";"/>
</xpath>
</template>

<!-- ===== WAVY GRID ======== -->
Expand Down
4 changes: 2 additions & 2 deletions theme_kea/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="replace" mode="inner">
<xpath expr="//h2/span" position="replace" mode="inner">
80+
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
satisfied clients
</xpath>
</template>
Expand Down
4 changes: 2 additions & 2 deletions theme_kiddo/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="replace" mode="inner">
<xpath expr="//h2/span" position="replace" mode="inner">
80+
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
families trusted us
</xpath>
</template>
Expand Down
6 changes: 3 additions & 3 deletions theme_loftspace/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="attributes">
<xpath expr="//h2/span" position="attributes">
<attribute name="style" add="font-size: 7.75rem;" remove="font-size: 10.75rem;" separator=";"/>
</xpath>
<xpath expr="//h2/div" position="replace" mode="inner">
<xpath expr="//h2/span" position="replace" mode="inner">
250+
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
satisfied clients
</xpath>
</template>
Expand Down
8 changes: 4 additions & 4 deletions theme_monglia/views/customizations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -654,15 +654,15 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="attributes">
<xpath expr="//h2/span" position="attributes">
<attribute name="style" add="font-size: 7.75rem;" remove="font-size: 10.75rem;" separator=";"/>
</xpath>
<xpath expr="//h2/div" position="replace" mode="inner">
<font class="text-gradient" style="background-image: linear-gradient(0deg, rgb(237, 7, 104) 0%, rgb(222, 222, 222) 59%);">
<xpath expr="//h2/span" position="replace" mode="inner">
<font class="text-gradient" style="background-image: linear-gradient(0deg, var(--o-color-1) 0%, var(--o-color-4) 75%);">
250+
</font>
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
events organized
</xpath>
</template>
Expand Down
6 changes: 3 additions & 3 deletions theme_nano/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="attributes">
<xpath expr="//h2/span" position="attributes">
<attribute name="style" add="font-size: 7.75rem;" remove="font-size: 10.75rem;" separator=";"/>
</xpath>
<xpath expr="//h2/div" position="replace" mode="inner">
<xpath expr="//h2/span" position="replace" mode="inner">
250+
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
satisfied clients
</xpath>
</template>
Expand Down
6 changes: 3 additions & 3 deletions theme_notes/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="attributes">
<xpath expr="//h2/span" position="attributes">
<attribute name="style" add="font-size: 7.75rem;" remove="font-size: 10.75rem;" separator=";"/>
</xpath>
<xpath expr="//h2/div" position="replace" mode="inner">
<xpath expr="//h2/span" position="replace" mode="inner">
20M
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
Monthly listeners on streaming platforms
</xpath>
</template>
Expand Down
4 changes: 2 additions & 2 deletions theme_odoo_experts/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="attributes">
<xpath expr="//h2/span" position="attributes">
<attribute name="style" add="font-size: 7.75rem;" remove="font-size: 10.75rem;" separator=";"/>
</xpath>
<xpath expr="//h2/div" position="replace" mode="inner">
<xpath expr="//h2/span" position="replace" mode="inner">
90%
</xpath>
</template>
Expand Down
4 changes: 2 additions & 2 deletions theme_orchid/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="replace" mode="inner">
<xpath expr="//h2/span" position="replace" mode="inner">
50+
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
varieties of flowers to choose from
</xpath>
</template>
Expand Down
6 changes: 3 additions & 3 deletions theme_paptic/views/customizations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -675,13 +675,13 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="attributes">
<xpath expr="//h2/span" position="attributes">
<attribute name="style" add="font-size: 9.375rem;" remove="font-size: 10.75rem;" separator=";"/>
</xpath>
<xpath expr="//h2/div" position="replace" mode="inner">
<xpath expr="//h2/span" position="replace" mode="inner">
85%
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
customers satisfaction
</xpath>
</template>
Expand Down
6 changes: 3 additions & 3 deletions theme_real_estate/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="attributes">
<xpath expr="//h2/span" position="attributes">
<attribute name="style" add="font-size: 9.375rem;" remove="font-size: 10.75rem;" separator=";"/>
</xpath>
<xpath expr="//h2/div" position="replace" mode="inner">
<xpath expr="//h2/span" position="replace" mode="inner">
85%
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
customers satisfaction
</xpath>
</template>
Expand Down
6 changes: 3 additions & 3 deletions theme_treehouse/views/snippets/s_big_number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="attributes">
<xpath expr="//h2/span" position="attributes">
<attribute name="style" add="font-size: 7.75rem;" remove="font-size: 10.75rem;" separator=";"/>
</xpath>
<xpath expr="//h2/div" position="replace" mode="inner">
<xpath expr="//h2/span" position="replace" mode="inner">
1,250
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
trees planted since last year
</xpath>
</template>
Expand Down
6 changes: 3 additions & 3 deletions theme_vehicle/views/customizations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -746,12 +746,12 @@
</xpath>

<!-- Text -->
<xpath expr="//h2/div" position="replace" mode="inner">
<font class="text-gradient" style="background-image: linear-gradient(0deg, rgb(29, 32, 48) 0%, rgb(222, 222, 222) 49%);">
<xpath expr="//h2/span" position="replace" mode="inner">
<font class="text-gradient" style="background-image: linear-gradient(0deg, var(--o-color-5) 0%, var(--o-color-4) 90%);">
87%
</font>
</xpath>
<xpath expr="//h2/following-sibling::div" position="replace" mode="inner">
<xpath expr="//p/span" position="replace" mode="inner">
customer satisfaction
</xpath>
</template>
Expand Down
Loading