Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
decker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
decker
decker
Commits
f36b4650
Commit
f36b4650
authored
Nov 17, 2020
by
Samantha Monty
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qic tooltip, handout-deck.md updates
parent
702b7e38
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
65 additions
and
33 deletions
+65
-33
resource/support/css/_quizzes.scss
resource/support/css/_quizzes.scss
+12
-5
resource/support/css/decker.css
resource/support/css/decker.css
+10
-2
resource/support/css/mario.css
resource/support/css/mario.css
+6
-2
resource/support/plugins/quiz-wue/quiz-wue.js
resource/support/plugins/quiz-wue/quiz-wue.js
+4
-2
test/decks/handout-deck.md
test/decks/handout-deck.md
+33
-22
No files found.
resource/support/css/_quizzes.scss
View file @
f36b4650
...
...
@@ -665,13 +665,20 @@ _:-ms-lang(x),
max-height
:
initial
;
&
.plain
{
width
:
100%
;
.matchItems
{
align-items
:
stretch
!
important
;
}
.matchQuestion
{
font-size
:
var
(
--
font-size-small
)
!
important
;
.
optList
,
.
optList
p
,
.
optList
p
:
:
before
,
.
optList
p
::
after
{
color
:
#fff
!
important
;
.optList
{
color
:
#fff
!
important
;
background-color
:
#fff
;
max-height
:
1em
;
p
,
p
:
:
before
,
p
::
after
{
color
:
#fff
!
important
;
}
}
}
.matchItems
{
...
...
resource/support/css/decker.css
View file @
f36b4650
...
...
@@ -1312,15 +1312,23 @@ _.plain:-ms-lang(x) .options,
.reveal
.slides
section
.plain
[
class
*=
"quiz-"
]
{
width
:
100%
;
}
.reveal
.slides
section
.qmi.plain
.matchItems
,
.reveal
.slides
section
.plain
[
class
*=
"quiz-"
]
.matchItems
{
align-items
:
stretch
!important
;
}
.reveal
.slides
section
.qmi.plain
.matchQuestion
,
.reveal
.slides
section
.plain
[
class
*=
"quiz-"
]
.matchQuestion
{
font-size
:
var
(
--font-size-small
)
!important
;
}
.reveal
.slides
section
.qmi.plain
.matchQuestion
.optList
,
.reveal
.slides
section
.qmi.plain
.matchQuestion
.optList
p
,
.reveal
.slides
section
.plain
[
class
*=
"quiz-"
]
.matchQuestion
.optList
{
color
:
#fff
!important
;
background-color
:
#fff
;
max-height
:
1em
;
}
.reveal
.slides
section
.qmi.plain
.matchQuestion
.optList
p
,
.reveal
.slides
section
.qmi.plain
.matchQuestion
.optList
p
::before
,
.reveal
.slides
section
.qmi.plain
.matchQuestion
.optList
p
::after
,
.reveal
.slides
section
.plain
[
class
*=
"quiz-"
]
.matchQuestion
.optList
,
.reveal
.slides
section
.plain
[
class
*=
"quiz-"
]
.matchQuestion
.optList
p
,
.reveal
.slides
section
.plain
[
class
*=
"quiz-"
]
.matchQuestion
.optList
p
::before
,
.reveal
.slides
section
.plain
[
class
*=
"quiz-"
]
.matchQuestion
.optList
p
::after
{
...
...
resource/support/css/mario.css
View file @
f36b4650
...
...
@@ -1260,7 +1260,6 @@ div.q-panel {
.reveal
.qic
.tooltip-div
,
.reveal
[
class
*=
"quiz-i"
]
.tooltip-div
{
font-size
:
0.6em
;
background-color
:
#f4f4f7
;
margin
:
0.5em
auto
0
auto
;
padding
:
0.5em
;
visibility
:
hidden
;
...
...
@@ -1268,7 +1267,12 @@ div.q-panel {
.reveal
.qic
.tooltip-div.solved
,
.reveal
[
class
*=
"quiz-i"
]
.tooltip-div.solved
{
visibility
:
visible
;
visibility
:
visible
;
}
.reveal
.qic
.tooltip-div.solved
.tooltip
,
.reveal
[
class
*=
"quiz-i"
]
.tooltip-div.solved
.tooltip
{
background-color
:
#f4f4f7
;
}
.reveal
.quiz-mi
,
...
...
resource/support/plugins/quiz-wue/quiz-wue.js
View file @
f36b4650
...
...
@@ -144,8 +144,10 @@ function quizIC() {
if
(
sel
.
classList
.
contains
(
'
solved
'
))
{
const
answers
=
solutionList
.
getElementsByTagName
(
'
li
'
);
const
tip
=
answers
.
item
(
sel
.
selectedIndex
-
1
).
querySelector
(
'
.tooltip
'
);
const
cln
=
tip
.
cloneNode
(
true
);
tipDiv
.
appendChild
(
cln
);
if
(
tip
.
innerHTML
!==
""
)
{
const
cln
=
tip
.
cloneNode
(
true
);
tipDiv
.
appendChild
(
cln
);
}
tipDiv
.
classList
.
add
(
'
solved
'
);
}});
sel
.
addEventListener
(
"
mouseleave
"
,
()
=>
{
...
...
test/decks/handout-deck.md
View file @
f36b4650
...
...
@@ -7,6 +7,8 @@ showNotes: True
subtitle
:
Generate handouts from slide source
title
:
Handout Test
title-prefix
:
Decker
quiz
:
style
:
plain
---
# Notes
...
...
@@ -149,49 +151,58 @@ title-prefix: Decker
# Matching Questions
{match} A
## {.qmi}
A
: drag to A
{match}
Haskell
Haskell
: !
[](
include/06-metal.png
)
{match}
B
B
: drag to B
{match}
decker
decker
:
[
decker
](
http://go.uniwue.de/decker
)
{match}
C
C
: $
\L
eftarrow$ C
# Freetext Questions {layout="columns"}
## {.left}
*
{?} $2
*
2=~?$
*
{!} 4
## {.left .qft}
$2
*
2=~?$
-
4
-
Die perfekte Lösung
## {.qft}
The Answer to the Ultimate Question of Life, the Universe, and Everything is ...?
-
42
##
{.question
}
##
{.right .qft
}
*
{?} The Answer to the Ultimate Question of Life, the Universe, and Everything is ...?
*
{!} 42
Is this a question?
## {.right}
-
yes
*
{?} Is this a question?
*
{!} yes
## {.qft}
##
Name the capital of Germany
*
{?} Name the capital of Germany
*
{!} Berlin
-
Berlin
# Multiple Choice Questions
## Question: Which file format does decker use? {.q
uestion
}
## Question: Which file format does decker use? {.q
mc
}
*
{ }
.docx
*
{ }
.csv
*
{ }
.xml
*
{X}
.md
-
[ ]
.docx
-
[ ]
.csv
-
[ ]
.xml
-
[X]
.md
Henrik Tramberend
@henrik.tramberend
mentioned in commit
cbc41171
·
Nov 23, 2020
mentioned in commit
cbc41171
mentioned in commit cbc41171fa2c95fc229d18f9b1b51c3b5d72e7c1
Toggle commit list
Henrik Tramberend
@henrik.tramberend
mentioned in commit
0a889493
·
Dec 05, 2020
mentioned in commit
0a889493
mentioned in commit 0a88949372993dda6f759b3aafc6a0b7005fc0e6
Toggle commit list
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