-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Combining with minimalist-theme-helper
To back this theme, an additional module that provides some code-behind-logic is available at https://github.com/symbiote-library/silverstripe-minimalist-theme-helper. This module defines a basic controller extension that implements the onBeforeInit
method; this subsequently Requirements:: includes all the needed CSS and JS.
To override the way this information is included, you should set
PageControllerThemeExtension:
include_requirements: 0
which will cause that module to not include the needed JS and CSS; you'll then need to provide these yourself.
Framework
The theme uses the Foundation framework: http://foundation.zurb.com
Basic grid
For layouts, a basic structure should be:
<div class="main typography">
<div class="row">
<div class="large-12 columns">
$Content
</div>
</div>
</div>
Instead of just the large-12 columns
you could use multiple columns, say for content and an aside or sidebar:
<div class="large-9 columns">
$Content
</div>
<div class="large-3 columns">
Whatever sidebar content here...
</div>
Icons
Icons are from the Typicons set: http://www.typicons.com
General usage goes like this:
<span class="typcn typcn-icon-name"></span>
For the icon-name part visit the Typicons page above to see what's available and how they're named