Skip to content

Commit cbdd181

Browse files
committed
more style fixes
1 parent c825251 commit cbdd181

File tree

2 files changed

+29
-26
lines changed

2 files changed

+29
-26
lines changed

styles.css

+28-25
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ body.jsenabled .questionflagcheckbox {
191191
}
192192
#offlinequiz-timer.timeleft9 {
193193
background: #f99;
194-
}
194+
}
195195
#offlinequiz-timer.timeleft8 {
196196
background: #f88;
197197
}
@@ -360,14 +360,15 @@ table.offlinequizattemptsummary .noreviewmessage {
360360
#page-mod-offlinequiz-summary .submitbtns {
361361
margin-top: 1.5em;
362362
}
363+
363364
@media print {
364365
.offlinequiz-secure-window * {
365366
display: none !important;
366367
}
367368
}
368369

369370
/** Mod offlinequiz review **/
370-
table.offlinequizreviewsummary {
371+
table.offlinequizreviewsummary {
371372
width: 100%;
372373
}
373374
table.offlinequizreviewsummary th.cell {
@@ -421,17 +422,17 @@ table.offlinequizreviewsummary td.cell {
421422
margin-left: auto;
422423
margin-right: auto;
423424
}
424-
#page-mod-offlinequiz-report .menunoresults {
425+
#page-mod-offlinequiz-report .menunoresults {
425426
margin-top: 1em;
426427
}
427428
#page-mod-offlinequiz-report .dubious {
428429
background-color: #fcc;
429430
}
430-
#page-mod-offlinequiz-report .highlight{
431+
#page-mod-offlinequiz-report .highlight {
431432
border: medium solid yellow;
432433
background-color: lightYellow;
433434
}
434-
#page-mod-offlinequiz-report .negcovar{
435+
#page-mod-offlinequiz-report .negcovar {
435436
border: medium solid pink;
436437
width: 70%;
437438
float: right;
@@ -440,7 +441,7 @@ table.offlinequizreviewsummary td.cell {
440441
text-align: center;
441442
}
442443
#page-mod-offlinequiz-report .gradetheselink {
443-
font-size: 0.8em;
444+
font-size: 0.8em;
444445
}
445446
#page-mod-offlinequiz-report .mform fieldset {
446447
margin: 0;
@@ -462,7 +463,7 @@ table.offlinequizreviewsummary td.cell {
462463
margin: 0.2em auto;
463464
}
464465
#page-mod-offlinequiz-report table#attempts .header,
465-
#page-mod-offlinequiz-report table#attempts .cell{
466+
#page-mod-offlinequiz-report table#attempts .cell {
466467
padding: 4px;
467468
}
468469
#page-mod-offlinequiz-report table#attempts .header .commands {
@@ -472,7 +473,7 @@ table.offlinequizreviewsummary td.cell {
472473
width: 40px;
473474
}
474475
#page-mod-offlinequiz-report table#attempts td {
475-
order-left-width: 1px;
476+
border-left-width: 1px;
476477
border-right-width: 1px;
477478
border-left-style: solid;
478479
border-right-style: solid;
@@ -536,7 +537,7 @@ table.offlinequizreviewsummary td.cell {
536537
#page-mod-offlinequiz-report div.backlinkbox {
537538
padding-top: 10px;
538539
}
539-
#page-mod-offlinequiz-report table.errorpages td.checkbox input {
540+
#page-mod-offlinequiz-report table.errorpages td.checkbox input {
540541
margin-left: 0;
541542
float: none;
542543
}
@@ -585,8 +586,8 @@ table.offlinequizreviewsummary td.cell {
585586
}
586587

587588
#page-mod-offlinequiz-createquiz div.docsbox {
588-
border-bottom: 1px solid #e3e3e3;
589-
clear: both;
589+
border-bottom: 1px solid #e3e3e3;
590+
clear: both;
590591
}
591592

592593
#page-mod-offlinequiz-createquiz div.downloadalllink {
@@ -719,9 +720,8 @@ table.offlinequizreviewsummary td.cell {
719720
}
720721

