changeset 2817:638d441a002d

move duplicated tablesorter css from themes to common.css
author RogerHaase <haaserd@gmail.com>
date Sat, 11 Oct 2014 10:14:08 -0700
parents cf7046d9bcfa
children 05b4f45a4872
files MoinMoin/static/css/common.css MoinMoin/themes/basic/static/css/theme.css MoinMoin/themes/basic/static/custom-less/theme.less MoinMoin/themes/modernized/static/css/stylus/theme.styl MoinMoin/themes/modernized/static/css/theme.css
diffstat 5 files changed, 29 insertions(+), 76 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/static/css/common.css	Fri Oct 10 14:17:54 2014 -0700
+++ b/MoinMoin/static/css/common.css	Sat Oct 11 10:14:08 2014 -0700
@@ -121,11 +121,34 @@
 input[type="text"].moin-acl-string {
     width: 70%;
 }
+#moin-acl-form {
+    display: inline;
+}
+
+/* tablesorter */
 .tablesorter {
     width: 100%;
 }
-#moin-acl-form {
-    display: inline;
+.tablesorter-header {
+  background-image: url('../../../static/img/bg.png');
+  background-repeat: no-repeat;
+  background-position: left center;
+}
+.tablesorter-headerAsc {
+  background-image: url('../../../static/img/asc.png');
+}
+.tablesorter-headerDesc {
+  background-image: url('../../../static/img/desc.png');
+}
+.tablesorter-header.sorter-false {
+  background-image: None;
+}
+.tablesorter-header-inner {
+  padding-left: 10px;
+  cursor: pointer;
+}
+.sorter-false > .tablesorter-header-inner {
+  padding-left: 0px;
 }
 
 /* tickets */
--- a/MoinMoin/themes/basic/static/css/theme.css	Fri Oct 10 14:17:54 2014 -0700
+++ b/MoinMoin/themes/basic/static/css/theme.css	Sat Oct 11 10:14:08 2014 -0700
@@ -7263,27 +7263,6 @@
     padding-left: 30px;
   }
 }
-.tablesorter-header {
-  background-image: url('../../../static/img/bg.png');
-  background-repeat: no-repeat;
-  background-position: left center;
-}
-.tablesorter-headerAsc {
-  background-image: url('../../../static/img/asc.png');
-}
-.tablesorter-headerDesc {
-  background-image: url('../../../static/img/desc.png');
-}
-.tablesorter-header.sorter-false {
-  background-image: None;
-}
-.tablesorter-header-inner {
-  padding-left: 10px;
-  cursor: pointer;
-}
-.sorter-false > .tablesorter-header-inner {
-  padding-left: 0px;
-}
 html {
   overflow-y: scroll;
 }
--- a/MoinMoin/themes/basic/static/custom-less/theme.less	Fri Oct 10 14:17:54 2014 -0700
+++ b/MoinMoin/themes/basic/static/custom-less/theme.less	Sat Oct 11 10:14:08 2014 -0700
@@ -646,28 +646,6 @@
   }
 }
 
-.tablesorter-header {
-  background-image: url('../../../static/img/bg.png');
-  background-repeat: no-repeat;
-  background-position: left center;
-}
-.tablesorter-headerAsc {
-  background-image: url('../../../static/img/asc.png');
-}
-.tablesorter-headerDesc {
-  background-image: url('../../../static/img/desc.png');
-}
-.tablesorter-header.sorter-false {
-  background-image: None;
-}
-.tablesorter-header-inner {
-  padding-left: 10px;
-  cursor: pointer;
-}
-.sorter-false > .tablesorter-header-inner {
-  padding-left:0px;
-}
-
 html{
   overflow-y: scroll;
 }
--- a/MoinMoin/themes/modernized/static/css/stylus/theme.styl	Fri Oct 10 14:17:54 2014 -0700
+++ b/MoinMoin/themes/modernized/static/css/stylus/theme.styl	Sat Oct 11 10:14:08 2014 -0700
@@ -232,6 +232,9 @@
 .moin-thead
     background-color header_bg_color
 
+.zebra .tablesorter-header
+    background-color header_bg_color
+
 table.zebra
     border-collapse separate
     border-spacing 1px
@@ -1548,27 +1551,3 @@
 
 ul.moin-bcs-item li:hover ul.moin-bcs-subitems
     display block
-
-.tablesorter-header-inner
-    padding-left 10px
-.sorter-false > .tablesorter-header-inner
-    padding-left 0px
-
-.tablesorter-header
-    background-image url('../../../static/img/bg.png')
-    background-repeat no-repeat
-    background-position left center
-    background-color table_row_color
-    color font_color
-
-.tablesorter-headerAsc
-    background-image url('../../../static/img/asc.png')
-
-.tablesorter-headerDesc
-    background-image url('../../../static/img/desc.png')
-
-.tablesorter-header.sorter-false
-    background-image None
-
-.zebra .tablesorter-header
-    background-color header_bg_color
--- a/MoinMoin/themes/modernized/static/css/theme.css	Fri Oct 10 14:17:54 2014 -0700
+++ b/MoinMoin/themes/modernized/static/css/theme.css	Sat Oct 11 10:14:08 2014 -0700
@@ -395,6 +395,7 @@
 td{border:1px solid #4e7da9}
 td p{margin:0;padding:0}
 .moin-thead{background-color:#00417f}
+.zebra .tablesorter-header{background-color:#00417f}
 table.zebra{border-collapse:separate;border-spacing:1px;width:98%;border:1px solid #4e7da9;border-radius:6px}
 .zebra thead{background-color:#00417f}
 .zebra tfoot{background-color:#aed4fa}
@@ -674,10 +675,3 @@
 ul.moin-bcs-item li{position:relative}
 ul.moin-bcs-item li ul.moin-bcs-subitems{display:none;position:absolute}
 ul.moin-bcs-item li:hover ul.moin-bcs-subitems{display:block}
-.tablesorter-header-inner{padding-left:10px}
-.sorter-false > .tablesorter-header-inner{padding-left:0}
-.tablesorter-header{background-image:url("../../../static/img/bg.png");background-repeat:no-repeat;background-position:left center;background-color:#d8dfe9;color:#000}
-.tablesorter-headerAsc{background-image:url("../../../static/img/asc.png")}
-.tablesorter-headerDesc{background-image:url("../../../static/img/desc.png")}
-.tablesorter-header.sorter-false{background-image:None}
-.zebra .tablesorter-header{background-color:#00417f}