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
f3d44225
Commit
f3d44225
authored
Aug 07, 2012
by
Rocky Duan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'brittany' of github.com:dementrock/mitx into brittany
parents
690d97f2
1f1ea8ad
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
6 deletions
+44
-6
lms/static/sass/_discussion.scss
+41
-4
lms/templates/discussion/_recent_active_posts.html
+2
-1
lms/templates/discussion/_trending_tags.html
+1
-1
No files found.
lms/static/sass/_discussion.scss
View file @
f3d44225
...
...
@@ -25,11 +25,18 @@ form label {
}
div
.recent-activity
{
font-size
:
$comment_body_size
;
margin
:
4%
;
font-weight
:
bold
;
margin
:
20%
4%
;
div
.recent-activity-title
{
font-weight
:
bold
;
}
a
.recent-active-post
{
margin-bottom
:
2px
;
display
:
block
;
font-size
:
$comment_body_size
;
line-height
:
120%
;
margin-top
:
8px
;
&
:hover
{
color
:
#1C71DD
;
text-decoration
:
none
;
...
...
@@ -38,6 +45,36 @@ div.recent-activity {
}
}
div
.trending-tags
{
font-weight
:
bold
;
margin
:
15%
0
0
0
;
.trending-tag
{
margin-top
:
5px
;
}
.trending-tag-link
{
@include
discussion-font
;
background
:
#CDE69C
;
border
:
1px
solid
#A5D24A
;
-moz-border-radius
:
2px
;
-webkit-border-radius
:
2px
;
color
:
#638421
;
display
:
block
;
float
:
left
;
font-size
:
13px
;
margin-right
:
4px
;
padding
:
5px
7px
;
text-decoration
:
none
;
&
:hover
{
border-color
:
#1E4612
;
color
:
#1E4612
;
text-decoration
:
none
;
}
}
}
.discussion
{
.discussion-non-content
{
...
...
lms/templates/discussion/_recent_active_posts.html
View file @
f3d44225
<div
class=
"recent-activity"
>
Recent Activity:
<div
class=
"recent-activity-title"
>
Recent Activity:
</div>
<div
class=
"recent-active-posts"
>
% for thread in recent_active_threads:
...
...
lms/templates/discussion/_trending_tags.html
View file @
f3d44225
<div
class=
"trending-tags"
>
Trending tags:
<div
class=
"trending-tags"
>
% for tag, count in trending_tags:
<div
class=
"trending-tag"
>
<a
class=
"trending-tag-link"
href=
"javascript:void(0)"
>
${tag}
</a>
...
...
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