Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-34214 Course dndupload - removed unneeded classes from preview el…

…ement
  • Loading branch information...
commit f8e493faff5f694d665afbf9e4ec2a496df42f01 1 parent ac98ad6
@davosmith davosmith authored samhemelryk committed
Showing with 2 additions and 2 deletions.
  1. +1 −1  course/dndupload.js
  2. +1 −1  theme/base/style/course.css
View
2  course/dndupload.js
@@ -514,7 +514,7 @@ M.course_dndupload = {
namespan: document.createElement('span')
};
- preview.li.className = 'dndupload-preview activity resource modtype_resource dndupload-hidden';
+ preview.li.className = 'dndupload-preview dndupload-hidden';
preview.div.className = 'mod-indent';
preview.li.appendChild(preview.div);
View
2  theme/base/style/course.css
@@ -167,7 +167,7 @@ input.titleeditor {
/* Course drag and drop upload styles */
#dndupload-status {width:40%;margin:0 30%;padding:6px;border:1px solid #ddd;text-align:center;background:#ffc;position:absolute;z-index:9999;box-shadow:2px 2px 5px 1px #ccc;border-radius:0px 0px 8px 8px;z-index: 0;}
-.dndupload-preview {color:#909090;border:1px dashed #909090;}
+.dndupload-preview {color:#909090;border:1px dashed #909090;list-style:none;}
.dndupload-progress-outer {width:70px;border:1px solid black;height:10px;display:inline-block;margin:0;padding:0;overflow:hidden;position:relative;}
.dndupload-progress-inner {width:0%;height:100%;background-color:green;display:inline-block;margin:0;padding:0;float:left;}
.dndupload-hidden {display:none;}
Please sign in to comment.
Something went wrong with that request. Please try again.