0 Replies Latest reply on Mar 18, 2013 9:50 AM by infoni

    Popup menu hidden by the portlet content

    infoni

      Hi,

       

      I noticed the portlet popup menu is often behind the scene, sometimes it is very annoying:

      gatein-popupmenu-issue.png

       

      I was able to fix the issue by setting a "z-index" attribute to 2000 for the class ".UIPopupCategory" in this file:

      GateIn-3.5.0.Final-tomcat7\webapps\eXoResources\skin\DefaultSkin\webui\component\UIPopup\UIPopupCategory\Stylesheet.css

       

      .UIPopupCategory {

                position: absolute;

                width: 120px;

                top: 15px;

                left: -85px; /* orientation=lt */

                right: -85px; /* orientation=rt */

                border: 1px solid #787878;

                box-shadow: 1px 1px 2px #787878; /* orientation=lt */

                -moz-box-shadow: 1px 1px 2px #787878; /* orientation=lt */

                -webkit-box-shadow: 1px 1px 2px #787878; /* orientation=lt */

                box-shadow: -1px 1px 2px #787878; /* orientation=rt */

                -moz-box-shadow: -1px 1px 2px #787878; /* orientation=rt */

                -webkit-box-shadow: -1px 1px 2px #787878; /* orientation=rt */

                margin-top: 8px;

                background: #ffffff;

               z-index:2000

      }

       

      2000 could be a fine value, for example it is higher than all jQuery UI components and most of plugins. May be it could be a good enhancement to set this attribute in the trunk?

       

      Thanks