Commit 220b8d1c by Brian Talbot

LMS: removing conditional search Sass logic + simplifying _build-*.scss files

parent 24673aa1
...@@ -62,3 +62,6 @@ ...@@ -62,3 +62,6 @@
// discussion // discussion
@import "course/discussion/form-wmd-toolbar"; @import "course/discussion/form-wmd-toolbar";
// search
@import 'search/_search';
...@@ -68,4 +68,12 @@ ...@@ -68,4 +68,12 @@
@import 'discussion/utilities/developer'; @import 'discussion/utilities/developer';
@import 'discussion/utilities/shame'; @import 'discussion/utilities/shame';
// search
@import 'search/_search';
// news
@import 'news'; @import 'news';
// overrides
@import 'developer'; // used for any developer-created scss that needs further polish/refactoring
@import 'shame'; // used for any bad-form/orphaned scss
...@@ -30,12 +30,3 @@ ...@@ -30,12 +30,3 @@
@import 'build-lms'; // shared app style assets/rendering @import 'build-lms'; // shared app style assets/rendering
## Import styles for search
% if env["FEATURES"].get("ENABLE_DASHBOARD_SEARCH", False):
@import 'search/_search';
% endif
@import 'developer'; // used for any developer-created scss that needs further polish/refactoring
@import 'shame'; // used for any bad-form/orphaned scss
## NOTE: needed here for cascade and dependency purposes, but not a great permanent solution
...@@ -29,12 +29,3 @@ ...@@ -29,12 +29,3 @@
% endif % endif
@import 'build-lms'; // shared app style assets/rendering @import 'build-lms'; // shared app style assets/rendering
## Import styles for search
% if env["FEATURES"].get("ENABLE_DASHBOARD_SEARCH", False):
@import 'search/_search';
% endif
@import 'developer'; // used for any developer-created scss that needs further polish/refactoring
@import 'shame'; // used for any bad-form/orphaned scss
## NOTE: needed here for cascade and dependency purposes, but not a great permanent solution
...@@ -20,8 +20,3 @@ ...@@ -20,8 +20,3 @@
% endif % endif
@import 'build-course'; // shared app style assets/rendering @import 'build-course'; // shared app style assets/rendering
## Import styles for search
% if env["FEATURES"].get("ENABLE_COURSEWARE_SEARCH"):
@import 'search/_search';
% endif
...@@ -20,8 +20,3 @@ ...@@ -20,8 +20,3 @@
% endif % endif
@import 'build-course'; // shared app style assets/rendering @import 'build-course'; // shared app style assets/rendering
## Import styles for search
% if env["FEATURES"].get("ENABLE_COURSEWARE_SEARCH"):
@import 'search/_search';
% endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment