added counter to quiz review

This commit is contained in:
Mark Moser 2016-11-22 17:25:37 -06:00
parent 97d2392832
commit fc2babfedd
3 changed files with 34 additions and 15 deletions

View 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; }
}
}

View File

@ -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; }
}
}

View File

@ -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">