You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by xi...@apache.org on 2017/01/06 02:34:51 UTC

ambari git commit: AMBARI-19313. Improve and Fix 'Hosts page' after new guidelines.(xiwang)

Repository: ambari
Updated Branches:
  refs/heads/trunk cae80946c -> d243fea75


AMBARI-19313. Improve and Fix 'Hosts 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/d243fea7
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d243fea7
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d243fea7

Branch: refs/heads/trunk
Commit: d243fea753edb39155f003058ee2e87828aa1955
Parents: cae8094
Author: Xi Wang <xi...@apache.org>
Authored: Thu Jan 5 13:59:54 2017 -0800
Committer: Xi Wang <xi...@apache.org>
Committed: Thu Jan 5 18:34:28 2017 -0800

----------------------------------------------------------------------
 ambari-web/app/styles/application.less | 26 ++++++++++++++++++++++++--
 1 file changed, 24 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/d243fea7/ambari-web/app/styles/application.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less
index 7d18cf5..cf84c5b 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -2523,19 +2523,35 @@ input[type="radio"].align-checkbox, input[type="checkbox"].align-checkbox {
       border: 1px solid #ccc;
       border-radius: 4px;
       box-shadow: 0 0 1px #fff inset;
+      min-height: 34px;
+    }
+    .VS-icon-search, .VS-icon-cancel {
+        top: 10px;
     }
-
     .VS-placeholder {
       color: #ccc;
+      top: 9px;
+    }
+    .search_input input {
+      height: 32px;
+      margin-top: 0px;
     }
-
     .search_facet {
       border-radius: 4px;
+      margin: 5px -3px 3px 0;
+      height: 22px;
       .category {
         margin-left: 3px;
+        padding: 4px 0 0;
+      }
+      input {
+        font: inherit;
+        font-family: 'Roboto', sans-serif;
+        height: 20px;
       }
       .search_facet_remove {
         left: 3px;
+        top: 4px;
       }
       &.not_selected {
         border: 1px solid #d2d2d2;
@@ -2550,6 +2566,12 @@ input[type="radio"].align-checkbox, input[type="checkbox"].align-checkbox {
   }
 }
 
+.VS-interface.ui-autocomplete.ui-menu{
+  li.ui-menu-item, li.ui-autocomplete-category {
+    font-family: 'Roboto', sans-serif;
+  }
+}
+
 .delete-service-progress {
   .modal-body {
     text-align: center;