From 470e5d4e86e0feb6ea93e3a5ac75d3a232b0c70d Mon Sep 17 00:00:00 2001 From: Catouse Date: Tue, 20 Nov 2018 10:49:54 +0800 Subject: [PATCH] * improve UI of statistic blocks. --- module/block/view/productstatisticblock.html.php | 3 ++- module/block/view/projectstatisticblock.html.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/module/block/view/productstatisticblock.html.php b/module/block/view/productstatisticblock.html.php index 965381e8b3..ea3feffc8c 100644 --- a/module/block/view/productstatisticblock.html.php +++ b/module/block/view/productstatisticblock.html.php @@ -42,7 +42,7 @@ html[lang="en"] .product-info .type-info {color: #A6AAB8; text-align: center; po .block-statistic .nav-secondary > li.active > a:hover, .block-statistic .nav-secondary > li.active > a:focus, .block-statistic .nav-secondary > li > a:hover {box-shadow: none; border-radius: 4px 0 0 4px;} -.block-statistic .nav-secondary > li.active > a:first-child:before {content: ' '; display: block; left: -1px; top: 7px; bottom: 10px; width: 4px; background: #006af1; position: absolute; height: 16px} +.block-statistic .nav-secondary > li.active > a:first-child:before {content: ' '; display: block; left: -1px; top: 8px; bottom: 10px; width: 4px; background: #006af1; position: absolute; height: 16px} .block-statistic .nav-secondary > li.switch-icon {display: none;} .block-statistic.block-sm .panel-body {padding-bottom: 10px; position: relative; padding-top: 45px;} .block-statistic.block-sm .panel-body > .table-row, @@ -61,6 +61,7 @@ html[lang="en"] .product-info .type-info {color: #A6AAB8; text-align: center; po .block-statistic.block-sm .nav-secondary > li > a:before {display: none;} .block-statistic.block-sm .nav-secondary > li.switch-icon {width: 40px;} .block-statistic.block-sm .types-line > li > div {padding: 18px 2px 5px;} +.block-statistic.block-sm .nav-secondary > li.active > a:first-child:before {display: none} .status-count{margin:auto} .status-count tr:first-child td:last-child{color:#000;font-weight:bold} diff --git a/module/block/view/projectstatisticblock.html.php b/module/block/view/projectstatisticblock.html.php index 397c3ce220..f6da493948 100644 --- a/module/block/view/projectstatisticblock.html.php +++ b/module/block/view/projectstatisticblock.html.php @@ -28,7 +28,7 @@ html[lang="en"] .product-info .type-info {color: #A6AAB8; text-align: center; po .block-statistic .nav-secondary > li.active > a:hover, .block-statistic .nav-secondary > li.active > a:focus, .block-statistic .nav-secondary > li > a:hover {box-shadow: none; border-radius: 4px 0 0 4px;} -.block-statistic .nav-secondary > li.active > a:first-child:before {content: ' '; display: block; left: -1px; top: 7px; bottom: 10px; width: 4px; background: #006af1; position: absolute;height: 16px} +.block-statistic .nav-secondary > li.active > a:first-child:before {content: ' '; display: block; left: -1px; top: 8px; bottom: 10px; width: 4px; background: #006af1; position: absolute;height: 16px} .block-statistic .nav-secondary > li.active > a.projectView {float: right} .block-statistic .nav-secondary > li.switch-icon {display: none;} .block-statistic.block-sm .panel-body {padding-bottom: 10px; position: relative; padding-top: 45px; border-radius: 3px;} @@ -47,6 +47,7 @@ html[lang="en"] .product-info .type-info {color: #A6AAB8; text-align: center; po .block-statistic.block-sm .nav-secondary > li > a {padding: 5px 10px; border-radius: 4px;} .block-statistic.block-sm .nav-secondary > li > a:before {display: none;} .block-statistic.block-sm .nav-secondary > li.switch-icon {width: 40px;} +.block-statistic.block-sm .nav-secondary > li.active > a:first-child:before {display: none} .status-count{margin:auto} .status-count tr:first-child td:last-child{color:#000;font-weight:bold}