You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vi...@apache.org on 2012/06/06 20:11:20 UTC

svn commit: r1347016 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/js/utils.js

Author: vikram
Date: Wed Jun  6 18:11:20 2012
New Revision: 1347016

URL: http://svn.apache.org/viewvc?rev=1347016&view=rev
Log:
AMBARI-265. Reconfig page close button (x) is not visible (Contributed by Vinod)

Modified:
    incubator/ambari/branches/ambari-186/CHANGES.txt
    incubator/ambari/branches/ambari-186/hmc/js/utils.js

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1347016&r1=1347015&r2=1347016&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Wed Jun  6 18:11:20 2012
@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-265. Reconfig page close button (x) is not visible (Vinod via Vikram)
+
   AMBARI-357. Redesign master service assignment page so that it takes up less vertical space (Yusaku via Vikram)
 
   AMBARI-356. Log output to console slows puppet run. (Jitendra via Vikram)

Modified: incubator/ambari/branches/ambari-186/hmc/js/utils.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/js/utils.js?rev=1347016&r1=1347015&r2=1347016&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/js/utils.js (original)
+++ incubator/ambari/branches/ambari-186/hmc/js/utils.js Wed Jun  6 18:11:20 2012
@@ -73,9 +73,17 @@ function createInformationalPanel( conta
       fontSize: '150%'
     });
 
-    globalYui.StyleSheet('KewlApp').set( '.yui3-skin-sam .yui3-panel-content .yui3-button-icon', {
-      backgroundColor: 'white',
-      border: 'medium solid gray'
+    globalYui.StyleSheet('KewlApp').set( '.yui3-skin-sam .yui3-panel .yui3-widget-hd .yui3-button-close', {
+        border: 'medium solid gray',
+        backgroundColor: 'white',
+        height: '17px',
+        width: '20px',
+    });
+
+    // Temporary fix to a yui bug
+    globalYui.StyleSheet('KewlApp').set( '.yui3-skin-sam .yui3-panel .yui3-widget-hd .yui3-button-close:before', {
+        content: 'url(../yui-3.5.1/build/assets/skins/sam/sprite_icons.png)',
+        backgroundImage: 'url(../yui-3.5.1/build/assets/skins/sam/sprite_icons.png)',
     });
 
     globalYui.StyleSheet('KewlApp').set( '.yui3-skin-sam .yui3-panel-content .yui3-widget-ft', {