aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/redbasic/php')
-rw-r--r--view/theme/redbasic/php/style.php20
-rw-r--r--view/theme/redbasic/php/theme.php10
-rw-r--r--view/theme/redbasic/php/theme_init.php5
3 files changed, 24 insertions, 11 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index 515356cb6..9956ccd31 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -93,13 +93,13 @@
$converse_width="1024px";
if(! $top_photo)
$top_photo = '64px';
- $pmenu_top = intval($top_photo) - 6 . 'px';
- $wwtop = intval($top_photo) - 5 . 'px';
+ $pmenu_top = intval($top_photo) - 16 . 'px';
+ $wwtop = intval($top_photo) - 15 . 'px';
$comment_indent = intval($top_photo) + 10 . 'px';
if(! $reply_photo)
$reply_photo = '32px';
- $pmenu_reply = intval($reply_photo) - 6 . 'px';
+ $pmenu_reply = intval($reply_photo) - 16 . 'px';
if($nav_min_opacity === false || $nav_min_opacity === '') {
$nav_float_min_opacity = 1.0;
@@ -114,22 +114,20 @@
// Nav colours have nested values, so we have to define the actual variables
// used in the CSS from the higher level "red", "black", etc here
if ($nav_colour == "red") {
- $nav_bg_1 = "#f88";
- $nav_bg_2 = "#b00";
- $nav_bg_3 = "#f00";
- $nav_bg_4 = "#b00";
- $search_background = '#FFDDDD';
+ $nav_bg_1 = $nav_bg_3 = "#ba002f";
+ $nav_bg_2 = $nav_bg_4 = "#ad002c";
+ $search_background = "#EEEEEE";
$active_colour = '#444444';
}
if ($nav_colour == "black") {
- $nav_bg_1 = $nav_bg_3 = "#000";
- $nav_bg_2 = $nav_bg_4 = "#222";
+ $nav_bg_1 = $nav_bg_3 = "#000";
+ $nav_bg_2 = $nav_bg_4 = "#222";
$search_background = '#EEEEEE';
$active_colour = '#AAAAAA';
}
if ($nav_colour == "silver") {
- $nav_bg_1 = $nav_bg_2 = $nav_bg_3 = $nav_bg_4 = "silver";
+ $nav_bg_1 = $nav_bg_2 = $nav_bg_3 = $nav_bg_4 = "silver";
$search_background = '#EEEEEE';
}
diff --git a/view/theme/redbasic/php/theme.php b/view/theme/redbasic/php/theme.php
index ca280ef6a..e68533bb4 100644
--- a/view/theme/redbasic/php/theme.php
+++ b/view/theme/redbasic/php/theme.php
@@ -1,5 +1,15 @@
<?php
+/**
+ * * Name: Redbasic
+ * * Description: RedMatrix standard theme
+ * * Version: 1.0
+ * * Author: Fabrixxm
+ * * Maintainer: Mike Macgirvin
+ * * Compat: Red [*]
+ *
+ */
+
function redbasic_init(&$a) {
}
diff --git a/view/theme/redbasic/php/theme_init.php b/view/theme/redbasic/php/theme_init.php
new file mode 100644
index 000000000..ccb85a070
--- /dev/null
+++ b/view/theme/redbasic/php/theme_init.php
@@ -0,0 +1,5 @@
+<?php
+
+head_add_css('library/font_awesome/css/font-awesome.min.css');
+require_once('view/php/theme_init.php');
+