aboutsummaryrefslogtreecommitdiff
path: root/mod/habitorio_theme/views/default/css/elgg.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2013-11-09 16:21:08 +0100
committerSem <sembrestels@riseup.net>2013-11-09 16:21:08 +0100
commit52335325e5ea8c89c711e1ba40d9ac1657004e61 (patch)
tree4750e0c39218fde7fa2309b53bf301d64c8f544e /mod/habitorio_theme/views/default/css/elgg.php
parentea0462952ecf6f8aab30a26bd889a30691f15c98 (diff)
parent0f9c1c4669fa730024c4c35c0655e0c38365d96d (diff)
downloadelgg-52335325e5ea8c89c711e1ba40d9ac1657004e61.tar.gz
elgg-52335325e5ea8c89c711e1ba40d9ac1657004e61.tar.bz2
Add 'mod/habitorio_theme/' from commit '0f9c1c4669fa730024c4c35c0655e0c38365d96d'
git-subtree-dir: mod/habitorio_theme git-subtree-mainline: ea0462952ecf6f8aab30a26bd889a30691f15c98 git-subtree-split: 0f9c1c4669fa730024c4c35c0655e0c38365d96d
Diffstat (limited to 'mod/habitorio_theme/views/default/css/elgg.php')
-rw-r--r--mod/habitorio_theme/views/default/css/elgg.php68
1 files changed, 68 insertions, 0 deletions
diff --git a/mod/habitorio_theme/views/default/css/elgg.php b/mod/habitorio_theme/views/default/css/elgg.php
new file mode 100644
index 000000000..4960e6ade
--- /dev/null
+++ b/mod/habitorio_theme/views/default/css/elgg.php
@@ -0,0 +1,68 @@
+<?php
+/**
+ * Elgg primary CSS view
+ *
+ * @package Elgg.Core
+ * @subpackage UI
+ */
+
+/*
+ * Colors:
+ * #4690D6 - elgg light blue
+ * #0054A7 - elgg dark blue
+ * #e4ecf5 - elgg very light blue
+ */
+
+// check if there is a theme overriding the old css view and use it, if it exists
+$old_css_view = elgg_get_view_location('css');
+if ($old_css_view != elgg_get_config('viewpath')) {
+ echo elgg_view('css', $vars);
+ return true;
+}
+
+
+/*******************************************************************************
+
+Base CSS
+ * CSS reset
+ * core
+ * helpers (moved to end to have a higher priority)
+ * grid
+
+*******************************************************************************/
+echo elgg_view('css/elements/reset', $vars);
+echo elgg_view('css/elements/core', $vars);
+echo elgg_view('css/elements/grid', $vars);
+
+
+/*******************************************************************************
+
+Skin CSS
+ * typography - fonts, line spacing
+ * forms - forms, inputs
+ * buttons - action, cancel, delete, submit, dropdown, special
+ * navigation - menus, breadcrumbs, pagination
+ * icons - icons, sprites, graphics
+ * modules - modules, widgets
+ * layout_objects - lists, content blocks, notifications, avatars
+ * layout - page layout
+ * misc - to be removed/redone
+
+*******************************************************************************/
+echo elgg_view('css/elements/typography', $vars);
+echo elgg_view('css/elements/forms', $vars);
+echo elgg_view('css/elements/buttons', $vars);
+echo elgg_view('css/elements/icons', $vars);
+echo elgg_view('css/elements/navigation', $vars);
+echo elgg_view('css/elements/modules', $vars);
+echo elgg_view('css/elements/components', $vars);
+echo elgg_view('css/elements/layout', $vars);
+echo elgg_view('css/elements/misc', $vars);
+
+
+// included last to have higher priority
+echo elgg_view('css/elements/helpers', $vars);
+
+
+// in case plugins are still extending the old 'css' view, display it
+echo elgg_view('css', $vars);