No description, website, or topics provided.
CSS PHP Scheme JavaScript
Latest commit 7f40749 Oct 25, 2016 @stevie-mayhew stevie-mayhew committed on GitHub Merge pull request #13 from helpfulrobot/add-standard-gitattributes-file
Added standard .gitattributes file
Permalink
Failed to load latest commit information.
_config
build_tasks
code/extensions
css
fonts
images/icons
scss UPDATE: 3.3 compatibility, minimum fixes to make it look alright Mar 20, 2016
templates
.bowerrc
.editorconfig
.gitattributes
.gitignore Created a deployment task to move font-awesome fonts, and css to the … Aug 11, 2015
.scrutinizer.yml Added standard Scrutinizer config Mar 23, 2016
Gruntfile.js Styled the sticky menu button in the panel footer. Added a bower shim… Oct 20, 2015
README.md Cleaned up SCSS to remove unused styles. Added default configs for de… Aug 12, 2015
_config.php Created a deployment task to move font-awesome fonts, and css to the … Aug 11, 2015
bower.json
composer.json
package.json

README.md

Silverstripe CMS Branding

Just a nice little UI change for the cms.

The theme supports an UploadField in the Settings > Settings Tab > CMS Tab for a logo to be displayed in the left-hand menu of the CMS.

Configuration

You can either choose to upload a CMS logo through the Site Settings section of the CMS, or you can define it through a YML configuration like the below:

SiteConfig:
  cms_logo: 'mysite/images/cms_logo.png'

You can set the theme colour of the left menu by defining it through a YML configuration like the below:

LeftAndMain:
  cms_menu_color: '#fff'
  cms_menu_background: '#1b354c'
  cms_menu_active_text_color: '#fff'
  cms_menu_active_background_color: '#0d1a25'

Example

demo-image

Grouping CMS Menus

CMS Branding will work with Grouped CMS Menu out of the box

Example

demo-image-grouped

Overriding/Adding Icons

The icons in this cms theme use Font-Awesome, to override these icons simply add the class that represents the icon you wish to display in your ModelAdmin extension. e.g:

private static $menu_icon_class = 'fa fa-pencil';

Alternatively you can set this using a YML config. e.g

CMSPagesController:
  menu_icon_class: 'fa fa-sitemap'