[Rt-commit] rt branch, 4.2/theme-customization-options, updated. rt-4.2.0rc2-4-gb7bd7c4

Alex Vandiver alexmv at bestpractical.com
Wed Sep 25 15:14:21 EDT 2013


The branch, 4.2/theme-customization-options has been updated
       via  b7bd7c4303534eae77f0cfc6751f25d58cbd21fa (commit)
      from  999749cabd7d40c0ca3693b4604ebe62a813a0c0 (commit)

Summary of changes:
 share/html/Admin/Tools/Theme.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit b7bd7c4303534eae77f0cfc6751f25d58cbd21fa
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed Sep 25 15:10:21 2013 -0400

    Ensure that menu bgcolor (and text color) is applied to not just aileron
    
    The .aileron limitation was in place such that the text color (which
    swaps between black and white based on luminance) did not change the
    text color of menus in the web2 style -- as those menus are on the left
    and not in the "menu bar".  However, the text color _should_ change in
    rudder as well, as the menus are also on the menu bar there.  This led
    black-on-dark text if the menu color was set too dark in rudder; on
    aileron, it switched to white-on-dark text.
    
    Switch from specifying the precise theme, to instead limiting based on
    the sf-shadow class, which is only set for horizonal menus; thus, web2
    and ballard, which have vertical menus, are correctly exempted from the
    change.

diff --git a/share/html/Admin/Tools/Theme.html b/share/html/Admin/Tools/Theme.html
index 7d2543a..d0dfd29 100644
--- a/share/html/Admin/Tools/Theme.html
+++ b/share/html/Admin/Tools/Theme.html
@@ -119,7 +119,7 @@
 <%ONCE>
 my @sections = (
     ['Page'         => ['body', 'div#body']],
-    ['Menu bar'     => ['div#quickbar', 'body.aileron #main-navigation #app-nav > li, body.aileron #main-navigation #app-nav > li > a, #prefs-menu > li, #prefs-menu > li > a, #logo .rtname']],
+    ['Menu bar'     => ['div#quickbar', '#main-navigation #app-nav.sf-shadow > li, #main-navigation #app-nav.sf-shadow > li > a, #prefs-menu > li, #prefs-menu > li > a, #logo .rtname']],
     ['Title bar'    => ['div#header']],
     ['Page title'   => ['div#header h1']],
     ['Page content' => ['div#body']],

-----------------------------------------------------------------------


More information about the Rt-commit mailing list