From fcda9136914566ea0bdfb2541af53981166a19a4 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Thu, 26 Dec 2013 21:52:29 -0500 Subject: [PATCH] LMS: adds in developer-centric Sass file * provides new .scss file for developers to add temporary/in-progress Sass for further refactor/polish * cleans up note/import order in all application scss files --- lms/static/sass/_developer.scss | 10 ++++++++++ lms/static/sass/_shame.scss | 3 ++- lms/static/sass/application-extend1.scss.mako | 3 ++- lms/static/sass/application-extend2.scss.mako | 4 +++- lms/static/sass/application.scss.mako | 3 ++- 5 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 lms/static/sass/_developer.scss diff --git a/lms/static/sass/_developer.scss b/lms/static/sass/_developer.scss new file mode 100644 index 0000000000..25da3cbbf0 --- /dev/null +++ b/lms/static/sass/_developer.scss @@ -0,0 +1,10 @@ +// edX LMS - developer +// ==================== +// NOTE: use this area for any developer-needed or created styling that needs to be refactored into patterns or visually polished. Please list any template/view that your styles reference when definining them (example below): + +// Views: Login, Sign Up +// .crazy-new-feature { +// background: transparent; +// } + +// -------------------- diff --git a/lms/static/sass/_shame.scss b/lms/static/sass/_shame.scss index af98520bd2..10aa530cbd 100644 --- a/lms/static/sass/_shame.scss +++ b/lms/static/sass/_shame.scss @@ -1,6 +1,7 @@ // edX LMS - shame -// shame file - used for any bad-form/orphaned scss that knowingly violate edX FED architecture/standards (see - http://csswizardry.com/2013/04/shame-css/) // ==================== +// NOTE: use for any bad-form/orphaned scss that knowingly violate edX FED architecture/standards +// see - http://csswizardry.com/2013/04/shame-css/ // edx.org marketing site - 7/2013 visual button revamp diff --git a/lms/static/sass/application-extend1.scss.mako b/lms/static/sass/application-extend1.scss.mako index 4ffdd972ba..dddbabf686 100644 --- a/lms/static/sass/application-extend1.scss.mako +++ b/lms/static/sass/application-extend1.scss.mako @@ -57,5 +57,6 @@ @import 'multicourse/help'; @import 'multicourse/edge'; +@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 -@import 'shame'; // shame file - used for any bad-form/orphaned scss that knowingly violate edX FED architecture/standards (see - http://csswizardry.com/2013/04/shame-css/) diff --git a/lms/static/sass/application-extend2.scss.mako b/lms/static/sass/application-extend2.scss.mako index 32c32e9d2f..2bed660596 100644 --- a/lms/static/sass/application-extend2.scss.mako +++ b/lms/static/sass/application-extend2.scss.mako @@ -50,5 +50,7 @@ @import 'discussion'; @import 'news'; +// temp - shame and developer +@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 -@import 'shame'; // shame file - used for any bad-form/orphaned scss that knowingly violate edX FED architecture/standards (see - http://csswizardry.com/2013/04/shame-css/) diff --git a/lms/static/sass/application.scss.mako b/lms/static/sass/application.scss.mako index 16688d5368..9c5fa312e5 100644 --- a/lms/static/sass/application.scss.mako +++ b/lms/static/sass/application.scss.mako @@ -51,5 +51,6 @@ @import 'shared/activation_messages'; @import 'shared/unsubscribe'; +@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 -@import 'shame'; // shame file - used for any bad-form/orphaned scss that knowingly violate edX FED architecture/standards (see - http://csswizardry.com/2013/04/shame-css/)