Adding and using app.scss

As part of the code organization design, scss files should be organized
align with the file structure and angular module as a tree, but we are
missing app.scss. Also importing core.scss from app.scss rather than
from dashboard.scss.

Change-Id: I7a5cd6fec947054cb15d9f72f7a547e651930f28
Closes-Bug: #1480002
This commit is contained in:
Shaoquan Chen 2015-07-30 16:25:48 -07:00
parent d06c3582d0
commit 470c3a1289
3 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
// Custom Theme Variables
@import "/custom/variables";
@import "/dashboard/scss/variables";
@import "core/core";

View File

@ -3,7 +3,6 @@
@import "scss/variables";
@import "launch-instance/launch-instance";
@import "/app/core/core";
// Custom Style Variables
@import "/custom/styles";

View File

@ -14,6 +14,7 @@ css rules getting cut off if one css file to get more than 4k rules inside.
{% endcompress %}
{% compress css %}
<link href='{{ STATIC_URL }}app/app.scss' type='text/scss' media='screen' rel='stylesheet' />
<link href='{{ STATIC_URL }}dashboard/dashboard.scss' type='text/scss' media='screen' rel='stylesheet' />
{% for file in HORIZON_CONFIG.scss_files %}