This is a fix to not interfere the ongoing adding of .generic-content-wrapper with the ongoing styling of redbasic theme.
adding of .generic-content-wrapper is needed and useful for derivative themes but it should not contain any styling information for redbasic theme. therefor i added .generic-content-wrapper-styled as a quickfix for spots where redbasic is not finished yet. Sidenote: please avoid opening a div in one *.tpl and close it in another or (even worse) open a div in a *.tpl and close it in an already templatified mod/*.php. This will really make the code and templates very, very confusing.
This commit is contained in:
@@ -24,6 +24,7 @@ if(! $a->install) {
|
||||
$background_image = get_pconfig($uid, "redbasic", "background_image");
|
||||
$toolicon_colour = get_pconfig($uid,'redbasic','toolicon_colour');
|
||||
$toolicon_activecolour = get_pconfig($uid,'redbasic','toolicon_activecolour');
|
||||
$genericcontent_bgcolour = get_pconfig($uid, "redbasic", "genericcontent_bgcolour");
|
||||
$item_colour = get_pconfig($uid, "redbasic", "item_colour");
|
||||
$comment_item_colour = get_pconfig($uid, "redbasic", "comment_item_colour");
|
||||
$comment_border_colour = get_pconfig($uid, "redbasic", "comment_border_colour");
|
||||
@@ -121,12 +122,12 @@ if(! $a->install) {
|
||||
$bgcolour = "#fdfdfd";
|
||||
if (! $background_image)
|
||||
$background_image ='';
|
||||
if (! $genericcontent_bgcolour)
|
||||
$genericcontent_bgcolour ='rgba(254,254,254,0.8)';
|
||||
if (! $item_colour)
|
||||
$item_colour = "rgba(238,238,238,0.8)";
|
||||
if (! $comment_item_colour)
|
||||
$comment_item_colour = "rgba(254,254,254,0.4)";
|
||||
if (! $genericcontent_bgcolour)
|
||||
$genericcontent_bgcolour = $comment_item_colour;
|
||||
if (! $comment_border_colour)
|
||||
$comment_border_colour = "rgba(238,238,238,0.8)";
|
||||
if (! $toolicon_colour)
|
||||
|
||||
Reference in New Issue
Block a user