From 0b119ef5914cdee1b94c9ea362daa3439da3ccf2 Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Tue, 22 Oct 2013 17:05:04 -0200 Subject: [PATCH] Improving toggle button --- src/static/css/screen.css | 15 +++++++++++++++ src/super_archives/templates/superarchives/tags/display_message.html | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/static/css/screen.css b/src/static/css/screen.css index c6b370e..11b78ac 100644 --- a/src/static/css/screen.css +++ b/src/static/css/screen.css @@ -247,6 +247,21 @@ ul.unstyled-list .glyphicon-chevron-right { font-weight: bold; } +.toggle-reply { + height: 10px; + line-height: 3px; + padding: 0px 5px 14px; + vertical-align: middle; + font-size: 20px; + background-color: #bbb; + border-color: #aaa; +} + +.toggle-reply:hover, +.toggle-reply:focus { + background-color: #aaa; + border-color: #999; + /* Converse JS */ #chatpanel form#converse-login { diff --git a/src/super_archives/templates/superarchives/tags/display_message.html b/src/super_archives/templates/superarchives/tags/display_message.html index c8a673b..021ea3c 100644 --- a/src/super_archives/templates/superarchives/tags/display_message.html +++ b/src/super_archives/templates/superarchives/tags/display_message.html @@ -1,5 +1,5 @@ {% for block in blocks %} {% if block.is_reply %} - +
{% else %}
{% endif %}{{ block|safe|linebreaksbr }}
{% endfor %} -- libgit2 0.21.2