first import
This commit is contained in:
21
sites/all/modules/media_vimeo/css/media_vimeo.css
Normal file
21
sites/all/modules/media_vimeo/css/media_vimeo.css
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
.media-vimeo-preview-wrapper {
|
||||
max-width: 100%;
|
||||
min-height: 50px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.media-vimeo-preview-wrapper object,
|
||||
.media-vimeo-preview-wrapper iframe {
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.media-vimeo-preview-wrapper .js-fallback {
|
||||
left: 0;
|
||||
margin-top: -0.5em;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
top: 50%;
|
||||
}
|
30
sites/all/modules/media_vimeo/css/media_vimeo.wysiwyg.css
Normal file
30
sites/all/modules/media_vimeo/css/media_vimeo.wysiwyg.css
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Overlay for Vimeo thumbnails in the media library browser.
|
||||
*/
|
||||
#media-browser .styles-container-media_vimeo {
|
||||
/* Relative wrapper for the overlay. */
|
||||
position: relative;
|
||||
}
|
||||
#media-browser .styles-container-media_vimeo span {
|
||||
/* Here's the overlay image. */
|
||||
background: url(images/stream-vimeo.png) no-repeat;
|
||||
|
||||
/* Absolute positioning in the relative wrapper creates the overlay. */
|
||||
position: absolute;
|
||||
|
||||
/* Size of the overlay */
|
||||
width: 69px;
|
||||
height: 22px;
|
||||
|
||||
/* Position of the overlay */
|
||||
left: 33px;
|
||||
top: 80px;
|
||||
}
|
||||
#media-browser .styles-container-media_vimeo span:hover {
|
||||
/* The */
|
||||
background-position: 0px -22px;
|
||||
}
|
||||
#media-browser .styles-container-media_vimeo img {
|
||||
}
|
Reference in New Issue
Block a user