** Changed in: horizon
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1260675
Title:
horizon less variables not available to custom dashboard less styles
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
Right now, it is possible to include custom stylesheets for custom dashboards
into Horizon. (See [1])
But the way it works, it is not possible to use horizon (and through that
also bootstrap) less variables in those custom stylesheets.
In short, solution is to import custom stylesheets at the end of
horizon.less file.
Implementation:
At the end of horizon.less, @import dashboards.less file, dashboards.less is
generated less file, that includes imports of the list of less files with the
same name as dashboards that horizon include. eg:
dashboards.less:
@import infrastructure.less
...
Problem is how to generate dashboards.less file. Could it be somehow
achieved by using django-compressor?
[1]
http://docs.openstack.org/developer/horizon/topics/customizing.html
#custom-stylesheets
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1260675/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp