diff options
| author | qsm-odoo <qsm@odoo.com> | 2020-05-28 10:04:42 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-06-02 09:42:19 +0000 |
| commit | 69190959ce8e08481be7ebdfefd314edf0c5dce1 (patch) | |
| tree | 4932c4f0cec740088892afbc96e2fea6a791b10a /addons/website_event/views | |
| parent | 6aa93a9c06b2599b5d1d9f4aedab185afb3234ee (diff) | |
[IMP] website, *: introduce new classes to color snippets
*: web, web_editor, website_blog, website_event
New o_cc${xxx} classes where ${xxx} is a number [1-5] to style snippets:
they come with a background color, a text color, headings colors, a
link color, primary button colors and secondary button colors which
will later be possible to customize by the user.
The classes are made so that they are working on two levels. So if a
column receives a color class and the snippet too, everything will work
fine. More than 2 levels are not supported and the editor is made so
those cases should not appear. See o_colored_level class.
Part of https://github.com/odoo/odoo/pull/45856
task-2197038
Diffstat (limited to 'addons/website_event/views')
| -rw-r--r-- | addons/website_event/views/event_templates.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/website_event/views/event_templates.xml b/addons/website_event/views/event_templates.xml index 7a11d08bdcd..4b90c229f03 100644 --- a/addons/website_event/views/event_templates.xml +++ b/addons/website_event/views/event_templates.xml @@ -309,13 +309,13 @@ <a href="/event"> <figure class="o_wevent_sidebar_block o_wevent_sidebar_figure figure"> <img class="figure-img img-fluid rounded" src="/website_event/static/src/img/event_past_0.jpg" alt=""/> - <figcaption class="figure-caption">A past event</figcaption> + <figcaption class="figure-caption text-muted">A past event</figcaption> </figure> </a> <a href="/event"> <figure class="o_wevent_sidebar_block o_wevent_sidebar_figure figure"> <img class="figure-img img-fluid rounded" src="/website_event/static/src/img/event_training_0.jpg" alt=""/> - <figcaption class="figure-caption">Our Trainings</figcaption> + <figcaption class="figure-caption text-muted">Our Trainings</figcaption> </figure> </a> </xpath> @@ -328,7 +328,7 @@ <div class="card-body"> <blockquote class="blockquote mb-0"> <p><em>Write here a quote from one of your attendees. It gives confidence in your events.</em></p> - <footer class="blockquote-footer">Author</footer> + <footer class="blockquote-footer text-muted">Author</footer> </blockquote> </div> </div> |
