this._container().append(this.view);
this.createContainer(this.wlxmlNode.contents().filter(function(n) {return !n.is('list');}), {
+ resetBackground: true,
manages: function(node, removedFrom) {
if(node.is('list.orderable')) {
return false;
this.dom = $(_.template(viewItemTemplate)());
this.container = exerciseView.element.createContainer(node.contents(), {
+ resetBackground: true,
manages: function(node, originaParent) {
return this.node.sameNode(node.parent() || originaParent);
}.bind(this),
@import 'choice/choice.less';
.edumed-exercise {
-
+ background-color: @grayLighter;
border: 1px lighten(#000, 35%) dashed;
margin: 15px 0;
padding: 10px;
font-weight: bold;
font-variant: small-caps;
margin-bottom: 10px;
+ background-color: @grayLighter;;
}
.btn {
this._container().append(view);
this.createContainer(this.wlxmlNode.contents(), {
+ resetBackground: true,
manages: function() {
return true;
},
var exerciseNode = this.wlxmlNode;
this.createContainer(this.wlxmlNode.object.getDescription(), {
+ resetBackground: true,
manages: function(node, removedFrom) {
if(node.is('list.orderable')) {
return false;
+@exercise-order-gray: darken(#ddd, 15%);
.exercise-order {
overflow-x: hidden;
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;
.placeholder {
height: 10px;
transition: height 0.05s;
- background-color: white;
+ background-color: transparent;
&.active {
height: 60px;
transition: height 0.05s;
opacity: 0.6;
}
}
+
+ .nav-tabs > .active > a {
+ background-color: @exercise-order-gray;
+ }
}
\ No newline at end of file
var content = this.content;
this.container = exerciseView.element.createContainer(item.node.contents(), {
+ resetBackground: true,
manages: function(node, originaParent) {
return item.node.sameNode(node.parent() || originaParent);
},
);
this.createContainer(this.wlxmlNode.contents(), {
+ resetBackground: true,
manages: function() {
return true;
},