Projet

Général

Profil

Paste
Télécharger (5,48 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / zen / STARTERKIT / STARTERKIT.info.txt @ 87dbc3bf

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        = Zen Sub-theme Starter Kit
16
description = Read the <a href="https://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 and message styling since Zen has its own.
48
stylesheets[all][] = system.menus.css
49
stylesheets[all][] = system.messages.css
50
stylesheets[all][] = system.theme.css
51

    
52
; Then we add our own stylesheet.
53
stylesheets[all][] = css/styles.css
54

    
55
; Built-in conditional stylesheet support has been removed from Zen 7.x-5.x.
56
; Instead, Zen now adds conditional-comment-included classes to the html
57
; element, such as .lt-ie9, .lt-ie8, .lt-ie7. More information on this
58
; technique can be found at:
59
; http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
60
;
61
; If you still wish to use conditional stylesheets, you must install the
62
; conditional stylesheets module: https://drupal.org/project/conditional_styles
63
;stylesheets-conditional[lte IE 8][all][] = css/ie8.css
64

    
65

    
66

    
67
; Optionally add some JavaScripts to your theme.
68

    
69
;scripts[] = js/script.js
70

    
71

    
72

    
73
; This section lists the regions defined in Zen's default page.tpl.php and
74
; maintenance-page.tpl.php files. The name in brackets is the machine name of
75
; the region. The text after the equals sign is a descriptive text used on the
76
; admin/structure/blocks page.
77
;
78
; In the page.tpl, the contents of the region are output with a
79
; $page['MACHINE-NAME'] variable and, in the maintenance-page.tpl, the region is
80
; output with a $MACHINE-NAME variable. For example, with this line in the .info
81
; file:
82
;   regions[header_top] = Header top
83
; You'll use this variable in page.tpl.php:
84
;   <?php print render($page['header_top']); ?>
85
; And you'll use this variable in maintenance-page.tpl.php:
86
;   <?php print $header_top; ?>
87

    
88
regions[header]         = Header
89
regions[navigation]     = Navigation bar
90
regions[highlighted]    = Highlighted
91
regions[help]           = Help
92
regions[content]        = Content
93
regions[sidebar_first]  = First sidebar
94
regions[sidebar_second] = Second sidebar
95
regions[footer]         = Footer
96
regions[bottom]         = Page bottom
97

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

    
102
regions[page_top]       = Page top
103
regions[page_bottom]    = Page bottom
104

    
105

    
106

    
107
; Various page elements output by the theme can be toggled on and off. The
108
; "features" control which of these check boxes display on the
109
; admin/appearance config page. This is useful for suppressing check boxes
110
; for elements not used by your sub-theme. To suppress a check box, omit the
111
; entry for it below. See the Drupal 7 Theme Guide for more info:
112
; https://drupal.org/node/171205#features
113

    
114
features[] = logo
115
features[] = name
116
features[] = slogan
117
features[] = node_user_picture
118
features[] = comment_user_picture
119
features[] = favicon
120
features[] = main_menu
121
features[] = secondary_menu
122

    
123

    
124

    
125
; Set the default values of settings on the theme-settings.php form.
126

    
127
settings[zen_breadcrumb]           = yes
128
settings[zen_breadcrumb_separator] = ' › '
129
settings[zen_breadcrumb_home]      = 1
130
settings[zen_breadcrumb_trailing]  = 0
131
settings[zen_breadcrumb_title]     = 0
132
settings[zen_skip_link_anchor]     = main-menu
133
settings[zen_skip_link_text]       = Jump to navigation
134
settings[zen_html5_respond_meta][] = respond
135
settings[zen_html5_respond_meta][] = html5
136
settings[zen_html5_respond_meta][] = meta
137
settings[zen_rebuild_registry]     = 1
138
settings[zen_wireframes]           = 0
139

    
140
; To make this sub-theme an admin theme with shortcut links next to titles,
141
; uncomment the line below.
142

    
143
;settings[shortcut_module_link]    = 1
144

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