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
adaa3cab
Commit
adaa3cab
authored
Oct 31, 2020
by
Samantha Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update css plain quizzes
parent
93c28ac1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
25 deletions
+36
-25
resource/support/css/_quizzes.scss
resource/support/css/_quizzes.scss
+25
-21
resource/support/css/decker.css
resource/support/css/decker.css
+11
-4
No files found.
resource/support/css/_quizzes.scss
View file @
adaa3cab
...
...
@@ -74,7 +74,7 @@ $border-radius: 6px;
&
.plain
{
button
{
border
:
none
;
margin
:
10px
1em
auto
auto
;
margin
:
0
;
padding
:
5px
10px
;
background-color
:
$button
;
color
:
#000
;
...
...
@@ -187,6 +187,10 @@ $border-radius: 6px;
display
:
inline-block
;
text-align
:
inherit
;
}
&
.inline
li
{
padding
:
0
.1em
0
.7em
0
.1em
0
;
display
:
inline
;
}
}
}
...
...
@@ -329,7 +333,7 @@ $border-radius: 6px;
position
:
relative
;
width
:
100%
;
min-height
:
100px
;
padding
:
15px
;
padding
:
15px
15px
0
15px
;
border
:
2px
var
(
--
border-decoration-style
)
$button
;
border-radius
:
$border-radius
;
box-sizing
:
border-box
;
...
...
@@ -397,9 +401,9 @@ $border-radius: 6px;
flex-flow
:
column
nowrap
;
counter-reset
:
item
;
border
:
none
;
margin
-top
:
2vh
;
margin
:
2vh
0
0
0
;
max-width
:
max-content
;
padding
:
15px
0
;
padding
-top
:
15px
;
&
::before
,
&
::after
{
content
:
unset
;
...
...
@@ -428,14 +432,14 @@ $border-radius: 6px;
background-color
:
#f1f1f1
;
text-align
:
center
;
p
{
&
::before
,
&
::after
{
content
:
"✓ "
;
font-weight
:
bolder
;
}
&
::after
{
color
:
#f1f1f1
;
}
&
::before
,
&
::after
{
content
:
"✓ "
;
font-weight
:
bolder
;
}
&
::after
{
color
:
#f1f1f1
;
}
}
}
.optList
{
...
...
@@ -443,24 +447,24 @@ $border-radius: 6px;
&
.correct
p
::before
,
&
.incorrect
p
.correct
::before
,
&
.incorrect
p
.incorrect
::before
{
color
:
initial
;
color
:
initial
;
}
&
.correct
{
background-color
:
$right
;
p
{
&
:first-child::before
,
&
::after
{
color
:
$right
;
}
&
:first-child::before
,
&
::after
{
color
:
$right
;
}
}
}
&
.incorrect
{
background-color
:
$wrong
;
p
{
&
.blank.correct
::before
,
&
::after
{
color
:
$wrong
;
}
&
.blank.correct
::before
,
&
::after
{
color
:
$wrong
;
}
}
}
p
{
...
...
resource/support/css/decker.css
View file @
adaa3cab
...
...
@@ -476,7 +476,7 @@
.reveal
.qmi.plain
button
,
.reveal
[
class
*=
"quiz-"
]
.plain
button
{
border
:
none
;
margin
:
10px
1em
auto
auto
;
margin
:
0
;
padding
:
5px
10px
;
background-color
:
#ddd
;
color
:
#000
;
...
...
@@ -638,6 +638,13 @@
text-align
:
inherit
;
}
.reveal
.qmc.plain.inline
li
,
.reveal
.quiz-mc.plain.inline
li
,
.reveal
.quiz-multiple-choice.plain.inline
li
{
padding
:
0.1em
0.7em
0.1em
0
;
display
:
inline
;
}
.reveal
.qft
,
.reveal
[
class
*=
"quiz-f"
]
{
overflow-y
:
auto
;
...
...
@@ -820,7 +827,7 @@
position
:
relative
;
width
:
100%
;
min-height
:
100px
;
padding
:
15px
;
padding
:
15px
15px
0
15px
;
border
:
2px
var
(
--border-decoration-style
)
#ddd
;
border-radius
:
6px
;
box-sizing
:
border-box
;
...
...
@@ -925,9 +932,9 @@
flex-flow
:
column
nowrap
;
counter-reset
:
item
;
border
:
none
;
margin
-top
:
2vh
;
margin
:
2vh
0
0
0
;
max-width
:
max-content
;
padding
:
15px
0
;
padding
-top
:
15px
;
}
.reveal
.qmi.plain
.matchItems
::before
,
.reveal
.qmi.plain
.matchItems
::after
,
...
...
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