h5p-php-library/styles/h5p.css

328 lines
12 KiB
CSS
Raw Normal View History

/* General CSS for H5P. Licensed under the MIT License.*/
2013-11-23 01:31:12 +01:00
/* Custom H5P font to use for icons. */
2014-03-26 08:43:29 +01:00
@font-face {
font-family: 'H5P';
2014-06-18 11:05:09 +02:00
src: url('../fonts/h5p.eot?ver=1.2.1');
src: url('../fonts/h5p.eot?#iefix&ver=1.2.1') format('embedded-opentype'),
url('data:application/font-woff;base64,d09GRk9UVE8AABCAAAoAAAAAEDgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAA9AAAC5UAAAuVXPOdF09TLzIAAAyMAAAAYAAAAGAOkgW+Y21hcAAADOwAAABMAAAATBfN0XNnYXNwAAANOAAAAAgAAAAIAAAAEGhlYWQAAA1AAAAANgAAADYC8En+aGhlYQAADXgAAAAkAAAAJAgIBPtobXR4AAANnAAAAEQAAABERRUSm21heHAAAA3gAAAABgAAAAYAEVAAbmFtZQAADegAAAJ2AAACdoHSvKxwb3N0AAAQYAAAACAAAAAgAAMAAAEABAQAAQEBD2g1cC1jb3JlLWZvbnRzAAECAAEAO/gcAvgbA/gYBB4KAAl3/4uLHgoACXf/i4sMB4tLHAUp+lQFHQAAANQPHQAAANkRHQAAAAkdAAALjBIAEgEBDx0fISQpLjM4PUJHTFFWW2BlaDVwLWNvcmUtZm9udHNoNXAtY29yZS1mb250c3UwdTF1MjB1RTg4OHVFODg5dUU4OEF1RTg4QnVFODhDdUU4OER1RTg4RXVFODhGdUU4OTB1RTg5MXVFODkydUU4OTN1RTg5NAAAAgGJAA8AEQIAAQAEAAcACgANAGYAwQEmAkUDZQPyBNIHEQefCL4JYgoqCo3+lA7+lA7+lA78lA73vfko+VQV+yCL+wX7Bov7IIv7D+El9whzCIv3YjSLBYCLh5KSlAj3Gvc5BZKUlouTggj3Gfs5BZKDh4OAiwg0i4v7YgX3CKPi8Yv3D4r3IPsF9wb7IYsIDve9+Sr5UhX7IIv7BvsGi/sgi/sg9wb7B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
url('../fonts/h5p.ttf?ver=1.2.1') format('truetype'),
url('../fonts/h5p.svg?ver=1.2.1#h5pregular') format('svg');
2014-03-26 08:43:29 +01:00
font-weight: normal;
font-style: normal;
}
html.h5p-iframe, html.h5p-iframe > body {
font-family: Sans-Serif; /* Use the browser's default sans-serif font. (Since Heletica doesn't look nice on Windows, and Arial on OS X.) */
2014-03-26 08:43:29 +01:00
width: 100%;
height: 100%;
margin: 0;
2014-03-26 08:43:29 +01:00
padding: 0;
}
2014-03-26 08:43:29 +01:00
.h5p-semi-fullscreen, .h5p-fullscreen, html.h5p-iframe .h5p-container {
overflow: hidden;
}
.h5p-content {
2014-03-26 08:43:29 +01:00
position: relative;
background: #fefefe;
2014-04-13 15:52:12 +02:00
border: 1px solid #EEE;
border-bottom: none;
box-sizing: border-box;
-moz-box-sizing: border-box;
2014-03-26 08:43:29 +01:00
}
html.h5p-iframe .h5p-content {
font-size: 16px;
line-height: 1.5em;
2014-03-26 08:43:29 +01:00
width: 100%;
height: 100%;
}
2014-03-26 08:43:29 +01:00
.h5p-container {
position: relative;
z-index: 1;
}
.h5p-container.h5p-semi-fullscreen {
position: fixed;
top: 0;
left: 0;
z-index: 101;
2014-01-29 16:03:51 +01:00
width: 100%;
height: 100%;
2014-04-13 15:52:12 +02:00
background-color: #FFF;
}
2013-04-18 15:52:06 +02:00
.h5p-content-controls {
2013-11-23 01:31:12 +01:00
margin: 0;
2014-04-13 15:52:12 +02:00
position: absolute;
right: 0;
top: 0;
2014-03-26 08:43:29 +01:00
z-index: 3;
}
2014-04-13 15:52:12 +02:00
.h5p-fullscreen .h5p-content-controls {
2014-03-26 08:43:29 +01:00
display: none;
2013-04-18 15:52:06 +02:00
}
.h5p-content-controls > a:link, .h5p-content-controls > a:visited, a.h5p-disable-fullscreen:link, a.h5p-disable-fullscreen:visited {
color: #e5eef6;
}
2014-04-13 15:52:12 +02:00
.h5p-enable-fullscreen:before {
font-family: 'H5P';
2014-06-18 11:05:09 +02:00
content: "\e88c";
2014-04-13 15:52:12 +02:00
}
.h5p-disable-fullscreen:before {
font-family: 'H5P';
2014-06-18 11:05:09 +02:00
content: "\e891";
2013-11-23 01:31:12 +01:00
}
.h5p-enable-fullscreen, .h5p-disable-fullscreen {
2013-11-23 01:31:12 +01:00
cursor: pointer;
2014-04-13 15:52:12 +02:00
color: #EEE;
background: rgb(0,0,0);
background: rgba(0,0,0,0.3);
line-height: 0.975em;
font-size: 2em;
width: 1.125em;
height: 0.925em;
text-indent: -0.0875em;
outline: none;
}
.h5p-disable-fullscreen {
line-height: 0.925em;
width: 1.1em;
height: 0.9em;
2013-04-18 15:52:06 +02:00
}
.h5p-enable-fullscreen:hover, .h5p-disable-fullscreen:hover {
2014-04-13 15:52:12 +02:00
background: rgba(0,0,0,0.5);
}
.h5p-semi-fullscreen .h5p-enable-fullscreen {
2014-04-13 15:52:12 +02:00
display: none;
}
2014-03-26 08:43:29 +01:00
2014-01-29 16:03:51 +01:00
div.h5p-fullscreen {
width: 100%;
height: 100%;
}
.h5p-iframe-wrapper {
2013-10-28 14:08:59 +01:00
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.h5p-semi-fullscreen .buttons {
position: absolute;
top: 0;
right: 0;
z-index: 20;
}
2014-03-26 08:43:29 +01:00
.h5p-iframe-wrapper iframe.h5p-iframe {
width: 100%;
height: 100%;
z-index: 10;
2013-10-28 14:08:59 +01:00
overflow: hidden;
border: 0;
display: block;
}
2014-04-13 15:52:12 +02:00
.h5p-content ul.h5p-actions {
box-sizing: border-box;
-moz-box-sizing: border-box;
overflow: hidden;
2014-03-26 08:43:29 +01:00
list-style: none;
2014-04-13 15:52:12 +02:00
padding: 0px 10px;
margin: 0;
height: 25px;
2014-03-26 08:43:29 +01:00
font-size: 12px;
2014-04-13 15:52:12 +02:00
background: #FAFAFA;
border-top: 1px solid #EEE;
border-bottom: 1px solid #EEE;
clear: both;
font-family: Sans-Serif;
}
2014-03-26 08:43:29 +01:00
.h5p-fullscreen .h5p-actions, .h5p-semi-fullscreen .h5p-actions {
display: none;
}
2014-03-26 08:43:29 +01:00
.h5p-actions > .h5p-button {
float: left;
cursor: pointer;
margin: 0 1.5em 0 0;
background: none;
padding: 0;
vertical-align: top;
color: #999;
text-decoration: none;
outline: none;
}
.h5p-actions > .h5p-button:hover {
color: #666;
}
.h5p-actions > .h5p-button:before {
font-family: 'H5P';
2014-03-26 08:43:29 +01:00
font-size: 1em;
padding-right: 0;
font-size: 1.7em;
2014-05-28 14:06:51 +02:00
line-height: 1.125em;
vertical-align: middle;
2014-03-26 08:43:29 +01:00
}
.h5p-actions > .h5p-button.h5p-export:before {
2014-06-18 11:05:09 +02:00
content: "\e893";
2014-03-26 08:43:29 +01:00
}
.h5p-actions > .h5p-button.h5p-copyrights:before {
2014-06-18 11:05:09 +02:00
content: "\e88f";
2014-03-26 08:43:29 +01:00
}
.h5p-actions > .h5p-button.h5p-embed:before {
2014-06-18 11:05:09 +02:00
content: "\e892";
2014-03-26 08:43:29 +01:00
}
.h5p-actions .h5p-link {
float: right;
margin-right: 0;
font-size: 2.0em;
2014-08-18 14:09:38 +02:00
line-height: 1;
overflow: hidden;
2014-03-26 08:43:29 +01:00
color: #999;
text-decoration: none;
outline: none;
}
.h5p-actions .h5p-link:before {
font-family: 'H5P';
2014-06-18 11:05:09 +02:00
content: "\e88e";
}
2014-08-18 14:09:38 +02:00
.h5p-actions > li {
margin: 0;
}
2014-03-26 08:43:29 +01:00
.h5p-popup-dialog {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 100;
padding: 2em;
box-sizing: border-box;
-moz-box-sizing: border-box;
opacity: 0;
-webkit-transition: opacity 0.2s;
-moz-transition: opacity 0.2s;
-o-transition: opacity 0.2s;
transition: opacity 0.2s;
}
.h5p-popup-dialog.h5p-open {
opacity: 1;
}
.h5p-popup-dialog .h5p-inner {
box-sizing: border-box;
box-shadow: 0 0 2em #000;
background: #fff;
height: 90%;
max-height: 100%;
padding: 0.75em;
position: relative;
}
.h5p-popup-dialog .h5p-inner > h2 {
font-size: 1.5em;
margin: 0.25em 0;
position: absolute;
line-height: 1.25em;
padding: 0;
2014-03-26 08:43:29 +01:00
}
.h5p-embed-dialog .h5p-inner {
width: 50%;
left: 25%;
top: 25%;
height: auto;
}
.h5p-embed-dialog .h5p-embed-code-container {
width: 90%;
padding: .3em;
min-height: 10em;
resize: none;
outline: none;
}
.h5p-popup-dialog .h5p-scroll-content {
border-top: 2.75em solid transparent;
box-sizing: border-box;
-moz-box-sizing: border-box;
height: 100%;
2014-03-26 08:43:29 +01:00
overflow: auto;
overflow-x: hidden;
overflow-y: auto;
}
.h5p-popup-dialog .h5p-scroll-content::-webkit-scrollbar {
width: 8px;
}
.h5p-popup-dialog .h5p-scroll-content::-webkit-scrollbar-track {
background: #e0e0e0;
}
.h5p-popup-dialog .h5p-scroll-content::-webkit-scrollbar-thumb {
box-shadow: 0 0 10px #000 inset;
border-radius: 4px;
}
.h5p-popup-dialog .h5p-close {
cursor: pointer;
outline:none
}
.h5p-popup-dialog .h5p-close:after {
font-family: 'H5P';
2014-06-18 11:05:09 +02:00
content: "\e894";
2014-03-26 08:43:29 +01:00
font-size: 2em;
position: absolute;
right: 0.5em;
top: 0.5em;
cursor: pointer;
-webkit-transition: -webkit-transform 0.2s;
-moz-transition: -moz-transform 0.2s;
-o-transition: -o-transform 0.2s;
transition: transform 0.2s;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.h5p-popup-dialog .h5p-close:hover:after {
-webkit-transform: scale(1.1, 1.1);
-moz-transform: scale(1.1, 1.1);
-ms-transform: scale(1.1, 1.1);
-o-transform: scale(1.1, 1.1);
transform: scale(1.1, 1.1);
}
.h5p-poopup-dialog h2 {
margin: 0.25em 0 0.5em;
}
.h5p-popup-dialog h3 {
margin: 0.75em 0 0.25em;
}
.h5p-popup-dialog dl {
margin: 0.25em 0 0.75em;
}
.h5p-popup-dialog dt {
float: left;
margin: 0 0.75em 0 0;
}
.h5p-popup-dialog dt:after {
content: ':';
}
.h5p-popup-dialog dd {
margin: 0;
}
.h5p-content-copyrights {
border-left: 0.25em solid #d0d0d0;
margin-left: 0.25em;
padding-left: 0.25em;
}
2014-06-03 16:07:50 +02:00
.h5p-throbber {
2014-06-18 11:05:09 +02:00
background: url('../images/throbber.gif?ver=1.2.1') 10px center no-repeat;
2014-06-03 16:07:50 +02:00
padding-left: 38px;
min-height: 30px;
line-height: 30px;
}