Invidious (yewtu.be) Player And Tabs v.1

Invidious (yewtu.be) player with Tabs for Description / Comments / Videos Related

Verzia zo dňa 10.10.2022. Pozri najnovšiu verziu.

/* ==UserStyle==
@name        Invidious (yewtu.be) Player And Tabs v.1
@namespace   https://yewtu.be/
@version     01.0.1
@author      decembre
@description Invidious (yewtu.be) player with Tabs for Description / Comments / Videos Related
@icon        https://external-content.duckduckgo.com/ip3/invidious.io.ico
@license     unlicense
==/UserStyle== */

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document url-prefix("https://yewtu.be/watch?") {

/* ====  0- Invidious (yewtu.be) Player And Tabs v.1 - domain("yewtu.be"), ==== */

/* WIDESREEN */

/* TOP NAV */
.pure-g.navbar.h-box .pure-u-1.pure-u-md-4-24 {
    max-width: 5.6667% !important;
    margin-top: -19px !important;
}
.pure-u-1.pure-u-md-12-24.searchbar{
    margin-top: -19px !important;
}
.pure-u-1.pure-u-md-8-24.user-field{
    margin-top: -20px !important;
}

.pure-u-md-20-24, 
.pure-u-md-5-6 {
    width: 83.3333%;
}


#contents {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100% !important;
}
/* VID PLAYER */
.player-dimensions.vjs-fluid {
    padding-top: 82vh;
}
.vjs-poster {
    position: absolute;
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    margin: 0;
    padding: 0;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: contain !important;
    object-fit: contain !important;
/* background-color: #000000; */
}

#player-container.h-box {
    position: relative;
    width: 55% !important;
    height: 0 !important;
    top: 8vh !important;
    margin: 0 1em 0 1em;
    padding: 0 0 82vh 0 !important;
/* border: 1px solid red !important; */
}
#player-container.h-box #player.on-video_player.video-js.player-style-invidious {
    width: 100%;
    padding-top: 590px !important;
/* background-color: #000; */
}


/* TITLE */
#player-container.h-box + .h-box {
position: absolute !important;
    display: inline-block !important;
    width: 53.35% !important;
min-height: 8.1vh !important;
top: 5.5vh !important;
    margin: 0 1em 0 1em !important;
    padding: 0 1em 0 1em !important;
/* border: 1px solid green !important; */
}
#player-container.h-box + .h-box h1  {
    font-size: 1.5em !important;
    margin: 0.27em 0 0 0 !important;
}


/* INFOS + COMMENTS */

.h-box + .pure-g {
    position: absolute !important;
    display: flex;
    float: right !important;
clear: both !important;
    width: 42% !important;
top: 5.8vh !important;
right: 0 !important;
    margin: 0 1em 0 1em;
padding: 1em 0 0 0 !important;
    -moz-box-direction: normal;
    -moz-box-orient: horizontal;
    align-content: flex-start;
    flex-flow: row wrap;
    font-family: FreeSans,Arimo,"Droid Sans",Helvetica,Arial,sans-serif;
    letter-spacing: -0.31em;
    text-rendering: optimizespeed;
border-top: 1px solid red !important;
}
.h-box + .pure-g > div {
    height: 90vh !important;
    overflow: hidden !important;
}
.pure-u-lg-3-5 {
    width: 60%;
}
.pure-u-lg-3-5 .h-box {
    padding-left: 1em;
    padding-right: 1em;
}
.pure-u-lg-3-5 .h-box > a ,
.pure-u-lg-3-5 .h-box > p ,
.pure-u-lg-3-5 .h-box > #description-box ,
.pure-u-lg-3-5 .h-box > hr {
    display: block;
    width: 100%;
}

