diff options
| author | stefanorigano <stefano.rigano@gmail.com> | 2016-09-22 11:59:09 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2016-09-23 11:16:16 +0200 |
| commit | 3b4f976f930a3897ee9ce331b86fb69bd4cc3246 (patch) | |
| tree | 6fe6eb85555390ae5fba85199a9752992949e26d /addons/mass_mailing/static/src/less/themes/theme_tech.less | |
| parent | 59d4ae5c0c1e6765cf3e732041c293708acb4823 (diff) | |
[FIX] mass_mailing: review colors in snippets
* Trig default ".btn.btn-link" rather than custom ".o_mail_link" (not
used anymore)
* Define variations when a button is inside bg-beta or bg-delta
Diffstat (limited to 'addons/mass_mailing/static/src/less/themes/theme_tech.less')
| -rw-r--r-- | addons/mass_mailing/static/src/less/themes/theme_tech.less | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/addons/mass_mailing/static/src/less/themes/theme_tech.less b/addons/mass_mailing/static/src/less/themes/theme_tech.less index 7b7a91ae475..68702080a69 100644 --- a/addons/mass_mailing/static/src/less/themes/theme_tech.less +++ b/addons/mass_mailing/static/src/less/themes/theme_tech.less @@ -17,8 +17,8 @@ background-color: @o_mm_tech_color_gamma; .btn.btn-primary { - color: @o_mm_tech_color_beta; - background-color: @o_mm_tech_color_zeta; + color: @o_mm_tech_color_gamma; + background-color: @o_mm_tech_color_beta; } } .text-beta { @@ -51,7 +51,7 @@ padding-right: 20px; } - a, .o_mail_link { + a, .btn.btn-link { font-weight: normal; color: @o_mm_tech_color_gamma; } @@ -59,6 +59,19 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: darken(@o_mm_tech_color_beta, 10%); } + + .bg-beta, .bg-delta { + h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { + color: @o_mm_tech_color_beta; + } + } + + .bg-beta { + .btn.btn-primary { + color: @o_mm_tech_color_gamma; + background-color: @o_mm_tech_color_beta; + } + } } // ===== Snippets (specific) ===== |
