h5p-php-library/styles/h5p.css

414 lines
14 KiB
CSS
Raw Permalink 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 {
2015-02-20 13:00:50 +01:00
font-family: 'h5p';
2015-09-03 09:04:04 +02:00
src:url('../fonts/h5p.eot?ny');
src:url('../fonts/h5p.eot?#iefix-ny') format('embedded-opentype'),
url('data:application/font-woff;base64,d09GRgABAAAAAA/4AAsAAAAAD6wAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIGg2NtYXAAAAFoAAAAbAAAAGzRac9fZ2FzcAAAAdQAAAAIAAAACAAAABBnbHlmAAAB3AAAC8AAAAvAZjnEZGhlYWQAAA2cAAAANgAAADYHfShNaGhlYQAADdQAAAAkAAAAJAgIBPtobXR4AAAN+AAAAEQAAABERsMR2GxvY2EAAA48AAAAJAAAACQR3hQibWF4cAAADmAAAAAgAAAAIAAeAQ5uYW1lAAAOgAAAAVYAAAFWxhg3/XBvc3QAAA/YAAAAIAAAACAAAwAAAAMExQGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6JQDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEAFAAAAAQABAAAwAAAAEAIOYB6IrojOiU//3//wAAAAAAIOYA6IjojOiO//3//wAB/+MaBBd+F30XfAADAAEAAAAAAAAAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAADAGDABYCfQNqAAQACQAOABMAGAAdACIAJwAsADEANgA7AAABMxUjNTsBFSM1BzMVIzU7ARUjNQczFSM1OwEVIzUHMxUjNTsBFSM1BzMVIzU7ARUjN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BBhQfASU+AS8BLgE9ATQ2HwEeAR0
url('../fonts/h5p.ttf?ny') format('truetype'),
url('../fonts/h5p.svg?ny#h5p') 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: auto;
}
html.h5p-iframe .h5p-fullscreen .h5p-content,
html.h5p-iframe .h5p-semi-fullscreen .h5p-content {
height: 100%;
}
.h5p-content.h5p-no-frame,
.h5p-fullscreen .h5p-content,
.h5p-semi-fullscreen .h5p-content {
border: 0;
}
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: 1000;
}
.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;
2015-02-25 12:10:07 +01:00
background:#000;
background:rgba(0,0,0,0.75);
2014-03-26 08:43:29 +01:00
}
.h5p-popup-dialog.h5p-open {
opacity: 1;
}
.h5p-popup-dialog .h5p-inner {
box-sizing: border-box;
2015-02-25 12:10:07 +01:00
-moz-box-sizing: border-box;
2014-03-26 08:43:29 +01:00
background: #fff;
2015-02-25 12:10:07 +01:00
height: 100%;
2014-03-26 08:43:29 +01:00
max-height: 100%;
position: relative;
}
.h5p-popup-dialog .h5p-inner > h2 {
position: absolute;
2015-02-25 12:10:07 +01:00
box-sizing: border-box;
-moz-box-sizing: border-box;
width: 100%;
margin: 0;
background: #eee;
display: block;
color: #656565;
font-size: 1.25em;
padding: 0.325em 0.5em 0.25em;
line-height: 1.25em;
2015-02-25 12:10:07 +01:00
border-bottom: 1px solid #ccc;
2014-03-26 08:43:29 +01:00
}
.h5p-embed-dialog .h5p-inner {
2015-02-25 12:10:07 +01:00
width: 300px;
left: 50%;
top: 50%;
2015-02-25 13:05:45 +01:00
margin: 0 0 0 -150px;
2015-02-27 15:37:16 +01:00
transition: margin 250ms linear 100ms;
2015-02-25 12:10:07 +01:00
}
.h5p-embed-dialog .h5p-embed-code-container,
.h5p-embed-size {
2014-03-26 08:43:29 +01:00
resize: none;
outline: none;
2015-02-25 12:10:07 +01:00
width: 100%;
padding: 0.375em 0.5em 0.25em;
margin: 0;
overflow: hidden;
border: 1px solid #ccc;
box-shadow: 0 1px 2px 0 #d0d0d0 inset;
font-size: 0.875em;
letter-spacing: 0.065em;
font-family: sans-serif;
white-space: pre;
line-height: 1.5em;
height: 2.0714em;
background: #f5f5f5;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
.h5p-embed-dialog .h5p-embed-code-container:focus {
height: 5em;
}
.h5p-embed-size {
width: 3.5em;
text-align: right;
margin: 0.5em 0;
line-height: 2em;
2014-03-26 08:43:29 +01:00
}
.h5p-popup-dialog .h5p-scroll-content {
2015-02-25 12:10:07 +01:00
border-top: 2.25em solid transparent;
padding: 1em;
2014-03-26 08:43:29 +01:00
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;
2015-02-25 12:10:07 +01:00
color: #555555;
2014-03-26 08:43:29 +01:00
}
.h5p-popup-dialog .h5p-scroll-content::-webkit-scrollbar {
width: 8px;
}
.h5p-popup-dialog .h5p-scroll-content::-webkit-scrollbar-track {
background: #e0e0e0;
}
2014-03-26 08:43:29 +01:00
.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;
2015-02-25 12:10:07 +01:00
right: 0;
top: 0;
width: 1.125em;
height: 1.125em;
line-height: 1.125em;
color: #656565;
2014-03-26 08:43:29 +01:00
cursor: pointer;
2015-02-25 12:10:07 +01:00
text-indent: -0.065em;
}
.h5p-popup-dialog .h5p-close:hover:after,
.h5p-popup-dialog .h5p-close:focus:after {
color: #454545;
}
.h5p-popup-dialog .h5p-close:active:after {
color: #252525;
2014-03-26 08:43:29 +01:00
}
.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;
}
2015-02-25 12:10:07 +01:00
.h5p-expander {
2015-03-02 15:01:05 +01:00
cursor: pointer;
2015-02-25 12:10:07 +01:00
font-size: 1.125em;
outline: none;
margin: 0.5em 0 0;
2015-02-27 15:37:16 +01:00
display: inline-block;
2015-02-25 12:10:07 +01:00
}
.h5p-expander:before {
content: "+";
width: 1em;
display: inline-block;
font-weight: bold;
}
.h5p-expander.h5p-open:before {
content: "-";
text-indent: 0.125em;
}
.h5p-expander:hover,
.h5p-expander:focus {
color: #303030;
}
.h5p-expander:active {
color: #202020;
}
.h5p-expander-content {
display: none;
}
.h5p-expander-content p {
margin: 0.5em 0;
}
2014-03-26 08:43:29 +01:00
.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;
}
2015-04-07 19:32:44 +02:00
.h5p-dialog-ok-button {
cursor: default;
float: right;
outline: none;
border: 2px solid #ccc;
padding: 0.25em 0.75em 0.125em;
background: #eee;
}
.h5p-dialog-ok-button:hover,
.h5p-dialog-ok-button:focus {
background: #fafafa;
}
.h5p-dialog-ok-button:active {
background: #eeffee;
}