/* TAB - DESCRIPTION TAB */
/* .pure-u-lg-3-5 .h-box > #description-box , */
.h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type + .pure-u-1 {
position: absolute !important;
width: 98% !important;
height: 92vh !important;
top: 0 !important;
padding: 0.4em 1em 0 1em !important;
    overflow-wrap: break-word;
overflow: hidden !important;
overflow-y: auto !important;
visibility: hidden !important;
/* background: aqua !important; */
}
.h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type + .pure-u-1:hover  {
z-index: 500 !important;
visibility: visible !important;
/* background: #111 !important; */
}
.pure-u-lg-3-5 .h-box > #description-box#description-box:before  {
content: "Description" !important;
position: fixed !important;
max-width: 57% !important;
top: 3.5vh !important;
right: 35vw !important;
padding: 0.1em 1em 0 1em !important;
border-radius: 5px 5px 0 0 !important;
visibility: visible !important;
/* background: aqua !important; */
}


/* TAB - COMMENTS TABS */
.pure-u-lg-3-5 .h-box > #comments  {
position: absolute !important;
width: 100% !important;
height: 92vh !important;
top: 0 !important;
    overflow-wrap: break-word;
overflow: hidden !important;
overflow-y: auto !important;
visibility: hidden !important;
/* background: red !important; */
}
.pure-u-lg-3-5 .h-box > #comments:hover  {
visibility: visible !important;
z-index: 100 !important;
/* background: red !important; */
}
.pure-u-lg-3-5 .h-box > #comments:before  {
content: "Comments" !important;
position: fixed !important;
max-width: 57% !important;
top: 3.5vh !important;
right: 25vw !important;
padding: 0.1em 1em 0 1em !important;
border-radius: 5px 5px 0 0 !important;
visibility: visible !important;
/* background: red !important; */
}

/* TAB - RELATED VIDEO */
.h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type  {
position: absolute !important;
width: 100% !important;
height: 92vh !important;
top: 0 !important;
    overflow-wrap: break-word;
overflow: hidden !important;
overflow-y: auto !important;
opacity: 1 !important;
visibility: visible !important;
/* visibility: hidden !important; */
/* background: #333 !important; */
}
/* .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type > .h-box {
height: 92vh !important;
overflow: hidden !important;
overflow-y: auto !important;
} */
.h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type:hover  {
opacity: 1 !important;
visibility: visible !important;
/* background: green !important; */
}
.h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type:before  {
content: "Videos" !important;
position: fixed !important;
max-width: 57% !important;
top: 3.5vh !important;
right: 16vw !important;
padding: 0.1em 1em 0 1em !important;
border-radius: 5px 5px 0 0 !important;
opacity: 1 !important;
visibility: visible !important;
/* background: green !important; */
}


.h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type:not(:hover) .h-box > h5.pure-g ,
.h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type:not(:hover) .h-box > a {
opacity: 0.1 !important;
transition: opacity ease 0.7s !important;
}


.h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type .h-box > a{
position: relative  !important;
display: inline-flex !important;
/* float: left !important; */
/* clear: both !important; */
width: 45% !important;
height: 100% !important;
min-height: 25vh !important;
max-height: 25vh !important;
margin: 0 0 10px 0  !important;
padding: 0.3em !important;
/* background: #222 !important; */
}
.h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type .h-box > h5.pure-g {
position: absolute !important;
display: inline-block !important;
width: 100% !important;
max-width: 17.4vw !important;
margin: 0.1vh 0 0 -18.4vw  !important;
padding: 0 0.5em !important;
/* background: red !important; */
}
.h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type div.thumbnail {
    position: relative;
    width: 100% !important;
    box-sizing: border-box;
    padding: 0 !important;
}
.h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type div.thumbnail img.thumbnail {
    position: absolute;
    height: 68%;
    width: 100%;
    left: 0vw !important;
    top: 2vh !important;
    object-fit: contain !important;
}

.h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type div.thumbnail .length {
position: absolute !important;
display: inline-block !important;
/* top: 0 !important; */
    bottom: 2.75em;
    right: 0.25em;
    padding: 2px;
    border-radius: 2px;
    font-size: 16px;
    z-index: 100;
/*     color: #fff; */
/*     background-color: rgba(35, 35, 35, 0.75); */
}

