Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xblock-drag-and-drop-v2
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
OpenEdx
xblock-drag-and-drop-v2
Commits
dc0a76ba
Commit
dc0a76ba
authored
Jan 08, 2016
by
Tim Krones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix positioning issue for keyboard help.
parent
cc6695c6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
8 deletions
+15
-8
drag_and_drop_v2/public/css/drag_and_drop.css
+14
-7
tests/integration/test_interaction.py
+1
-1
No files found.
drag_and_drop_v2/public/css/drag_and_drop.css
View file @
dc0a76ba
...
...
@@ -182,7 +182,6 @@
opacity
:
0.5
;
}
/*** Drop Target ***/
.xblock--drag-and-drop
.target
{
display
:
table
;
...
...
@@ -232,7 +231,6 @@
/* W3C */
box-pack
:
center
;
box-align
:
center
;
}
/* Focused zone */
...
...
@@ -306,6 +304,15 @@
margin-bottom
:
6px
;
}
.xblock--drag-and-drop
.keyboard-help-dialog
{
position
:
fixed
;
left
:
50%
;
top
:
50%
;
width
:
1px
;
height
:
1px
;
z-index
:
1500
;
}
.xblock--drag-and-drop
.modal-window-overlay
{
display
:
none
;
position
:
fixed
;
...
...
@@ -321,10 +328,12 @@
.xblock--drag-and-drop
.modal-window
{
display
:
none
;
position
:
absolute
;
top
:
45%
;
width
:
50%
;
width
:
600px
;
max-width
:
90vw
;
height
:
auto
;
transform
:
translate
(
-50%
,
-50%
);
box-sizing
:
border-box
;
box-shadow
:
0
0
7px
rgba
(
0
,
0
,
0
,
0.4
);
box-shadow
:
0
0
7px
rgba
(
0
,
0
,
0
,
0.4
);
border-radius
:
4px
;
padding
:
7px
;
background-color
:
#e5e5e5
;
...
...
@@ -333,7 +342,6 @@
z-index
:
1500
;
}
.xblock--drag-and-drop
.modal-content
{
border-radius
:
5px
;
background
:
white
;
...
...
@@ -345,7 +353,6 @@
margin-left
:
2%
;
}
.xblock--drag-and-drop
.keyboard-help-button
,
.xblock--drag-and-drop
.reset-button
{
cursor
:
pointer
;
...
...
tests/integration/test_interaction.py
View file @
dc0a76ba
...
...
@@ -242,7 +242,7 @@ class InteractionTestBase(object):
self
.
scroll_down
(
pixels
=
scroll_down
+
150
)
reset
=
self
.
_get_reset_button
()
if
action_key
is
not
None
:
# Using keyboard to interact with block
:
if
action_key
is
not
None
:
# Using keyboard to interact with block
reset
.
send_keys
(
Keys
.
RETURN
)
else
:
reset
.
click
()
...
...
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