You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2014/10/08 18:05:29 UTC
git commit: AMBARI-7693 Admin View: the confirmation alert is not
centered. (ababiichuk)
Repository: ambari
Updated Branches:
refs/heads/branch-1.7.0 2184f5e57 -> b13c8c00f
AMBARI-7693 Admin View: the confirmation alert is not centered. (ababiichuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b13c8c00
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b13c8c00
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b13c8c00
Branch: refs/heads/branch-1.7.0
Commit: b13c8c00f9915926c762964220f2e57caa1ca5fd
Parents: 2184f5e
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Wed Oct 8 19:03:19 2014 +0300
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Wed Oct 8 19:05:14 2014 +0300
----------------------------------------------------------------------
.../resources/ui/admin-web/app/styles/main.css | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/b13c8c00/ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css
----------------------------------------------------------------------
diff --git a/ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css b/ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css
index 2b80604..bd2a18a 100644
--- a/ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css
+++ b/ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css
@@ -1025,39 +1025,28 @@ button.btn.btn-xs{
.alert-container {
position: fixed;
top: 50px;
- right: 20px;
z-index: 1000;
- text-align: right;
- max-width: 450px;
+ width: 300px;
+ margin-left: -150px;
+ left: 50%;
}
.ambariAlert {
position: relative;
border: 1px solid #c4c4c4;
border-radius: 4px 0 0 4px;
box-shadow: 0 0px 4px #ebebeb;
- min-width: 200px;
- max-width: 450px;
+ width: 300px;
background: white;
margin-bottom: 20px;
z-index: 1000;
padding: 20px 20px 20px 60px;
max-height: 100%;
display: block;
- float: right;
clear: both;
text-align: left;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-
- -webkit-transition: all 0.3s linear;
- -o-transition: all 0.3s linear;
- transition: all 0.3s linear;
-
- -webkit-transform: translateX(0px);
- -ms-transform: translateX(0px);
- -o-transform: translateX(0px);
- transform: translateX(0px);
}
.ambariAlert .content {
display: inline-block;