fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shuffle answers in exercise order + fix answer numbering
[fnpeditor.git]
/
src
/
editor
/
plugins
/
core
/
edumed
/
order
/
order.less
diff --git
a/src/editor/plugins/core/edumed/order/order.less
b/src/editor/plugins/core/edumed/order/order.less
index
b407259
..
e0c1b52
100644
(file)
--- a/
src/editor/plugins/core/edumed/order/order.less
+++ b/
src/editor/plugins/core/edumed/order/order.less
@@
-1,3
+1,4
@@
+@exercise-order-gray: darken(#ddd, 15%);
.exercise-order {
overflow-x: hidden;
.exercise-order {
overflow-x: hidden;
@@
-11,7
+12,6
@@
width: 100%;
border-radius: 5px;
background-color: #ddd;
width: 100%;
border-radius: 5px;
background-color: #ddd;
- -webkit-margin-before: -20px; // compensate for Chrome behavior for ol > li > table
}
.content {
}
.content {
@@
-29,11
+29,10
@@
vertical-align: middle;
display: table-cell;
width: 20px;
vertical-align: middle;
display: table-cell;
width: 20px;
- background-color:
darken(#ddd, 15%)
;
+ background-color:
@exercise-order-gray
;
text-align: center;
border-radius: 0 5px 5px 0;
padding: 10px 10px;
text-align: center;
border-radius: 0 5px 5px 0;
padding: 10px 10px;
- pointer-events: none;
.dragEnter {
opacity: 0.5;
.dragEnter {
opacity: 0.5;
@@
-43,7
+42,7
@@
.placeholder {
height: 10px;
transition: height 0.05s;
.placeholder {
height: 10px;
transition: height 0.05s;
- background-color:
white
;
+ background-color:
transparent
;
&.active {
height: 60px;
transition: height 0.05s;
&.active {
height: 60px;
transition: height 0.05s;
@@
-53,14
+52,19
@@
width:100%;
}
width:100%;
}
- .placeholder-top {
- margin-left: 25px;
+ ol {
+ margin: 0;
+ counter-reset: edumed-order-counter;
}
}
-
- li {
+ ol li {
+ list-style-type: none;
cursor: move;
.dragged {
opacity: 0.6;
}
}
cursor: move;
.dragged {
opacity: 0.6;
}
}
+
+ .nav-tabs > .active > a {
+ background-color: @exercise-order-gray;
+ }
}
\ No newline at end of file
}
\ No newline at end of file