Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
972648a0
Commit
972648a0
authored
May 29, 2013
by
Giulio Gratta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding changes for courseware
parent
1317e97d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
74 additions
and
0 deletions
+74
-0
lms/static/sass/course.scss
+5
-0
lms/static/sass/course.scss.mako
+68
-0
rakefiles/assets.rake
+1
-0
No files found.
lms/static/sass/course.scss
View file @
972648a0
...
@@ -4,6 +4,10 @@
...
@@ -4,6 +4,10 @@
@import
'base/font_face'
;
@import
'base/font_face'
;
@import
'base/mixins'
;
@import
'base/mixins'
;
@import
'base/variables'
;
@import
'base/variables'
;
// import theme's Sass overrides
@import
'stanford'
;
@import
'base/base'
;
@import
'base/base'
;
@import
'base/extends'
;
@import
'base/extends'
;
@import
'base/animations'
;
@import
'base/animations'
;
...
@@ -52,3 +56,4 @@
...
@@ -52,3 +56,4 @@
// discussion
// discussion
@import
"course/discussion/form-wmd-toolbar"
;
@import
"course/discussion/form-wmd-toolbar"
;
lms/static/sass/course.scss.mako
0 → 100644
View file @
972648a0
@import 'bourbon/bourbon';
@import 'base/reset';
@import 'base/font_face';
@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';
@import 'base/extends';
@import 'base/animations';
@import 'shared/tooltips';
// Course base / layout styles
@import 'course/layout/courseware_header';
@import 'course/layout/footer';
@import 'course/base/mixins';
@import 'course/base/base';
@import 'course/base/extends';
@import 'xmodule/modules/css/module-styles.scss';
// courseware
@import 'course/courseware/courseware';
@import 'course/courseware/sidebar';
@import 'course/courseware/amplifier';
@import 'course/layout/calculator';
@import 'course/layout/timer';
// course-specific courseware (all styles in these files should be gated by a
// course-specific class). This should be replaced with a better way of
// providing course-specific styling.
@import "course/courseware/courses/_cs188.scss";
// wiki
@import "course/wiki/basic-html";
@import "course/wiki/sidebar";
@import "course/wiki/create";
@import "course/wiki/wiki";
@import "course/wiki/table";
// pages
@import "course/info";
@import "course/syllabus"; // TODO arjun replace w/ custom tabs, see courseware/courses.py
@import "course/textbook";
@import "course/profile";
@import "course/gradebook";
@import "course/tabs";
@import "course/staff_grading";
@import "course/rubric";
@import "course/open_ended_grading";
// instructor
@import "course/instructor/instructor";
// discussion
@import "course/discussion/form-wmd-toolbar";
rakefiles/assets.rake
View file @
972648a0
...
@@ -86,6 +86,7 @@ namespace :assets do
...
@@ -86,6 +86,7 @@ namespace :assets do
# Run assets through the Mako templating engine. Right now we
# Run assets through the Mako templating engine. Right now we
# just hardcode the asset filenames.
# just hardcode the asset filenames.
preprocess_with_mako
(
"lms/static/sass/application.scss.mako"
)
preprocess_with_mako
(
"lms/static/sass/application.scss.mako"
)
preprocess_with_mako
(
"lms/static/sass/course.scss.mako"
)
end
end
desc
"Watch all assets for changes and automatically recompile"
desc
"Watch all assets for changes and automatically recompile"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment