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
40c80ec9
Commit
40c80ec9
authored
Feb 06, 2017
by
Jillian Vogel
Committed by
GitHub
Feb 06, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #116 from open-craft/jill/fix-ie11-outline
Makes draggable items more visible in IE 11
parents
9dd45907
2cfd8c60
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
.travis.yml
+1
-1
drag_and_drop_v2/public/css/drag_and_drop.css
+5
-3
setup.py
+1
-1
No files found.
.travis.yml
View file @
40c80ec9
...
@@ -12,7 +12,7 @@ install:
...
@@ -12,7 +12,7 @@ install:
-
"
pip
install
selenium==2.53.0"
-
"
pip
install
selenium==2.53.0"
-
"
pip
uninstall
-y
xblock-drag-and-drop-v2"
-
"
pip
uninstall
-y
xblock-drag-and-drop-v2"
-
"
python
setup.py
sdist"
-
"
python
setup.py
sdist"
-
"
pip
install
dist/xblock-drag-and-drop-v2-2.0.1
4
.tar.gz"
-
"
pip
install
dist/xblock-drag-and-drop-v2-2.0.1
5
.tar.gz"
script
:
script
:
-
pep8 drag_and_drop_v2 tests --max-line-length=120
-
pep8 drag_and_drop_v2 tests --max-line-length=120
-
pylint drag_and_drop_v2
-
pylint drag_and_drop_v2
...
...
drag_and_drop_v2/public/css/drag_and_drop.css
View file @
40c80ec9
...
@@ -183,8 +183,10 @@
...
@@ -183,8 +183,10 @@
.xblock--drag-and-drop
.drag-container
.option
[
draggable
=
'true'
]
:hover
,
.xblock--drag-and-drop
.drag-container
.option
[
draggable
=
'true'
]
:hover
,
.xblock--drag-and-drop
.drag-container
.option
[
draggable
=
'true'
][
aria-grabbed
=
'true'
]
{
.xblock--drag-and-drop
.drag-container
.option
[
draggable
=
'true'
][
aria-grabbed
=
'true'
]
{
outline-width
:
2px
;
outline-width
:
2px
;
outline-style
:
soli
d
;
outline-style
:
dotte
d
;
outline-offset
:
-4px
;
outline-offset
:
-4px
;
/* IE 11 doesn't support outline-offset, so we use a box-shadow instead. */
box-shadow
:
inset
0
0
0
2px
;
}
}
.xblock--drag-and-drop
.drag-container
.option.grabbed-with-mouse
{
.xblock--drag-and-drop
.drag-container
.option.grabbed-with-mouse
{
...
@@ -266,7 +268,7 @@
...
@@ -266,7 +268,7 @@
/* Focused zone */
/* Focused zone */
.xblock--drag-and-drop
.item-bank
:focus
,
.xblock--drag-and-drop
.item-bank
:focus
,
.xblock--drag-and-drop
.zone
:focus
{
.xblock--drag-and-drop
.zone
:focus
{
outline
:
2px
soli
d
#a5a5a5
;
outline
:
2px
dotte
d
#a5a5a5
;
}
}
.xblock--drag-and-drop
.drag-container
.target
.zone
p
{
.xblock--drag-and-drop
.drag-container
.target
.zone
p
{
...
@@ -423,7 +425,7 @@
...
@@ -423,7 +425,7 @@
}
}
.xblock--drag-and-drop
.popup
.close-feedback-popup-button
:focus
{
.xblock--drag-and-drop
.popup
.close-feedback-popup-button
:focus
{
outline
:
2px
soli
d
white
;
outline
:
2px
dotte
d
white
;
}
}
/*** edX pattern library components ***/
/*** edX pattern library components ***/
...
...
setup.py
View file @
40c80ec9
...
@@ -23,7 +23,7 @@ def package_data(pkg, root_list):
...
@@ -23,7 +23,7 @@ def package_data(pkg, root_list):
setup
(
setup
(
name
=
'xblock-drag-and-drop-v2'
,
name
=
'xblock-drag-and-drop-v2'
,
version
=
'2.0.1
4
'
,
version
=
'2.0.1
5
'
,
description
=
'XBlock - Drag-and-Drop v2'
,
description
=
'XBlock - Drag-and-Drop v2'
,
packages
=
[
'drag_and_drop_v2'
],
packages
=
[
'drag_and_drop_v2'
],
install_requires
=
[
install_requires
=
[
...
...
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