first import
This commit is contained in:
21
sites/all/modules/media_youtube/css/media_youtube.css
Normal file
21
sites/all/modules/media_youtube/css/media_youtube.css
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
.media-youtube-preview-wrapper {
|
||||
max-width: 100%;
|
||||
min-height: 50px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.media-youtube-preview-wrapper object,
|
||||
.media-youtube-preview-wrapper iframe {
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.media-youtube-preview-wrapper .js-fallback {
|
||||
left: 0;
|
||||
margin-top: -0.5em;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
top: 50%;
|
||||
}
|
@@ -0,0 +1,30 @@
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Overlay for YouTube thumbnails in the media library browser.
|
||||
*/
|
||||
#media-browser .styles-container-media_youtube {
|
||||
/* Relative wrapper for the overlay. */
|
||||
position: relative;
|
||||
}
|
||||
#media-browser .styles-container-media_youtube span {
|
||||
/* Here's the overlay image. */
|
||||
background: url(images/stream-youtube.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_youtube span:hover {
|
||||
/* The */
|
||||
background-position: 0px -22px;
|
||||
}
|
||||
#media-browser .styles-container-media_youtube img {
|
||||
}
|
Reference in New Issue
Block a user