芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/cepali/question/type/ddmarker/styles.css
.que.ddmarker .qtext { margin-bottom: 0.5em; display: block; } .que.ddmarker .draghome img, .que.ddmarker .draghome span { visibility: hidden; } .que.ddmarker .dragitems .dragitem { cursor: move; position: absolute; z-index: 2; } .que.ddmarker .dragitems .draghome { display: inline-block; margin: 10px; vertical-align: top; } .que.ddmarker .dragitems { margin-top: 10px; } .que.ddmarker .dragitems.readonly .dragitem { cursor: auto; } .que.ddmarker div.ddarea, form.mform fieldset#id_previewareaheader div.ddarea { text-align: center; } form.mform fieldset#id_previewareaheader div.ddarea .markertexts { min-height: 80px; } .que.ddmarker .dropbackground, form.mform fieldset#id_previewareaheader .dropbackground { margin: 0 auto; border: 1px solid black; max-width: none; } .que.ddmarker div.dragitems div.draghome, .que.ddmarker div.dragitems div.dragitem, form.mform fieldset#id_previewareaheader div.draghome, form.mform fieldset#id_previewareaheader div.drag { font: 13px/1.231 arial, helvetica, clean, sans-serif; } .que.ddmarker div.dragitems span.markertext, .que.ddmarker div.markertexts span.markertext, form.mform fieldset#id_previewareaheader div.markertexts span.markertext { margin: 0 5px; z-index: 3; background-color: white; border: 2px solid black; padding: 5px; display: inline-block; zoom: 1; border-radius: 10px; color: black; opacity: 0.6; } .que.ddmarker div.markertexts span.markertext { z-index: 2; background-color: yellow; border: 2px solid khaki; position: absolute; } .que.ddmarker span.wrongpart { background-color: yellow; border: 2px solid khaki; padding: 5px; border-radius: 10px; filter: alpha(opacity=60); opacity: 0.6; margin: 5px; display: inline-block; } .que.ddmarker div.dragitems img.target { position: absolute; left: -7px; /* This must be half the size of the target image, minus 0.5. */ top: -7px; /* In other words, this works for a 15x15 cross-hair. */ } .que.ddmarker div.dragitems div.draghome img.target { display: none; } .que.ddmarker .dragitem.beingdragged span.markertext { z-index: 3; box-shadow: 3px 3px 4px #000; } /* Styles for the preview on the editing form. */ .que.ddmarker .dropzone .shape { fill: #fff; fill-opacity: 0.5; stroke: black; stroke-width: 1; } .que.ddmarker .dropzone.active .shape { stroke-width: 2; } .que.ddmarker .dropzone.color0 .shape { fill: #fff; } .que.ddmarker .dropzone.color1 .shape { fill: #b0c4de; } .que.ddmarker .dropzone.color2 .shape { fill: #dcdcdc; } .que.ddmarker .dropzone.color3 .shape { fill: #d8bfd8; } .que.ddmarker .dropzone.color4 .shape { fill: #87cefa; } .que.ddmarker .dropzone.color5 .shape { fill: #daa520; } .que.ddmarker .dropzone.color6 .shape { fill: #ffd700; } .que.ddmarker .dropzone.color7 .shape { fill: #f0e68c; } .que.ddmarker .dropzone .shapeLabel { text-anchor: middle; } .que.ddmarker .dropzone .handle { fill: #fff; fill-opacity: 0.1; /* Need a small amount of opacity of the handle can't be grabbed. */ stroke-width: 1; display: none; cursor: move; } .que.ddmarker .dropzone .handle.move { stroke: #800; } .que.ddmarker .dropzone .handle.edit { stroke: #008; } .que.ddmarker .dropzone.active .handle { display: inherit; } /* Editing form. Style repeated elements*/ /*Top*/ body#page-question-type-ddmarker div[id^=fitem_id_][id*=hint_] { background: #eee; margin-top: 0; margin-bottom: 0; padding-bottom: 5px; padding-top: 5px; border: 1px solid #bbb; border-bottom: 0; } body#page-question-type-ddmarker div[id^=fitem_id_][id*=hint_] .fitemtitle { font-weight: bold; } /* Middle */ body#page-question-type-ddmarker div[id^=fitem_id_][id*=hintoptions_], body#page-question-type-ddmarker div[id^=fitem_id_][id*=hintshownumcorrect_] { background: #eee; margin-bottom: 0; margin-top: 0; padding-bottom: 5px; padding-top: 5px; border: 1px solid #bbb; border-top: 0; border-bottom: 0; } /* Bottom */ body#page-question-type-ddmarker div[id^=fitem_id_][id*=hintclearwrong_] { background: #eee; margin-bottom: 2em; margin-top: 0; padding-bottom: 5px; padding-top: 5px; border: 1px solid #bbb; border-top: 0; } body#page-question-type-ddmarker #fitem_id_penalty { margin-bottom: 2em; }