Project

General

Profile

Download (5.97 KB) Statistics
| Branch: | Tag: | Revision:
1
; Drupal's .info files allow themers to easily specify some of the static
2
; properties of your theme. Properties such as its name, stylesheets,
3
; javascripts, and block regions.
4
;
5
; Drupal 7 stores a cache of the data in this .info files. If you modify any
6
; lines in this file, you MUST refresh Drupal 7's cache by simply visiting the
7
; Appearance page at admin/appearance.
8

    
9

    
10

    
11
; The name, description and screenshot used for this theme on the Appearance
12
; page at admin/appearance.
13

    
14
screenshot  = screenshot.png
15
name        = DataPortal base theme based on Zen
16
description = DataPortal base theme based on the Zen theme. Read the <a href="http://drupal.org/node/873778">online docs</a> or the included README.txt on how to create a theme with Zen.
17

    
18

    
19

    
20
; This theme is compatible with Drupal 7 core. And it is a sub-theme of Zen.
21

    
22
core        = 7.x
23
base theme  = zen
24

    
25

    
26

    
27
; This section controls the CSS files for your theme. There are 3 different
28
; things you can do with a "stylesheets" line:
29
; - Add a new stylesheet for your theme.
30
; - Override a module's stylesheet. If the stylesheet you are adding uses the
31
;   same filename as a stylesheet from a Drupal core or contrib module, your CSS
32
;   file will be used instead of the module's file.
33
; - Remove a module's stylesheet. If you specify the name of a Drupal core or
34
;   contrib module's stylesheets, Drupal will remove that stylesheet if you do
35
;   NOT include a file with that name with your theme.
36
;
37
; stylesheets[MEDIA][] = FILE
38
;
39
; The "FILE" is the name of the stylesheet to add/override/remove.
40
; The "MEDIA" in the first set of brackets is a media type or a media query.
41
; Typical CSS media types include "all", "screen", "print", and "handheld". A
42
; typical media query is "screen and (max-width: 320px)".
43
;
44
; CSS2.1 media types: http://www.w3.org/TR/CSS21/media.html#media-types
45
; CSS3 media queries: http://www.w3.org/TR/css3-mediaqueries/
46

    
47
; First we remove the system's menu styling since Zen has its own.
48
stylesheets[all][] = system.menus.css
49

    
50
; Then we add our own stylesheets.
51
stylesheets[all][] = css/normalize.css
52
stylesheets[all][] = css/wireframes.css
53
stylesheets[all][] = css/layouts/responsive-sidebars.css
54
stylesheets[all][] = css/page-backgrounds.css
55
stylesheets[all][] = css/tabs.css
56
stylesheets[all][] = css/pages.css
57
stylesheets[all][] = css/blocks.css
58
stylesheets[all][] = css/navigation.css
59
stylesheets[all][] = css/views-styles.css
60
stylesheets[all][] = css/nodes.css
61
stylesheets[all][] = css/comments.css
62
stylesheets[all][] = css/forms.css
63
stylesheets[all][] = css/fields.css
64
stylesheets[all][] = css/cdm.css
65
stylesheets[all][] = css/print.css
66

    
67
; Built-in conditional stylesheet support has been removed from Zen 7.x-5.x.
68
; Instead, Zen now adds conditional-comment-included classes to the html
69
; element, such as .lt-ie9, .lt-ie8, .lt-ie7. More information on this
70
; technique can be found at:
71
; http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
72
;
73
; If you still wish to use conditional stylesheets, you must install the
74
; conditional stylesheets module: http://drupal.org/project/conditional_styles
75
;stylesheets-conditional[lte IE 8][all][] = css/ie8.css
76

    
77

    
78

    
79
; Optionally add some JavaScripts to your theme.
80

    
81
;scripts[] = js/script.js
82

    
83

    
84

    
85
; This section lists the regions defined in Zen's default page.tpl.php and
86
; maintenance-page.tpl.php files. The name in brackets is the machine name of
87
; the region. The text after the equals sign is a descriptive text used on the
88
; admin/structure/blocks page.
89
;
90
; In the page.tpl, the contents of the region are output with a
91
; $page['MACHINE-NAME'] variable and, in the maintenance-page.tpl, the region is
92
; output with a $MACHINE-NAME variable. For example, with this line in the .info
93
; file:
94
;   regions[header_top] = Header top
95
; You'll use this variable in page.tpl.php:
96
;   <?php print render($page['header_top']); ?>
97
; And you'll use this variable in maintenance-page.tpl.php:
98
;   <?php print $header_top; ?>
99

    
100
regions[header]         = Header
101
regions[navigation]     = Navigation bar
102
regions[highlighted]    = Highlighted
103
regions[help]           = Help
104
regions[content]        = Content
105
regions[sidebar_first]  = First sidebar
106
regions[sidebar_second] = Second sidebar
107
regions[footer]         = Footer
108
regions[bottom]         = Page bottom
109

    
110
; The page_top and page_bottom regions are hidden, which means they will not
111
; show up on the blocks administration page. But they are required in order for
112
; the html.tpl.php to work properly, so do not delete them.
113

    
114
regions[page_top]       = Page top
115
regions[page_bottom]    = Page bottom
116

    
117

    
118

    
119
; Various page elements output by the theme can be toggled on and off. The
120
; "features" control which of these check boxes display on the
121
; admin/appearance config page. This is useful for suppressing check boxes
122
; for elements not used by your sub-theme. To suppress a check box, omit the
123
; entry for it below. See the Drupal 7 Theme Guide for more info:
124
; http://drupal.org/node/171205#features
125

    
126
features[] = logo
127
features[] = name
128
features[] = slogan
129
features[] = node_user_picture
130
features[] = comment_user_picture
131
features[] = favicon
132
features[] = main_menu
133
features[] = secondary_menu
134

    
135

    
136

    
137
; Set the default values of settings on the theme-settings.php form.
138

    
139
settings[zen_breadcrumb]           = yes
140
settings[zen_breadcrumb_separator] = ' › '
141
settings[zen_breadcrumb_home]      = 1
142
settings[zen_breadcrumb_trailing]  = 1
143
settings[zen_breadcrumb_title]     = 0
144
settings[zen_skip_link_anchor]     = main-menu
145
settings[zen_skip_link_text]       = Jump to navigation
146
settings[zen_html5_respond_meta][] = respond
147
settings[zen_html5_respond_meta][] = html5
148
settings[zen_html5_respond_meta][] = meta
149
settings[zen_rebuild_registry]     = 1
150
settings[zen_wireframes]           = 0
151

    
152
; To make this sub-theme an admin theme with shortcut links next to titles,
153
; uncomment the line below.
154

    
155
;settings[shortcut_module_link]    = 1
156

    
157
; To add a Panels layout (which can also be used by Display Suite), uncomment
158
; the line below and see the documentation at: http://drupal.org/node/495654
159
;plugins[panels][layouts] = layouts
(8-8/8)