Merge branch 'MDL-40849-master' of git://github.com/FMCorz/moodle
[moodle.git] / grade / grading / form / guide / styles.css
CommitLineData
77143217
DM
1.gradingform_guide-regrade {padding:10px;background:#FFDDDD;border:1px solid #F00;margin-bottom:10px;}
2.gradingform_guide-restored {padding:10px;background:#FFFFDD;border:1px solid #FF0;margin-bottom:10px;}
3.gradingform_guide-error {color:red;font-weight:bold;}
4
5.gradingform_guide_editform .status {font-weight:normal;text-transform:uppercase;font-size:60%;padding:0.25em;border:1px solid #EEE;}
6.gradingform_guide_editform .status.ready {background-color:#e7f1c3;border-color:#AAEEAA;}
7.gradingform_guide_editform .status.draft {background-color:#f3f2aa;border-color:#EEEE22;}
8
9.gradingform_guide.editor .criterion .controls,
10.gradingform_guide .criterion .description,
11.gradingform_guide .criterion .remark {vertical-align: top;}
12
13.gradingform_guide.editor .criterion .controls,
bfa0c3ab
FM
14.gradingform_guide.editor .criterion .description,
15.gradingform_guide.editor .criterion .remark {padding:3px;}
77143217
DM
16
17.gradingform_guide .criteria {height:100%;}
18.gradingform_guide .criterion {border:1px solid #DDD;overflow: hidden;}
19.gradingform_guide .criterion.even {background:#F0F0F0;}
20
21.gradingform_guide .criterion .description {width:100%;}
22.gradingform_guide .criterion .description .criterionmaxscore input {width:20px;}
23.gradingform_guide .criterion .description .criterionname {font-weight:bold;}
24.gradingform_guide .criterion label {font-weight:bold; padding-right: 5px}
25
26.gradingform_guide .plainvalue.empty {font-style: italic; color: #AAA;}
27.gradingform_guide .plainvalue.editname {font-weight:bold;}
28
29/* Make invisible the buttons 'Move up' for the first criterion and 'Move down' for the last, because those buttons will make no change */
30.gradingform_guide.editor .criterion.first.last .controls .delete input,
31.gradingform_guide.editor .criterion.first .controls .moveup input,
32.gradingform_guide.editor .criterion.last .controls .movedown input {display:none;}
33
34/* replace buttons with images */
35.gradingform_guide.editor .delete input,
36.gradingform_guide.editor .moveup input,
37.gradingform_guide.editor .movedown input{text-indent: -1000em;cursor:pointer;border:none;}
501380a9 38.gradingform_guide.editor .criterion .controls .delete input {width:20px;height:16px;background: transparent url([[pix:t/delete]]) no-repeat center top;margin-top:4px;}
77143217
DM
39.gradingform_guide.editor .moveup input {width:20px;height:15px;background: transparent url([[pix:t/up]]) no-repeat center top;margin-top:4px;}
40.gradingform_guide.editor .movedown input {width:20px;height:15px;background: transparent url([[pix:t/down]]) no-repeat center top;margin-top:4px;}
41
42.gradingform_guide.editor .addcriterion input,
501380a9 43.gradingform_guide.editor .addcomment input {background: transparent url([[pix:t/add]]) no-repeat;display:block;color:#555555;font-weight:bold;text-decoration:none;}
77143217
DM
44.gradingform_guide.editor .addcriterion input,
45.gradingform_guide.editor .addcomment input {background-position: 5px 8px;height:30px;line-height:29px;margin-bottom:14px;padding-left:20px;padding-right:10px;}
46
47.gradingform_guide .options .optionsheading {font-weight:bold;font-size:1.1em;padding-bottom:5px;}
48.gradingform_guide .options .option {padding-bottom:2px;}
49.gradingform_guide .options .option label {margin-left: 5px;}
50.gradingform_guide .options .option .value {margin-left: 5px;font-weight:bold;}
51
52.gradingform_guide .criterion .description.error {background:#FFDDDD;}
53
54/* special classes for elements created by guideeditor.js */
55.gradingform_guide.editor .hiddenelement {display:none;}
56.gradingform_guide.editor .pseudotablink {background-color:transparent;border:0 solid;height:1px;width:1px;color:transparent;padding:0;margin:0;position:relative;float:right;}
57
bfa0c3ab
FM
58.jsenabled .gradingform_guide .markingguidecomment {cursor: pointer;}
59.jsenabled .gradingform_guide .markingguidecomment:before {
60 content: url([[pix:t/add]]);
61 padding-right:2px;
62}
63.dir-rtl.jsenabled .gradingform_guide .markingguidecomment:before {
64 padding-right: 0;
65 padding-left: 2px;
66}
77143217
DM
67.gradingform_guide .commentheader {font-weight:bold;font-size:1.1em;padding-bottom:5px;}
68
69.jsenabled .gradingform_guide .criterionnamelabel {display: none;}
70.jsenabled .gradingform_guide .criterionshortname {font-weight:bold;}
71.gradingform_guide table {width: 100%}
bfa0c3ab
FM
72.gradingform_guide .descriptionreadonly {
73 vertical-align: top;
74}
77143217 75.gradingform_guide .criteriondescriptionmarkers {width: 300px;}
bfa0c3ab
FM
76.gradingform_guide .markingguideremark {
77 margin: 0;
78 width: 100%;
79 -moz-box-sizing: border-box;
80 box-sizing: border-box;
81}
82.gradingform_guide .criteriondescriptionscore {display: inline;}
83.gradingform_guide .score label {
84 display: block;
85}
86.gradingform_guide .score input {
87 margin: 0;
88 width: auto;
89}