Changeset:
76b6610ba578
https://sourceforge.net/p/mrbs/hg-code/ci/76b6610ba578f86dc616f32d491bd85ad04fd434
Author:
Campbell Morrison <[email protected]>
Date:
Mon Mar 27 21:56:33 2017 +0100
Log message:
Added zebra stripes
diffstat:
web/css/mrbs.css.php | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diffs (42 lines):
diff -r 0db3de151754 -r 76b6610ba578 web/css/mrbs.css.php
--- a/web/css/mrbs.css.php Mon Mar 27 21:39:43 2017 +0100
+++ b/web/css/mrbs.css.php Mon Mar 27 21:56:33 2017 +0100
@@ -1426,6 +1426,11 @@
.main_view {
width: 100%;
+ border-collapse: collapse;
+}
+
+.main_view table {
+ border-collapse: collapse;
}
.main_view_data {
@@ -1433,13 +1438,26 @@
table-layout: fixed;
}
+.main_view_data tr:nth-child(even) td.new {
+ background-color: <?php echo $row_even_color ?>;
+}
+
+.main_view_data tr:nth-child(odd) td.new {
+ background-color: <?php echo $row_odd_color ?>;
+}
+
.main_view td {
overflow: hidden;
}
+.main_view table td {
+ border-top: 1px solid transparent;
+}
+
.main_view a {
display: block;
width: 100%;
white-space: nowrap;
+ padding: 0.1em;
}
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits