56 lines
1.8 KiB
Mako
56 lines
1.8 KiB
Mako
## Note: This Sass infrastructure is repeated in application-extend1 and application-extend2, but needed in order to address an IE9 rule limit within CSS - http://blogs.msdn.com/b/ieinternals/archive/2011/05/14/10164546.aspx
|
|
|
|
// lms - css application architecture
|
|
// ====================
|
|
|
|
// libs and resets *do not edit*
|
|
@import 'bourbon/bourbon'; // lib - bourbon
|
|
|
|
// BASE *default edX offerings*
|
|
// ====================
|
|
|
|
// base - utilities
|
|
@import 'base/reset';
|
|
@import 'base/mixins';
|
|
@import 'base/variables';
|
|
|
|
## THEMING
|
|
## -------
|
|
## Set up this file to import an edX theme library if the environment
|
|
## indicates that a theme should be used. The assumption is that the
|
|
## theme resides outside of this main edX repository, in a directory
|
|
## called themes/<theme-name>/, with its base Sass file in
|
|
## themes/<theme-name>/static/sass/_<theme-name>.scss. That one entry
|
|
## point can be used to @import in as many other things as needed.
|
|
% if env.get('THEME_NAME') is not None:
|
|
// import theme's Sass overrides
|
|
@import '${env.get('THEME_NAME')}';
|
|
% endif
|
|
|
|
@import 'base/base';
|
|
|
|
// base - assets
|
|
@import 'base/font_face';
|
|
@import 'base/extends';
|
|
@import 'base/animations';
|
|
|
|
// base - starter
|
|
@import 'base/base';
|
|
|
|
// base - elements
|
|
@import 'elements/typography';
|
|
@import 'elements/controls';
|
|
|
|
// shared - course
|
|
@import 'shared/forms';
|
|
@import 'shared/footer';
|
|
@import 'shared/header';
|
|
@import 'shared/course_object';
|
|
@import 'shared/course_filter';
|
|
@import 'shared/modal';
|
|
@import 'shared/activation_messages';
|
|
@import 'shared/unsubscribe';
|
|
|
|
## 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/)
|
|
|