You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ni...@apache.org on 2019/05/20 12:45:12 UTC
[ranger] 01/02: RANGER-2435: Add support for sticky breadcrumbs.
This is an automated email from the ASF dual-hosted git repository.
ni3galave pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git
commit 35eb4511ace03c0d3bfc7b7427b3fdd7b22e85ac
Author: Nitin Galave <ni...@apache.org>
AuthorDate: Fri May 17 15:26:39 2019 +0530
RANGER-2435: Add support for sticky breadcrumbs.
---
security-admin/src/main/webapp/index.html | 2 +-
security-admin/src/main/webapp/styles/xa.css | 12 +++++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/security-admin/src/main/webapp/index.html b/security-admin/src/main/webapp/index.html
index 59eb9cf..ebcea3b 100644
--- a/security-admin/src/main/webapp/index.html
+++ b/security-admin/src/main/webapp/index.html
@@ -70,7 +70,7 @@
================================================== -->
<section class="container">
- <section id="r_breadcrumbs" class="row-fluid">
+ <section id="r_breadcrumbs" class="row-fluid r_breadcrumbs">
</section>
<div class='notifications top-right ranger-notifications'></div>
diff --git a/security-admin/src/main/webapp/styles/xa.css b/security-admin/src/main/webapp/styles/xa.css
index 6ae646d..8b44d3a 100644
--- a/security-admin/src/main/webapp/styles/xa.css
+++ b/security-admin/src/main/webapp/styles/xa.css
@@ -267,7 +267,7 @@ body {
}
.toggle-slide .toggle-blob {
position: relative;
- z-index: 99;
+ z-index: 3;
cursor: hand;
cursor: grab;
cursor: -moz-grab;
@@ -2700,6 +2700,16 @@ textarea:read-only{
text-overflow: ellipsis;
max-width: 300px;
}
+.r_breadcrumbs {
+ position: -webkit-sticky;
+ position: sticky;
+ top: 40px;
+ padding-right: 2px;
+ z-index: 10;
+ background: #eeeeee;
+ padding-top: 9px;
+}
+
#zoneServiceAccordion .accordion-inner{
padding:0px;
border: 0px;