application-extend2.scss.mako 2.34 KB
Newer Older
1 2 3 4 5 6 7
## 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
8
@import 'vendor/bi-app/bi-app-ltr'; // set the layout for left to right languages
9

10

11 12 13 14 15 16
// BASE  *default edX offerings*
// ====================

// base - utilities
@import 'base/reset';
@import 'base/variables';
17
@import 'base/mixins';
18 19 20 21 22 23 24 25 26

## 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.
27
% if env["FEATURES"].get("USE_CUSTOM_THEME", False):
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
  // 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';
45
@import 'elements/system-feedback';
46 47

// base - specific views
48
@import 'views/login-register';
49
@import 'views/verification';
50
@import 'views/decoupled-verification';
51 52 53
@import 'views/shoppingcart';

// applications
Greg Price committed
54
@import "discussion/utilities/variables";
Greg Price committed
55
@import "discussion/mixins";
Greg Price committed
56
@import 'discussion/discussion'; // Process old file after definitions but before everything else
Greg Price committed
57
@import "discussion/elements/actions";
Greg Price committed
58
@import "discussion/elements/editor";
Greg Price committed
59
@import "discussion/elements/labels";
Greg Price committed
60
@import "discussion/elements/navigation";
61
@import "discussion/views/thread";
62
@import "discussion/views/create-edit-post";
63
@import "discussion/views/response";
Greg Price committed
64 65 66
@import 'discussion/utilities/developer';
@import 'discussion/utilities/shame';

67 68
@import 'news';

69 70 71
// 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
72
## NOTE: needed here for cascade and dependency purposes, but not a great permanent solution