mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[REF] *: BS5: migration
Automated change made by a lot of RegEx to change all think that is possible to automate. https://getbootstrap.com/docs/5.1/migration Task ID: 2766483 Part-of: odoo/design-themes#580
This commit is contained in:
@@ -7,7 +7,7 @@ $s-discount-amount-size: 70px;
|
||||
color: o-color('alpha');
|
||||
}
|
||||
@mixin s-discount-box-hook {
|
||||
color: gray('700');
|
||||
color: map-get($grays, '700');
|
||||
|
||||
.s_discount_open-code {
|
||||
color: o-color('gamma');
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
Activities
|
||||
</xpath>
|
||||
<xpath expr="//h2" position="after">
|
||||
<div class="s_hr text-left pb32 pt8" data-snippet="s_hr" data-name="Separator">
|
||||
<hr class="w-50 mr-auto" style="border-top: 4px dotted var(--o-color-2) !important;"/>
|
||||
<div class="s_hr text-start pb32 pt8" data-snippet="s_hr" data-name="Separator">
|
||||
<hr class="w-50 me-auto" style="border-top: 4px dotted var(--o-color-2) !important;"/>
|
||||
</div>
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<attribute name="class" add="pt128 pb128" remove="pt80 pb80" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//blockquote)[2]" position="attributes">
|
||||
<attribute name="class" add="mx-auto" remove="mr-auto" separator=" "/>
|
||||
<attribute name="class" add="mx-auto" remove="me-auto" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[2]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
|
||||
@@ -26,7 +26,7 @@
|
||||
<attribute name="class" add="pt128 pb128" remove="pt80 pb80" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//blockquote)[3]" position="attributes">
|
||||
<attribute name="class" add="mx-auto" remove="ml-auto" separator=" "/>
|
||||
<attribute name="class" add="mx-auto" remove="ms-auto" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[3]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
|
||||
<!-- Separator -->
|
||||
<xpath expr="//h2" position="after">
|
||||
<div class="s_hr text-left pb32 pt8" data-snippet="s_hr" data-name="Separator">
|
||||
<hr class="w-50 mr-auto" style="border-top: 4px dotted var(--o-color-1) !important;"/>
|
||||
<div class="s_hr text-start pb32 pt8" data-snippet="s_hr" data-name="Separator">
|
||||
<hr class="w-50 me-auto" style="border-top: 4px dotted var(--o-color-1) !important;"/>
|
||||
</div>
|
||||
</xpath>
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
</xpath>
|
||||
<!-- Column n°1 - Add separator -->
|
||||
<xpath expr="//h3" position="after">
|
||||
<div class="s_hr text-left pb32 pt8" data-snippet="s_hr" data-name="Separator">
|
||||
<div class="s_hr text-start pb32 pt8" data-snippet="s_hr" data-name="Separator">
|
||||
<hr class="w-25 mx-auto" style="border-top: 5px dotted var(--o-color-2) !important;"/>
|
||||
</div>
|
||||
</xpath>
|
||||
@@ -65,7 +65,7 @@
|
||||
</xpath>
|
||||
<!-- Column n°2 - Add separator -->
|
||||
<xpath expr="(//h3)[2]" position="after">
|
||||
<div class="s_hr text-left pb32 pt8" data-snippet="s_hr" data-name="Separator">
|
||||
<div class="s_hr text-start pb32 pt8" data-snippet="s_hr" data-name="Separator">
|
||||
<hr class="w-25 mx-auto" style="border-top: 5px dotted var(--o-color-1) !important;"/>
|
||||
</div>
|
||||
</xpath>
|
||||
@@ -97,7 +97,7 @@
|
||||
</xpath>
|
||||
<!-- Column n°3 - Add separator -->
|
||||
<xpath expr="(//h3)[3]" position="after">
|
||||
<div class="s_hr text-left pb32 pt8" data-snippet="s_hr" data-name="Separator">
|
||||
<div class="s_hr text-start pb32 pt8" data-snippet="s_hr" data-name="Separator">
|
||||
<hr class="w-25 mx-auto" style="border-top: 5px dotted var(--o-color-2) !important;"/>
|
||||
</div>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user