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   1522 Views

Avatar
Sequoia

Community Member, 5 Posts

30 July 2011 at 2:53am

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

Forum Moderator, 5513 Posts

31 July 2011 at 6:19pm

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

Community Member, 271 Posts

1 August 2011 at 9:02am

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

Community Member, 82 Posts

3 August 2011 at 6:17am

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

Avatar
biapar

Forum Moderator, 435 Posts

14 August 2011 at 9:11pm

Good Works.

Avatar
biapar

Forum Moderator, 435 Posts

2 September 2011 at 8:27pm

Code?