changeset 2820:1988b4e5092b

css changes for headers on modernized tables; simplify zebra styling
author RogerHaase <haaserd@gmail.com>
date Sun, 12 Oct 2014 10:05:58 -0700
parents 76e57887fd28
children 41ed0f7d1cb0
files MoinMoin/themes/modernized/static/css/stylus/color_palette.styl MoinMoin/themes/modernized/static/css/stylus/theme.styl MoinMoin/themes/modernized/static/css/theme.css
diffstat 3 files changed, 6 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/modernized/static/css/stylus/color_palette.styl	Sun Oct 12 10:00:37 2014 -0700
+++ b/MoinMoin/themes/modernized/static/css/stylus/color_palette.styl	Sun Oct 12 10:05:58 2014 -0700
@@ -6,6 +6,7 @@
 page_color = #ffffff
 border_style = 1px solid border_color
 header_bg_color = #00417f
+table_header_bg_color = #81bbf2
 footer_color = #737373
 heading_color = #ffffff
 panel_color = #00417f
--- a/MoinMoin/themes/modernized/static/css/stylus/theme.styl	Sun Oct 12 10:00:37 2014 -0700
+++ b/MoinMoin/themes/modernized/static/css/stylus/theme.styl	Sun Oct 12 10:05:58 2014 -0700
@@ -218,9 +218,9 @@
 
 th
     border border_style
-    background-color header_bg_color
+    background-color table_header_bg_color
     text-align center
-    color table_row_color
+    color font_color
 
 td
     border border_style
@@ -232,15 +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
+    border-collapse collapse
     width 98%
-    border border_style
-    border-radius 6px
 
 .zebra thead
     background-color header_bg_color
@@ -249,7 +243,6 @@
     background-color base_color
 
 .zebra td
-    border none
     form
         input
             box-shadow none
--- a/MoinMoin/themes/modernized/static/css/theme.css	Sun Oct 12 10:00:37 2014 -0700
+++ b/MoinMoin/themes/modernized/static/css/theme.css	Sun Oct 12 10:05:58 2014 -0700
@@ -391,15 +391,13 @@
 pre.comment:before{content:url("../img/attention.png")}
 table{margin:1%;border-collapse:collapse}
 th,td{padding:.3em .4em;vertical-align:middle;text-align:left}
-th{border:1px solid #4e7da9;background-color:#00417f;text-align:center;color:#d8dfe9}
+th{border:1px solid #4e7da9;background-color:#81bbf2;text-align:center;color:#000}
 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}
+table.zebra{border-collapse:collapse;width:98%}
 .zebra thead{background-color:#00417f}
 .zebra tfoot{background-color:#aed4fa}
-.zebra td{border:none;}
 .zebra td form input{box-shadow:none}
 .zebra tbody tr,.zebra > tr{background-color:#eef1f6}
 .zebra tbody tr:nth-child(odd),.zebra > tr:nth-child(odd){background-color:#d8dfe9}