[IMP] theme_*: remove hardcoded colors on shapes and snippets
Instead now use another custom mapping for the default colors of the shapes which are used for the default homepage. This allows for the built page to work with any color palette (especially useful for built pages in the new configurator) and to handle footer/header connection. Also change some shapes and default background colors to match what the preview wanted directly (instead of relying on user asked change as that would not be handled when generating the page automatically with the configurator). Part of https://github.com/odoo/design-themes/pull/2 task-2491890 closes odoo/design-themes#12 Related: odoo/odoo#71665 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<template id="s_carousel" inherit_id="website.s_carousel">
|
||||
<!-- Slide 1 -->
|
||||
<xpath expr="//div[hasclass('carousel-content')]" position="replace">
|
||||
<div class="carousel-content col-lg-6 p-5 o_cc o_cc5 shadow border" style="border-width: 2.5px !important; box-shadow: rgb(161, 192, 5) -20px 20px 0px 0px !important; border-color: rgb(161, 192, 5) !important;">
|
||||
<div class="carousel-content col-lg-6 p-5 o_cc o_cc5 shadow border" style="border-width: 2.5px !important; box-shadow: rgb(44, 41, 39) -20px 20px 0px 0px !important; border-color: rgb(44, 41, 39) !important;">
|
||||
<h2><font style="font-size: 62px;">Miraillet Festival</font></h2>
|
||||
<p class="lead">From the 12th to the 17th of August, come and enjoy the atmosphere at the Mirallet Festival. Discover the line up below.</p>
|
||||
<p><br/></p>
|
||||
@@ -12,7 +12,7 @@
|
||||
</xpath>
|
||||
<!-- Slide 2 -->
|
||||
<xpath expr="(//div[hasclass('carousel-content')])[2]" position="replace">
|
||||
<div class="carousel-content col-lg-8 offset-lg-2 mt48 pt48 pb40 text-center o_cc o_cc5 shadow border" style="border-width: 2.5px !important; box-shadow: rgb(161, 192, 5) 0px 20px 0px 0px !important; border-color: rgb(161, 192, 5) !important;">
|
||||
<div class="carousel-content col-lg-8 offset-lg-2 mt48 pt48 pb40 text-center o_cc o_cc5 shadow border" style="border-width: 2.5px !important; box-shadow: rgb(44, 41, 39) 0px 20px 0px 0px !important; border-color: rgb(44, 41, 39) !important;">
|
||||
<h2><font style="font-size: 62px;">6 Days Pass</font></h2>
|
||||
<p class="lead">Tickets will be on sale soon. Do not miss our 6 Days Pass. Free camping!</p>
|
||||
<p><br/></p>
|
||||
@@ -21,7 +21,7 @@
|
||||
</xpath>
|
||||
<!-- Slide 3 -->
|
||||
<xpath expr="(//div[hasclass('carousel-content')])[3]" position="replace">
|
||||
<div class="carousel-content col-lg-6 offset-lg-6 p-5 pt48 pb40 o_cc o_cc5 shadow border" style="border-width: 2.5px !important; box-shadow: rgb(161, 192, 5) 20px 20px 0px 0px !important; border-color: rgb(161, 192, 5) !important;">
|
||||
<div class="carousel-content col-lg-6 offset-lg-6 p-5 pt48 pb40 o_cc o_cc5 shadow border" style="border-width: 2.5px !important; box-shadow: rgb(44, 41, 39) 20px 20px 0px 0px !important; border-color: rgb(44, 41, 39) !important;">
|
||||
<h2><font style="font-size: 62px;">Recent Editions</font></h2>
|
||||
<p class="lead">Discover what makes the reputation of the Miraillet festival through these after-movies.</p>
|
||||
<p><br/></p>
|
||||
|
||||
Reference in New Issue
Block a user