.h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type a > p {
position: absolute !important;
display: inline-block !important;
width: 99% !important;
bottom: -1.3vh !important;
}
/* INFOS STATS ETC  - BOTTOM */
.h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type {
    position: fixed !important;
    display: inline-block !important;
    width: 18% !important;
    margin: 0 0 0 -1em !important;
    max-height: 30vh !important;
    padding: 0.5em 0 !important;
    text-align: center;
bottom: -32vh !important;
z-index: 50000 !important;
transition: all ease 0.7s !important;
/* border: 1px solid aqua !important; */
}
.h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type:hover {
    position: fixed !important;
    display: inline-block !important;
    width: 18% !important;
    margin: 0 0 0 1em;
    max-height: 30vh !important;
    padding: 0.5em 0 !important;
    text-align: center;
bottom: 0vh !important;
transition: all ease 0s !important;
/* border: 1px solid aqua !important; */
}
.h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type:before {
content: "⚙️" !important;
position: fixed !important;
display: inline-block !important;
width: 40px !important;
height: 25px !important;
line-height: 25px !important;
left: 58vw !important;
bottom: 1vh !important;
font-size: 15px !important;
text-align: center !important;
z-index: 500 !important;
/* color: red !important; */
}
.h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type:hover:before {
content: "⚙️" !important;
position: fixed !important;
display: inline-block !important;
left: 56.5vw !important;
bottom: 31.8vh !important;
font-size: 15px !important;
z-index: 500 !important;
/* color: red !important; */
}
#watch-on-youtube{
    display: inline-block !important;
    width: 100% !important;
    text-align: left !important;
}
#watch-on-youtube:before{
content: "." !important;
display: inline-block !important;
width: 20px !important;
height: 15px !important;
font-size: 15px !important;
color: transparent !important;
background-image: url("https://duckduckgo.com/assets/icons/favicons/youtube.png") !important;
background-repeat: no-repeat !important;
}
/* FOOTER */
footer {
    position: fixed !important;
    width: 55% !important;
    margin: 0 0 0 1em;
    max-height: 30vh;
    padding: 0.5em 0 !important;
    text-align: center;
bottom: -12.3vh !important;
transition: all ease 0.7s !important;
/* border: 1px solid aqua !important; */
}
footer:hover {
    position: fixed !important;
    width: 55% !important;
    margin: 0 0 0 1em;
    max-height: 30vh;
    padding: 0.5em 0 !important;
    text-align: center;
bottom: 0vh !important;
transition: all ease 0.7s !important;
/* border: 1px solid aqua !important; */
}
footer::before {
    content: "GhitHub";
    position: relative !important;
width: 10vw !important;
left: -25.5vw !important;
top: -3vh !important;
padding-left: 20px !important;
/* background: red !important; */
}
footer:not(:hover) .ion-logo-github::before {
    content: "";
    position: absolute;
    top: -2vh;
    left: 0;
}

/* ==== COLOR == LIGHT ==== */
/* COLOR == LIGHT = VID PLAYER */
.light-theme .vjs-poster {
    background-color: #000000;
}
.light-theme #player-container.h-box #player.on-video_player.video-js.player-style-invidious {
    background-color: #000;
}
/* COLOR == LIGHT = TITLE */
.light-theme #player-container.h-box + .h-box {
border: 1px solid green !important;
}
.light-theme #player-container.h-box + .h-box h1  {
}


/* COLOR == LIGHT = INFOS + COMMENTS */

.light-theme .h-box + .pure-g {
/* border: 1px dotted green !important; */
}
.light-theme .h-box + .pure-g > div {

}
.light-theme .light-theme .pure-u-lg-3-5 {
}
.light-theme .pure-u-lg-3-5 .h-box {
}
.light-theme .pure-u-lg-3-5 .h-box > a ,
.light-theme .pure-u-lg-3-5 .h-box > p ,
.light-theme .pure-u-lg-3-5 .h-box > #description-box ,
.light-theme .pure-u-lg-3-5 .h-box > hr {

}

