[Rt-commit] rt branch, 4.2/theme-customization-options, created. rt-4.2.0rc2-3-g999749c
Jesse Vincent
jesse at bestpractical.com
Tue Sep 24 20:12:59 EDT 2013
The branch, 4.2/theme-customization-options has been created
at 999749cabd7d40c0ca3693b4604ebe62a813a0c0 (commit)
- Log -----------------------------------------------------------------
commit 999749cabd7d40c0ca3693b4604ebe62a813a0c0
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Tue Sep 24 20:11:32 2013 -0400
Extend and tweak css selectors for better thememing of rudder (changes
appear ok on aileron, too) [bestpractical #25977]
diff --git a/share/html/Admin/Tools/Theme.html b/share/html/Admin/Tools/Theme.html
index 2bd93e2..7d2543a 100644
--- a/share/html/Admin/Tools/Theme.html
+++ b/share/html/Admin/Tools/Theme.html
@@ -106,7 +106,7 @@
<div id="custom-css">
<h2>Custom CSS (Advanced)</h2>
-
+
<form method="POST">
<textarea rows=20 id="user_css" name="user_css" wrap="off"><% $user_css %></textarea><br />
<input id="try" type="button" class="button" value="Try" />
@@ -118,8 +118,9 @@
<%ONCE>
my @sections = (
- ['Page' => ['body']],
- ['Header' => ['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']],
+ ['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']],
+ ['Title bar' => ['div#header']],
['Page title' => ['div#header h1']],
['Page content' => ['div#body']],
['Buttons' => ['input[type="reset"], input[type="submit"], input[class="button"]']],
@@ -169,7 +170,7 @@ jQuery(function($) {
newcss += "; border: none;"
/* Page title's text color is the selected color */
- if (applying[name].match(/#header/))
+ if (applying[name].match(/h1/))
newcss = "color: " + bg;
/* Nav doesn't need a background, but it wants text color */
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list