MDL-47494 ddmarker: NOBUG further styling adjustments
This commit is contained in:
@@ -77,7 +77,6 @@ form.mform fieldset#previewareaheader div.draghome, form.mform fieldset#previewa
|
||||
.que.ddmarker div.markertexts span.markertext,
|
||||
form.mform fieldset#previewareaheader div.markertexts span.markertext {
|
||||
z-index: 2;
|
||||
border: 1px dashed black;
|
||||
background-color: white;
|
||||
padding: 5px;
|
||||
position:absolute;
|
||||
@@ -87,8 +86,8 @@ form.mform fieldset#previewareaheader div.markertexts span.markertext {
|
||||
width: auto;
|
||||
zoom: 1;
|
||||
*display: inline;
|
||||
-moz-border-radius: 10px;
|
||||
-webkit-border-radius: 10px;
|
||||
-khtml-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
-moz-border-radius: 20px;
|
||||
-webkit-border-radius: 20px;
|
||||
-khtml-border-radius: 20px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
+2
-1
@@ -86,7 +86,8 @@ YUI.add('moodle-qtype_ddmarker-form', function(Y) {
|
||||
markertext+'</span>');
|
||||
}
|
||||
var markerspan = Y.one('div.ddarea div.markertexts span.markertext'+dropzoneno);
|
||||
markerspan.setStyle('opacity', '0.6');
|
||||
markerspan.setStyle('opacity', '0.4');
|
||||
xyfortext[0] -= Math.round(markerspan.get('offsetWidth') / 2);
|
||||
xyfortext[1] -= Math.round(markerspan.get('offsetHeight') / 2);
|
||||
markerspan.setXY(this.convert_to_window_xy(xyfortext));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user