h5p-php-library/styles/h5p.css

140 lines
3.6 KiB
CSS

body.h5p-iframe-content {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
}
body.h5p-semi-fullscreen {
overflow: hidden;
}
.h5p-content {
display: block;
width: auto;
height: auto;
background: #fefefe;
font-size: 16px;
}
div.h5p-semi-fullscreen {
position: fixed;
top: 0;
left: 0;
z-index: 101;
}
.h5p-content-controls {
margin-bottom: 10px;
text-align: right;
}
.h5p-content-controls > a:link, .h5p-content-controls > a:visited, a.h5p-disable-fullscreen:link, a.h5p-disable-fullscreen:visited {
color: #e5eef6;
}
.h5p-enable-fullscreen, .h5p-disable-fullscreen {
display: inline-block;
padding: 6px 12px;
background: #539ad7;
background-image: -webkit-linear-gradient(top, #4584ba, #539ad7);
background-image: -moz-linear-gradient(top, #4584ba, #539ad7);
background-image: -o-linear-gradient(top, #4584ba, #539ad7);
background-image: -ms-linear-gradient(top, #4584ba, #539ad7);
background-image: linear-gradient(to bottom, #4584ba, #539ad7);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4584ba', endColorstr='#539ad7',GradientType=0);
font-size: 12px;
box-shadow: 0 0 8px #bebebe;
opacity: 0.8;
filter: alpha(opacity = 80);
}
.h5p-disable-fullscreen {
position: absolute;
right: 0;
top: 0;
z-index: 201;
}
.h5p-enable-fullscreen:hover, .h5p-disable-fullscreen:hover {
text-decoration: none;
opacity: 0.9;
filter: alpha(opacity = 90);
}
.h5p-iframe-wrapper.h5p-fullscreen {
width: 100%;
height: 100%;
}
.h5p-iframe-wrapper {
width: auto;
height: auto;
}
.h5p-fullscreen .h5p-iframe-wrapper,
.h5p-semi-fullscreen .h5p-iframe-wrapper {
width: 100%;
height: 100%;
}
.h5p-iframe-wrapper.h5p-semi-fullscreen {
width: 100%;
height: 100%;
background: black;
position: fixed;
top: 0;
left: 0;
z-index: 100;
}
.h5p-iframe-wrapper .buttons {
text-align: right;
}
.h5p-iframe-wrapper.h5p-semi-fullscreen .buttons {
position: absolute;
top: 0;
right: 0;
z-index: 20;
}
.h5p-iframe-wrapper .h5p-iframe {
width: 100%;
height: 100%;
z-index: 10;
overflow: hidden;
border: 0;
}
.h5p-iframe-wrapper.h5p-semi-fullscreen .buttons button:before {
content: 'Exit ';
}
.h5p-iframe-wrapper button.fullscreen {
color: #e5eef6;
text-decoration: none;
padding: 6px 12px;
background: #539ad7;
background-image: -webkit-linear-gradient(top,#4584ba,#539ad7);
background-image: -moz-linear-gradient(top,#4584ba,#539ad7);
background-image: -o-linear-gradient(top,#4584ba,#539ad7);
background-image: -ms-linear-gradient(top,#4584ba,#539ad7);
background-image: linear-gradient(to bottom,#4584ba,#539ad7);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4584ba',endColorstr='#539ad7',GradientType=0);
box-shadow: 0 0 8px #bebebe;
border: none;
opacity: 0.8;
}
.h5p-iframe-wrapper button.fullscreen:hover {
opacity: 1;
background: #539ad7;
background-image: -webkit-linear-gradient(top,#539ad7,#4584ba);
background-image: -moz-linear-gradient(top,#539ad7,#4584ba);
background-image: -o-linear-gradient(top,#539ad7,#4584ba);
background-image: -ms-linear-gradient(top,#539ad7,#4584ba);
background-image: linear-gradient(to bottom,#539ad7,#4584ba);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#539ad7',endColorstr='#4584ba',GradientType=0);
cursor: pointer;
}
html.h5p-fullscreen, body.h5p-fullscreen {
height: 100%;
overflow: hidden;
}
.h5p-fullscreen .h5p-content-controls {
display: none;
}
body.h5p-iframe-content div.h5p-content {
overflow: hidden;
}
body.h5p-iframe-content.h5p-fullscreen div.h5p-content {
height: 100%;
}