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
1aa6275b
Commit
1aa6275b
authored
Mar 04, 2015
by
Marco Morales
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated styling for LMS post references
parent
a9b83a5a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
27 deletions
+31
-27
common/templates/js/discussion/thread-show.underscore
+1
-1
lms/static/sass/discussion/_discussion.scss
+30
-26
No files found.
common/templates/js/discussion/thread-show.underscore
View file @
1aa6275b
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
<div class="post-context">
<div class="post-context">
<%=
<%=
interpolate(
interpolate(
_.escape(gettext('
(this post is about %(courseware_title_linked)s)
')),
_.escape(gettext('
Related to: %(courseware_title_linked)s
')),
{courseware_title_linked: courseware_title_linked},
{courseware_title_linked: courseware_title_linked},
true
true
)
)
...
...
lms/static/sass/discussion/_discussion.scss
View file @
1aa6275b
// forums - main app styling
// forums - main app styling
// ====================
// ====================
body
.discussion
{
body
.discussion
{
.course-tabs
.right
{
.course-tabs
.right
{
...
@@ -71,7 +72,7 @@ body.discussion {
...
@@ -71,7 +72,7 @@ body.discussion {
.thread-title
{
.thread-title
{
display
:
block
;
display
:
block
;
margin-bottom
:
$baseline
;
margin-bottom
:
$baseline
;
color
:
#33
3
;
color
:
$gray-d
3
;
font-weight
:
700
;
font-weight
:
700
;
font-size
:
21px
;
font-size
:
21px
;
}
}
...
@@ -119,11 +120,11 @@ body.discussion {
...
@@ -119,11 +120,11 @@ body.discussion {
}
}
.wmd-input
{
.wmd-input
{
border
:
1px
solid
#c8c8c8
;
border
:
1px
solid
$gray-l3
;
border-radius
:
3px
3px
0
0
;
border-radius
:
3px
3px
0
0
;
width
:
100%
;
width
:
100%
;
height
:
150px
;
height
:
150px
;
background-color
:
#e9e9e9
;
background-color
:
$gray-l4
;
font-style
:
normal
;
font-style
:
normal
;
font-size
:
0
.8em
;
font-size
:
0
.8em
;
font-family
:
Monaco
,
'Lucida Console'
,
monospace
;
font-family
:
Monaco
,
'Lucida Console'
,
monospace
;
...
@@ -209,7 +210,7 @@ body.discussion {
...
@@ -209,7 +210,7 @@ body.discussion {
>
form
>
input
[
type
=
"text"
]
{
>
form
>
input
[
type
=
"text"
]
{
border-radius
:
3px
;
border-radius
:
3px
;
color
:
#33
3
;
color
:
$gray-d
3
;
}
}
>
form
>
input
[
type
=
"button"
]
{
>
form
>
input
[
type
=
"button"
]
{
...
@@ -327,13 +328,13 @@ body.discussion {
...
@@ -327,13 +328,13 @@ body.discussion {
.home-helpgrid
{
.home-helpgrid
{
border-bottom
:
none
;
border-bottom
:
none
;
border-radius
:
3px
;
border-radius
:
3px
;
border
:
1px
solid
#b2b2b
2
;
border
:
1px
solid
$gray-l
2
;
box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
.15
);
box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
.15
);
}
}
}
}
.helpgrid-row
{
.helpgrid-row
{
border-bottom
:
1px
solid
#b2b2b
2
;
border-bottom
:
1px
solid
$gray-l
2
;
.row-title
{
.row-title
{
padding
:
30px
$baseline
;
padding
:
30px
$baseline
;
...
@@ -432,7 +433,7 @@ body.discussion {
...
@@ -432,7 +433,7 @@ body.discussion {
.posted-details
{
.posted-details
{
font-size
:
12px
;
font-size
:
12px
;
color
:
#888
;
color
:
$gray-l1
;
.username
{
.username
{
font-weight
:
700
;
font-weight
:
700
;
...
@@ -446,7 +447,10 @@ body.discussion {
...
@@ -446,7 +447,10 @@ body.discussion {
.post-context
{
.post-context
{
margin-top
:
$baseline
;
margin-top
:
$baseline
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#888
;
color
:
$gray-d1
;
padding
:
(
$baseline
*
0
.75
);
background-color
:
$gray-l6
;
border-radius
:
3px
;
}
}
p
+
p
{
p
+
p
{
...
@@ -471,8 +475,8 @@ body.discussion {
...
@@ -471,8 +475,8 @@ body.discussion {
>
li
{
>
li
{
@include
animation
(
fadeIn
.3s
);
@include
animation
(
fadeIn
.3s
);
position
:
relative
;
position
:
relative
;
margin
:
0
-
10px
30px
;
margin
:
0
-
(
$baseline
/
2
)
(
$baseline
*
1
.5
)
;
border
:
1px
solid
#b2b2b
2
;
border
:
1px
solid
$gray-l
2
;
border-radius
:
3px
;
border-radius
:
3px
;
box-shadow
:
0
0
1px
$shadow
;
box-shadow
:
0
0
1px
$shadow
;
...
@@ -492,7 +496,7 @@ body.discussion {
...
@@ -492,7 +496,7 @@ body.discussion {
left
:
0
;
left
:
0
;
width
:
100%
;
width
:
100%
;
height
:
14px
;
height
:
14px
;
padding
:
1px
5px
;
padding
:
1px
(
$baseline
/
4
)
;
@include
box-sizing
(
border-box
);
@include
box-sizing
(
border-box
);
border-radius
:
2px
2px
0
0
;
border-radius
:
2px
2px
0
0
;
background
:
#009fe2
;
background
:
#009fe2
;
...
@@ -508,7 +512,7 @@ body.discussion {
...
@@ -508,7 +512,7 @@ body.discussion {
left
:
0
;
left
:
0
;
width
:
100%
;
width
:
100%
;
height
:
14px
;
height
:
14px
;
padding
:
1px
5px
;
padding
:
1px
(
$baseline
/
4
)
;
@include
box-sizing
(
border-box
);
@include
box-sizing
(
border-box
);
border-radius
:
2px
2px
0
0
;
border-radius
:
2px
2px
0
0
;
background
:
$forum-color-community-ta
;
background
:
$forum-color-community-ta
;
...
@@ -551,9 +555,9 @@ body.discussion {
...
@@ -551,9 +555,9 @@ body.discussion {
.add-response-btn
{
.add-response-btn
{
@include
white-button
;
@include
white-button
;
@include
linear-gradient
(
top
,
$white
35%
,
#ebebeb
);
@include
linear-gradient
(
top
,
$white
35%
,
$gray-l4
);
position
:
relative
;
position
:
relative
;
border
:
1px
solid
#b2b2b
2
;
border
:
1px
solid
$gray-l
2
;
padding
:
0
18px
;
padding
:
0
18px
;
width
:
100%
;
width
:
100%
;
box-shadow
:
0
1px
1px
$shadow-l1
;
box-shadow
:
0
1px
1px
$shadow-l1
;
...
@@ -604,7 +608,7 @@ body.discussion {
...
@@ -604,7 +608,7 @@ body.discussion {
height
:
31px
;
height
:
31px
;
padding
:
0
(
$baseline
/
2
);
padding
:
0
(
$baseline
/
2
);
@include
box-sizing
(
border-box
);
@include
box-sizing
(
border-box
);
border
:
1px
solid
#b2b2b
2
;
border
:
1px
solid
$gray-l
2
;
border-radius
:
3px
;
border-radius
:
3px
;
box-shadow
:
0
1px
3px
$shadow-l1
inset
;
box-shadow
:
0
1px
3px
$shadow-l1
inset
;
@include
transition
(
border-color
.1s
linear
0s
);
@include
transition
(
border-color
.1s
linear
0s
);
...
@@ -687,7 +691,7 @@ body.discussion {
...
@@ -687,7 +691,7 @@ body.discussion {
button
.add-response-btn
{
button
.add-response-btn
{
@include
white-button
;
@include
white-button
;
@include
linear-gradient
(
top
,
$white
35%
,
#ebebeb
);
@include
linear-gradient
(
top
,
$white
35%
,
$gray-l4
);
position
:
relative
;
position
:
relative
;
padding-left
:
(
$baseline
*
1
.5
);
padding-left
:
(
$baseline
*
1
.5
);
width
:
100%
;
width
:
100%
;
...
@@ -906,7 +910,7 @@ body.discussion {
...
@@ -906,7 +910,7 @@ body.discussion {
display
:
block
;
display
:
block
;
margin-bottom
:
$baseline
;
margin-bottom
:
$baseline
;
font-size
:
21px
;
font-size
:
21px
;
color
:
#33
3
;
color
:
$gray-d
3
;
font-weight
:
700
;
font-weight
:
700
;
}
}
}
}
...
@@ -948,13 +952,13 @@ body.discussion {
...
@@ -948,13 +952,13 @@ body.discussion {
&
.current-page
span
{
&
.current-page
span
{
display
:
inline-block
;
display
:
inline-block
;
height
:
35px
;
height
:
35px
;
padding
:
0
15px
;
padding
:
0
(
$baseline
*
0
.75
)
;
border
:
1px
solid
$gray-l3
;
border
:
1px
solid
$gray-l3
;
border-radius
:
3px
;
border-radius
:
3px
;
font-size
:
13px
;
font-size
:
13px
;
font-weight
:
700
;
font-weight
:
700
;
line-height
:
32px
;
line-height
:
32px
;
color
:
#33
3
;
color
:
$gray-d
3
;
text-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.6
);
text-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.6
);
}
}
}
}
...
@@ -975,14 +979,14 @@ body.discussion {
...
@@ -975,14 +979,14 @@ body.discussion {
.post-cancel
{
.post-cancel
{
@include
white-button
;
@include
white-button
;
float
:
left
;
float
:
left
;
margin
:
$baseline
/
2
0
0
15px
;
margin
:
(
$baseline
/
2
)
0
0
(
$baseline
*
0
.75
)
;
}
}
.post-update
{
.post-update
{
@include
blue-button
;
@include
blue-button
;
float
:
left
;
float
:
left
;
height
:
37px
;
height
:
37px
;
margin-top
:
$baseline
/
2
;
margin-top
:
(
$baseline
/
2
)
;
padding-bottom
:
2px
;
padding-bottom
:
2px
;
&
:hover
,
&
:focus
{
&
:hover
,
&
:focus
{
...
@@ -993,13 +997,13 @@ body.discussion {
...
@@ -993,13 +997,13 @@ body.discussion {
.edit-post-title
{
.edit-post-title
{
width
:
100%
;
width
:
100%
;
height
:
40px
;
height
:
40px
;
padding
:
0
$baseline
/
2
;
padding
:
0
(
$baseline
/
2
)
;
@include
box-sizing
(
border-box
);
@include
box-sizing
(
border-box
);
border-radius
:
3px
;
border-radius
:
3px
;
border
:
1px
solid
#aaa
;
border
:
1px
solid
#aaa
;
font-size
:
16px
;
font-size
:
16px
;
font-family
:
$sans-serif
;
font-family
:
$sans-serif
;
color
:
#33
3
;
color
:
$gray-d
3
;
box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
0
.15
)
inset
;
box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
0
.15
)
inset
;
}
}
}
}
...
@@ -1042,17 +1046,17 @@ body.discussion {
...
@@ -1042,17 +1046,17 @@ body.discussion {
.load-response-button
{
.load-response-button
{
@include
white-button
;
@include
white-button
;
@include
linear-gradient
(
top
,
$white
35%
,
#ebebeb
);
@include
linear-gradient
(
top
,
$white
35%
,
$gray-l4
);
position
:
relative
;
position
:
relative
;
margin
:
(
$baseline
/
2
)
0
;
margin
:
(
$baseline
/
2
)
0
;
border
:
1px
solid
#b2b2b
2
;
border
:
1px
solid
$gray-l
2
;
width
:
100%
;
width
:
100%
;
box-shadow
:
0
1px
1px
$shadow-l1
;
box-shadow
:
0
1px
1px
$shadow-l1
;
text-align
:
left
;
text-align
:
left
;
font-weight
:
normal
;
font-weight
:
normal
;
span
.add-response-btn-text
{
span
.add-response-btn-text
{
padding-left
:
4px
;
padding-left
:
(
$baseline
/
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