721722

722-
723723
/* CSS for student view in mod_form.php */
724-
.Popup{
724+
.Popup {
725725
display: none;
726726
background: #fff;
727727
left: 50%;
@@ -734,14 +734,15 @@ table.offlinequizreviewsummary td.cell {
734734
box-shadow: 0 0 10px #222;
735735
padding: 10px;
736736
}
737-
#overlay{
737+
#overlay {
738738
display: none;
739-
background: -moz-radial-gradient(center, ellipse cover, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.5) 100%);
740-
background: -webkit-gradient(radial, center center, 0, center center, 100%, color-stop(0%,rgba(0,0,0,0.65)), color-stop(100%,rgba(0,0,0,0.5)));
741-
background: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.5) 100%);
742-
background: -o-radial-gradient(center, ellipse cover, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.5) 100%);
743-
background: -ms-radial-gradient(center, ellipse cover, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.5) 100%);
744-
background: radial-gradient(ellipse at center, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.5) 100%);
739+
background: -moz-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.5) 100%);
740+
background: -webkit-gradient(radial, center center, 0, center center, 100%, color-stop(0%, rgba(0, 0, 0, 0.65)),
741+
color-stop(100%, rgba(0, 0, 0, 0.5)));
742+
background: -webkit-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0.65) 0%,rgba(0, 0, 0, 0.5) 100%);
743+
background: -o-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0.65) 0%,rgba(0, 0, 0, 0.5) 100%);
744+
background: -ms-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0.65) 0%,rgba(0, 0, 0, 0.5) 100%);
745+
background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.65) 0%,rgba(0, 0, 0, 0.5) 100%);
745746
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#80000000',GradientType=1 );
746747
width: 100%;
747748
height: 100%;
@@ -751,7 +752,7 @@ table.offlinequizreviewsummary td.cell {
751752
left: 0;
752753
}
753754
input#showviewbutton {
754-
display: none;
755+
display: none;
755756
}
756757

757758
.jsenabled input#showviewbutton {
@@ -774,7 +775,7 @@ input#showviewbutton {
774775
background-color: #ffc;
775776
clear: both;
776777
margin: 0.3em 1em 0.3em 0;
777-
padding: 1px ;
778+
padding: 1px;
778779
/* Stop margin collapse. */
779780
}
780781
#page-mod-offlinequiz-edit .emptystatusdisplay {
@@ -817,7 +818,7 @@ input#showviewbutton {
817818
}
818819

819820
#page-mod-offlinequiz-edit .slotnumber {
820-
background-color: #D3D3D3;
821+
background-color: #d3d3d3;
821822
text-align: center;
822823
margin: 0.1em 1em;
823824
min-width: 2em;
@@ -828,8 +829,8 @@ input#showviewbutton {
828829
border: 0;
829830
}
830831
#page-mod-offlinequiz-edit ul.slots li.section .content {
831-
background-color:#fafafa;
832-
padding:5px 10px;
832+
background-color: #fafafa;
833+
padding: 5px 10px;
833834
}
834835
#page-mod-offlinequiz-edit ul.slots li.section .content h3 {
835836
margin: 0;
@@ -1260,6 +1261,8 @@ input#showviewbutton {
12601261
margin-bottom: 1.5em;
12611262
}
12621263
}
1264+
1265+
12631266
@media only screen and (min-width: 50em) and (max-width: 60em) {
12641267
#page-mod-offlinequiz-edit div.removeselected {
12651268
margin-top: -0.5em;

tests/behat/createforms_latex.feature

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Feature: Within a moodle instance, a teacher should be able to create the questi
1414
And the following "course enrolments" exist:
1515
| user | course | role |
1616
| teacher1 | C1 | editingteacher |
17-
And the following "question categories" exist:
17+
And the following "question categories" exist:
1818
| contextlevel | reference | name |
1919
| Course | C1 | Test questions |
2020
And the following "questions" exist:

0 commit comments

Comments
 (0)