diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-14 21:41:44 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-14 21:41:44 -0300 |
commit | beaab428eb8b6e19ca6d413249f6307100d9b853 (patch) | |
tree | b7c2b617c19ee5e1b133e8029b80bb52c1bb8ec8 /views/default/css/elgg.php | |
download | elgg-beaab428eb8b6e19ca6d413249f6307100d9b853.tar.gz elgg-beaab428eb8b6e19ca6d413249f6307100d9b853.tar.bz2 |
Squashed 'mod/saravea_theme/' content from commit daab1e0
git-subtree-dir: mod/saravea_theme
git-subtree-split: daab1e0a1d564efeb637ecb2ce27ade44f45ac64
Diffstat (limited to 'views/default/css/elgg.php')
-rw-r--r-- | views/default/css/elgg.php | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/views/default/css/elgg.php b/views/default/css/elgg.php new file mode 100644 index 000000000..37d8aa19e --- /dev/null +++ b/views/default/css/elgg.php @@ -0,0 +1,68 @@ +<?php +/** + * Elgg primary CSS view + * + * @package Elgg.Core + * @subpackage UI + */ + +/* + * Colors: + * #ff4c12 - n-1 light orange + * #d86c2c - n-1 dark orange + * #e4ecf5 - n-1 very light orange + */ + +// 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); |