changeset 3624:2b577967030b

Add a class to the "Clear message" link, make the link text smaller and lower it a little in the Modern theme.
author Radomir Dopieralski <moindev@sheep.art.pl>
date Mon, 19 May 2008 21:13:26 +0200
parents c02522af6533
children ef3cbfb74b2e
files MoinMoin/theme/__init__.py wiki/htdocs/modern/css/common.css
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Mon May 19 19:12:01 2008 +0200
+++ b/MoinMoin/theme/__init__.py	Mon May 19 21:13:26 2008 +0200
@@ -574,7 +574,7 @@
         msgs = d['msg']
 
         result = u""
-        close = d['page'].link_to(self.request, text=_('Clear message'))
+        close = d['page'].link_to(self.request, text=_('Clear message'), css_class="clear-link")
         for msg, msg_class in msgs:
             try:
                 result += u'<p>%s</p>' % msg.render()
--- a/wiki/htdocs/modern/css/common.css	Mon May 19 19:12:01 2008 +0200
+++ b/wiki/htdocs/modern/css/common.css	Mon May 19 21:13:26 2008 +0200
@@ -481,6 +481,11 @@
     margin: 0 0.5em 0 0.125em;
     vertical-align: middle;
 }
+#message a.clear-link {
+    display: block;
+    margin: 0.75em 0 0 0;
+    font-size: small;
+}
 
 
 /* admonition start */