Repository: ambari Updated Branches: refs/heads/branch-2.1 e60cf9780 -> ad2092cd7
AMBARI-12206. Ambari Metrics refresh and alerts icons are overflowed.(xiwang) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c02b13ec Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c02b13ec Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c02b13ec Branch: refs/heads/branch-2.1 Commit: c02b13ec8b09da23b0db60eaec9e8ae843bd37a0 Parents: e60cf97 Author: Xi Wang <xiw...@apache.org> Authored: Thu Jul 9 13:40:08 2015 -0700 Committer: Xi Wang <xiw...@apache.org> Committed: Tue Jul 21 11:28:08 2015 -0700 ---------------------------------------------------------------------- ambari-web/app/styles/application.less | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/c02b13ec/ambari-web/app/styles/application.less ---------------------------------------------------------------------- diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less index 6313a01..d671118 100644 --- a/ambari-web/app/styles/application.less +++ b/ambari-web/app/styles/application.less @@ -2281,7 +2281,7 @@ a:focus { list-style: none; height: 20px; width: 20px; - margin-left: 6px; + margin-left: 2px; display: inline; float: none; } @@ -2310,7 +2310,7 @@ a:focus { padding: 1px 4px; background: @health-status-red; float: right; - margin-right: 5px; + margin-right: 1px; margin-top: 3px; &.alerts-crit-count { background: @health-status-red; @@ -2328,7 +2328,7 @@ a:focus { } .icon-laptop { color: #555; - padding-left: 5px; + padding-left: 1px; } .active { .icon-laptop { @@ -3563,7 +3563,7 @@ table.graphs { .services-menu { .icon-refresh { color: @restart-indicator-color; - margin-left: 4px; + margin-left: 1px; } } #host-details, #serviceConfig { @@ -5327,6 +5327,20 @@ i.icon-asterisks { } } } + + .services-menu .nav-list li { + .label.alerts-count { + margin-right: 4px; + } + .icon-laptop { + padding-left: 5px; + } + .health-status-LIVE, .health-status-STARTING, + .health-status-DEAD-RED, .health-status-STOPPING, + .health-status-DEAD-YELLOW { + margin-left: 6px; + } + } } .filter-combobox{