forked from jmvedrine/moodle-qtype_ddmatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
109 lines (91 loc) · 1.84 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
.ddmatch li {
margin: 6px;
padding: 4px;
}
.ddmatch li.matchdrag {
border: 1px solid black;
background-color: white;
}
.ddmatch li.placeholder {
border: 1px dotted black;
text-align: center;
}
.ddmatch ul.matchorigin {
width: 35%;
border: 1px solid gray;
list-style: none;
margin: 6px;
padding: 4px;
float: right;
}
.ddmatch .matchorigin li {
list-style:none;
}
.ddmatch .matchtarget {
border: 1px solid black;
list-style: none;
min-height: 30px;
margin: 6px;
padding: 4px;
width: 100%;
}
.ddmatch .matchtarget li {
list-style:none;
}
.ddmatch li p {
display: table-cell;
vertical-align: middle;
}
.ddmatch ul.matchdefault {
border: 2px solid gray;
}
.ddmatch td.text {
width: 25%;
}
.ddmatch td.control {
width: 75%;
margin: 6px;
padding: 4px;
}
.ddmatch table.answer {
float: left;
width: 60%;
margin-bottom: 0.5em;
}
.ddmatch .correctanswertable {
margin: 10px;
}
.ddmatch .matchtarget.yui3-dd-drop-active-valid {
border: 2px dotted red;
}
.ddmatch .matchtarget.yui3-dd-drop-over {
border: 2px dotted green;
}
.matchtarget .placeholder.hidden {
display: none;
}
.ddmatch .matchtarget.yui3-dd-drop-over li {
background-color: blue;
}
/* Editing form. */
body#page-question-type-ddmatch div[id^=fitem_id_][id*=subquestions_] {
background: #EEE;
margin-top: 0;
margin-bottom: 0;
padding-bottom: 5px;
padding-top: 5px;
border: 1px solid #BBB;
border-bottom: 0;
}
body#page-question-type-ddmatch div[id^=fitem_id_][id*=subquestions_] .fitemtitle {
font-weight: bold;
}
body#page-question-type-ddmatch div[id^=fitem_id_][id*=subanswers_] {
background: #EEE;
margin-bottom: 2em;
margin-top: 0;
padding-bottom: 5px;
padding-top: 5px;
border: 1px solid #BBB;
border-top: 0;
}