changeset 2760:2d7189275f1b

move tags tab styling from modernized/theme.css to common.cs so all themes have similar styling
author RogerHaase <haaserd@gmail.com>
date Wed, 20 Aug 2014 14:24:38 -0700
parents 1934add39410
children 31628ac3ec21
files MoinMoin/static/css/common.css MoinMoin/themes/foobar/static/css/stylus/theme.styl MoinMoin/themes/foobar/static/css/theme.css MoinMoin/themes/modernized/static/css/stylus/theme.styl MoinMoin/themes/modernized/static/css/theme.css
diffstat 5 files changed, 34 insertions(+), 74 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/static/css/common.css	Mon Aug 18 20:49:54 2014 +0200
+++ b/MoinMoin/static/css/common.css	Wed Aug 20 14:24:38 2014 -0700
@@ -61,8 +61,9 @@
 .two-col li,
 .three-col li,
 .four-col li{
-  padding-bottom: 5px;
+  padding: 0 0 5px 0;
   display: inline-block;
+  overflow: hidden;
 }
 .one-col li{
   width: 100%;
@@ -85,3 +86,35 @@
 #moin-acl-form {
   display: inline;
 }
+
+/* tags tab */
+ul.moin-tags li.weight0 {
+  font-size: 100%;
+}
+ul.moin-tags li.weight1 {
+  font-size: 120%;
+}
+ul.moin-tags li.weight2 {
+  font-size: 140%;
+}
+ul.moin-tags li.weight3 {
+  font-size: 160%;
+}
+ul.moin-tags li.weight4 {
+  font-size: 180%;
+}
+ul.moin-tags li.weight5 {
+  font-size: 200%;
+}
+ul.moin-tags li.weight6 {
+  font-size: 220%;
+}
+ul.moin-tags li.weight7 {
+  font-size: 240%;
+}
+ul.moin-tags li.weight8 {
+  font-size: 260%;
+}
+ul.moin-tags li.weight9 {
+  font-size: 280%;
+}
--- a/MoinMoin/themes/foobar/static/css/stylus/theme.styl	Mon Aug 18 20:49:54 2014 +0200
+++ b/MoinMoin/themes/foobar/static/css/stylus/theme.styl	Wed Aug 20 14:24:38 2014 -0700
@@ -864,19 +864,6 @@
 blockquote
     margin-left 2em
 
-// tags list / tag cloud
-tag_scale = 1.2
-tag_font_size = 1em
-
-ul.moin-tags
-    list-style none
-    li
-        display inline
-        for n in 0 1 2 3 4 5 6 7 8 9
-            { '&.weight' + n }
-                scale_tag = tag_scale ** (n - 4)
-                font-size tag_font_size * scale_tag
-
 // headings
 for n in 1 2 3 4 5 6
     {'h' + n}
--- a/MoinMoin/themes/foobar/static/css/theme.css	Mon Aug 18 20:49:54 2014 +0200
+++ b/MoinMoin/themes/foobar/static/css/theme.css	Wed Aug 20 14:24:38 2014 -0700
@@ -371,18 +371,6 @@
 ol.moin-upperroman-list{list-style-type:upper-roman}
 ol.moin-lowerroman-list{list-style-type:lower-roman}
 blockquote{margin-left:2em}
-ul.moin-tags{list-style:none;}
-ul.moin-tags li{display:inline;}
-ul.moin-tags li.weight0{font-size:.4822530864197531em}
-ul.moin-tags li.weight1{font-size:.5787037037037037em}
-ul.moin-tags li.weight2{font-size:.6944444444444444em}
-ul.moin-tags li.weight3{font-size:.8333333333333334em}
-ul.moin-tags li.weight4{font-size:1em}
-ul.moin-tags li.weight5{font-size:1.2em}
-ul.moin-tags li.weight6{font-size:1.44em}
-ul.moin-tags li.weight7{font-size:1.728em}
-ul.moin-tags li.weight8{font-size:2.0736em}
-ul.moin-tags li.weight9{font-size:2.48832em}
 h1{font-size:1.728em;margin:.5787037037037037em 0;border-bottom:3px solid #ccc;padding-bottom:3px}
 h2{font-size:1.44em;margin:.6944444444444444em 0;border-bottom:3px solid #ccc;padding-bottom:3px}
 h3{font-size:1.2em;margin:.8333333333333334em 0;border-bottom:2px solid #ccc;padding-bottom:2px}
--- a/MoinMoin/themes/modernized/static/css/stylus/theme.styl	Mon Aug 18 20:49:54 2014 +0200
+++ b/MoinMoin/themes/modernized/static/css/stylus/theme.styl	Wed Aug 20 14:24:38 2014 -0700
@@ -1050,42 +1050,6 @@
     margin 0
     display none
 
-ul.moin-tags
-    list-style none
-
-ul.moin-tags li
-    display inline
-
-ul.moin-tags li.weight0
-    font-size 100%
-
-ul.moin-tags li.weight1
-    font-size 120%
-
-ul.moin-tags li.weight2
-    font-size 140%
-
-ul.moin-tags li.weight3
-    font-size 160%
-
-ul.moin-tags li.weight4
-    font-size 180%
-
-ul.moin-tags li.weight5
-    font-size 200%
-
-ul.moin-tags li.weight6
-    font-size 220%
-
-ul.moin-tags li.weight7
-    font-size 240%
-
-ul.moin-tags li.weight8
-    font-size 260%
-
-ul.moin-tags li.weight9
-    font-size 280%
-
 #moin-flash
     margin -2px -15px -2px -14px
 
--- a/MoinMoin/themes/modernized/static/css/theme.css	Mon Aug 18 20:49:54 2014 +0200
+++ b/MoinMoin/themes/modernized/static/css/theme.css	Wed Aug 20 14:24:38 2014 -0700
@@ -419,18 +419,6 @@
 .popup-body input.blank{border-color:#4e7da9;border-width:2px}
 .popup-container{margin:0}
 #lightbox{background:#fff;opacity:.7;position:absolute;left:0;top:0;width:100%;height:100%;z-index:9;margin:0;display:none}
-ul.moin-tags{list-style:none}
-ul.moin-tags li{display:inline}
-ul.moin-tags li.weight0{font-size:100%}
-ul.moin-tags li.weight1{font-size:120%}
-ul.moin-tags li.weight2{font-size:140%}
-ul.moin-tags li.weight3{font-size:160%}
-ul.moin-tags li.weight4{font-size:180%}
-ul.moin-tags li.weight5{font-size:200%}
-ul.moin-tags li.weight6{font-size:220%}
-ul.moin-tags li.weight7{font-size:240%}
-ul.moin-tags li.weight8{font-size:260%}
-ul.moin-tags li.weight9{font-size:280%}
 #moin-flash{margin:-2px -15px -2px -14px}
 .moin-flash{margin:0;padding:6px 6px 6px 38px;background-color:#d8dfe9;border-bottom:1px solid #4e7da9;background-repeat:no-repeat;background-position:16px center;border-top-right-radius:9px;border-top-left-radius:9px;color:#000}
 .moin-flash-hint{background-image:url("../img/smileys/idea.png")}