root / drupal7 / sites / all / themes / mayo @ 5024cef7
Nom | Taille | Révision | Âge | Auteur | Commentaire |
---|---|---|---|---|---|
color | d7f58da2 | plus de 10 ans | Florent Torregrosa | Switch MAYO on version 7.x-2.0 to be adaptative. | |
css | caf16a48 | presque 9 ans | Assos Assos | Weekly update of contrib modules | |
images | caf16a48 | presque 9 ans | Assos Assos | Weekly update of contrib modules | |
inc | caf16a48 | presque 9 ans | Assos Assos | Weekly update of contrib modules | |
js | 70a4c29b | plus de 9 ans | Assos Assos | Weekly update of contrib modules | |
layouts | bfb52287 | plus de 9 ans | Assos Assos | Weekly update of contrib modules | |
sass | caf16a48 | presque 9 ans | Assos Assos | Weekly update of contrib modules | |
templates | caf16a48 | presque 9 ans | Assos Assos | Weekly update of contrib modules | |
LICENSE.txt | 17,7 ko | d7f58da2 | plus de 10 ans | Florent Torregrosa | Switch MAYO on version 7.x-2.0 to be adaptative. |
README.txt | 8,09 ko | caf16a48 | presque 9 ans | Assos Assos | Weekly update of contrib modules |
config.rb | 948 octets | d7f58da2 | plus de 10 ans | Florent Torregrosa | Switch MAYO on version 7.x-2.0 to be adaptative. |
logo.png | 3,44 ko | f7a2490e | plus de 10 ans | Assos Assos | git mv htmltest drupal7 |
mayo.info | 5,05 ko | caf16a48 | presque 9 ans | Assos Assos | Weekly update of contrib modules |
screenshot.png | 77,4 ko | f7a2490e | plus de 10 ans | Assos Assos | git mv htmltest drupal7 |
template.php | 8,16 ko | caf16a48 | presque 9 ans | Assos Assos | Weekly update of contrib modules |
theme-settings.php | 42,9 ko | caf16a48 | presque 9 ans | Assos Assos | Weekly update of contrib modules |
Dernières révisions
README
MAYO - original theme for Drupal 7 from PIXTURE STUDIO
MAYO 7.x-2.x is the original theme with responsive layout and other responsive features. Also the theme is
using SASS/Compass to compile CSS. You will still be able to create a normal sub-theme if you need to customize further without getting envolved with SASS. This version uses <!DOCTYPE html> which starts it down the HTML5 path. Very few of the newer HTML5 elements are used at this point.
MAYO Responsive (7.x-2.x) borrows from Jeff Burnz and his great work on AdaptiveTheme https://drupal.org/project/adaptivethemeS
The name "MAYO" is taken from a phrase "MAke Your Own" and "MAYOnnaise" which I love :-). As the name describes itself, MAYO is developed to be a theme that provides users easy ways to customize and create a theme they like.
MAYO is developed based on the experience of developing PIXTURE theme. However, MAYO fully takes advantage of Drupal 7's color module and advaced theme settings. MAYO is simple but flexible. You can customize the look of the MAYO easily from the theme setting page. It does not require you to have the knowledge of CSS, HTML and PHP.
What can be customized from the theme settings page ?
MAYO's theme settings page provides many options you can select/customize. Below are the summary of what you can customize.
Colors of most of the theme elements (base, page, header, footer, sidebar, node, text and link color of most of the elements), or users can choose a color set from the large number of predefined color sets.
Base font and heading font type (either Serif or Sans-serif) and base font size.
Page layout options such as margins, sidebar layout and width, etc. There are now settings for Big
Screen Sidebar Layout, Tablet Sidebar Layout, and Smalltouch Sidebar Layout. Also you can adjust the Media
query for each device type, but caution is advised in changing the defaults. Be careful using Pixle Units in
the Sidebar Layout settings as it could have undesired behavior on some device sizes. % units seem to work
best.Styles such as menubar styles and round corner for node/sidebar block.
Detail layout of header area contents (logo, site name, slogan, search engine box).
You can easily upload and add your own image as the background of the header area. (You can use both background image and logo at the same time).
Watermark of the header area which is added over the header gradation or header background images.
Miscellaneous options include: Toggle to display/not display breadcrumbs, and if displayed which style. Mayo style without "Home" link or Bartik style.
9 You can add font resizing control to the header (default is OFF)
The template files it uses are page.tpl.php and comment.tpl.php only (+ maintenance_page.tpl.php for maintenance mode). For all other elements, the standard template files that comes with Drupal Core will be used.
In addition to the customization features listed above, it supports following drop down menu modules.
Superfish module http://drupal.org/project/superfish
Nice Menus module http://drupal.org/project/nice_menus
Regions
MAYO supports the following regions.
+-----------------------------------------+
| +-------------------------------------+ |
| | Header | |
| +-------------------------------------+ |
| Menu |
| Submenu |
| +-------------------------------------+ |
| | Banner Top | |
| +-------------------------------------+ |
| +-------------------------------------+ |
| | Top Top Top Top | |
| | Column1 Column2 Column3 Column4 | |
| +-------------------------------------+ |
| +---------+ +-------------------------+ |
| | Sidebar | | Highlighted | |
| | | | | |
| | | +-------------------------+ |
| | | +-------------------------+ |
| | | | Content | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| +---------+ | | |
| | | |
| +-------------------------+ |
| +-------------------------------------+ |
| | Bottom Bottom Bottom Bottom | |
| | Column1 Column2 Column3 Column4 | |
| +-------------------------------------+ |
| +-------------------------------------+ |
| | Banner Bottom | |
| +-------------------------------------+ |
| +-------------------------------------+ |
| | | |
| | Footer Footer Footer Footer | |
| | Column1 Column2 Column3 Column4 | |
| | | |
| | ----------------------------------- | |
| | Footer | |
| +-------------------------------------+ |
+-----------------------------------------+
As you can see, it supports multiple columns in the top, bottom and footer regions. You can add up to four columns. The width of a column is automatically calculated based on the number of columns to be used. For example, if you add 3 blocks to the footer, then the width of each column will be 33% of the footer width.
Each block in the top and bottom columns regions has its own box style just like sidebar blocks. Height of these blocks are equalized to the tallest blocks within the same region so that they look nice and neat.
Menu and Submenu regions are for those who uses superfish, nice_menus and other drop down menus (see the next section for more details). Position of the sidebar first and the second can be configured from the theme settings page.
How to use superfish/nice_menus module?
The primary menu and secondary menu does not support superfish and nice_menus. If you want to use one of them, you need to turn off the primary and secondary menu from the theme settings page first. Then, create and configure menu blocks and then assign them to either the 'menubar' or 'sub-menubar' region of the MAYO theme at admin/structure/block page.
When you select menubar type 2 (gloss black image background), the type style is applied only to the menubar, and the sub-menubar still uses original menubar style. This is simply because that having two menubar rows of gloss black background image does not look nice from the design stand point.
Dark color theme
One of the characteristics of the MAYO theme is that it supports both light color and dark color sets. We developed MAYO so that it would look nice either cases. However, the message (status, warning, error) colors are defined in the Drupal Core and it would not match the dark color sets. So we have created own CSS for the messages for the dark color sets. You need to check the option of 'Use dark message colors' in the theme settings page if you use a dark color set.
Header backgroud image
If you use liquid theme, you should be aware that the header area width expands as the browser's window size is widen.
If the header background image you choose is not wide enough, the image repeats, which may make the header area a bit ugly. We recommend that you prepare and use the header image at least 1600px wide for the liquid layout. Of course, this is not an issue for fixed layout.
Round corners for sidebar block and node
By using CSS3 and browser specific stylesheet properties, round corners for sidebar blocks and node are supported by major browsers such as Fireforx, Safari, Google Chrome and Opera except for IE. We have decided not to support round corners for IE<9 with Javascript since may slows down the page display. So if you are IE users, please wait for the future version of IE that supports CSS3's border-radius property.
Changing default color set
Please do not change the default color set (MAYO) in the color/color.inc file. You can change other entries but not the default one. Otherwise, it will mess up the entire color changing scheme.
Formats disponibles : Atom