From fc3d0dfdb892e52987f4ec2924f452895540382c Mon Sep 17 00:00:00 2001 From: ArthurJahn Date: Tue, 8 Sep 2015 18:23:14 -0300 Subject: [PATCH] Fixing software statistic icons --- css/community-pages.css | 8 ++++++-- css/software-pages.css | 25 ++++++++++++++++--------- 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/css/community-pages.css b/css/community-pages.css index e886210..3cc12b2 100644 --- a/css/community-pages.css +++ b/css/community-pages.css @@ -438,6 +438,7 @@ float: left; display: none; } +.profile-type-is-community .action-profile_design-index #content .software-tab-data-block, .profile-type-is-community .action-profile-index #content .software-tab-data-block{ display: block; } @@ -448,11 +449,13 @@ float: left; display: none; } -/********Bloco de informacao da comunidade********/ +/*Block with Community information - Need to develop solution - Only display on profile page */ + .profile-type-is-community .community-block{ display: none; } +.profile-type-is-community .action-profile_design-index #content .community-block, .profile-type-is-community .action-profile-index #content .community-block{ display: block; border: 1px solid #ECEDF1; @@ -494,7 +497,7 @@ float: left; text-align: center; } -/* Members block */ +/*Block with Members information - Need to develop solution - Only display on profile page */ .profile-type-is-community #content .members-block{ display: none; @@ -502,6 +505,7 @@ float: left; border-radius: 4px; } +.profile-type-is-community .action-profile_design-index #content .members-block, .profile-type-is-community .action-profile-index #content .members-block{ display: block; } diff --git a/css/software-pages.css b/css/software-pages.css index 8d5976b..94566f6 100644 --- a/css/software-pages.css +++ b/css/software-pages.css @@ -460,29 +460,36 @@ } .software-metrics-block span.arrow-globe-icon { - content: url('../images/arrow-globe-icon.png'); + background: url('../images/arrow-globe-icon.png') no-repeat center center; + width: 25px; + height: 18px; padding-right: 5px; } .software-metrics-block span.downloads-icon { - content: url('../images/downloads-icon.png'); - padding-right: 14px; - padding-left: 1px; + background: url('../images/downloads-icon.png') no-repeat center center; + width: 25px; + height: 18px; + padding-right: 5px; } .software-metrics-block span.face-icon { - content: url('../images/beneficiados-icon.png'); - padding-right: 14px; - padding-left: 1px; + background: url('../images/beneficiados-icon.png') no-repeat center center; + width: 25px; + height: 18px; + padding-right: 5px; } .software-metrics-block span.pig-safe-icon { - content: url('../images/economizados-icon.png'); - padding-right: 11px; + background: url('../images/economizados-icon.png') no-repeat center center; + width: 25px; + height: 18px; + padding-right: 5px; } .software-metrics-block .metrics-list li a { letter-spacing: -0.1px; + line-height: 17px; } .software-metrics-block .admin-estimation { -- libgit2 0.21.2