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
ea9cc32b
Commit
ea9cc32b
authored
Aug 30, 2012
by
Kyle Fiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added better animation in
parent
22980c3d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
+10
-1
common/lib/xmodule/xmodule/css/capa/display.scss
+9
-0
common/lib/xmodule/xmodule/js/src/capa/display.coffee
+1
-1
No files found.
common/lib/xmodule/xmodule/css/capa/display.scss
View file @
ea9cc32b
...
...
@@ -391,6 +391,15 @@ section.problem {
}
}
div
.capa_alert
{
padding
:
8px
12px
;
border
:
1px
solid
#EBE8BF
;
border-radius
:
3px
;
background
:
#FFFCDD
;
font-size
:
0
.9em
;
margin-top
:
10px
;
}
.hints
{
border
:
1px
solid
#ccc
;
...
...
common/lib/xmodule/xmodule/js/src/capa/display.coffee
View file @
ea9cc32b
...
...
@@ -263,7 +263,7 @@ class @Problem
@
el
.
find
(
'.capa_alert'
).
remove
()
alert_elem
=
"<div class='capa_alert'>"
+
msg
+
"</div>"
@
el
.
find
(
'.action'
).
after
(
alert_elem
)
@
el
.
find
(
'.capa_alert'
).
animate
(
opacity
:
0
,
500
).
animate
(
opacity
:
1
,
5
00
)
@
el
.
find
(
'.capa_alert'
).
css
(
opacity
:
0
).
animate
(
opacity
:
1
,
7
00
)
save
:
=>
Logger
.
log
'problem_save'
,
@
answers
...
...
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