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
618cf6ae
Commit
618cf6ae
authored
Oct 25, 2017
by
Harry Rein
Committed by
GitHub
Oct 25, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16333 from edx/HarryRein/responsive-updates-bookmarks-page
Update bookmarks and updates pages to be responsive.
parents
892c5af8
73455ac3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
64 additions
and
42 deletions
+64
-42
lms/static/sass/features/_bookmarks.scss
+62
-42
lms/static/sass/features/_course-experience.scss
+2
-0
No files found.
lms/static/sass/features/_bookmarks.scss
View file @
618cf6ae
...
...
@@ -9,65 +9,85 @@ $bookmarked-icon: "\f02e"; // .fa-bookmark
}
// Rules for Bookmarks Results
.
bookmarks-results-list
{
padding-top
:
(
$baseline
/
2
)
;
.
course-bookmarks
{
flex-grow
:
1
;
.bookmarks-results-list
-item
{
@include
padding
(
0
,
$baseline
,
(
$baseline
/
4
)
,
$baseline
);
.bookmarks-results-list
{
padding-top
:
(
$baseline
/
2
);
display
:
block
;
border
:
1px
solid
$lms-border-color
;
margin-bottom
:
$baseline
;
.bookmarks-results-list-item
{
@include
padding
(
0
,
$baseline
,
(
$baseline
/
4
)
,
$baseline
);
&
:hover
{
border-color
:
palette
(
primary
,
base
);
display
:
block
;
border
:
1px
solid
theme-color
(
"light"
);
margin-bottom
:
$baseline
;
.list-item-breadcrumbtrail
{
color
:
palette
(
primary
,
base
);
&
:hover
{
border-color
:
palette
(
primary
,
base
);
.list-item-breadcrumbtrail
{
color
:
palette
(
primary
,
base
);
}
}
}
}
.results-list-item-view
{
@include
float
(
right
);
.results-list-item-view
{
@include
float
(
right
);
margin-top
:
$baseline
;
}
margin-top
:
$baseline
;
}
.list-item-date
{
margin-top
:
(
$baseline
/
4
);
color
:
$lms-gray
;
font-size
:
font-size
(
small
);
}
.list-item-date
{
margin-top
:
(
$baseline
/
4
);
color
:
theme-color
(
"dark"
)
;
font-size
:
font-size
(
small
);
}
.
bookmarks-results-list-item
:
:
before
{
content
:
$bookmarked-icon
;
position
:
relative
;
top
:
-7px
;
font-family
:
FontAwesome
;
color
:
palette
(
primary
,
base
);
}
.
bookmarks-results-list-item
:
:
before
{
content
:
$bookmarked-icon
;
position
:
relative
;
top
:
-7px
;
font-family
:
FontAwesome
;
color
:
palette
(
primary
,
base
);
}
.list-item-content
{
overflow
:
hidden
;
}
.list-item-content
{
overflow
:
hidden
;
position
:
relative
;
}
.list-item-left-section
{
display
:
inline-block
;
vertical-align
:
middle
;
width
:
90%
;
}
.list-item-left-section
{
display
:
inline-block
;
vertical-align
:
middle
;
width
:
90%
;
}
.list-item-right-section
{
@include
right
(
0
);
.list-item-right-section
{
display
:
inline-block
;
vertical-align
:
middle
;
bottom
:
$baseline
*-
0
.75
;
position
:
absolute
;
vertical-align
:
middle
;
.fa-arrow-right
{
@include
rtl
{
@include
transform
(
rotate
(
180deg
));
.fa-arrow-right
{
@include
rtl
{
@include
transform
(
rotate
(
180deg
));
}
}
}
}
// Override the search count styling
.search-results
.search-count
{
font-size
:
$font-size-base
;
font-weight
:
$font-weight-bold
;
}
// Override the pagination behavior
.pagination.pagination-full
{
width
:
100%
;
text-align
:
center
;
}
}
// Rules for empty bookmarks list
...
...
lms/static/sass/features/_course-experience.scss
View file @
618cf6ae
...
...
@@ -438,6 +438,8 @@
// Course Updates Page
.course-updates
{
.all-updates
{
flex-grow
:
1
;
.updates-article
{
margin
:
(
$baseline
*
6
/
5
)
0
;
padding-bottom
:
(
$baseline
*
6
/
5
);
...
...
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