summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_graphics/n1_small.pngbin0 -> 5133 bytes
-rw-r--r--index.php2
-rw-r--r--start.php4
-rw-r--r--views/default/css/elements/layout.php4
-rw-r--r--views/default/css/n1_theme/landing.php (renamed from views/default/n1_theme/css.php)8
5 files changed, 15 insertions, 3 deletions
diff --git a/_graphics/n1_small.png b/_graphics/n1_small.png
new file mode 100644
index 0000000..0dc8be7
--- /dev/null
+++ b/_graphics/n1_small.png
Binary files differ
diff --git a/index.php b/index.php
index 2371b9a..0716540 100644
--- a/index.php
+++ b/index.php
@@ -10,6 +10,8 @@ if (elgg_is_logged_in()) {
forward('activity');
}
+elgg_load_css('n1:landing_page');
+
$content = elgg_view('n1_theme/landing');
$content .= elgg_view_title(elgg_echo('content:latest'));
$content .= elgg_list_river();
diff --git a/start.php b/start.php
index 1a49da4..c7dae0e 100644
--- a/start.php
+++ b/start.php
@@ -9,7 +9,9 @@ function n1_theme_init() {
elgg_register_plugin_hook_handler('register', 'menu:topbar', 'n1_theme_topbar_menu');
elgg_register_plugin_hook_handler('index', 'system', 'n1_theme_front_page');
- elgg_extend_view('css', 'n1_theme/css');
+
+ elgg_register_simplecache_view('n1_theme/landing');
+ elgg_register_css('n1:landing_page', elgg_get_simplecache_url('css', 'n1_theme/landing'));
}
function n1_theme_topbar_menu($hook, $type, $returnvalue, $params){
diff --git a/views/default/css/elements/layout.php b/views/default/css/elements/layout.php
index c19666f..d332437 100644
--- a/views/default/css/elements/layout.php
+++ b/views/default/css/elements/layout.php
@@ -42,8 +42,7 @@ body {
/***** TOPBAR ******/
.elgg-page-topbar {
- background: #333333 url(<?php echo elgg_get_site_url(); ?>_graphics/toptoolbar_background.gif) repeat-x top left;
- border-bottom: 1px solid #000000;
+ background-color: #27282d;
position: relative;
height: 24px;
z-index: 9000;
@@ -74,6 +73,7 @@ body {
}
.elgg-page-header > .elgg-inner {
position: relative;
+ background: transparent url(<?php echo elgg_get_site_url(); ?>mod/n1_theme/_graphics/n1_small.png) no-repeat 650px bottom;
}
/***** PAGE BODY LAYOUT ******/
diff --git a/views/default/n1_theme/css.php b/views/default/css/n1_theme/landing.php
index 3f27d96..1e8c9d1 100644
--- a/views/default/n1_theme/css.php
+++ b/views/default/css/n1_theme/landing.php
@@ -22,3 +22,11 @@
font-size: 1.4em;
color: #666;
}
+
+#login-dropdown {
+ display:none;
+}
+
+.elgg-page-header > .elgg-inner {
+ background-image: none;
+}