Merge pull request #16625 from edx/waheed/LEARNER-3206-dates-mobile-fragment-changes

Course dates mobile fragment improvements.
This commit is contained in:
Waheed Ahmed
2017-12-04 22:14:57 +05:00
committed by GitHub
10 changed files with 98 additions and 25 deletions

View File

@@ -545,6 +545,7 @@ MAKO_TEMPLATE_DIRS_BASE = [
OPENEDX_ROOT / 'core' / 'djangoapps' / 'cors_csrf' / 'templates',
OPENEDX_ROOT / 'core' / 'djangoapps' / 'dark_lang' / 'templates',
OPENEDX_ROOT / 'core' / 'lib' / 'license' / 'templates',
OPENEDX_ROOT / 'features' / 'course_experience' / 'templates',
]
@@ -1674,6 +1675,18 @@ PIPELINE_CSS = {
],
'output_filename': 'css/lms-learner-dashboard-rtl.css',
},
'style-mobile': {
'source_filenames': [
'css/lms-mobile.css',
],
'output_filename': 'css/lms-mobile.css',
},
'style-mobile-rtl': {
'source_filenames': [
'css/lms-mobile-rtl.css',
],
'output_filename': 'css/lms-mobile-rtl.css',
},
}

View File

@@ -0,0 +1,6 @@
// ------------------------------
// Mobile: Shared Build Compile
// Base build
@import 'base/build';
@import 'mobile/main';

View File

@@ -0,0 +1,5 @@
// ------------------------------
// Mobile styling
@import 'bourbon/bourbon';
@import 'vendor/bi-app/bi-app-rtl'; // set the layout for right to left languages
@import 'build-mobile';

View File

@@ -0,0 +1,5 @@
// ------------------------------
// Mobile styling
@import 'bourbon/bourbon';
@import 'vendor/bi-app/bi-app-ltr'; // set the layout for left to right languages
@import 'build-mobile';

View File

@@ -0,0 +1,6 @@
body {
@include padding-left($baseline);
@include padding-right($baseline);
background: theme-color("inverse");
}