Repository: ambari
Updated Branches:
  refs/heads/trunk 74d636392 -> 6add93ea4


AMBARI-19312. Improve and Fix 'Alerts page' after new guidelines. (xiwang)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6add93ea
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6add93ea
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6add93ea

Branch: refs/heads/trunk
Commit: 6add93ea482555084e5d001c47bf1f86f2dfe99b
Parents: a2c907b
Author: Xi Wang <[email protected]>
Authored: Wed Dec 28 13:52:46 2016 -0800
Committer: Xi Wang <[email protected]>
Committed: Wed Dec 28 13:52:53 2016 -0800

----------------------------------------------------------------------
 ambari-web/app/styles/alerts.less      | 16 ++++++++++++++++
 ambari-web/app/styles/application.less |  4 +---
 2 files changed, 17 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/6add93ea/ambari-web/app/styles/alerts.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/alerts.less 
b/ambari-web/app/styles/alerts.less
index a04db8a..c13c8c9 100644
--- a/ambari-web/app/styles/alerts.less
+++ b/ambari-web/app/styles/alerts.less
@@ -87,6 +87,16 @@
     }
   }
 
+  > thead > tr > th,  > thead > tr > td,
+  > tbody > tr > th,  > tbody > tr > td,
+  > tfoot > tr > th,  > tfoot > tr > td {
+    vertical-align: middle;
+  }
+
+  a.ui-icon-circle-close {
+    visibility: hidden;
+  }
+
   .filter-input-width {
     width: ~"calc(100% - 20px)";
   }
@@ -135,6 +145,12 @@
 }
 
 #alert-instances-table {
+  > thead > tr > th,  > thead > tr > td,
+  > tbody > tr > th,  > tbody > tr > td,
+  > tfoot > tr > th,  > tfoot > tr > td {
+    vertical-align: middle;
+  }
+
   .col0,
   td:first-child,
   th:first-child {

http://git-wip-us.apache.org/repos/asf/ambari/blob/6add93ea/ambari-web/app/styles/application.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/application.less 
b/ambari-web/app/styles/application.less
index c35f0d1..a89296c 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -1745,7 +1745,7 @@ ul.inline li {
     opacity: 0.2;
     padding: 1px;
     position: relative;
-    margin-top: 6px;
+    margin-top: 8px;
     z-index: 10;
     &:hover {
       opacity: 0.7;
@@ -1765,7 +1765,6 @@ ul.inline li {
     .active-sort {
       color: #555;
       text-decoration: none;
-      background-color: #e5e5e5;
       border-radius: 0;
     }
   }
@@ -1777,7 +1776,6 @@ ul.inline li {
       color: #555;
       text-decoration: none;
       background-color: #e5e5e5;
-      box-shadow: inset 0 -5px 8px rgba(0, 0, 0, 0.05);
     }
     .filter-btn {
       color: #999;

Reply via email to