[Rt-commit] rt branch, 4.4/heading-font-color-theme-editor, created. rt-4.4.3-19-g7cc04045b

Craig Kaiser craig at bestpractical.com
Thu Jul 5 16:47:22 EDT 2018


The branch, 4.4/heading-font-color-theme-editor has been created
        at  7cc04045b943b51d32c5e8e668e0d07b47d500da (commit)

- Log -----------------------------------------------------------------
commit 7cc04045b943b51d32c5e8e668e0d07b47d500da
Author: Craig Kaiser <craig at bestpractical.com>
Date:   Thu Jul 5 16:30:36 2018 -0400

    Add css in Theme for Portlets and Search result
    
    Add a css section that makes it simple to change the css for the RT at a
    glance portlets as well as css for search results.

diff --git a/share/html/Admin/Tools/Theme.html b/share/html/Admin/Tools/Theme.html
index e548b1130..82cb5bac0 100644
--- a/share/html/Admin/Tools/Theme.html
+++ b/share/html/Admin/Tools/Theme.html
@@ -125,6 +125,8 @@ my @sections = (
     ['Page content' => ['div#body']],
     ['Buttons'      => ['input[type="reset"], input[type="submit"], input[class="button"]']],
     ['Button hover' => ['input[type="reset"]:hover, input[type="submit"]:hover, input[class="button"]:hover']],
+    ['Search results' => ['table.collection-as-table th.collection-as-table a']],
+    ['Portlet Text'   => ['.titlebox .titlebox-title .left a, .titlebox .titlebox-title .left']],
 );
 </%ONCE>
 <script type="text/javascript">
@@ -183,6 +185,12 @@ jQuery(function($) {
               if (applying[name].match(/h1/))
                   newcss = "color: " + bg;
 
+              if (applying[name].match(/collection-as-table/))
+                  newcss = "color: " + bg;
+
+              if (applying[name].match(/titlebox/))
+                  newcss = "color: " + bg;
+
               /* Nav doesn't need a background, but it wants text color */
               if (applying[name].match(/#main-navigation/))
                   newcss = "color: " + fg;

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


More information about the rt-commit mailing list