first import
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
##########################################################################################
|
||||
_ _ _ _
|
||||
__| | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ __ _ ___ ___| | _____
|
||||
/ _` |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| / _` |/ _ \/ _ \ |/ / __|
|
||||
| (_| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | (_| | __/ __/ <\__ \
|
||||
\__,_|\___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| \__, |\___|\___|_|\_\___/
|
||||
|_| |___/
|
||||
##########################################################################################
|
||||
|
||||
##########################################################################################
|
||||
##### Omega Theme
|
||||
##########################################################################################
|
||||
Informational: http://himer.us/omega960
|
||||
Documentation: http://himer.us/omega-docs
|
||||
Project Page: http://drupal.org/project/omega
|
||||
Issue Queue: http://drupal.org/project/issues/omega
|
||||
Usage Stats: http://drupal.org/project/usage/omega
|
||||
Twitter: http://twitter.com/Omeglicon
|
||||
##########################################################################################
|
||||
##### CSS Files
|
||||
##########################################################################################
|
||||
|
||||
Any custom CSS files should be placed in this folder.
|
||||
|
||||
Five CSS files are provided by default. These files will be loaded according to the
|
||||
media queries established in your theme's settings. The default values are provided below.
|
||||
|
||||
To use these stylesheets, rename the files and YOURTHEME with the name of your theme.
|
||||
For example, if your theme is named beta, the files would be named:
|
||||
global.css (this file does not get renamed)
|
||||
beta-alpha-default.css
|
||||
beta-alpha-default-narrow.css
|
||||
beta-alpha-default-normal.css
|
||||
beta-alpha-default-wide.css
|
||||
|
||||
global.css
|
||||
* Loaded all for all layouts, including mobile.
|
||||
* Default media query: n/a. Always applied.
|
||||
* By default, this is the only stylesheet loaded for the mobile version of your site.
|
||||
* This layout does not use the 960gs for its layout. It provides a linearized
|
||||
view of your site's content.
|
||||
|
||||
YOURTHEME-alpha-default.css
|
||||
* Loaded for all layouts using the alpha grid (i.e. not the mobile layout).
|
||||
* Default media query: n/a. Applied to all layouts using the alpha grid.
|
||||
* By default the alpha grid is applied when the device width is at least
|
||||
740px wide.
|
||||
|
||||
YOURTHEME-alpha-default-narrow.css
|
||||
* Loaded for all layouts using the alpha grid. Styles will "cascade" to
|
||||
wider layouts. You may overwrite any styles in the normal or wide
|
||||
layout-specific CSS files if you wish.
|
||||
* Default media query for the narrow layout is:
|
||||
all and (min-width: 740px) and (min-device-width: 740px),
|
||||
(max-device-width: 800px) and (min-width: 740px)
|
||||
and (orientation:landscape)
|
||||
|
||||
YOURTHEME-alpha-default-normal.css
|
||||
* By default this style sheet will be loaded for the normal and wide layouts
|
||||
* Styles will "cascade" to the wide layout as well.
|
||||
* Default media query for the normal layout is:
|
||||
all and (min-width: 980px) and (min-device-width: 980px),
|
||||
all and (max-device-width: 1024px) and (min-width: 1024px)
|
||||
and (orientation:landscape)
|
||||
|
||||
YOURTHEME-alpha-default-wide.css
|
||||
* By default this style sheet will apply only to the widescreen layout.
|
||||
* Default media query for the wide layout is:
|
||||
all and (min-width: 1220px)
|
||||
|
@@ -0,0 +1,4 @@
|
||||
/* This file will hold styles that are loaded using the same media query as the narrow grid. */
|
||||
/* If you are using the default media queries provided by Omega, these styles will also
|
||||
* apply to the normal and widescreen layouts. You may override these styles in the normal
|
||||
* and widescreen CSS files as appropriate. */
|
@@ -0,0 +1,3 @@
|
||||
/* This file will hold styles that are loaded using the same media query as the normal grid. */
|
||||
/* If you are using the default media queries provided by Omega, these styles will also
|
||||
* apply to the widescreen layout unless they are overridden by the widescreen styles. */
|
@@ -0,0 +1,2 @@
|
||||
/* This file will hold styles that are loaded using the same media query as the wide grid. */
|
||||
|
@@ -0,0 +1 @@
|
||||
/* This file will hold styles for all layouts using the alpha grid (i.e. not the mobile layout). */
|
@@ -0,0 +1,2 @@
|
||||
/* This file will hold styles for the mobile version of your website (mobile first). */
|
||||
/* This also can include ANY global CSS that applies site-wide. Unless overwritten by a more specific style rule, CSS declarations in global.css will apply site-wide. */
|
BIN
sites/all/themes/omega/starterkits/alpha-xhtml/logo.png
Normal file
BIN
sites/all/themes/omega/starterkits/alpha-xhtml/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.7 KiB |
@@ -0,0 +1,39 @@
|
||||
##########################################################################################
|
||||
_ _ _ _
|
||||
__| | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ __ _ ___ ___| | _____
|
||||
/ _` |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| / _` |/ _ \/ _ \ |/ / __|
|
||||
| (_| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | (_| | __/ __/ <\__ \
|
||||
\__,_|\___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| \__, |\___|\___|_|\_\___/
|
||||
|_| |___/
|
||||
##########################################################################################
|
||||
|
||||
##########################################################################################
|
||||
##### Omega Theme
|
||||
##########################################################################################
|
||||
Informational: http://himer.us/omega960
|
||||
Documentation: http://himer.us/omega-docs
|
||||
Project Page: http://drupal.org/project/omega
|
||||
Issue Queue: http://drupal.org/project/issues/omega
|
||||
Usage Stats: http://drupal.org/project/usage/omega
|
||||
Twitter: http://twitter.com/Omeglicon
|
||||
##########################################################################################
|
||||
##### Preprocess Hooks
|
||||
##########################################################################################
|
||||
|
||||
Any custom preprocess functionality can (rather than directly in template.php) be placed
|
||||
in this preprocess folder in a file named as such:
|
||||
|
||||
TEMPLATE_preprocess_html() = preprocess-html.inc
|
||||
TEMPLATE_preprocess_page() = preprocess-page.inc
|
||||
TEMPLATE_preprocess_node() = preprocess-node.inc
|
||||
TEMPLATE_preprocess_comment() = preprocess-comment.inc
|
||||
TEMPLATE_preprocess_region() = preprocess-region.inc
|
||||
etc.
|
||||
|
||||
Inside of your preprocess-HOOK.inc files, you can either directly dump the PHP code as it
|
||||
would normally appear INSIDE of a preprocess function, or you can optionally (recommended)
|
||||
wrap the code in a custom hook for Alpha/Omega as such:
|
||||
|
||||
function THEMENAME_alpha_preprocess_HOOK(&$vars) {
|
||||
// custom functionality here
|
||||
}
|
@@ -0,0 +1,39 @@
|
||||
##########################################################################################
|
||||
_ _ _ _
|
||||
__| | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ __ _ ___ ___| | _____
|
||||
/ _` |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| / _` |/ _ \/ _ \ |/ / __|
|
||||
| (_| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | (_| | __/ __/ <\__ \
|
||||
\__,_|\___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| \__, |\___|\___|_|\_\___/
|
||||
|_| |___/
|
||||
##########################################################################################
|
||||
|
||||
##########################################################################################
|
||||
##### Omega Theme
|
||||
##########################################################################################
|
||||
Informational: http://himer.us/omega960
|
||||
Documentation: http://himer.us/omega-docs
|
||||
Project Page: http://drupal.org/project/omega
|
||||
Issue Queue: http://drupal.org/project/issues/omega
|
||||
Usage Stats: http://drupal.org/project/usage/omega
|
||||
Twitter: http://twitter.com/Omeglicon
|
||||
##########################################################################################
|
||||
##### Process Hooks
|
||||
##########################################################################################
|
||||
|
||||
Any custom process functionality can (rather than directly in template.php) be placed
|
||||
in this process folder in a file named as such:
|
||||
|
||||
TEMPLATE_process_html() = process-html.inc
|
||||
TEMPLATE_process_page() = process-page.inc
|
||||
TEMPLATE_process_node() = process-node.inc
|
||||
TEMPLATE_process_comment() = process-comment.inc
|
||||
TEMPLATE_process_region() = process-region.inc
|
||||
etc.
|
||||
|
||||
Inside of your process-HOOK.inc files, you can either directly dump the PHP code as it
|
||||
would normally appear INSIDE of a process function, or you can optionally (recommended)
|
||||
wrap the code in a custom hook for Alpha/Omega as such:
|
||||
|
||||
function THEMENAME_alpha_process_HOOK(&$vars) {
|
||||
// custom functionality here
|
||||
}
|
BIN
sites/all/themes/omega/starterkits/alpha-xhtml/screenshot.png
Normal file
BIN
sites/all/themes/omega/starterkits/alpha-xhtml/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
@@ -0,0 +1,181 @@
|
||||
name = Alpha XHTML Starterkit
|
||||
description = Default starterkit for <a href="http://drupal.org/project/omega">Alpha</a>. You should not directly edit this starterkit, but make your own copy. Information on this can be found in the <a href="http://himer.us/omega-docs">Omega Documentation</a>
|
||||
core = 7.x
|
||||
engine = phptemplate
|
||||
screenshot = screenshot.png
|
||||
base theme = alpha
|
||||
|
||||
; IMPORTANT: DELETE THESE TWO LINES IN YOUR SUBTHEME
|
||||
|
||||
hidden = TRUE
|
||||
starterkit = TRUE
|
||||
|
||||
; REQUIRED CORE REGIONS
|
||||
|
||||
regions[page_top] = Page Top
|
||||
regions[page_bottom] = Page Bottom
|
||||
regions[content] = Content
|
||||
|
||||
; ADDITIONAL REGIONS
|
||||
|
||||
regions[header] = Header
|
||||
regions[footer] = Footer
|
||||
|
||||
regions[sidebar_first] = Sidebar First
|
||||
regions[sidebar_second] = Sidebar Second
|
||||
|
||||
; ZONES
|
||||
|
||||
zones[content] = Content
|
||||
zones[header] = Header
|
||||
zones[footer] = Footer
|
||||
|
||||
; OPTIONAL STYLESHEETS
|
||||
|
||||
css[global.css][name] = Your custom global styles
|
||||
css[global.css][description] = This file holds all the globally active custom CSS of your theme.
|
||||
css[global.css][options][weight] = 10
|
||||
|
||||
; DEFAULT THEME SETTINGS
|
||||
|
||||
settings[alpha_grid] = 'alpha_default'
|
||||
settings[alpha_primary_alpha_default] = 'normal'
|
||||
settings[alpha_responsive] = '1'
|
||||
settings[alpha_layouts_alpha_fluid_primary] = 'normal'
|
||||
settings[alpha_layouts_alpha_fluid_normal_responsive] = '0'
|
||||
settings[alpha_layouts_alpha_fluid_normal_media] = 'all and (min-width: 740px) and (min-device-width: 740px), (max-device-width: 800px) and (min-width: 740px) and (orientation:landscape)'
|
||||
settings[alpha_layouts_alpha_default_primary] = 'normal'
|
||||
settings[alpha_layouts_alpha_default_fluid_responsive] = '0'
|
||||
settings[alpha_layouts_alpha_default_fluid_media] = 'all and (min-width: 740px) and (min-device-width: 740px), (max-device-width: 800px) and (min-width: 740px) and (orientation:landscape)'
|
||||
settings[alpha_layouts_alpha_default_fluid_weight] = '0'
|
||||
settings[alpha_layouts_alpha_default_narrow_responsive] = '1'
|
||||
settings[alpha_layouts_alpha_default_narrow_media] = 'all and (min-width: 740px) and (min-device-width: 740px), (max-device-width: 800px) and (min-width: 740px) and (orientation:landscape)'
|
||||
settings[alpha_layouts_alpha_default_narrow_weight] = '1'
|
||||
settings[alpha_layouts_alpha_default_normal_responsive] = '1'
|
||||
settings[alpha_layouts_alpha_default_normal_media] = 'all and (min-width: 980px) and (min-device-width: 980px), all and (max-device-width: 1024px) and (min-width: 1024px) and (orientation:landscape)'
|
||||
settings[alpha_layouts_alpha_default_normal_weight] = '2'
|
||||
settings[alpha_layouts_alpha_default_wide_responsive] = '1'
|
||||
settings[alpha_layouts_alpha_default_wide_media] = 'all and (min-width: 1220px)'
|
||||
settings[alpha_layouts_alpha_default_wide_weight] = '3'
|
||||
settings[alpha_viewport] = '1'
|
||||
settings[alpha_viewport_initial_scale] = '1'
|
||||
settings[alpha_viewport_min_scale] = '1'
|
||||
settings[alpha_viewport_max_scale] = '1'
|
||||
settings[alpha_viewport_user_scaleable] = ''
|
||||
settings[alpha_css][alpha-reset.css] = 'alpha-reset.css'
|
||||
settings[alpha_css][alpha-alpha.css] = 'alpha-alpha.css'
|
||||
settings[alpha_css][alpha-mobile.css] = 'alpha-mobile.css'
|
||||
settings[alpha_css][global.css] = 'global.css'
|
||||
settings[alpha_debug_block_toggle] = '1'
|
||||
settings[alpha_debug_block_active] = '1'
|
||||
settings[alpha_debug_grid_toggle] = '1'
|
||||
settings[alpha_debug_grid_active] = '1'
|
||||
settings[alpha_debug_grid_roles][1] = '1'
|
||||
settings[alpha_debug_grid_roles][2] = '2'
|
||||
settings[alpha_debug_grid_roles][3] = '3'
|
||||
settings[alpha_toggle_messages] = '1'
|
||||
settings[alpha_toggle_action_links] = '1'
|
||||
settings[alpha_toggle_tabs] = '1'
|
||||
settings[alpha_toggle_breadcrumb] = '1'
|
||||
settings[alpha_toggle_page_title] = '1'
|
||||
settings[alpha_toggle_feed_icons] = '1'
|
||||
settings[alpha_hidden_title] = ''
|
||||
settings[alpha_hidden_site_name] = ''
|
||||
settings[alpha_hidden_site_slogan] = ''
|
||||
settings[alpha_zone_header_wrapper] = ''
|
||||
settings[alpha_zone_header_force] = ''
|
||||
settings[alpha_zone_header_section] = 'header'
|
||||
settings[alpha_zone_header_weight] = ''
|
||||
settings[alpha_zone_header_columns] = '12'
|
||||
settings[alpha_zone_header_primary] = ''
|
||||
settings[alpha_zone_header_order] = '0'
|
||||
settings[alpha_zone_header_css] = ''
|
||||
settings[alpha_zone_header_wrapper_css] = ''
|
||||
settings[alpha_zone_content_wrapper] = ''
|
||||
settings[alpha_zone_content_force] = ''
|
||||
settings[alpha_zone_content_section] = 'content'
|
||||
settings[alpha_zone_content_weight] = ''
|
||||
settings[alpha_zone_content_columns] = '12'
|
||||
settings[alpha_zone_content_primary] = ''
|
||||
settings[alpha_zone_content_order] = '0'
|
||||
settings[alpha_zone_content_css] = ''
|
||||
settings[alpha_zone_content_wrapper_css] = ''
|
||||
settings[alpha_zone_footer_wrapper] = ''
|
||||
settings[alpha_zone_footer_force] = ''
|
||||
settings[alpha_zone_footer_section] = 'footer'
|
||||
settings[alpha_zone_footer_weight] = ''
|
||||
settings[alpha_zone_footer_columns] = '12'
|
||||
settings[alpha_zone_footer_primary] = ''
|
||||
settings[alpha_zone_footer_order] = '0'
|
||||
settings[alpha_zone_footer_css] = ''
|
||||
settings[alpha_zone_footer_wrapper_css] = ''
|
||||
settings[alpha_region_dashboard_inactive_force] = ''
|
||||
settings[alpha_region_dashboard_inactive_zone] = ''
|
||||
settings[alpha_region_dashboard_inactive_prefix] = ''
|
||||
settings[alpha_region_dashboard_inactive_columns] = ''
|
||||
settings[alpha_region_dashboard_inactive_suffix] = ''
|
||||
settings[alpha_region_dashboard_inactive_weight] = ''
|
||||
settings[alpha_region_dashboard_inactive_position] = ''
|
||||
settings[alpha_region_dashboard_inactive_css] = ''
|
||||
settings[alpha_region_dashboard_sidebar_force] = ''
|
||||
settings[alpha_region_dashboard_sidebar_zone] = ''
|
||||
settings[alpha_region_dashboard_sidebar_prefix] = ''
|
||||
settings[alpha_region_dashboard_sidebar_columns] = ''
|
||||
settings[alpha_region_dashboard_sidebar_suffix] = ''
|
||||
settings[alpha_region_dashboard_sidebar_weight] = ''
|
||||
settings[alpha_region_dashboard_sidebar_position] = ''
|
||||
settings[alpha_region_dashboard_sidebar_css] = ''
|
||||
settings[alpha_region_dashboard_main_force] = ''
|
||||
settings[alpha_region_dashboard_main_zone] = ''
|
||||
settings[alpha_region_dashboard_main_prefix] = ''
|
||||
settings[alpha_region_dashboard_main_columns] = ''
|
||||
settings[alpha_region_dashboard_main_suffix] = ''
|
||||
settings[alpha_region_dashboard_main_weight] = ''
|
||||
settings[alpha_region_dashboard_main_position] = ''
|
||||
settings[alpha_region_dashboard_main_css] = ''
|
||||
settings[alpha_region_header_force] = ''
|
||||
settings[alpha_region_header_zone] = 'header'
|
||||
settings[alpha_region_header_prefix] = ''
|
||||
settings[alpha_region_header_columns] = '12'
|
||||
settings[alpha_region_header_suffix] = ''
|
||||
settings[alpha_region_header_weight] = ''
|
||||
settings[alpha_region_header_position] = '1'
|
||||
settings[alpha_region_header_css] = ''
|
||||
settings[alpha_region_content_force] = ''
|
||||
settings[alpha_region_content_zone] = 'content'
|
||||
settings[alpha_region_content_prefix] = ''
|
||||
settings[alpha_region_content_columns] = '6'
|
||||
settings[alpha_region_content_suffix] = ''
|
||||
settings[alpha_region_content_weight] = '1'
|
||||
settings[alpha_region_content_position] = '2'
|
||||
settings[alpha_region_content_css] = ''
|
||||
settings[alpha_region_sidebar_first_force] = ''
|
||||
settings[alpha_region_sidebar_first_zone] = 'content'
|
||||
settings[alpha_region_sidebar_first_prefix] = ''
|
||||
settings[alpha_region_sidebar_first_columns] = '3'
|
||||
settings[alpha_region_sidebar_first_suffix] = ''
|
||||
settings[alpha_region_sidebar_first_weight] = '2'
|
||||
settings[alpha_region_sidebar_first_position] = '1'
|
||||
settings[alpha_region_sidebar_first_css] = ''
|
||||
settings[alpha_region_sidebar_second_force] = ''
|
||||
settings[alpha_region_sidebar_second_zone] = 'content'
|
||||
settings[alpha_region_sidebar_second_prefix] = ''
|
||||
settings[alpha_region_sidebar_second_columns] = '3'
|
||||
settings[alpha_region_sidebar_second_suffix] = ''
|
||||
settings[alpha_region_sidebar_second_weight] = '3'
|
||||
settings[alpha_region_sidebar_second_position] = '3'
|
||||
settings[alpha_region_sidebar_second_css] = ''
|
||||
settings[alpha_region_footer_force] = ''
|
||||
settings[alpha_region_footer_zone] = 'footer'
|
||||
settings[alpha_region_footer_prefix] = ''
|
||||
settings[alpha_region_footer_columns] = '12'
|
||||
settings[alpha_region_footer_suffix] = ''
|
||||
settings[alpha_region_footer_weight] = '1'
|
||||
settings[alpha_region_footer_weight] = '1'
|
||||
settings[alpha_region_footer_css] = ''
|
||||
; Information added by drupal.org packaging script on 2012-02-19
|
||||
version = "7.x-3.1"
|
||||
core = "7.x"
|
||||
project = "omega"
|
||||
datestamp = "1329681647"
|
||||
|
12
sites/all/themes/omega/starterkits/alpha-xhtml/template.php
Normal file
12
sites/all/themes/omega/starterkits/alpha-xhtml/template.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* This file is empty by default because the base theme chain (Alpha & Omega) provides
|
||||
* all the basic functionality. However, in case you wish to customize the output that Drupal
|
||||
* generates through Alpha & Omega this file is a good place to do so.
|
||||
*
|
||||
* Alpha comes with a neat solution for keeping this file as clean as possible while the code
|
||||
* for your subtheme grows. Please read the README.txt in the /preprocess and /process subfolders
|
||||
* for more information on this topic.
|
||||
*/
|
@@ -0,0 +1,26 @@
|
||||
##########################################################################################
|
||||
_ _ _ _
|
||||
__| | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ __ _ ___ ___| | _____
|
||||
/ _` |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| / _` |/ _ \/ _ \ |/ / __|
|
||||
| (_| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | (_| | __/ __/ <\__ \
|
||||
\__,_|\___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| \__, |\___|\___|_|\_\___/
|
||||
|_| |___/
|
||||
##########################################################################################
|
||||
|
||||
##########################################################################################
|
||||
##### Omega Theme
|
||||
##########################################################################################
|
||||
Informational: http://himer.us/omega960
|
||||
Documentation: http://himer.us/omega-docs
|
||||
Project Page: http://drupal.org/project/omega
|
||||
Issue Queue: http://drupal.org/project/issues/omega
|
||||
Usage Stats: http://drupal.org/project/usage/omega
|
||||
Twitter: http://twitter.com/Omeglicon
|
||||
##########################################################################################
|
||||
|
||||
The templates folder is here to organize any custom templates you have for your subhteme.
|
||||
The HTML5 Starterkit (and subthemes) uses all default templates in the Omega base theme,
|
||||
and is why this directory is empty.
|
||||
|
||||
Any page, node, etc. templates you need to customize can be copied here, and customized
|
||||
accordingly.
|
Reference in New Issue
Block a user