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:
parent
d06c3582d0
commit
470c3a1289
5
openstack_dashboard/static/app/app.scss
Normal file
5
openstack_dashboard/static/app/app.scss
Normal file
@ -0,0 +1,5 @@
|
||||
// Custom Theme Variables
|
||||
@import "/custom/variables";
|
||||
@import "/dashboard/scss/variables";
|
||||
|
||||
@import "core/core";
|
@ -3,7 +3,6 @@
|
||||
|
||||
@import "scss/variables";
|
||||
@import "launch-instance/launch-instance";
|
||||
@import "/app/core/core";
|
||||
|
||||
// Custom Style Variables
|
||||
@import "/custom/styles";
|
||||
|
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user