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
d20f5e6a
Commit
d20f5e6a
authored
Jan 25, 2016
by
Tim Krones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Center-align content of draggable items.
parent
d1746f42
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
drag_and_drop_v2/public/css/drag_and_drop.css
+1
-5
drag_and_drop_v2/public/themes/apros.css
+1
-0
No files found.
drag_and_drop_v2/public/css/drag_and_drop.css
View file @
d20f5e6a
...
@@ -70,6 +70,7 @@
...
@@ -70,6 +70,7 @@
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin
:
5px
;
margin
:
5px
;
padding
:
10px
;
padding
:
10px
;
text-align
:
center
;
background-color
:
#1d5280
;
background-color
:
#1d5280
;
font-size
:
14px
;
font-size
:
14px
;
color
:
#fff
;
color
:
#fff
;
...
@@ -84,11 +85,6 @@
...
@@ -84,11 +85,6 @@
width
:
100%
;
/* If the image is smaller than the specified width, make it larger */
width
:
100%
;
/* If the image is smaller than the specified width, make it larger */
}
}
.xblock--drag-and-drop
.drag-container
.option
.spinner-wrapper
{
margin-right
:
3px
;
float
:
left
;
}
.xblock--drag-and-drop
.drag-container
.option.option-with-image
.spinner-wrapper
{
.xblock--drag-and-drop
.drag-container
.option.option-with-image
.spinner-wrapper
{
position
:
absolute
;
position
:
absolute
;
float
:
none
;
float
:
none
;
...
...
drag_and_drop_v2/public/themes/apros.css
View file @
d20f5e6a
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
.themed-xblock.xblock--drag-and-drop
.drag-container
.option
{
.themed-xblock.xblock--drag-and-drop
.drag-container
.option
{
border-radius
:
0px
;
border-radius
:
0px
;
text-align
:
initial
;
font-size
:
14px
;
font-size
:
14px
;
background-color
:
#2e83cd
;
background-color
:
#2e83cd
;
color
:
#fff
;
color
:
#fff
;
...
...
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