MDL-52927 qtype ddwtos and ddimageortext focus using keyboard
[moodle.git] / question / type / ddwtos / styles.css
CommitLineData
61381e50 1.que.ddwtos .qtext {
61381e50
TH
2 margin-bottom: 0.5em;
3 display: block;
4}
5
54a5be53 6.que.ddwtos .draghome {
5ac7176c 7 margin-bottom: 1em;
61381e50
TH
8}
9
10.que.ddwtos .answertext {
54a5be53 11 margin-bottom: 0.5em;
61381e50
TH
12}
13
54a5be53 14.que.ddwtos .drop {
61381e50
TH
15 display: inline-block;
16 text-align: center;
17 border: 1px solid #000000;
18}
1d284219 19.que.ddwtos .draghome, .que.ddwtos .drag {
61381e50
TH
20 display: inline-block;
21 text-align: center;
09583884
JP
22 background: transparent;
23 border: 0;
24}
25.que.ddwtos .draghome, .que.ddwtos .drag.unplaced{
61381e50
TH
26 border: 1px solid #000000;
27}
54a5be53
JP
28.que.ddwtos .draghome {
29 visibility: hidden;
30}
31.que.ddwtos .drag {
32 z-index: 2;
33}
34.que.ddwtos .drag.yui3-dd-dragging {
35 z-index: 3;
ead24b25 36 box-shadow: 3px 3px 4px #000;
3045d510
TH
37}
38
a752c61c 39.que.ddwtos .drop:focus,
3045d510
TH
40.que.ddwtos .drop.yui3-dd-drop-over.yui3-dd-drop-active-valid {
41 border-color: #0a0;
42 box-shadow: 0 0 5px 5px rgba(255, 255, 150, 1);
61381e50
TH
43}
44
54a5be53
JP
45.que.ddwtos .notreadonly .drag {
46 cursor: move;
47}
48.que.ddwtos .readonly .drag {
61381e50
TH
49 cursor: default;
50}
51
52.que.ddwtos span.incorrect {
53 background-color: #faa;
54}
55.que.ddwtos span.correct {
56 background-color: #afa;
57}
58
59.que.ddwtos .group1 {
60 background-color: #FFFFFF;
61}
62.que.ddwtos .group2 {
63 background-color: #DCDCDC;
64}
65.que.ddwtos .group3 {
66 background-color: #B0C4DE;
67}
68.que.ddwtos .group4 {
69 background-color: #D8BFD8;
70}
71.que.ddwtos .group5 {
72 background-color: #87CEFA;
73}
74.que.ddwtos .group6 {
75 background-color: #DAA520;
76}
77.que.ddwtos .group7 {
78 background-color: #FFD700;
79}
80.que.ddwtos .group8 {
81 background-color: #F0E68C;
82}
5be9d2a2
JP
83
84.que.ddwtos sub,
85.que.ddwtos sup {
86 font-size: 80%;
87 position: relative;
88 vertical-align: baseline;
89}
90.que.ddwtos sup {
91 top: -0.4em;
92}
93.que.ddwtos sub {
94 bottom: -0.2em;
95}