mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-66399 atto_h5p: allow h5p file uploads in atto
- Loading branch information
Bas Brands
committed
Oct 31, 2019
1 parent
d769970
commit 59e87e6
Showing
13 changed files
with
1,286 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
.attoh5poverlay { | ||
display: none; | ||
} | ||
.editor_atto_content_wrap .attoh5poverlay { | ||
display: block; | ||
position: absolute; | ||
cursor: pointer; | ||
top: 0; | ||
left: 0; | ||
bottom: 0; | ||
width: 100%; | ||
height: 100%; | ||
background: url([[pix:atto_h5p|icon]]) center center / 100px auto no-repeat #adb5bd; | ||
.attoh5pinstructions { | ||
max-width: 500px; | ||
} | ||
.h5p-embed-placeholder .attoh5poverlay + br { | ||
.editor_atto_content_wrap .h5p-placeholder + br { | ||
display: none; | ||
} | ||
.editor_atto_content_wrap .h5p-placeholder { | ||
color: #6c757d; | ||
width: 100%; | ||
word-break: break-all; | ||
height: 260px; | ||
cursor: pointer; | ||
background: url([[pix:atto_h5p|icon-white]]) center center / 100px auto no-repeat #6c757d; | ||
} | ||
.atto_h5p_button .icon { | ||
width: 24px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.