diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-10-09 02:08:17 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-10-09 02:08:17 +0200 |
| commit | d74b4518052066446e2a1975a91ce53c745ca75a (patch) | |
| tree | c08180f88a512d15e37fbec628931f02b3825f65 /addons/website_mail/static/src/css | |
| parent | ec162dd0cb5622ab6e56db1a63dab5f531a96f4a (diff) | |
| parent | f4105eb9c7010f8693e5d2fd20c0bd9d9cc2e483 (diff) | |
[MERGE] forward port branch 13.0 up to f4105eb9c70
Diffstat (limited to 'addons/website_mail/static/src/css')
| -rw-r--r-- | addons/website_mail/static/src/css/website_mail.scss | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/addons/website_mail/static/src/css/website_mail.scss b/addons/website_mail/static/src/css/website_mail.scss index 6be6bf9007c..def6d8d37cb 100644 --- a/addons/website_mail/static/src/css/website_mail.scss +++ b/addons/website_mail/static/src/css/website_mail.scss @@ -2,3 +2,44 @@ .js_follow[data-follow='off'] .js_unfollow_btn { display: none; } + +.js_follow_icons_container { + .js_follow_btn, .js_unfollow_btn { + animation: js_follow_fade 1s ease forwards; + opacity: 0; + + small { + opacity: 0; + transition: opacity 0.3s ease; + } + + @include hover-focus () { + small { + transition-duration: 1s; + opacity: 1; + } + }; + } + + .fa:before { + content: "\f0f3"; + color: $text-muted; + } + + .js_follow_btn:hover .fa:before { + color: $body-color; + } + + .js_unfollow_btn .fa:before { + color: theme-color('primary'); + } + + .js_unfollow_btn:hover .fa:before { + content: "\f1f6"; + color: theme-color('danger'); + } +} + +@keyframes js_follow_fade { + to { opacity: 1; } +} |
