mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-79863 qtype_ordering: qtype/ordering restrict scope of css on ordering question
This commit is contained in:
parent
61500b65b6
commit
e1b39df4a4
@ -1,4 +1,4 @@
|
||||
ul.sortablelist {
|
||||
.que.ordering ul.sortablelist {
|
||||
border : 1px solid #ccc;
|
||||
float : left;
|
||||
font-family : Arial, sans-serif;
|
||||
@ -9,7 +9,7 @@ ul.sortablelist {
|
||||
padding : 4px 4px 0 4px;
|
||||
width : 360px;
|
||||
}
|
||||
ul.sortablelist li {
|
||||
.que.ordering ul.sortablelist li {
|
||||
background-color : #eeeeee;
|
||||
border : 1px solid #cccccc;
|
||||
border-image : initial;
|
||||
@ -18,18 +18,18 @@ ul.sortablelist li {
|
||||
min-height : 20px;
|
||||
padding : 8px 2px;
|
||||
}
|
||||
ul.sortablelist li.sortableitem {
|
||||
.que.ordering ul.sortablelist li.sortableitem {
|
||||
position : relative;
|
||||
cursor : move;
|
||||
}
|
||||
ul.sortablelist li.correctposition {
|
||||
.que.ordering ul.sortablelist li.correctposition {
|
||||
border : 4px solid #99ff66; /* gentle green */
|
||||
}
|
||||
ul.sortablelist li.wrongposition {
|
||||
.que.ordering ul.sortablelist li.wrongposition {
|
||||
border : 4px solid #ff7373; /* gentle red */
|
||||
}
|
||||
ul.sortablelist li.correctposition,
|
||||
ul.sortablelist li.wrongposition {
|
||||
.que.ordering ul.sortablelist li.correctposition,
|
||||
.que.ordering ul.sortablelist li.wrongposition {
|
||||
margin-bottom : 4px;
|
||||
margin-top : 4px;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user