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/web/static/src/scss/bootstrap_overridden_frontend.scss | |
| 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/web/static/src/scss/bootstrap_overridden_frontend.scss')
| -rw-r--r-- | addons/web/static/src/scss/bootstrap_overridden_frontend.scss | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/addons/web/static/src/scss/bootstrap_overridden_frontend.scss b/addons/web/static/src/scss/bootstrap_overridden_frontend.scss index d7f30a8d869..0c656ae1db2 100644 --- a/addons/web/static/src/scss/bootstrap_overridden_frontend.scss +++ b/addons/web/static/src/scss/bootstrap_overridden_frontend.scss @@ -3,3 +3,15 @@ // Font, line-height, and color for body text, headings, and more. $font-size-base: (14 / 16) * 1rem !default; + +// Inherit color for blockquote-footer, use text-muted on top of it if you want +// a muted one. This is defined here to be consistent in the whole frontend, as +// when used with background classes, it should not be forced to a gray color. +$blockquote-small-color: inherit !default; + +// Figures + +// Inherit color for figure-caption, use text-muted on top of it if you want +// a muted one. This is defined here to be consistent in the whole frontend, as +// when used with background classes, it should not be forced to a gray color. +$figure-caption-color: inherit !default; |
