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
9fc58a25
Unverified
Commit
9fc58a25
authored
Nov 09, 2017
by
Marco Morales
Committed by
GitHub
Nov 09, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16506 from edx/hrein/responsive-experience/cleanups
Styling changes for responsive behavior on LMS.
parents
e88d384a
aa853a93
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
41 additions
and
22 deletions
+41
-22
common/lib/xmodule/xmodule/css/sequence/display.scss
+11
-3
common/lib/xmodule/xmodule/js/fixtures/sequence.html
+4
-4
lms/djangoapps/discussion/templates/discussion/discussion_board_fragment.html
+1
-1
lms/static/sass/_variables.scss
+1
-1
lms/static/sass/course/courseware/_courseware.scss
+5
-5
lms/static/sass/course/instructor/_instructor_2.scss
+1
-1
lms/static/sass/discussion/elements/_navigation.scss
+2
-0
lms/static/sass/discussion/views/_search.scss
+0
-1
lms/static/sass/elements/_banners.scss
+1
-0
lms/static/sass/features/_course-experience.scss
+11
-2
lms/templates/seq_module.html
+2
-2
openedx/features/course_experience/static/course_experience/fixtures/course-home-fragment.html
+1
-1
openedx/features/course_experience/templates/course_experience/course-outline-fragment.html
+1
-1
No files found.
common/lib/xmodule/xmodule/css/sequence/display.scss
View file @
9fc58a25
...
...
@@ -313,12 +313,20 @@ $seq-nav-height: 50px;
&
:hover
,
&
:active
,
&
.active
{
border-bottom
:
3px
solid
$seq-nav-link-color
;
// keeps icon/text centered on hover, necessary due to border-box setting
padding-top
:
2px
;
background-color
:
theme-color
(
"primary"
);
.icon
{
color
:
$seq-nav-icon-color
;
color
:
theme-color
(
"inverse"
);
}
@include
media-breakpoint-up
(
sm
)
{
border-bottom
:
3px
solid
$seq-nav-link-color
;
background-color
:
theme-color
(
"inverse"
);
.icon
{
color
:
$seq-nav-icon-color
;
}
}
}
}
common/lib/xmodule/xmodule/js/fixtures/sequence.html
View file @
9fc58a25
...
...
@@ -5,6 +5,10 @@
<span
class=
"icon fa fa-chevron-prev"
aria-hidden=
"true"
></span>
<span>
Previous
</span>
</button>
<button
class=
"sequence-nav-button button-next"
>
<span>
Next
</span>
<span
class=
"icon fa fa-chevron-next"
aria-hidden=
"true"
></span>
</button>
<nav
class=
"sequence-list-wrapper"
aria-label=
"Unit"
>
<ol
id=
"sequence-list"
role=
"tablist"
>
<li>
...
...
@@ -23,10 +27,6 @@
</li>
</ol>
</nav>
<button
class=
"sequence-nav-button button-next"
>
<span>
Next
</span>
<span
class=
"icon fa fa-chevron-next"
aria-hidden=
"true"
></span>
</button>
</div>
<div
class=
"sr-is-focusable"
tabindex=
"-1"
></div>
...
...
lms/djangoapps/discussion/templates/discussion/discussion_board_fragment.html
View file @
9fc58a25
...
...
@@ -33,7 +33,7 @@ from openedx.core.djangolib.markup import HTML
<div
class=
"page-header-secondary"
>
## Add Post button
% if has_permission(user, 'create_thread', course.id):
<div
class=
"form-actions"
>
<div
class=
"for
u
m-actions"
>
<button
class=
"btn btn-outline-primary btn-small new-post-btn"
>
${_("Add a Post")}
</button>
</div>
% endif
...
...
lms/static/sass/_variables.scss
View file @
9fc58a25
// LMS-specific variables
$text-width-readability-max
:
90
0px
;
$text-width-readability-max
:
108
0px
;
// LMS-only colors
$audit-mode-color
:
rgb
(
74
,
74
,
74
)
!
default
;
...
...
lms/static/sass/course/courseware/_courseware.scss
View file @
9fc58a25
...
...
@@ -41,6 +41,7 @@ html.video-fullscreen {
border-radius
:
(
$baseline
/
4
);
background-color
:
$light-gray1
;
color
:
$staff-color
;
text-transform
:
uppercase
;
&
:hover
{
background-color
:
$staff-color
;
...
...
@@ -134,12 +135,11 @@ html.video-fullscreen {
overflow-wrap
:
break-word
;
word-wrap
:
break-word
;
word-break
:
break-word
;
}
margin
:
0
auto
;
// Make text-focused blocks have a maximum width for readability.
.xmodule_HtmlModule
,
.xmodule_CapaModule
{
max-width
:
$text-width-readability-max
;
&
.xblock-student_view-vertical
{
max-width
:
$text-width-readability-max
;
}
}
h1
{
...
...
lms/static/sass/course/instructor/_instructor_2.scss
View file @
9fc58a25
...
...
@@ -293,7 +293,7 @@
.btn-link
{
display
:
inline-block
;
padding
:
(
$baseline
/
2
)
$baseline
;
padding
:
(
$baseline
/
2
);
border
:
0
;
box-shadow
:
none
;
text-shadow
:
none
;
...
...
lms/static/sass/discussion/elements/_navigation.scss
View file @
9fc58a25
...
...
@@ -177,6 +177,8 @@
.forum-nav-thread-list
{
padding-left
:
0
!
important
;
// should *not* be RTLed, see below for explanation
min-height
:
60px
;
// @TODO: Remove this when we have a real empty state for the discussion thread list
max-height
:
800px
;
border-bottom
:
1px
solid
theme-color
(
"light"
);
margin
:
0
;
overflow-y
:
auto
;
list-style
:
none
;
...
...
lms/static/sass/discussion/views/_search.scss
View file @
9fc58a25
.forum-search
{
display
:
flex
;
width
:
100%
;
margin-top
:
$baseline
;
.search-input
{
...
...
lms/static/sass/elements/_banners.scss
View file @
9fc58a25
...
...
@@ -89,6 +89,7 @@ $full-width-banner-margin: 20px;
.btn-link
{
color
:
$state-info-text-link
;
font-weight
:
bold
;
border-color
:
transparent
;
}
}
...
...
lms/static/sass/features/_course-experience.scss
View file @
9fc58a25
...
...
@@ -199,6 +199,7 @@
.btn-link
{
color
:
palette
(
grayscale
,
base
);
border-color
:
transparent
;
}
}
}
...
...
@@ -275,8 +276,14 @@
}
}
.section-tools
.course-tool
:not
(
:first-child
)
{
margin-top
:
(
$baseline
/
5
);
.section-tools
.course-tool
{
.course-tool-link
:visited
{
color
:
theme-color
(
"primary"
);
}
&
:not
(
:first-child
)
{
margin-top
:
(
$baseline
/
5
);
}
}
}
...
...
@@ -328,6 +335,8 @@
margin
:
0
0
(
$baseline
/
2
)
0
;
.subsection
{
@include
margin-left
(
10px
);
list-style-type
:
none
;
border
:
1px
solid
transparent
;
border-radius
:
3px
;
...
...
lms/templates/seq_module.html
View file @
9fc58a25
...
...
@@ -13,11 +13,11 @@
</div>
% endif
<div
class=
"sequence-nav"
>
<button
class=
"sequence-nav-button button-previous"
aria-hidden=
"true"
>
<button
class=
"sequence-nav-button button-previous"
>
<span
class=
"icon fa fa-chevron-prev"
aria-hidden=
"true"
></span>
<span
class=
"sequence-nav-button-label"
>
${_('Previous')}
</span>
</button>
<button
class=
"sequence-nav-button button-next"
aria-hidden=
"true"
>
<button
class=
"sequence-nav-button button-next"
>
<span
class=
"sequence-nav-button-label"
>
${_('Next')}
</span>
<span
class=
"icon fa fa-chevron-next"
aria-hidden=
"true"
></span>
</button>
...
...
openedx/features/course_experience/static/course_experience/fixtures/course-home-fragment.html
View file @
9fc58a25
...
...
@@ -65,7 +65,7 @@
<ol
class=
"block-tree"
role=
"tree"
>
<li
aria-expanded=
"true"
class=
"outline-item focusable section"
id=
"block-v1:W3Cx+HTML5.0x+1T2017+type@chapter+block@451e0388724c4f1fafba1b218ce16582"
role=
"treeitem"
tabindex=
"0"
>
<div
class=
"section-name"
>
<h3>
Testing
</h3>
<h3
class=
"section-title"
>
Testing
</h3>
</div>
<ol
class=
"outline-item focusable"
role=
"group"
tabindex=
"0"
>
<li
class=
"subsection "
role=
"treeitem"
tabindex=
"-1"
aria-expanded=
"true"
>
...
...
openedx/features/course_experience/templates/course_experience/course-outline-fragment.html
View file @
9fc58a25
...
...
@@ -24,7 +24,7 @@ from openedx.core.djangolib.markup import HTML, Text
tabindex=
"0"
>
<div
class=
"section-name"
>
<h3>
${ section['display_name'] }
</h3>
<h3
class=
"section-title"
>
${ section['display_name'] }
</h3>
</div>
<ol
class=
"outline-item focusable"
role=
"group"
tabindex=
"0"
>
% for subsection in section.get('children', []):
...
...
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