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
8c366e2d
Commit
8c366e2d
authored
Aug 07, 2012
by
Tom Giannattasio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweaking the text editor
parent
d5302a0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
15 deletions
+43
-15
lms/static/sass/_discussion.scss
+41
-11
lms/templates/discussion/_inline.html
+2
-4
No files found.
lms/static/sass/_discussion.scss
View file @
8c366e2d
...
...
@@ -424,7 +424,7 @@ $tag_text_color: #5b614f;
.discussion-reply-new
{
@include
discussion-font
;
margin-left
:
5%
;
margin-left
:
68px
;
.reply-body
{
@include
discussion-font
;
...
...
@@ -500,6 +500,14 @@ $tag_text_color: #5b614f;
}
}
}
&
.inline-discussion
{
.discussion-new-post-inline
{
textarea
{
}
}
}
}
//EDITOR STYLES
...
...
@@ -516,22 +524,44 @@ $tag_text_color: #5b614f;
background-color
:
Silver
;
}
.wmd-input
{
.wmd-input
{
height
:
150px
;
width
:
100%
;
background-color
:
Gainsboro
;
border
:
1px
solid
DarkGray
;
font
:
inherit
;
background-color
:
#e9e9e9
;
border
:
1px
solid
#c8c8c8
;
font-family
:
Monaco
,
'Lucida Console'
,
monospace
;
font-style
:
normal
;
font-size
:
12px
;
@include
border-radius
(
3px
3px
0
0
);
@include
box-shadow
(
none
);
}
.wmd-preview
{
background-color
:
#c0e0ff
;
.wmd-preview
{
position
:
relative
;
font-family
:
$sans-serif
;
padding
:
25px
20px
10px
20px
;
box-sizing
:
border-box
;
border
:
1px
solid
#c8c8c8
;
border-top-width
:
0
;
@include
border-radius
(
0
0
3px
3px
);
&
:before
{
content
:
'PREVIEW'
;
position
:
absolute
;
top
:
3px
;
left
:
5px
;
font-size
:
11px
;
color
:
#bbb
;
}
p
{
font-family
:
$sans-serif
;
}
background-color
:
#fafafa
;
}
.wmd-button-row
{
.wmd-button-row
{
position
:
relative
;
margin-left
:
5px
;
margin-right
:
5px
;
...
...
lms/templates/discussion/_inline.html
View file @
8c366e2d
...
...
@@ -2,11 +2,9 @@
<section
class=
"discussion inline-discussion"
_id=
"${discussion_id}"
>
<div
class=
"discussion-non-content"
>
<div
class=
"
search-wrapper-inline search-wrapper
"
>
<
%
include
file=
"_search_bar.html"
/>
<div
class=
"
discussion-new-post-inline
"
>
</div>
<div
class=
"discussion-new-post control-button"
href=
"javascript:void(0)"
>
New Post
</div>
<
%
include
file=
"_sort.html"
/>
</div>
<div
class=
"threads"
>
% for thread in threads:
...
...
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