/* COLOR == LIGHT = TAB - DESCRIPTION TAB */
.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type + .pure-u-1 {
background: white !important;
}
.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type + .pure-u-1:hover  {
background: white !important;
}
.light-theme .pure-u-lg-3-5 .h-box > #description-box#description-box:before  {
background: #C6C3C3 !important;
}
.light-theme .pure-u-lg-3-5 .h-box > #description-box#description-box:hover:before  {
color: white !important;
background: red !important;
}

/* COLOR == LIGHT = TAB - COMMENTS TABS */
.light-theme .pure-u-lg-3-5 .h-box > #comments  {
background: white !important;
}
.light-theme .pure-u-lg-3-5 .h-box > #comments:hover  {
background: white !important;
}
.light-theme .pure-u-lg-3-5 .h-box > #comments:before  {
background: #C6C3C3 !important;
}
.light-theme .pure-u-lg-3-5 .h-box > #comments:hover:before  {
color: white !important;
background: red !important;
}


/* COLOR == LIGHT = TAB - RELATED VIDEO */
.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type  {
background: white !important;
}
.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type:hover  {
background: white !important;
}
.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type:before  {
background: #C6C3C3 !important;
}
.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type:hover:before  {
color: white !important;
background: red !important;
}

.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type:not(:hover) .h-box > h5.pure-g ,
.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type:not(:hover) .h-box > a {

}


.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type .h-box > a{
border: 1px solid #222 !important;
}
.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type .h-box > h5.pure-g {
background: #C6C3C3 !important;
}
.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type div.thumbnail {
}
.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type div.thumbnail img.thumbnail {
}

.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type div.thumbnail .length {
}

.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type a > p {
}
/* COLOR == LIGHT = INFOS STATS ETC  - BOTTOM */
.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type {
border: 1px solid #333 !important;
background: white !important;
}
.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type:hover {
border: 1px solid #333 !important;
}
.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type:not(:hover):before {
content: "⚙️" !important;
background: #C6C3C3 !important;
}
.light-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type:hover:before {
content: "⚙️" !important;
background: #C6C3C3 !important;
}
.light-theme #watch-on-youtube{
background: #C6C3C3 !important;
}
.light-theme #watch-on-youtube:before{
content: "." !important;
color: transparent !important;
background-image: url("https://duckduckgo.com/assets/icons/favicons/youtube.png") !important;
background-repeat: no-repeat !important;
}
/* COLOR == LIGHT = FOOTER */
.light-theme footer {
background: #111 !important;
border: 1px solid #333 !important;
}
.light-theme footer:hover {
background: #111 !important;
border: 1px solid #333 !important;
}
.light-theme footer::before {
    content: "GhitHub";
color: white !important;
background: #111 !important;
}
.light-theme footer:not(:hover) .ion-logo-github::before {
    content: "";
}

/* == END - COLOR == LIGHT === */

/* ==== COLOR == DARK ==== */
/* COLOR == DARK = VID PLAYER */
.dark-theme .vjs-poster {
    background-color: #000000;
}
.dark-theme #player-container.h-box #player.on-video_player.video-js.player-style-invidious {
    background-color: #000;
}
/* COLOR == DARK = TITLE */
.dark-theme #player-container.h-box + .h-box {
    background-color: rgba(21, 21, 21, 1) !important;
}
.dark-theme #player-container.h-box + .h-box h1  {
}

/* COLOR == DARK = INFOS + COMMENTS */

