- Repo for opensource odoo website theme (since V13.0)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
2.5 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template id="s_three_columns" inherit_id="website.s_three_columns">
  4. <!-- Section -->
  5. <xpath expr="//section" position="attributes">
  6. <attribute name="class" add="o_cc o_cc1" remove="bg-200" separator=" "/>
  7. </xpath>
  8. <!-- Column 1 -->
  9. <xpath expr="//div[hasclass('card')]" position="attributes">
  10. <attribute name="class" add="border rounded shadow" separator=" "/>
  11. <attribute name="style" add="border-width: 10px !important; border-color: rgb(36, 35, 39) !important; border-radius: 0px !important; box-shadow: rgb(36, 35, 39) 0px 0px 25px 0px !important;" separator=" "/>
  12. </xpath>
  13. <xpath expr="//div[hasclass('card-body')]" position="replace">
  14. <div class="card-body">
  15. <h3 class="card-title">A Belgian Story</h3>
  16. <p class="card-text">Discover the history of Belgium in this well-documented book with many illustrations and testimonials.</p>
  17. </div>
  18. </xpath>
  19. <!-- Column 2 -->
  20. <xpath expr="(//div[hasclass('card')])[2]" position="attributes">
  21. <attribute name="class" add="border rounded shadow" separator=" "/>
  22. <attribute name="style" add="border-width: 10px !important; border-color: rgb(36, 35, 39) !important; border-radius: 0px !important; box-shadow: rgb(36, 35, 39) 0px 0px 25px 0px !important;" separator=" "/>
  23. </xpath>
  24. <xpath expr="(//div[hasclass('card-body')])[2]" position="replace">
  25. <div class="card-body">
  26. <h3 class="card-title">At the Mars conquest</h3>
  27. <p class="card-text">Learn about the difficulties encountered by NASA engineers in sending the first men to Mars.</p>
  28. </div>
  29. </xpath>
  30. <!-- Column 3 -->
  31. <xpath expr="(//div[hasclass('card')])[3]" position="attributes">
  32. <attribute name="class" add="border rounded shadow" separator=" "/>
  33. <attribute name="style" add="border-width: 10px !important; border-color: rgb(36, 35, 39) !important; border-radius: 0px !important; box-shadow: rgb(36, 35, 39) 0px 0px 25px 0px !important;" separator=" "/>
  34. </xpath>
  35. <xpath expr="(//div[hasclass('card-body')])[3]" position="replace">
  36. <div class="card-body">
  37. <h3 class="card-title">Re-edition</h3>
  38. <p class="card-text">The first re-edition of this Latin dictionary, from 1460. Printed originally on the Gutenberg press.</p>
  39. </div>
  40. </xpath>
  41. </template>
  42. </odoo>