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
6503463a
Commit
6503463a
authored
Jan 27, 2016
by
Jonathan Piacenti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make button-action links into proper buttons.
parent
62533285
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
7 deletions
+31
-7
drag_and_drop_v2/public/css/drag_and_drop.css
+26
-2
drag_and_drop_v2/public/js/view.js
+3
-3
drag_and_drop_v2/public/themes/apros.css
+2
-2
No files found.
drag_and_drop_v2/public/css/drag_and_drop.css
View file @
6503463a
...
@@ -355,10 +355,16 @@
...
@@ -355,10 +355,16 @@
margin-left
:
2%
;
margin-left
:
2%
;
}
}
.xblock--drag-and-drop
.keyboard-help-button
,
.xblock--drag-and-drop
.link-button
{
.xblock--drag-and-drop
.reset-button
{
padding
:
0
;
margin
:
0
;
cursor
:
pointer
;
cursor
:
pointer
;
color
:
#2d74b3
;
color
:
#2d74b3
;
font-weight
:
normal
;
font-size
:
12pt
;
background
:
none
;
box-shadow
:
none
;
border
:
none
;
}
}
.xblock--drag-and-drop
.reset-button
{
.xblock--drag-and-drop
.reset-button
{
...
@@ -366,6 +372,24 @@
...
@@ -366,6 +372,24 @@
margin-top
:
3px
;
margin-top
:
3px
;
}
}
.xblock--drag-and-drop
.link-button
:focus
{
background
:
none
;
box-shadow
:
none
;
border
:
none
;
}
.xblock--drag-and-drop
.link-button
:active
{
background
:
none
;
box-shadow
:
none
;
border
:
none
;
}
.xblock--drag-and-drop
.link-button
:hover
{
background
:
none
;
box-shadow
:
none
;
border
:
none
;
}
/* Make sure screen-reader content is hidden in the workbench: */
/* Make sure screen-reader content is hidden in the workbench: */
.xblock--drag-and-drop
.sr
{
.xblock--drag-and-drop
.sr
{
border
:
0
;
border
:
0
;
...
...
drag_and_drop_v2/public/js/view.js
View file @
6503463a
...
@@ -174,8 +174,8 @@
...
@@ -174,8 +174,8 @@
return
(
return
(
h
(
'section.feedback'
,
properties
,
[
h
(
'section.feedback'
,
properties
,
[
h
(
h
(
'
a.reset
-button'
,
'
button.reset-button.link
-button'
,
{
style
:
{
display
:
reset_button_display
},
attributes
:
{
tabindex
:
0
}},
{
style
:
{
display
:
reset_button_display
},
attributes
:
{
tabindex
:
0
}
,
'aria-live'
:
'off'
},
gettext
(
'Reset problem'
)
gettext
(
'Reset problem'
)
),
),
h
(
'h3.title1'
,
{
style
:
{
display
:
feedback_display
}
},
gettext
(
'Feedback'
)),
h
(
'h3.title1'
,
{
style
:
{
display
:
feedback_display
}
},
gettext
(
'Feedback'
)),
...
@@ -189,7 +189,7 @@
...
@@ -189,7 +189,7 @@
var
dialog_style
=
{};
var
dialog_style
=
{};
return
(
return
(
h
(
'section.keyboard-help'
,
[
h
(
'section.keyboard-help'
,
[
h
(
'
a.keyboard-help
-button'
,
{
attributes
:
{
tabindex
:
0
}
},
gettext
(
'Keyboard Help'
)),
h
(
'
button.keyboard-help-button.link
-button'
,
{
attributes
:
{
tabindex
:
0
}
},
gettext
(
'Keyboard Help'
)),
h
(
'div.keyboard-help-dialog'
,
[
h
(
'div.keyboard-help-dialog'
,
[
h
(
'div.modal-window-overlay'
),
h
(
'div.modal-window-overlay'
),
h
(
'div.modal-window'
,
{
attributes
:
dialog_attributes
,
style
:
dialog_style
},
[
h
(
'div.modal-window'
,
{
attributes
:
dialog_attributes
,
style
:
dialog_style
},
[
...
...
drag_and_drop_v2/public/themes/apros.css
View file @
6503463a
...
@@ -82,8 +82,7 @@
...
@@ -82,8 +82,7 @@
font-size
:
18pt
;
font-size
:
18pt
;
}
}
.themed-xblock.xblock--drag-and-drop
.keyboard-help-button
,
.themed-xblock.xblock--drag-and-drop
.link-button
{
.themed-xblock.xblock--drag-and-drop
.reset-button
{
cursor
:
pointer
;
cursor
:
pointer
;
color
:
#3384ca
;
color
:
#3384ca
;
}
}
\ No newline at end of file
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