.dark-theme .h-box + .pure-g {
/* border: 1px dotted green !important; */
}
.dark-theme .h-box + .pure-g > div {

}
.dark-theme .dark-theme .pure-u-lg-3-5 {
}
.dark-theme .pure-u-lg-3-5 .h-box {
}
.dark-theme .pure-u-lg-3-5 .h-box > a ,
.dark-theme .pure-u-lg-3-5 .h-box > p ,
.dark-theme .pure-u-lg-3-5 .h-box > #description-box ,
.dark-theme .pure-u-lg-3-5 .h-box > hr {

}

/* COLOR == DARK = TAB - DESCRIPTION TAB */
.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type + .pure-u-1 {
    background-color: rgba(21, 21, 21, 1) !important;
}
.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type + .pure-u-1:hover  {
/* background: white !important; */
}
.dark-theme .pure-u-lg-3-5 .h-box > #description-box#description-box:before  {
    background-color: rgba(21, 21, 21, 1) !important;
}
.dark-theme .pure-u-lg-3-5 .h-box > #description-box#description-box:hover:before  {
color: white !important;
    background-color: red !important
}

/* COLOR == DARK = TAB - COMMENTS TABS */
.dark-theme .pure-u-lg-3-5 .h-box > #comments  {
    background-color: rgba(21, 21, 21, 1) !important;
}
.dark-theme .pure-u-lg-3-5 .h-box > #comments:hover  {
    background-color: rgba(21, 21, 21, 1) !important;
}
.dark-theme .pure-u-lg-3-5 .h-box > #comments:before  {
    background-color: rgba(21, 21, 21, 1) !important;
}
.dark-theme .pure-u-lg-3-5 .h-box > #comments:hover:before  {
color: white !important;
    background-color: red !important
}


/* COLOR == DARK = TAB - RELATED VIDEO */
.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type  {
    background-color: rgba(21, 21, 21, 1) !important;
}
.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type:hover  {
    background-color: rgba(21, 21, 21, 1) !important;
}
.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type:before  {
    background-color: rgba(21, 21, 21, 1) !important;
}
.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type:hover:before  {
color: white !important;
    background-color: red !important;
}

.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type:not(:hover) .h-box > h5.pure-g ,
.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type:not(:hover) .h-box > a {

}


.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type .h-box > a{
border: 1px solid #222 !important;
}
.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type .h-box > h5.pure-g {
    background-color: rgba(21, 21, 21, 1) !important;
}
.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type div.thumbnail {
}
.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type div.thumbnail img.thumbnail {
}

.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type div.thumbnail .length {
}

.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:last-of-type a > p {
}
/* COLOR == DARK = INFOS STATS ETC  - BOTTOM */
.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type {
border: 1px solid #333 !important;
    background-color: rgba(21, 21, 21, 1) !important;
}
.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type:hover {
border: 1px solid #333 !important;
}
.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type:not(:hover):before {
content: "⚙️" !important;
    background-color: rgba(21, 21, 21, 1) !important;
}
.dark-theme .h-box + .pure-g .pure-u-1.pure-u-lg-1-5:first-of-type:hover:before {
content: "⚙️" !important;
    background-color: rgba(21, 21, 21, 1) !important;
}
.dark-theme #watch-on-youtube{
    background-color: rgba(21, 21, 21, 1) !important;
}
.dark-theme #watch-on-youtube:before{
content: "." !important;
color: transparent !important;
background-image: url("https://duckduckgo.com/assets/icons/favicons/youtube.png") !important;
background-repeat: no-repeat !important;
}
/* COLOR == DARK = FOOTER */
.dark-theme footer {
    background-color: rgba(21, 21, 21, 1) !important;
border: 1px solid #333 !important;
}
.dark-theme footer:hover {
    background-color: rgba(21, 21, 21, 1) !important;
border: 1px solid #333 !important;
}
.dark-theme footer::before {
    content: "GhitHub";
color: white !important;
background: #111 !important;
}
.dark-theme footer:not(:hover) .ion-logo-github::before {
    content: "";
}


/* === END == COLOR = DARK ==== */

/* ===  END  ===   ALL ==== */
}