kopia lustrzana https://github.com/passionsplay/wp-asciinema
Update version of Asciinema player to 2.6.1
rodzic
66b92e48a1
commit
df45391c84
|
@ -176,30 +176,31 @@
|
|||
.asciinema-terminal.font-big {
|
||||
font-size: 24px;
|
||||
}
|
||||
.asciinema-player:hover .control-bar {
|
||||
color: #bbbbbb;
|
||||
}
|
||||
.asciinema-player:hover .control-bar .progressbar .bar .gutter span {
|
||||
background-color: #bbbbbb;
|
||||
}
|
||||
.asciinema-player:hover .control-bar svg.icon path {
|
||||
fill: #bbbbbb;
|
||||
}
|
||||
.asciinema-player .control-bar {
|
||||
width: 100%;
|
||||
height: 32px;
|
||||
background-color: #000;
|
||||
color: #999999;
|
||||
border-top: 1px solid #222;
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
/* no gradient fallback */
|
||||
background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.5) 0%, #000000 25%, #000000 100%);
|
||||
/* FF3.6-15 */
|
||||
background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.5) 0%, #000000 25%, #000000 100%);
|
||||
/* Chrome10-25,Safari5.1-6 */
|
||||
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, #000000 25%, #000000 100%);
|
||||
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
|
||||
color: #bbbbbb;
|
||||
box-sizing: content-box;
|
||||
line-height: 1;
|
||||
position: absolute;
|
||||
bottom: -35px;
|
||||
left: 0;
|
||||
transition: bottom 0.15s linear;
|
||||
}
|
||||
.asciinema-player .control-bar * {
|
||||
box-sizing: inherit;
|
||||
font-size: 0;
|
||||
}
|
||||
.asciinema-player .control-bar svg.icon path {
|
||||
fill: #999999;
|
||||
fill: #bbbbbb;
|
||||
}
|
||||
.asciinema-player .control-bar .playback-button {
|
||||
display: block;
|
||||
|
@ -259,7 +260,7 @@
|
|||
.asciinema-player .control-bar .progressbar .bar .gutter span {
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
background-color: #999999;
|
||||
background-color: #bbbbbb;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.asciinema-player .control-bar.live .progressbar .bar {
|
||||
|
@ -283,66 +284,33 @@
|
|||
.asciinema-player .control-bar .fullscreen-button svg:last-child {
|
||||
display: none;
|
||||
}
|
||||
.asciinema-player-wrapper.hud .control-bar {
|
||||
bottom: 0px;
|
||||
}
|
||||
.asciinema-player-wrapper:fullscreen .fullscreen-button svg:first-child {
|
||||
display: none;
|
||||
}
|
||||
.asciinema-player-wrapper:fullscreen .fullscreen-button svg:last-child {
|
||||
display: inline;
|
||||
}
|
||||
.asciinema-player-wrapper:fullscreen .control-bar {
|
||||
position: absolute;
|
||||
bottom: -35px;
|
||||
left: 0;
|
||||
transition: bottom 0.15s linear;
|
||||
}
|
||||
.asciinema-player-wrapper:fullscreen.hud .control-bar {
|
||||
bottom: 0px;
|
||||
}
|
||||
.asciinema-player-wrapper:-webkit-full-screen .fullscreen-button svg:first-child {
|
||||
display: none;
|
||||
}
|
||||
.asciinema-player-wrapper:-webkit-full-screen .fullscreen-button svg:last-child {
|
||||
display: inline;
|
||||
}
|
||||
.asciinema-player-wrapper:-webkit-full-screen .control-bar {
|
||||
position: absolute;
|
||||
bottom: -35px;
|
||||
left: 0;
|
||||
transition: bottom 0.15s linear;
|
||||
}
|
||||
.asciinema-player-wrapper:-webkit-full-screen.hud .control-bar {
|
||||
bottom: 0px;
|
||||
}
|
||||
.asciinema-player-wrapper:-moz-full-screen .fullscreen-button svg:first-child {
|
||||
display: none;
|
||||
}
|
||||
.asciinema-player-wrapper:-moz-full-screen .fullscreen-button svg:last-child {
|
||||
display: inline;
|
||||
}
|
||||
.asciinema-player-wrapper:-moz-full-screen .control-bar {
|
||||
position: absolute;
|
||||
bottom: -35px;
|
||||
left: 0;
|
||||
transition: bottom 0.15s linear;
|
||||
}
|
||||
.asciinema-player-wrapper:-moz-full-screen.hud .control-bar {
|
||||
bottom: 0px;
|
||||
}
|
||||
.asciinema-player-wrapper:-ms-fullscreen .fullscreen-button svg:first-child {
|
||||
display: none;
|
||||
}
|
||||
.asciinema-player-wrapper:-ms-fullscreen .fullscreen-button svg:last-child {
|
||||
display: inline;
|
||||
}
|
||||
.asciinema-player-wrapper:-ms-fullscreen .control-bar {
|
||||
position: absolute;
|
||||
bottom: -35px;
|
||||
left: 0;
|
||||
transition: bottom 0.15s linear;
|
||||
}
|
||||
.asciinema-player-wrapper:-ms-fullscreen.hud .control-bar {
|
||||
bottom: 0px;
|
||||
}
|
||||
.asciinema-player .loading {
|
||||
z-index: 10;
|
||||
background-repeat: no-repeat;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -15,9 +15,8 @@ class WP_Asciinema_Plugin {
|
|||
* Enqueue scripts and styles needed by this plugin
|
||||
*/
|
||||
public static function enqueue_scripts_styles() {
|
||||
wp_enqueue_script( 'asciinema', WP_Asciinema_Plugin::get_plugin_folder( 'url' ) . 'assets/vendor/asciinema-player.js', array(), 'v2.4.1', true );
|
||||
wp_enqueue_style( 'asciinema', WP_Asciinema_Plugin::get_plugin_folder( 'url' ) . 'assets/vendor/asciinema-player.css', array(), 'v2.4.1' );
|
||||
|
||||
wp_enqueue_script( 'asciinema', WP_Asciinema_Plugin::get_plugin_folder( 'url' ) . 'assets/vendor/asciinema-player.js', array(), 'v2.6.1', true );
|
||||
wp_enqueue_style( 'asciinema', WP_Asciinema_Plugin::get_plugin_folder( 'url' ) . 'assets/vendor/asciinema-player.css', array(), 'v2.6.1' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* @wordpress-plugin
|
||||
* Plugin Name: WP Asciinema
|
||||
* Description: Displays terminal sessions recorded using Asciinema.
|
||||
* Version: 0.0.1
|
||||
* Version: 0.0.2
|
||||
* Author: Benjamin Turner
|
||||
* Author URI: http://passionsplay.com
|
||||
* Plugin URI: http://passionsplay.com/plugins/wp-asciinema
|
||||
|
|
Ładowanie…
Reference in New Issue