Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Themes

Discuss SilverStripe Themes.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

How does one style the admin interface?


Reply

6 Posts   1433 Views

Avatar
Sequoia

30 July 2011 at 2:53am Community Member, 5 Posts

I'd like to change some of the styles in the admin interface without editing files in cms/ or sapphire/ (in order to not break on update). Is this possible? It would be nice to have a system in place for admin themes, so people could develop their own themes and switch them out as desired. Will this be part of v3?

Thanks, Sequoia

Avatar
Willr

31 July 2011 at 6:19pm Forum Moderator, 5511 Posts

In 2.4 you can alter the styles from your theme with a css file called 'editor.css' this will be loaded automatically in the CMS.

In 3.0 we're introducing the concept of a CSS 'theme' for the backend, similar to a jQueryUI theme. You'll be able to alter colors and fonts but layout / etc will be a little harder to edit. You can see an example of this as a work in progress at - https://github.com/silverstripe/sapphire/blob/master/admin/scss/themes/_default.scss

Avatar
Martijn

1 August 2011 at 9:02am Community Member, 271 Posts

for 2.4 try this:

http://www.sspaste.com/paste/show/4bbdbbdd98a4d

You can put custom ss templates in a seperate folder to override cms templates

http://i49.tinypic.com/w7n3id.jpg

Avatar
purplespider

3 August 2011 at 6:17am Community Member, 81 Posts

Wow, nice theme! Any chance in sharing the code? :)

Avatar
biapar

14 August 2011 at 9:11pm Forum Moderator, 435 Posts

Good Works.

Avatar
biapar

2 September 2011 at 8:27pm Forum Moderator, 435 Posts

Code?