fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-11-18 05:29 am

[dw-free] Invisible text in community settings in Gradation site skins

[commit: http://hg.dwscoalition.org/dw-free/rev/a7f7253b1f43]

http://bugs.dwscoalition.org/show_bug.cgi?id=3240

Move color setting to site schemes.

Patch by [personal profile] ninetydegrees.

Files modified:
  • htdocs/community/settings.bml
  • htdocs/stc/celerity/celerity.css
  • htdocs/stc/gradation/gradation.css
--------------------------------------------------------------------------------
diff -r 012e39147e25 -r a7f7253b1f43 htdocs/community/settings.bml
--- a/htdocs/community/settings.bml	Wed Nov 17 23:37:13 2010 +0800
+++ b/htdocs/community/settings.bml	Thu Nov 18 13:28:59 2010 +0800
@@ -30,10 +30,8 @@ head<=
     * html fieldset div { height: 190px; }
     *:first-child+html fieldset div { min-height: 190px; }
     #left-column, #right-column { float: left; }
-    legend { color: #c1272c; font-size: 1.2em; font-weight: bold; }
+    legend { font-size: 1.2em; font-weight: bold; }
     p.input-wrapper { margin-left: 27px; text-indent: -27px; }
-    label { color: #444; }
-    label b { color: #000; }
     .standout { clear: left; max-width: 695px; }
     .standout table { margin: 0 auto; }
 </style>
@@ -273,7 +271,7 @@ body<=
           $ret .= $c->maintainer_linkbar( "settings" );
     }
 
-    $ret .= "<div id='left-column'>";
+    $ret .= "<div id='left-column' class='community-settings'>";
 
     # membership levels
     $ret .= "<fieldset id='membership'>";
@@ -321,7 +319,7 @@ body<=
         $ret .= "</div></fieldset>";
     }
 
-    $ret .= "</div><div id='right-column'>";
+    $ret .= "</div><div id='right-column' class='community-settings'>";
 
     my $posting_access = "members";
     if ($info{postlevel} eq "select") {
diff -r 012e39147e25 -r a7f7253b1f43 htdocs/stc/celerity/celerity.css
--- a/htdocs/stc/celerity/celerity.css	Wed Nov 17 23:37:13 2010 +0800
+++ b/htdocs/stc/celerity/celerity.css	Thu Nov 18 13:28:59 2010 +0800
@@ -1248,3 +1248,9 @@ div.adult_warning {
 .userslist-table tr.even {
     background-color: #FFF;
 }
+
+/* For the community/settings page */
+
+.community-settings legend {
+    color: #888833;
+    }
diff -r 012e39147e25 -r a7f7253b1f43 htdocs/stc/gradation/gradation.css
--- a/htdocs/stc/gradation/gradation.css	Wed Nov 17 23:37:13 2010 +0800
+++ b/htdocs/stc/gradation/gradation.css	Thu Nov 18 13:28:59 2010 +0800
@@ -1496,3 +1496,9 @@ div#cf-edit select {
     border-color: #888;
     color: #888;
 }
+
+/* For the community/settings page */
+
+.community-settings legend {
+    color: #CCCC99;
+    }
--------------------------------------------------------------------------------