From b18f2f1f36f35b1de4536ca99840414f96e3ff33 Mon Sep 17 00:00:00 2001 From: Catouse Date: Thu, 5 May 2016 16:07:28 +0800 Subject: [PATCH] * fix table border missing in firefox. --- module/product/view/dynamic.html.php | 2 +- module/project/view/dynamic.html.php | 4 +++- www/theme/default/style.css | 12 +++++++++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/module/product/view/dynamic.html.php b/module/product/view/dynamic.html.php index 398f4283d8..4c2eec0b98 100755 --- a/module/product/view/dynamic.html.php +++ b/module/product/view/dynamic.html.php @@ -27,7 +27,7 @@ - +
recTotal}&recPerPage={$pager->recPerPage}"; ?> diff --git a/module/project/view/dynamic.html.php b/module/project/view/dynamic.html.php index ede024794a..b82e1e51dd 100755 --- a/module/project/view/dynamic.html.php +++ b/module/project/view/dynamic.html.php @@ -40,7 +40,7 @@ -
+
recTotal}&recPerPage={$pager->recPerPage}"; ?> @@ -52,6 +52,7 @@ + objectType == 'case' ? 'testcase' : $action->objectType;?> @@ -65,6 +66,7 @@ +
action->objectName;?>
show();?>
diff --git a/www/theme/default/style.css b/www/theme/default/style.css index 4765d3665e..a70606d5fc 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -529,7 +529,17 @@ body {font-size: 13px; color:#141414;padding-bottom: 40px;} /* table in outer */ .outer .table {margin-bottom: 0; border: 1px solid #ddd;} -@-moz-document url-prefix(){.outer .table, .outer .table.table-form.with-border {box-shadow: 1px 1px 0 #ddd, -1px 0 0 #ddd; border-left: none; border-right: none; border-bottom: none} .panel .table, #querybox .table, .outer > .container .table-form, .outer > .container .table-data, .outer .main-side .table, .outer .table.table-form {box-shadow: none}} +@-moz-document url-prefix() +{ + .outer .table.with-border thead > tr > th:first-child, + .outer .table.with-border tfoot > tr > td:first-child, + .outer .table.with-border tbody > tr > td:first-child {border-left: 1px solid #ddd} + .outer .table.with-border thead > tr > th:last-child, + .outer .table.with-border tfoot > tr > td:last-child, + .outer .table.with-border tbody > tr > td:last-child {border-right: 1px solid #ddd} + .outer .table.with-border > *:first-child > tr:first-child > th {border-top: 1px solid #ddd;} + .outer .table.with-border > *:last-child > tr:last-child > td {border-bottom: 1px solid #ddd;} +} .outer .table thead tr th {text-align: center;} .outer .table thead tr th.text-left {text-align: left;} .outer .table tbody td {vertical-align: middle;}