added counter to quiz review
This commit is contained in:
parent
97d2392832
commit
fc2babfedd
31
app/assets/stylesheets/molecules/_admin_review.scss
Normal file
31
app/assets/stylesheets/molecules/_admin_review.scss
Normal file
@ -0,0 +1,31 @@
|
||||
.admin-review {
|
||||
counter-reset: question;
|
||||
|
||||
form {
|
||||
margin-left: 2.3em;
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: counter(question) ") ";
|
||||
counter-increment: question;
|
||||
font-size: 1.25em;
|
||||
left: -1.8em;
|
||||
position: absolute;
|
||||
top: 0.4em;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.review_meta {
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
display: flex;
|
||||
& > div { flex: 1 1 auto; }
|
||||
}
|
||||
|
||||
.review_meta__votes,
|
||||
.review_meta__vetos {
|
||||
a { padding: 5px; }
|
||||
}
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
.review_meta {
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
display: flex;
|
||||
& > div { flex: 1 1 auto; }
|
||||
}
|
||||
|
||||
.review_meta__votes,
|
||||
.review_meta__vetos {
|
||||
a { padding: 5px; }
|
||||
}
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
content_for :title, "Quiz Review - Skills Assessment Admin"
|
||||
%>
|
||||
|
||||
<main class="summary_tpl">
|
||||
<main class="summary_tpl admin-review">
|
||||
<h2 class="prft-heading">Quiz Review</h2>
|
||||
|
||||
<div class="review_meta">
|
||||
|
Loading…
Reference in New Issue
Block a user