diff options
Diffstat (limited to 'hyperkitty')
-rw-r--r-- | hyperkitty/static/css/style.css | 13 | ||||
-rw-r--r-- | hyperkitty/templatetags/hk_generic.py | 2 |
2 files changed, 12 insertions, 3 deletions
diff --git a/hyperkitty/static/css/style.css b/hyperkitty/static/css/style.css index 80dd7ed..cbaa754 100644 --- a/hyperkitty/static/css/style.css +++ b/hyperkitty/static/css/style.css @@ -717,8 +717,17 @@ ul.attachments-list li { margin-top: 5px; } -.first_email_body .quoted-text, -.email_body .quoted-text { +.quoted-switch a { + background-color: #fafafa; + padding: 0 4px 2px 4px; + border-left: 2px solid rgb(55, 113, 200); + font-weight: bold; + font-size: 115%; +} +.quoted-switch a:hover { + text-decoration: none; +} +.quoted-text { border-left: 2px solid rgb(55, 113, 200); padding-left: 0.2em; } diff --git a/hyperkitty/templatetags/hk_generic.py b/hyperkitty/templatetags/hk_generic.py index 390c51c..f605df3 100644 --- a/hyperkitty/templatetags/hk_generic.py +++ b/hyperkitty/templatetags/hk_generic.py @@ -141,7 +141,7 @@ def viewer_date(email): SNIPPED_RE = re.compile("^(\s*>).*$", re.M) @register.filter(needs_autoescape=True) -def snip_quoted(content, quotemsg="[...]", autoescape=None): +def snip_quoted(content, quotemsg="...", autoescape=None): """Snip quoted text in messages""" if autoescape: content = conditional_escape(content) |