You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2016/11/18 13:10:28 UTC

svn commit: r1770376 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/style/tobago.css

Author: lofwyr
Date: Fri Nov 18 13:10:28 2016
New Revision: 1770376

URL: http://svn.apache.org/viewvc?rev=1770376&view=rev
Log:
TOBAGO-1622 Menus aren't AJAX updateable.
* css fix for menus
[developed by hnoeth]

Modified:
    myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/style/tobago.css

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/style/tobago.css
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/style/tobago.css?rev=1770376&r1=1770375&r2=1770376&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/style/tobago.css (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/style/tobago.css Fri Nov 18 13:10:28 2016
@@ -285,7 +285,7 @@ button.tobago-link-markup-disabled:hover
 
 /* nav ----------------------------------------------------------- */
 
-.nav-item > .tobago-link, .nav-item > .tobago-command {
+.nav-item > span > .tobago-link, .nav-item > span > .tobago-command {
   padding-top: .425rem;
   padding-bottom: .425rem;
   display: inline-block;
@@ -316,7 +316,12 @@ button.tobago-link-markup-disabled:hover
   border-bottom: #dddddd;
 }
 
-.dropdown-submenu > .dropdown-menu {
+.dropdown-submenu > span {
+  display: inline-block;
+  width: 100%;
+}
+
+.dropdown-submenu > span > .dropdown-menu {
   top: 0;
   left: 100%;
   margin-top: -6px;
@@ -326,7 +331,7 @@ button.tobago-link-markup-disabled:hover
   border-radius: 6px 6px 6px 6px;
 }
 
-.dropdown-submenu:hover > .dropdown-menu {
+.dropdown-submenu:hover > span > .dropdown-menu {
   display: block;
 }
 
@@ -341,11 +346,11 @@ button.tobago-link-markup-disabled:hover
   margin-right: -10px;
 }
 
-.dropdown-submenu > button:after {
+.dropdown-submenu > span > button:after {
   display: none;
 }
 
-.dropdown-submenu:hover > a:after {
+.dropdown-submenu:hover > span > a:after {
   border-left-color: #ffffff;
 }