From 0368eca988782915c15744b32ecd6b9c77450d98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Eduardo?= Date: Fri, 11 Aug 2017 12:02:42 -0500 Subject: update + yt-without DRM --- css/_mediaqueries.sass | 8 + css/_sidebar.sass | 4 +- css/bootstrap.css | 2 - css/estilos.css | 6 +- css/librevideojs/red.less | 1427 ++++++++++++++ css/librevideojs/teal.css | 1128 +++++++++++ css/librevideojs/teal.less | 1427 ++++++++++++++ css/librevideojs/teal.min.css | 18 + css/mix-material/master.css | 4065 --------------------------------------- css/mix-material/master.min.css | 5 - footer.php | 9 - functions.php | 2 +- header.php | 9 - languages/Lidra.pot | 2 +- languages/es_ES.po | 2 +- libre-panel.php | 71 - librevideojs.php | 253 --- librevideojs/libre-panel.php | 71 + librevideojs/librevideojs.php | 252 +++ librevideojs/processor.php | 21 + 20 files changed, 4362 insertions(+), 4420 deletions(-) create mode 100644 css/librevideojs/red.less create mode 100644 css/librevideojs/teal.css create mode 100644 css/librevideojs/teal.less create mode 100644 css/librevideojs/teal.min.css delete mode 100644 css/mix-material/master.css delete mode 100644 css/mix-material/master.min.css delete mode 100644 libre-panel.php delete mode 100644 librevideojs.php create mode 100644 librevideojs/libre-panel.php create mode 100644 librevideojs/librevideojs.php create mode 100644 librevideojs/processor.php diff --git a/css/_mediaqueries.sass b/css/_mediaqueries.sass index 2068605..f1d82b4 100644 --- a/css/_mediaqueries.sass +++ b/css/_mediaqueries.sass @@ -1,3 +1,11 @@ +@media screen and (max-width: 1200px) + .sidebar + .widget + &.redes-sociales-libres + a + .delta-ru + margin: 1.2em + @media screen and (max-width: 990px) .sidebar .widget diff --git a/css/_sidebar.sass b/css/_sidebar.sass index 5e9dbb3..069b612 100644 --- a/css/_sidebar.sass +++ b/css/_sidebar.sass @@ -26,7 +26,7 @@ font-size: 1.875em margin-bottom: 0.5em .delta-ru - margin: 1.875em + margin: 2.2em &.boletin .formulario background: #0e2b37 @@ -44,7 +44,7 @@ font-size: 1.125em border-radius: 3px width: 100% - border:none + border: none margin-bottom: 1.25em input[type="submit"] background: $verde diff --git a/css/bootstrap.css b/css/bootstrap.css index c306b1e..4a703ca 100644 --- a/css/bootstrap.css +++ b/css/bootstrap.css @@ -6971,5 +6971,3 @@ button.close { display: none !important; } } - -/*# sourceMappingURL=bootstrap.css.map */ diff --git a/css/estilos.css b/css/estilos.css index a26073f..4b340cf 100644 --- a/css/estilos.css +++ b/css/estilos.css @@ -337,7 +337,7 @@ header form button.btn.btn-primary { font-size: 1.875em; margin-bottom: 0.5em; } .sidebar .widget.redes-sociales-libres a .delta-ru { - margin: 1.875em; } + margin: 2.2em; } .sidebar .widget.boletin .formulario { background: #0e2b37; padding: 1.25em; @@ -354,6 +354,7 @@ header form button.btn.btn-primary { font-size: 1.125em; border-radius: 3px; width: 100%; + border: none; margin-bottom: 1.25em; } .sidebar .widget.boletin .formulario input[type="submit"] { background: #48b84d; @@ -502,6 +503,9 @@ footer .copyleft p { margin-bottom: 0.5em; } /* Mediaqueries */ +@media screen and (max-width: 1200px) { + .sidebar .widget.redes-sociales-libres a .delta-ru { + margin: 1.2em; } } @media screen and (max-width: 990px) { .sidebar .widget.redes-sociales-libres a .icono { font-size: 1em; } diff --git a/css/librevideojs/red.less b/css/librevideojs/red.less new file mode 100644 index 0000000..3a7287c --- /dev/null +++ b/css/librevideojs/red.less @@ -0,0 +1,1427 @@ +/*! +LibreVideoJS +Version 2.0 +Copyright 2017, Jesus E. +*/ + +// To customize the player skin, change the values of the variables or edit the +// CSS below. +// (This file uses LESS. Learn more at http://lesscss.org/) + +// The base font size controls the size of everything, not just text. All +// dimensions use em-based sizes so that the scale along with the font size. +// Try increasing it to 20px and see what happens. +@base-font-size: 12px; +@touch-device-font-size: 15px; + +// The main font color controls the color of the text and the icons (font icons) +@main-font-color: #ffffff; // e.g. rgb(255, 255, 255) or #ffffff +@primary-color: #f44336; +@primary-dark-color: #f12b24; +@clouds-color: #d6dbdf; + +// Menu - Subtitles/captions +@text-dark-color: #0d1f2c; +@caption-color: #ffffff; //other color #ffed00; + +// The default color of control backgrounds is mostly black but with a little +// bit of blue so it can still be seen on all black video frames, which are +// common. +@control-bg-color: #232221; // e.g. rgb(255, 255, 255) or #ffffff +@control-bg-alpha: 0.8; // 1.0 = 100% opacity, 0.0 = 0% opacity + +// The slider bar color is used for the progress bar and the volume bar +@slider-bar-color: #66A8CC; // e.g. rgb(255, 255, 255) or #ffffff +// The background of the progress bar and volume bar have a lined pattern that +// is created from a base64 encoded image. You can generate your own pattern at +// http://www.patternify.com/ then replace the value in the quotes with your own +@slider-bar-pattern: ~'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAP0lEQVQIHWWMAQoAIAgDR/QJ/Ub//04+w7ZICBwcOg5FZi5iBB82AGzixEglJrd4TVK5XUJpskSTEvpdFzX9AB2pGziSQcvAAAAAAElFTkSuQmCC'; +// The color of the slider background +@slider-background-color: #333333; +@slider-background-alpha: 0.9; // 1.0 = 100% opacity, 0.0 = 0% opacity + +// The "Big Play Button" is the play button that shows before the video plays. +// To center it set the align values to center and middle. The typical location +// of the button is the center, but there is trend towards moving it to a corner +// where it gets out of the way of valuable content in the poster image. +@big-play-align: left; // left, center, or right +@big-play-vertical-align: top; // top, middle, or bottom +// The button colors match the control colors by default but you can customize +// them by replace the variables (@control-bg-color) with your own color values. +@big-play-bg-color: @control-bg-color; +@big-play-bg-alpha: @control-bg-alpha; +// The font size is what makes the big play button, big. All width/height values +// use ems, which are a multiple of the font size. +// If the @base-font-size is 10px, then 3em equals 30px. +@big-play-font-size: 2em; +// Now that font size is set, the following em values will be a multiple of the +// new font size. If @big-play-font-size is 3em (30px), then setting the any of +// the following values to 2em would equal 60px. 2 * font-size +@big-play-margin: 0.5em; +//@big-play-width: 1em; +@big-play-width: 3.8em; +//@big-play-height: 1em; +@big-play-height: 2.6em; +@big-play-border-radius: 0.8em; +@big-play-border-width: 0.1em; +@big-play-border-color: #3b4249; + +/* SKIN +================================================================================ +The main class name for all skin-specific styles. To make your own skin, +replace all occurrences of 'vjs-flat-skin' with a new name. Then add your new +skin name to your video tag instead of the default skin. +e.g.