author: TheDiveO + zanechua caption: Sublime-inspired Skin created: 20180114164553193 description: Sublime-inspired skin for Videojs list: readme license history modified: 20180128162317560 plugin-type: plugin source: http://thediveo.github.io/TwTube tags: $:/tags/TwTubeVideojsSkinPlugin title: $:/plugins/TheDiveO/SublimeInspiredVideojsSkin type: application/json version: 1.0.1 {"tiddlers":{"$:/plugins/TheDiveO/SublimeInspiredVideojsSkin/history":{"title":"$:/plugins/TheDiveO/SublimeInspiredVideojsSkin/history","created":"20180114170309007","modified":"20180128162518012","tags":"","type":"text/vnd.tiddlywiki","text":"* ''1.0.1'' -- adds `caption` field to support new skin selection in the Control Panel tab \"Media Player Skins\".\n* ''1.0.0'' -- first release of the Sublime-inspired Video.js Skin plugin."},"$:/plugins/TheDiveO/SublimeInspiredVideojsSkin/license":{"title":"$:/plugins/TheDiveO/SublimeInspiredVideojsSkin/license","created":"20180114170300930","modified":"20180114175741246","tags":"","type":"text/vnd.tiddlywiki","text":"* The CSS stylesheet for the [[Sublime-inspired Video.js skin|https://github.com/zanechua/videojs-sublime-inspired-skin]] is licensed under the [[MIT License|http://opensource.org/licenses/MIT]].\n* This plugin is licensed under the [[MIT License|http://opensource.org/licenses/MIT]]."},"$:/plugins/TheDiveO/SublimeInspiredVideojsSkin/macros/skin class":{"title":"$:/plugins/TheDiveO/SublimeInspiredVideojsSkin/macros/skin class","created":"20180114174339454","modified":"20180114175748874","tags":"$:/tags/Macro","type":"text/vnd.tiddlywiki","text":"\\define twtube-skin-classes() vjs-sublime-skin"},"$:/plugins/TheDiveO/SublimeInspiredVideojsSkin/readme":{"title":"$:/plugins/TheDiveO/SublimeInspiredVideojsSkin/readme","created":"20180114170253183","modified":"20180114175806600","tags":"","type":"text/vnd.tiddlywiki","text":"Provides the [[Sublime-inspired Video.js skin|https://github.com/zanechua/videojs-sublime-inspired-skin]] (~GitHub) by [[zanechua|https://github.com/zanechua]] (~GitHub) for use with the [[TwTube plugin|https://github.com/TheDiveO/TwTube]] (//you guessed right// ... ~GitHub). Simply install this plugin into your ~TiddlyWiki alongside the ~TwTube plugin and you're done."},"$:/plugins/TheDiveO/SublimeInspiredVideojsSkin/styles/skin.css":{"title":"$:/plugins/TheDiveO/SublimeInspiredVideojsSkin/styles/skin.css","created":"20180114164921108","modified":"20180114175812441","tags":"$:/tags/TwTubeVideojsSkin","type":"text/css","text":".video-js {\n /* The base font size controls the size of everything, not just text.\n All dimensions use em-based sizes so that the scale along with the font size.\n Try increasing it to 15px and see what happens. */\n font-size: 10px;\n /* The main font color changes the ICON COLORS as well as the text */\n color: #fff;\n}\n\n/* The \"Big Play Button\" is the play button that shows before the video plays.\n To center it set the align values to center and middle. The typical location\n of the button is the center, but there is trend towards moving it to a corner\n where it gets out of the way of valuable content in the poster image.*/\n.vjs-sublime-skin .vjs-big-play-button {\n /* The font size is what makes the big play button...big.\n All width/height values use ems, which are a multiple of the font size.\n If the .video-js font-size is 10px, then 3em equals 30px.*/\n font-size: 8em;\n /* We're using SCSS vars here because the values are used in multiple places.\n Now that font size is set, the following em values will be a multiple of the\n new font size. If the font-size is 3em (30px), then setting any of\n the following values to 3em would equal 30px. 3 * font-size. */\n /* 1.5em = 45px default */\n line-height: 1.5em;\n height: 1.5em;\n width: 3em;\n /* 0.06666em = 2px default */\n border: 0;\n /* 0.3em = 9px default */\n border-radius: 0.3em;\n /* Align center */\n left: 50%;\n top: 50%;\n margin-left: -1.5em;\n margin-top: -0.75em;\n}\n\n/* The default color of control backgrounds is mostly black but with a little\n bit of blue so it can still be seen on all-black video frames, which are common. */\n.video-js .vjs-control-bar,\n.video-js .vjs-big-play-button,\n.video-js .vjs-volume-menu-button .vjs-menu-content,\n.video-js .vjs-volume-panel .vjs-volume-control {\n /* IE8 - has no alpha support */\n background-color: #2B333F;\n /* Opacity: 1.0 = 100%, 0.0 = 0% */\n background-color: rgba(43, 51, 63, 0.7);\n background-color: transparent;\n}\n\n/* Slider - used for Volume bar and Progress bar */\n.video-js .vjs-slider {\n background-color: #73859f;\n background-color: rgba(115, 133, 159, 0.5);\n background-color: rgba(255, 255, 255, 0.3);\n border-radius: 2px;\n height: 6.5px;\n}\n\n/* The slider bar color is used for the progress bar and the volume bar\n (the first two can be removed after a fix that's coming) */\n.video-js .vjs-volume-level,\n.video-js .vjs-play-progress,\n.video-js .vjs-slider-bar {\n background: #fff;\n}\n\n.video-js .vjs-progress-holder .vjs-load-progress,\n.video-js .vjs-progress-holder .vjs-load-progress div,\n.video-js .vjs-progress-holder .vjs-play-progress,\n.video-js .vjs-progress-holder .vjs-tooltip-progress-bar {\n height: 6.5px;\n}\n\n/* The main progress bar also has a bar that shows how much has been loaded. */\n.video-js .vjs-load-progress {\n /* For IE8 we'll lighten the color */\n background: ligthen(#73859f, 25%);\n /* Otherwise we'll rely on stacked opacities */\n background: rgba(115, 133, 159, 0.5);\n}\n\n/* The load progress bar also has internal divs that represent\n smaller disconnected loaded time ranges */\n.video-js .vjs-load-progress div {\n /* For IE8 we'll lighten the color */\n background: ligthen(#73859f, 50%);\n /* Otherwise we'll rely on stacked opacities */\n background: rgba(115, 133, 159, 0.75);\n}\n\n.vjs-sublime-skin .vjs-poster {\n outline: none; /* Remove Blue Outline on Click*/\n outline: 0;\n}\n\n.vjs-sublime-skin:hover .vjs-big-play-button {\n background-color: transparent;\n}\n\n.vjs-sublime-skin .vjs-fullscreen-control:before,\n.vjs-sublime-skin.vjs-fullscreen .vjs-fullscreen-control:before {\n content: ''; /* Remove Fullscreen Exit Icon */\n}\n\n.vjs-sublime-skin.vjs-fullscreen .vjs-fullscreen-control {\n background: #fff;\n}\n\n.vjs-sublime-skin .vjs-fullscreen-control {\n border: 3px solid #fff;\n box-sizing: border-box;\n cursor: pointer;\n margin-top: -7px;\n top: 50%;\n height: 14px;\n width: 22px;\n margin-right: 10px;\n}\n\n.vjs-sublime-skin.vjs-fullscreen .vjs-fullscreen-control:after {\n background: #000;\n content: \"\";\n display: block;\n position: absolute;\n bottom: 0;\n left: 0;\n height: 5px;\n width: 5px;\n}\n\n.vjs-sublime-skin .vjs-progress-holder {\n margin: 0;\n}\n\n.vjs-sublime-skin .vjs-progress-control .vjs-progress-holder:after {\n border-radius: 2px;\n display: block;\n height: 6.5px;\n}\n\n.vjs-sublime-skin .vjs-progress-control .vjs-load-progres,\n.vjs-sublime-skin .vjs-progress-control .vjs-play-progress {\n border-radius: 2px;\n height: 6.5px;\n}\n\n.vjs-sublime-skin .vjs-playback-rate {\n display: none; /* Remove Playback Rate */\n}\n\n.vjs-sublime-skin .vjs-progress-control {\n margin-right: 50px;\n}\n\n.vjs-sublime-skin .vjs-time-control {\n right: 55px;\n}\n\n.vjs-sublime-skin .vjs-volume-menu-button:before {\n width: 1.2em;\n z-index: 1;\n}\n\n.vjs-sublime-skin .vjs-volume-menu-button .vjs-menu,\n.vjs-sublime-skin .vjs-volume-menu-button:focus .vjs-menu,\n.vjs-sublime-skin .vjs-volume-menu-button.vjs-slider-active .vjs-menu {\n display: block;\n opacity: 1;\n}\n\n.vjs-sublime-skin .vjs-volume-menu-button,\n.vjs-sublime-skin .vjs-volume-panel {\n width: 6em;\n position: absolute;\n right: 0;\n margin-right: 30px;\n}\n\n.vjs-sublime-skin .vjs-volume-menu-button .vjs-menu-content,\n.vjs-sublime-skin .vjs-volume-menu-button:hover,\n.vjs-sublime-skin .vjs-volume-menu-button:focus,\n.vjs-sublime-skin .vjs-volume-menu-button.vjs-slider-active,\n.vjs-sublime-skin .vjs-volume-panel .vjs-volume-control,\n.vjs-sublime-skin .vjs-volume-panel:hover,\n.vjs-sublime-skin .vjs-volume-panel:focus,\n.vjs-sublime-skin .vjs-volume-panel.vjs-slider-active {\n width: 6em;\n}\n\n.vjs-sublime-skin .vjs-volume-menu-button .vjs-menu {\n left: 23px;\n}\n\n.vjs-sublime-skin .vjs-mouse-display:before,\n.vjs-sublime-skin .vjs-play-progress:before,\n.vjs-sublime-skin .vjs-volume-level:before {\n content: ''; /* Remove Circle From Progress Bar */\n}\n\n.vjs-sublime-skin .vjs-mouse-display:after,\n.vjs-sublime-skin .vjs-play-progress:after,\n.vjs-sublime-skin .vjs-time-tooltip {\n width: 5.5em;\n}\n\n.vjs-sublime-skin .vjs-audio-button {\n display: none;\n}\n\n.vjs-sublime-skin .vjs-volume-bar {\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAcCAQAAACw95UnAAAAMElEQVRIx2NgoBL4n4YKGUYNHkEG4zJg1OCRYDCpBowaPJwMppbLRg0eNXjUYBLEAXWNUA6QNm1lAAAAAElFTkSuQmCC);\n background-size: 22px 14px;\n background-repeat: no-repeat;\n height: 100%;\n width: 100%;\n max-width: 22px;\n max-height: 14px;\n margin: 7px 4px;\n border-radius: 0;\n}\n\n.vjs-sublime-skin .vjs-volume-level {\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAcAQAAAAAyhWABAAAAAnRSTlMAAHaTzTgAAAAZSURBVHgBYwAB/g9EUv+JokCqiaT+U4MCAPKPS7WUUOc1AAAAAElFTkSuQmCC);\n background-size: 22px 14px;\n background-repeat: no-repeat;\n max-width: 22px;\n max-height: 14px;\n height: 100%;\n}\n\n/* New for VideoJS v6 */\n.vjs-sublime-skin .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,\n.vjs-sublime-skin .vjs-volume-panel.vjs-volume-panel-horizontal:active,\n.vjs-sublime-skin .vjs-volume-panel.vjs-volume-panel-horizontal:focus,\n.vjs-sublime-skin .vjs-volume-panel.vjs-volume-panel-horizontal:hover {\n width: 6em;\n transition-property: none;\n}\n\n.vjs-sublime-skin .vjs-volume-panel .vjs-mute-control:hover ~ .vjs-volume-control.vjs-volume-horizontal {\n width: 3em;\n height: auto;\n}\n\n.vjs-sublime-skin .vjs-volume-panel .vjs-mute-control:hover ~ .vjs-volume-control {\n transition-property: none;\n}\n\n.vjs-sublime-skin .vjs-fullscreen-control .vjs-icon-placeholder {\n display: none; /* Remove Duplicate Fullscreen Icon */\n}\n\n.vjs-sublime-skin .vjs-volume-panel .vjs-mute-control {\n width: 2em;\n z-index: 1;\n padding: 0;\n}\n\n.vjs-sublime-skin .vjs-volume-panel .vjs-volume-control {\n display: inline-block;\n position: relative;\n left: 5px;\n opacity: 1;\n width: 3em;\n height: auto;\n}"}}}