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
8529ef35
Commit
8529ef35
authored
Sep 06, 2012
by
Tom Giannattasio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added title focus on new post; tweaked tag input styles
parent
2b5718a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
lms/static/js/discussions-temp.js
+1
-0
lms/static/sass/_discussion.scss
+16
-0
No files found.
lms/static/js/discussions-temp.js
View file @
8529ef35
...
@@ -268,6 +268,7 @@ function setTopic(e) {
...
@@ -268,6 +268,7 @@ function setTopic(e) {
function
newPost
(
e
)
{
function
newPost
(
e
)
{
$newPost
.
slideDown
(
300
);
$newPost
.
slideDown
(
300
);
$
(
'.new-post-title'
).
focus
();
}
}
function
closeNewPost
(
e
)
{
function
closeNewPost
(
e
)
{
...
...
lms/static/sass/_discussion.scss
View file @
8529ef35
...
@@ -393,6 +393,22 @@ body.discussion {
...
@@ -393,6 +393,22 @@ body.discussion {
box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
0
.3
)
inset
;
box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
0
.3
)
inset
;
}
}
.tagsinput
{
padding
:
10px
;
box-sizing
:
border-box
;
border
:
1px
solid
#333
;
border-radius
:
3px
;
background
:
#fff
;
font-family
:
'Monaco'
,
monospace
;
font-size
:
13px
;
line-height
:
1
.6
;
box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
0
.3
)
inset
;
span
.tag
{
margin-bottom
:
0
;
}
}
.new-post-body
.wmd-preview
{
.new-post-body
.wmd-preview
{
@include
discussion-wmd-preview
;
@include
discussion-wmd-preview
;
position
:
relative
;
position
:
relative
;
...
...
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