Commits

Roger Haase committed 2b9472c

remove one-col,.. four-col classes and replace with moin-link-list and moin-tags; tweak styling of tags and link lists

  • Participants
  • Parent commits 1915893

Comments (0)

Files changed (5)

MoinMoin/static/css/common.css

     display: none;
     visibility: hidden;
 }
-.one-col,
-.two-col,
-.three-col,
-.four-col {
-    display: block;
-    float: left;
-    padding-left: 0px;
-}
-.one-col li,
-.two-col li,
-.three-col li,
-.four-col li{
-    padding: 0 0 5px 0;
-    display: inline-block;
-    overflow: hidden;
-}
-.one-col li{
-    width: 100%;
-}
-.two-col li{
-    width: 50%;
-}
-.three-col li{
-    width: 33%;
-}
-.four-col li{
-    width: 25%;
+
+.moin-link-list li {
+    padding: 2px 0 2px 0;
 }
 input[type="text"].moin-acl-string {
     width: 70%;
 }
 
 /* tags tab */
+ul.moin-tags {
+    display: block;
+    margin-left: 0;
+    }
+ul.moin-tags > li {
+    padding: 5px 0 5px 0;
+    display: inline-block;
+    text-align: center;
+    width: 300px;
+}
 ul.moin-tags li.weight0 {
     font-size: 100%;
 }

MoinMoin/templates/global_tags.html

         <h1>{{ headline }}</h1>
     {% endif %}
     {% if tags %}
-        <ul class="moin-tags three-col">
+        <ul class="moin-tags">
             {% for cls, tag in tags %}
-                <li class="{{ cls }}"><a href="{{ url_for('frontend.tagged_items', tag=tag, namespace=fqname.namespace) }}">{{ tag }}</a></li>
+                <li class="moin-wordbreak {{ cls }}"><a href="{{ url_for('frontend.tagged_items', tag=tag, namespace=fqname.namespace) }}">{{ tag }}</a></li>
             {% endfor %}
         </ul>
     {% endif %}

MoinMoin/templates/refs.html

 {% block content %}
     <h1>{{ _('Item References') }}</h1>
     <h2>{{ _('Outgoing') }}</h2>
-    <ul>
+    <ul class="moin-link-list">
         {% for fq_name in refs|sort(attribute='value') %}
             <li><a class="moin-fqname" href="{{ url_for('frontend.show_item', item_name=fq_name) }}" data-fqname="{{fq_name}}">{{ fq_name.value }}</a></li>
 
         {% endfor %}
     </ul>
     <h2>{{ _('Incoming') }}</h2>
-    <ul>
+    <ul class="moin-link-list">
         {% for fq_name in backrefs|sort(attribute='value') %}
             <li><a class="moin-fqname" href="{{ url_for('frontend.show_item', item_name=fq_name) }}" data-fqname="{{fq_name}}">{{ fq_name.value }}</a></li>