elky / django-flat-theme

A flat theme for Django admin interface. Modern, fresh, simple.
Other
413 stars 46 forks source link

some ideas #11

Open Hedde opened 9 years ago

Hedde commented 9 years ago

I have spent sometime with the flat theme, great work. Here's some thoughts that might be worth a thought

.related-lookup:before {
  font-family: "FontAwesome";
  content: "\f002";
}

schermafbeelding 2015-05-18 om 22 39 46

schermafbeelding 2015-05-18 om 22 39 37

I'm not sure where django's admin style is heading, but if it is eager to include something like flat into core, it would be nice to have something more flexible than another (yet slick :+1: ) set of css files :-)

elky commented 9 years ago

Thanks @Hedde

This theme was created just as a skin for default admin without any markup changes. Currently I'm working on clean up styles, test everything and push this CSS to django repo. I really hope we will see this theme in Django 1.9 as default theme. After that I (or community!) will work on features.

First obvious feature as you correctly noted is a compass or other CSS preprocessor. This will allow us to change colors and create official skins!

It would be awesome if django have its own bootstrap-like framework to build admin interface. It's really big work and requires lots of markup changes so we need to discuss it with community.

Fonts. You can see current implementation of Font Awesome icons in flat-icons branch. It's not finished yet - it's also requires markup changes because admin has <img> icons in some places.

elky commented 9 years ago

Flat icons were implemented with SVG solution. Few thoughts.