55 lines
1.6 KiB
Mako
55 lines
1.6 KiB
Mako
## NOTE: This Sass infrastructure is redundant, 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 (platform)
|
|
// ====================
|
|
|
|
// 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';
|
|
|
|
// base - specific views
|
|
@import 'views/verification';
|
|
@import 'views/shoppingcart';
|
|
|
|
// applications
|
|
@import 'discussion';
|
|
@import 'news';
|
|
|
|
## 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/)
|
|
|