Merge branch 'MDL-69089-39' of git://github.com/aanabit/moodle into MOODLE_39_STABLE
[moodle.git] / mod / workshop / form / rubric / styles.css
1 /* Rubric - grid layout */
3 .path-mod-workshop .mform.frozen #id_rubric-grid-wrapper,
4 .path-mod-workshop .assessmentform.rubric #id_rubric-grid-wrapper {
5     border: none;
6 }
8 .path-mod-workshop .mform.frozen #id_rubric-grid-wrapper legend,
9 .path-mod-workshop .assessmentform.rubric #id_rubric-grid-wrapper legend {
10     display: none;
11 }
13 .path-mod-workshop .mform.frozen #id_rubric-grid-wrapper th,
14 .path-mod-workshop .mform.frozen #id_rubric-grid-wrapper td,
15 .path-mod-workshop .assessmentform.rubric.grid #id_rubric-grid-wrapper th,
16 .path-mod-workshop .assessmentform.rubric.grid #id_rubric-grid-wrapper td {
17     border: 1px solid #ddd;
18     padding: 5px;
19     vertical-align: top;
20 }
22 .path-mod-workshop .mform.frozen #id_rubric-grid-wrapper,
23 .path-mod-workshop .assessmentform.rubric.grid #id_rubric-grid-wrapper .criterion {
24     text-align: center;
25 }
27 .path-mod-workshop .assessmentform.rubric.grid #id_rubric-grid-wrapper .fitem {
28     text-align: center;
29 }
31 .path-mod-workshop .mform.frozen #id_rubric-grid-wrapper .fitem .fitemtitle,
32 .path-mod-workshop .assessmentform.rubric.grid #id_rubric-grid-wrapper .fitem .fitemtitle {
33     display: none;
34 }
36 .path-mod-workshop .mform.frozen #id_rubric-grid-wrapper,
37 .path-mod-workshop #id_rubric-grid-wrapper {
38     margin-left: auto;
39     margin-right: auto;
40     width: 100%;
41 }
43 .path-mod-workshop .mform.frozen #id_rubric-grid-wrapper .checkbox,
44 .path-mod-workshop .assessmentform.rubric.grid #id_rubric-grid-wrapper .checkbox {
45     max-width: 100%;
46     flex: 0 0 100%;
47     text-align: left;
48 }
50 .path-mod-workshop .mform.frozen #id_rubric-grid-wrapper .fitem .felement,
51 .path-mod-workshop .assessmentform.rubric.grid #id_rubric-grid-wrapper .fitem .felement {
52     width: 100%;
53     margin-left: auto;
54     margin-right: auto;
55 }
57 .path-mod-workshop .mform.frozen #id_rubric-grid-wrapper .fitem .felement {
58     border: none;
59 }
61 .path-mod-workshop .assessmentform.rubric.grid #id_rubric-grid-wrapper .fitem .felement span {
62     display: block;
63     text-align: center;
64 }
66 .path-mod-workshop .assessmentform.rubric.grid #id_rubric-grid-wrapper .fitem .felement span label {
67     display: block;
68     text-align: center;
69 }
71 /* Rubric - list layout */
73 .path-mod-workshop .mform.frozen .fitem.description.rubric + .fitem .fitemtitle,
74 .path-mod-workshop .assessmentform.rubric.list #id_rubric-grid-wrapper .fitem .fitemtitle {
75     display: none;
76 }
78 .path-mod-workshop .mform.frozen .fitem.description.rubric + .fitem .fitemtitle + .felement,
79 .path-mod-workshop .assessmentform.rubric.list .fitem .felement {
80     width: auto;
81     border: none;
82 }
84 .path-mod-workshop .assessmentform.rubric.list .fitem .felement span input {
85     display: block;
86     float: left;
87 }
89 .path-mod-workshop .assessmentform.rubric.list .fitem .felement.fgroup span label {
90     display: block;
91     margin-left: 30px;
92 }