Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some ideas #11

Open
Hedde opened this issue May 18, 2015 · 2 comments
Open

some ideas #11

Hedde opened this issue May 18, 2015 · 2 comments
Labels

Comments

@Hedde
Copy link

Hedde commented May 18, 2015

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

  • port the css to compass
  • replace all common styles with variables defined in a _variables.scss so there's a straight forward way to compile the flat theme with your own preferences
  • replace icons with fontawesome or halflings, e.g.
.related-lookup:before {
  font-family: "FontAwesome";
  content: "\f002";
}

schermafbeelding 2015-05-18 om 22 39 46

  • some common mixins might be nice, e.g. btn-group

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 👍 ) set of css files :-)

@elky
Copy link
Owner

elky commented May 28, 2015

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 elky added the feature label May 28, 2015
@elky
Copy link
Owner

elky commented Aug 28, 2015

Flat icons were implemented with SVG solution. Few thoughts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants