Skip to content

Commit

Permalink
Merge pull request #136 from oerpub/video-plugin-new
Browse files Browse the repository at this point in the history
first pass on media embed plugin (issue - #132)
  • Loading branch information
kathi-fletcher committed Mar 13, 2014
2 parents 8988d56 + 1e86e6b commit ef75afc
Show file tree
Hide file tree
Showing 15 changed files with 897 additions and 686 deletions.
16 changes: 1 addition & 15 deletions src/plugins/oer/assorted/css/image.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,9 @@ form#linkModal:focus {
outline: none;
}

figure.aloha-oer-block {
display: block;
border: 0;
padding-top: 0;
padding-bottom: 0;
margin: 0 32px 0 15px !important; /* !important in order to override ID-based selector from oerpub-content.less */
}

figure.aloha-oer-block > .title,
figure.aloha-oer-block > figcaption {
display: block;
text-align: center
}

figure.aloha-oer-block .image-wrapper {
position: relative;
display: block;
display: inline-block;
margin: 0 auto;
overflow-x: auto;
}
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/oer/assorted/lib/assorted-plugin.coffee
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
###
Register a couple of assorted oer plugins
###
define [ 'aloha/plugin', 'jquery', 'overlay/overlay-plugin', './link', './image', './figure', './title-figcaption', './list' ], (Plugin, $, Popover, linkConfig, imageConfig, figureConfig, figcaptionConfig) ->
define [ 'aloha/plugin', 'jquery', 'overlay/overlay-plugin', './link', './image'], (Plugin, $, Popover, linkConfig, imageConfig) ->
Plugin.create 'assorted',
defaultSettings:
image:
Expand Down
6 changes: 4 additions & 2 deletions src/plugins/oer/assorted/lib/assorted-plugin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 0 additions & 40 deletions src/plugins/oer/assorted/lib/figure.coffee

This file was deleted.

40 changes: 0 additions & 40 deletions src/plugins/oer/assorted/lib/figure.js

This file was deleted.

Loading

0 comments on commit ef75afc

Please sign in to comment.