-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] theme_*: adapt
s_timeline_images
to themes
theme_anelusia, theme_artists, theme_buzzy, theme_nano, theme_yes This commit adapt the `s_timeline_images` snippet to the themes. task-4105285 Part of task-4077427
- Loading branch information
Showing
9 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<template id="s_timeline_images" inherit_id="website.s_timeline_images"> | ||
<!-- Title --> | ||
<xpath expr="//h2" position="replace" mode="inner"> | ||
<font style="background-image: linear-gradient(135deg, var(--o-color-1) 0%, var(--o-color-2) 100%);" class="text-gradient">Our journey</font> | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<template id="s_timeline_images" inherit_id="website.s_timeline_images"> | ||
<!-- Section --> | ||
<xpath expr="//section" position="attributes"> | ||
<attribute name="class" add="o_cc o_cc5" separator=" "/> | ||
</xpath> | ||
<!-- Milestone #1--> | ||
<xpath expr="//img" position="attributes"> | ||
<attribute name="class" remove="rounded" separator=" "/> | ||
</xpath> | ||
<xpath expr="//span[hasclass('o_dot')]" position="attributes"> | ||
<attribute name="class" add="text-o-color-4" remove="text-o-color-1" separator=" "/> | ||
</xpath> | ||
<xpath expr="//div[hasclass('o_dot_line')]" position="attributes"> | ||
<attribute name="style">border-color: var(--o-color-1) !important;</attribute> | ||
</xpath> | ||
<!-- Milestone #2 --> | ||
<xpath expr="(//img)[2]" position="attributes"> | ||
<attribute name="class" remove="rounded" separator=" "/> | ||
</xpath> | ||
<xpath expr="(//span[hasclass('o_dot')])[2]" position="attributes"> | ||
<attribute name="class" add="text-o-color-4" remove="text-o-color-1" separator=" "/> | ||
</xpath> | ||
<xpath expr="(//div[hasclass('o_dot_line')])[2]" position="attributes"> | ||
<attribute name="style">border-color: var(--o-color-1) !important;</attribute> | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<template id="s_timeline_images" inherit_id="website.s_timeline_images"> | ||
<!-- Milestone #1--> | ||
<xpath expr="//span[hasclass('o_dot')]" position="attributes"> | ||
<attribute name="class" add="text-o-color-2" remove="text-o-color-1" separator=" "/> | ||
</xpath> | ||
<!-- Milestone #2 --> | ||
<xpath expr="(//span[hasclass('o_dot')])[2]" position="attributes"> | ||
<attribute name="class" add="text-o-color-2" remove="text-o-color-1" separator=" "/> | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<template id="s_timeline_images" inherit_id="website.s_timeline_images"> | ||
<!-- Section --> | ||
<xpath expr="//section" position="attributes"> | ||
<attribute name="class" add="o_cc o_cc5" separator=" "/> | ||
</xpath> | ||
<!-- Milestone #1--> | ||
<xpath expr="//span[hasclass('o_dot')]" position="attributes"> | ||
<attribute name="class" add="text-o-color-4" remove="text-o-color-1" separator=" "/> | ||
</xpath> | ||
<xpath expr="//div[hasclass('o_dot_line')]" position="attributes"> | ||
<attribute name="style">border-color: var(--o-color-1) !important;</attribute> | ||
</xpath> | ||
<!-- Milestone #2 --> | ||
<xpath expr="(//span[hasclass('o_dot')])[2]" position="attributes"> | ||
<attribute name="class" add="text-o-color-4" remove="text-o-color-1" separator=" "/> | ||
</xpath> | ||
<xpath expr="(//div[hasclass('o_dot_line')])[2]" position="attributes"> | ||
<attribute name="style">border-color: var(--o-color-1) !important;</attribute> | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters