horizon/openstack_dashboard/themes/webroot/_variables.scss
Diana Whitten 24f25eddb6 SCSS $webroot should inherit from settings.py
There is double maintenance right now when you change the STATIC_URL
via settings.py, you must also use a custom theme to have access to
also change $webroot within the SCSS to serve font-awesome from a
custom location.

This patch makes the STATIC_URL available by default in the SCSS
namespace through variable $static_url.

Also, it was being called $webroot in the SCSS, but it should
actually be called $static_url since it should map directly to
settings.py's STATIC_URL.

Change-Id: I1ee40652f8110b176f45b8811f0e0197789a73da
Closes-Bug: #1478794
2015-08-15 08:05:24 -07:00

5 lines
168 B
SCSS

/* This variable changes the web root of horizon to /dashboard rather
than the default '/' */
$static_url: "/dashboard/static/";
@import "../themes/default/variables";