diff options
Diffstat (limited to 'view/theme/redbasic/php/style.php')
-rw-r--r-- | view/theme/redbasic/php/style.php | 114 |
1 files changed, 95 insertions, 19 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 8984df788..698adaf4d 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -24,7 +24,9 @@ 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'); - $item_colour = get_pconfig($uid, "redbasic", "item_colour"); + $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"); $item_opacity = get_pconfig($uid, "redbasic", "item_opacity"); $body_font_size = get_pconfig($uid, "redbasic", "body_font_size"); $font_size = get_pconfig($uid, "redbasic", "font_size"); @@ -87,12 +89,16 @@ if(! $a->install) { $nav_icon_colour = "#999"; if (! $nav_active_icon_colour) $nav_active_icon_colour = "#fff"; + if (! $navmenu_bgchover) + $navmenu_bgchover = "#f5f5f5"; + if (! $navmenu_bgimage) + $navmenu_bgimage = ""; if (! $navtabs_borderc) - $navtabs_borderc = "#ddd"; + $navtabs_borderc = "rgba(204,204,204,0.8)"; if (! $navtabs_fontcolour) $navtabs_fontcolour = "#555"; if (! $navtabs_bgcolour) - $navtabs_bgcolour = "#fff"; + $navtabs_bgcolour = "rgba(254,254,254,0.4)"; if (! $navtabs_linkcolour) $navtabs_linkcolour = ""; if (! $navtabs_linkchover) @@ -100,9 +106,9 @@ if(! $a->install) { if (! $navtabs_decohover) $navtabs_decohover = "none"; if (! $navtabs_bgchover) - $navtabs_bgchover = "#eee"; + $navtabs_bgchover = "rgba(238,238,238,0.8)"; if (! $link_colour) - $link_colour = "#0080ff"; + $link_colour = "#428BCA"; if (! $banner_colour) $banner_colour = "#fff"; if (! $search_background) @@ -112,15 +118,17 @@ if(! $a->install) { if (! $background_image) $background_image =''; if (! $item_colour) - $item_colour = "#fdfdfd"; + $item_colour = "rgba(238,238,238,0.8)"; + if (! $comment_item_colour) + $comment_item_colour = "rgba(254,254,254,0.4)"; + if (! $comment_border_colour) + $comment_border_colour = "rgba(238,238,238,0.8)"; if (! $toolicon_colour) $toolicon_colour = '#777'; if (! $toolicon_activecolour) $toolicon_activecolour = '#000'; if (! $item_opacity) $item_opacity = "1"; - if (! $item_bordercolour) - $item_bordercolour = "#f4f4f4"; if (! $font_size) $font_size = "1.0em"; if (! $body_font_size) @@ -131,22 +139,56 @@ if(! $a->install) { $selected_active_colour = "#444"; if (! $selected_active_deco) $selected_active_deco = "none"; + if (! $widget_brdrcolour) + $widget_brdrcolour = "#eec"; if (! $blockquote_colour) $blockquote_colour = "#000"; if (! $blockquote_bgcolour) $blockquote_bgcolour = "#f4f8f9"; if (! $blockquote_bordercolour) $blockquote_bordercolour = "#dae4ee"; + if (! $code_borderc) + $code_borderc = "#444"; + if (! $code_bgcolour) + $code_bgcolour = "#EEE"; + if (! $code_txtcolour) + $code_txtcolour = "#444"; + if (! $pre_borderc) + $pre_borderc = "#ccc"; + if (! $pre_bgcolour) + $pre_bgcolour = "#F5F5F5"; + if (! $pre_txtcolour) + $pre_txtcolour = "#333"; if (! $notif_itemcolour) $notif_itemcolour = "#000"; if (! $notif_itemhovercolour) $notif_itemhovercolour = "#000"; if (! $editbuttons_bgcolour) - $editbuttons_bgcolour = "#fff"; + $editbuttons_bgcolour = "transparent"; if (! $editbuttons_bordercolour) $editbuttons_bordercolour = "#ccc"; + if (! $editbuttons_colour) + $editbuttons_colour = "#333"; if (! $editbuttons_bghover) $editbuttons_bghover = "#ebebeb"; + if (! $dropdown_bgcolour) + $dropdown_bgcolour = "#FFF"; + if (! $dropdown_textcolour) + $dropdown_textcolour = "#333"; + if (! $dropdown_txtcolhover) + $dropdown_txtcolhover = "#262626"; + if (! $dropdown_bgcolhover) + $dropdown_bgcolhover = "#F5F5F5"; + if (! $dropdown_bgimghover) + $dropdown_bgimghover = ""; + if (! $dropdown_togglecol) + $dropdown_togglecol = "#333"; + if (! $dropdown_togglebgcol) + $dropdown_togglebgcol = "#EBEBEB"; + if (! $dropdown_bordercol) + $dropdown_bordercol = "#ADADAD"; + if (! $preview_backgroundimg) + $preview_backgroundimg = "gray_and_white_diagonal_stripes_background_seamless.gif"; if (! $acpopup_bgcolour) $acpopup_bgcolour = "#fff"; if (! $acpopup_bordercolour) @@ -169,6 +211,8 @@ if(! $a->install) { $notifyseen_bghover = "#e7e7e7"; if (! $notifyseen_linkhover) $notifyseen_linkhover = "#333"; + if (! $notify_topmargin) + $notify_topmargin = "1px"; if (! $input_bgsubmit) $input_bgsubmit = "#F0F0F0"; if (! $input_linksubmit) @@ -180,24 +224,30 @@ if(! $a->install) { if (! $input_decohover) $input_decohover = "none"; if (! $radius) - $radius = "0"; + $radius = "4"; if (! $shadow) $shadow = "0"; if(! $active_colour) - $active_colour = '#fff'; + $active_colour = "#fff"; if (! $converse_width) { - $converse_width="1024px"; + $converse_width = "1024px"; } + if (! $acl_bgcolour) + $acl_bgcolour = "#fff"; + if (! $acl_bordercolour) + $acl_bordercolour = "#ccc"; + if (! $aclbutton_linkcolour) + $aclbutton_linkcolour = ""; + if (! $abookself_bgcolour) + $abookself_bgcolour = "#ffdddd"; if(! $top_photo) $top_photo = '48px'; - $pmenu_top = intval($top_photo) - 16 . 'px'; - $wwtop = intval($top_photo) - 15 . 'px'; - $comment_indent = intval($top_photo) + 10 . 'px'; - + if(! $comment_indent) + $comment_indent = '0px'; if(! $reply_photo) $reply_photo = '32px'; - $pmenu_reply = intval($reply_photo) - 16 . 'px'; - + if(! $infomess_bgcolour) + $infomess_bgcolour = "#F0F0F0"; if($nav_min_opacity === false || $nav_min_opacity === '') { $nav_float_min_opacity = 1.0; $nav_percent_min_opacity = 100; @@ -222,6 +272,8 @@ $options = array ( '$nav_bd' => $nav_bd, '$nav_icon_colour' => $nav_icon_colour, '$nav_active_icon_colour' => $nav_active_icon_colour, +'$navmenu_bgchover' => $navmenu_bgchover, +'$navmenu_bgimage' => $navmenu_bgimage, '$navtabs_borderc' => $navtabs_borderc, '$navtabs_fontcolour' => $navtabs_fontcolour, '$navtabs_bgcolour' => $navtabs_bgcolour, @@ -235,8 +287,9 @@ $options = array ( '$bgcolour' => $bgcolour, '$background_image' => $background_image, '$item_colour' => $item_colour, +'$comment_item_colour' => $comment_item_colour, +'$comment_border_colour' => $comment_border_colour, '$item_opacity' => $item_opacity, -'$item_bordercolour' => $item_bordercolour, '$toolicon_colour' => $toolicon_colour, '$toolicon_activecolour' => $toolicon_activecolour, '$font_size' => $font_size, @@ -244,15 +297,32 @@ $options = array ( '$selected_active_colour' => $selected_active_colour, '$selected_active_deco' => $selected_active_deco, '$body_font_size' => $body_font_size, +'$widget_brdrcolour' => $widget_brdrcolour, '$blockquote_colour' => $blockquote_colour, '$blockquote_bgcolour' => $blockquote_bgcolour, '$blockquote_bordercolour' => $blockquote_bordercolour, '$blockquote_bgcolourhover' => $blockquote_bgcolourhover, +'$code_borderc' => $code_borderc, +'$code_bgcolour' => $code_bgcolour, +'$code_txtcolour' => $code_txtcolour, +'$pre_borderc' => $pre_borderc, +'$pre_bgcolour' => $pre_bgcolour, +'$pre_txtcolour' => $pre_txtcolour, '$notif_itemcolour' => $notif_itemcolour, '$notif_itemhovercolour' => $notif_itemhovercolour, '$editbuttons_bgcolour' => $editbuttons_bgcolour, '$editbuttons_bordercolour' => $editbuttons_bordercolour, +'$editbuttons_colour' => $editbuttons_colour, '$editbuttons_bghover' => $editbuttons_bghover, +'$dropdown_bgcolour' => $dropdown_bgcolour, +'$dropdown_textcolour' => $dropdown_textcolour, +'$dropdown_txtcolhover' => $dropdown_txtcolhover, +'$dropdown_bgcolhover' => $dropdown_bgcolhover, +'$dropdown_bgimghover' => $dropdown_bgimghover, +'$dropdown_togglecol' => $dropdown_togglecol, +'$dropdown_togglebgcol' => $dropdown_togglebgcol, +'$dropdown_bordercol' => $dropdown_bordercol, +'$preview_backgroundimg' => $preview_backgroundimg, '$acpopup_bgcolour' => $acpopup_bgcolour, '$acpopup_bordercolour' => $acpopup_bordercolour, '$acpopup_tgbl_bgcolour' => $acpopup_tgbl_bgcolour, @@ -264,6 +334,7 @@ $options = array ( '$notifyseen_linkcolour' => $notifyseen_linkcolour, '$notifyseen_bghover' => $notifyseen_bghover, '$notifyseen_linkhover' => $notifyseen_linkhover, +'$notify_topmargin' => $notify_topmargin, '$input_bgsubmit' => $input_bgsubmit, '$input_linksubmit' => $input_linksubmit, '$input_border' => $input_border, @@ -273,10 +344,15 @@ $options = array ( '$shadow' => $shadow, '$active_colour' => $active_colour, '$converse_width' => $converse_width, +'$acl_bgcolour' => $acl_bgcolour, +'$acl_bordercolour' => $acl_bordercolour, +'$aclbutton_linkcolour' => $aclbutton_linkcolour, +'$abookself_bgcolour' => $abookself_bgcolour, '$nav_float_min_opacity' => $nav_float_min_opacity, '$nav_percent_min_opacity' => $nav_percent_min_opacity, '$top_photo' => $top_photo, '$reply_photo' => $reply_photo, +'$infomess_bgcolour' => $infomess_bgcolour, '$pmenu_top' => $pmenu_top, '$pmenu_reply' => $pmenu_reply, '$wwtop' => $wwtop, |