// ==UserScript==
// @name Homestuck Nepeta Leijon
// @namespace http://userstyles.org
// @description Fully supports the landing page, watch page, channel page, and search page, among others.
// @author DRedDogPE
// @run-at document-start
// @include http://youtube.com/*
// @include https://youtube.com/*
// @include http://*.youtube.com/*
// @include https://*.youtube.com/*
// @include *
// @version 1.3
// ==/UserScript==
(function () {
var css = '';
if (false || (new RegExp('^https?://(www.)?youtube.com/(?!dashboard|my_videos|edit|analytics|features|audiolibrary/music|comments)(.*)$')).test(document.location.href))
css += [
'/* Youtube - Homestuck - Nepeta Leijon */',
'/* Homestuck - Nepeta Leijon Youtube Theme */',
'',
'',
' ',
'/* Background - Body */',
'html body{',
'background-image: url(\'http://orig08.deviantart.net/6604/f/2012/114/7/0/nepeta_leijon_by_jacklerules-d4xgfze.png\') !important;',
'background-attachment: fixed;',
'background-size: cover;',
'}',
'',
'/* General Declarations */',
'',
'.branded-page-v2-body {',
'background: transparent !important;',
'}',
'',
'.yt-ui-ellipsis {',
'background-color: transparent !important;',
'}',
'',
'.yt-uix-expander-ellipsis {',
'background-color: transparent !important;',
'}',
' ',
'\t/* Cards */',
'.yt-card {',
'/*background: transparent !important;*/',
'background: transparent !important;',
'} ',
'',
'.branded-page-v2-primary-col .branded-page-box {',
'border-bottom-color: #375700 !important;',
'}',
'',
'.yt-lockup, .yt-lockup .yt-lockup-meta a, .yt-lockup .yt-lockup-description a, .feed-item-container .feed-item-main {',
'color: #5D9100 !important;',
'}',
' ',
'.feed-item-container:hover .feed-item-header a, .feed-item-container:hover a.yt-user-name {',
'color: #1b7fcc !important;',
'}',
'',
'',
'\t/* Buttons - Inputs - Text areas */',
'',
'.yt-uix-button-default, .meta-light .entry-meta span, .meta-light .entry-utility span.bl_posted, .yt-uix-button-default[disabled], .yt-uix-button-default[disabled]:hover, .yt-uix-button-default[disabled]:active, .yt-uix-button-default[disabled]:focus {',
'border-color: #375700 !important;',
'background: #466E01 !important;',
'color: #649C02 !important;',
'}',
'',
'.yt-uix-button-default:hover, .yt-uix-button-text:hover {',
'border-color: #c10000 !important;',
'background: #1f1f1f !important;',
'}',
'',
'.yt-uix-button-text, .yt-uix-button-text[disabled] {',
'color: #649C02 !important;',
'}',
'',
'.yt-uix-button-default:active, .yt-uix-button-default.yt-uix-button-toggled, .yt-uix-button-default.yt-uix-button-active, .yt-uix-button-default.yt-uix-button-active:focus, .yt-uix-button-text:active {',
'box-shadow: inset 0 1px 0 #555 !important;',
'}',
' ',
'.yt-uix-button-arrow { border-top-color: #ccc !important; }',
'',
'.yt-uix-form-input-text, .yt-uix-form-input-textarea {',
'background: #111 !important;',
'border-color: #2b2b2b !important;',
'color: #649C02 !important;',
'}',
'',
'.yt-uix-form-input-select:hover, .yt-uix-form-input-text:hover, .yt-uix-form-input-textarea:hover {',
'border-color: #c10000 !important;',
'}',
'',
'.yt-uix-form-input-select.focused, .yt-uix-form-input-checkbox:focus+.yt-uix-form-input-checkbox-element, .yt-uix-form-input-radio:focus+.yt-uix-form-input-radio-element, .yt-uix-form-input-text:focus, .yt-uix-form-input-textarea:focus {',
'border-color: #649C02 !important;',
'}',
'',
'.yt-uix-form-input-radio-element, .yt-uix-form-input-checkbox-element {',
'border-color: #375700 !important;',
'}',
'',
'.yt-uix-form-input-checkbox-container:hover .yt-uix-form-input-checkbox-element, .yt-uix-form-input-radio-container:hover .yt-uix-form-input-radio-element {',
'border-color: #c10000 !important;',
'}',
'',
'.yt-uix-form-input-checkbox-container input:checked+.yt-uix-form-input-checkbox-element {',
'background: no-repeat url(data:image/png;base64,iVBORw0KGgo#456B02ANSUhEUg#456B02B#456B02AAQCAY#456B02Af8/9h#456B02AGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllP#456B02AylpVFh0WE1MOmNvbS5hZG9iZS54bX#456B02#456B02ADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QzI3MjhBMkE5N0NEMTFFNDg1RkFEQTkwQUZGQkFBMzYiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QzI3MjhBMjk5N0NEMTFFNDg1RkFEQTkwQUZGQkFBMzYiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuZGlkOjRlMmJkZGYzLTVjMWUtNzE0OC1iMWEyLWM4MTMxNWIwNTRjZiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0ZTJiZGRmMy01YzFlLTcxNDgtYjFhMi1jODEzMTViMDU0Y2YiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7OwPmI#456B02Au0lEQVR42mL8//8/AyWAiYFCQK4BkpQYYA7EleQaYA/EuUB8AibAQoLmQCD2AOJLQLyCFANYgTgJiI2A+DIQT0GWJGQANxDnAbECEN8B4pn4YgFksj+SoWJAXAHV/BQq/xvdAEakhOQIxBFA/BCI9wFxGNQFr4C4C4g/Y3MiI1pKTAViEyT+ByDuBOJ3xCakJUD8EsoG2TgJn2YwALkADcsCcQ8QK2CRw8CMODITJxB/JyZxMA54bgQIMADEwFkR0/SN/g#456B02ABJRU5ErkJggg==) !important;',
'border-color: #36649c !important;',
'}',
'',
'/*---*/',
'',
'/* Masthead - Header */',
'#yt-masthead-container, .ubermenu-main {',
'background: #416600!important;',
'border-bottom-color: #375700 !important;',
'}',
'',
'#yt-masthead #logo {',
'background: no-repeat url(http://i.imgur.com/DDNZc3U.png) -131px -219px !important;',
'}',
'',
'#yt-masthead-user-displayname {',
'color: #999 !important;',
'}',
'',
'#yt-masthead-user #sb-button-notify {',
'background: transparent !important;',
'}',
'',
'#yt-masthead-user .yt-uix-button-icon-bell {',
'background: no-repeat url(http://i.imgur.com/veEzSqG.png) 0 -34px !important;',
'}',
'',
'\t/* Masthead - Guide */',
'',
'',
'\t/* Button */',
'/*#masthead-positioner:hover #appbar-guide-button {',
'border-color: transparent !important;',
'background: #006D91 !important;',
'}',
' ',
'#masthead-positioner #appbar-guide-button:hover {',
'border-color: #c10000 !important;',
'background: #1f1f1f !important;',
'}*/',
'',
'#masthead-positioner:hover #appbar-guide-button {',
'border-color: #c10000 !important;',
'background: #1f1f1f !important;',
'}',
'',
'\t/* Menu */',
'',
'#appbar-guide-menu, .guide-flyout {',
'background: transparent !important;',
'}',
'',
'#guide-container {',
'background: #649C02;',
'}',
'',
'.guide-flyout {',
'border-color: #375700 !important;',
'}',
'',
'.guide-pinned .guide-pinning-enabled #appbar-guide-menu {',
'border-right-color: #375700 !important;',
'}',
'',
'.guide-item {',
'color: #649C02 !important;',
'}',
'',
'.guide-item.guide-item-selected, .guide-item.guide-item-selected:hover, .guide-item.guide-item-selected .yt-deemphasized-text, .guide-item.guide-item-selected:hover .yt-deemphasized-text, .guide-collection-item .guide-item.guide-item-selected {',
'color: #AAAA0A !important;',
'background-color: #466E01 !important',
'}',
'',
'.guide-section-separator {',
'border-bottom-color: #375700 !important;',
'}',
'',
'.yt-thumb {',
'background: transparent !important;',
'}',
' ',
'\t/* Masthead - Search */',
'',
'#masthead-search-terms, #masthead-search-term {',
'background-color: #466E01 !important;',
'border-color: #375700 !important',
'color: #649C02 !important;',
'}',
'',
'.masthead-search-terms-border {',
'border-color: #375700 !important;',
'box-shadow: none !important;',
'}',
'',
'#masthead-search .search-btn-component .yt-uix-button-content {',
'background: no-repeat url(http://i.imgur.com/DDNZc3U.png) -173px -62px !important;',
'}',
'',
'\t/* Masthead - Search - Results */',
'',
'.gssb_e {',
'border-color: #375700 !important;',
'}',
'',
'.gssb_m {',
'color: #649C02 !important;',
'background: #466E01 !important;',
'}',
'',
'.gssb_i td {',
'background: #2a2a2a !important;',
'}',
'',
'/* Masthead - Appbar */',
'',
'#masthead-appbar {',
'background-color: #649C02 !important;',
'border-color: #375700 !important;',
'}',
'',
'/*---*/',
'',
'/* What to Watch */',
'',
'.branded-page-module-title a:visited, .branded-page-module-title a {',
'color: #649C02 !important;',
'}',
'',
'.compact-shelf .yt-uix-button-shelf-slider-pager {',
'background: transparent !important;',
'}',
'',
'.browse-list-item-container:hover .compact-shelf .yt-uix-button-shelf-slider-pager, .compact-shelf:hover .yt-uix-button-shelf-slider-pager {',
'background: rgba(0,0,0,0.15) !important;',
'border-color: #375700 !important;',
'}',
'',
'.compact-shelf .yt-uix-shelfslider-next-arrow, .rtl .compact-shelf .yt-uix-shelfslider-prev-arrow {',
'background: no-repeat url(http://i.imgur.com/8Y5Xqhd.png) -42px -1452px !important;',
'}',
'',
'.compact-shelf .yt-uix-shelfslider-prev-arrow, .rtl .compact-shelf .yt-uix-shelfslider-next-arrow {',
'background: no-repeat url(http://i.imgur.com/8Y5Xqhd.png) -14px -1595px !important;',
'}',
'',
'/* My Subscriptions */',
'',
'.feed-header {',
'border-bottom-color: #375700 !important;',
'}',
'',
'.feed-author-bubble {',
'background: no-repeat url(http://i.imgur.com/DDNZc3U.png) -149px -357px !important;',
'}',
' ',
'.feed-author-bubble.rec {',
'background: no-repeat url(http://i.imgur.com/DDNZc3U.png) -34px -62px !important;',
'}',
'',
'.feed-item-main {',
'border-bottom-color: #375700 !important;',
'}',
'',
'/* Recommended Channels */',
'',
'.branded-page-related-channels h3 a, .branded-page-related-channels h3 {',
'color: #649C02 !important;',
'}',
'',
'.yt-uix-button-subscribe-unbranded, .yt-uix-button-subscribe-unbranded[disabled], .yt-uix-button-subscribe-unbranded[disabled]:hover, .yt-uix-button-subscribe-unbranded[disabled]:active, .yt-uix-button-subscribe-unbranded[disabled]:focus {',
'border-color: #375700 !important;',
'background: transparent !important;',
'color: #649C02 !important;',
'}',
'',
'.yt-uix-button-subscribe-unbranded.no-icon-markup:before {',
'margin-right: 0 !important;',
'}',
'',
'/*---*/',
'',
'/* Watch Page */',
'',
'#watch7-content, #watch7-sidebar { background: transparent !important; }',
'',
'#watch7-content .yt-card { margin: 5px 0 !important; }',
'.watch-wide #watch-header, #watch7-sidebar-discussion.yt-card { margin-top: 0 !important; }',
'.watch-wide #watch7-sidebar, .watch-wide #watch7-preview { margin-top: 0 !important; }',
'',
'#watch7-headline, #watch7-user-header, #watch-discussion, .yt-uix-button-panel {',
'background: transparent !important;',
'}',
'',
'\t/* Watch Page - Desc & Actions */',
'',
'#watch7-action-buttons {',
'background: transparent !important;',
'border-color: #375700 !important;',
'}',
'',
'#watch7-action-buttons, #watch7-action-panels, #watch-discussion {',
'border-right-width: 0px !important;',
'}',
'',
'.watch-view-count { color: #ccc !important; }',
'',
'#watch7-headline.yt-uix-expander-collapsed h1, .yt-uix-expander-head, #watch-description, #watch-headline-title h1, .yt-card .yt-uix-button-expander:hover { color: #649C02 !important; }',
'',
'#watch7-user-header .yt-user-info a { color: #649C02 !important; }',
'',
'.yt-uix-button-subscribed-branded, .yt-uix-button-subscribed-branded[disabled], .yt-uix-button-subscribed-branded[disabled]:hover, .yt-uix-button-subscribed-branded[disabled]:active, .yt-uix-button-subscribed-branded[disabled]:focus, .yt-uix-button-subscribed-unbranded, .yt-uix-button-subscribed-unbranded[disabled], .yt-uix-button-subscribed-unbranded[disabled]:hover, .yt-uix-button-subscribed-unbranded[disabled]:active, .yt-uix-button-subscribed-unbranded[disabled]:focus {',
'background: transparent !important;',
'border-color: transparent !important;',
'}',
'',
'.yt-uix-subscription-preferences-button {',
'border-radius: 2px !important;',
'}',
'',
'.yt-subscription-button-subscriber-count-branded-horizontal, .yt-subscription-button-subscriber-count-branded-vertical {',
'border-color: #375700 !important;',
'background-color: #111 !important;',
'}',
' ',
'.yt-subscription-button-subscriber-count-branded-horizontal:before {',
'border-color: transparent #c10000 !important;',
'}',
'',
'.yt-subscription-button-subscriber-count-branded-horizontal:after {',
'border-color: transparent #111 !important;',
'}',
' ',
'.video-extras-sparkbar-likes { background: #590 !important; }',
'.video-extras-sparkbar-dislikes { background: #F00 !important; }',
'',
'.metadata-inline {',
'background: #2a2a2a !important;',
'margin-bottom: 5px !important;',
'}',
'',
'#watch-discussion {',
'margin-top: 5px !important;',
'}',
'',
'#watch8-action-buttons {',
'border-top: none !important;',
'}',
'',
'.yt-card .yt-uix-button-expander {',
'border-top-color: #375700 !important;',
'}',
'',
'#action-panel-details a {',
'color: #666 !important;',
'}',
'',
'#action-panel-details:hover a {',
'color: #649C02 !important;',
'}',
'',
'.yt-card .yt-uix-tabs {',
'border-bottom-color: #375700 !important;',
'}',
'',
'.yt-card .yt-uix-tabs .yt-uix-button:hover, .yt-card .yt-uix-tabs .yt-uix-button:active, .yt-card .yt-uix-tabs .yt-uix-button.yt-uix-button-active, .yt-card .yt-uix-tabs .yt-uix-button.yt-uix-button-toggled, a.yt-uix-button-epic-nav-item:hover {',
'border-bottom-color: #466E01 !important;',
'}',
'',
'#watch8-action-buttons .yt-uix-button, #watch8-action-buttons .yt-uix-button:hover, #action-panel-dismiss, #action-panel-dismiss:hover {',
'background: none !important;',
'border: none !important;',
'}',
'',
'#action-panel-dismiss:before, .action-panel-trigger-dismiss:before {',
'background: no-repeat url(http://i.imgur.com/6sI87Fl.png) -14px -861px !important;',
'}',
'',
'\t/* Watch Page - Transcript */',
'',
'.caption-line {',
'border-color: #375700 !important;',
'border-radius: 0 !important;',
'color: #649C02 !important;',
'background: transparent !important;',
'padding: 3px 0 0 3px !important;',
'border-bottom-width: 0px !important;',
'}',
'',
'.caption-line-highlight {',
'color: #eee !important;',
'background-color: transparent !important;',
'}',
'',
'\t/* Watch Page - Player */',
'',
'#player.watch-large, #player.watch-medium, #player.watch-medium-540/*, #player.watch-small*/ {',
'margin-bottom: 5px !important;',
'margin-top: 10px !important;',
'}',
'',
'.watch-stage-mode #theater-background { background-color: transparent !important; }',
'',
'\t/* Watch Page - Sidebar */',
'',
'.watch-wide #watch7-sidebar { margin-left: 645px !important; }',
'#watch7-sidebar-contents { padding: 10px 0 !important; }',
'#watch7-sidebar .watch-sidebar-section { margin: 0 5px !important; }',
'.watch-playlist { margin-bottom: 5px !important; }',
'#watch7-sidebar .watch-sidebar-section { background: transparent !important; }',
'#watch7-sidebar .watch-sidebar-separation-line { border-bottom-color: #375700 !important; }',
'',
'/* Sidebar Link Colors */',
'',
'#watch7-sidebar .video-list .video-list-item .title { color: #00BFFF !important; }',
'#watch7-sidebar .video-list .video-list-item .title:hover { color: #006D91 !important; }',
'#watch7-sidebar .video-list-item a:visited .title { color: #0099CC !important; }',
'#watch7-sidebar .video-list-item a:hover:visited .title { color: #006D91 !important; }',
'',
'#watch7-sidebar .watch-sidebar-head { color: #999 !important; }',
'',
'\t/* Watch Page - Icons */',
'',
'#watch-like:before, #watch-dislike:before, .actionable #watch-like.yt-uix-button:active:before, .actionable #watch-like.yt-uix-button.yt-uix-button-toggled:before {',
'background-image: url(http://i.imgur.com/HZQMHOi.png) !important;',
'}',
'',
'#watch-like span, #watch-dislike span { color:#AAAA0A }',
'.actionable #watch-like:active .yt-uix-button-content, .actionable #watch-like.yt-uix-button-toggled .yt-uix-button-content { color: #590 !important; }',
' ',
' ',
'.action-panel-trigger-addto:before, .action-panel-trigger-none-addto:before { background: no-repeat url(http://i.imgur.com/ionzN0P.png) -24px -1012px !important; }',
'.action-panel-trigger-share:before { background: no-repeat url(http://i.imgur.com/ionzN0P.png) -31px -2210px !important; }',
'#action-panel-overflow-button:before, .action-panel-trigger-overflow:before { background: no-repeat url(http://i.imgur.com/ionzN0P.png) -24px -1301px !important; }',
'',
'#watch8-action-buttons .yt-uix-button { color: #ccc !important; }',
'',
'\t/* Watch Page - Context Dropdown */',
'',
'.yt-scrollbar ::-webkit-scrollbar-thumb {',
'border-left-width: 0px !important;',
'background: #ccc !important;',
'-webkit-box-shadow: inset 0 0 0px transparent ;',
'}',
'',
'.yt-scrollbar ::-webkit-scrollbar-track {',
'border-left-width: 0px !important;',
'-webkit-box-shadow: inset 0 0 0px transparent;',
'}',
'',
'.guide-module-content.yt-scrollbar {',
'height: auto !important;',
'}',
'',
'#watch-context-container ul {',
'max-height: 506px !important;',
'}',
'',
'\t/* Watch Page - Creator Bar */',
'',
'#watch7-creator-bar {',
'border-color: #375700 !important;',
'background: transparent !important;',
'}',
'',
'.yt-uix-button-panel:hover .creator-bar-item .yt-uix-button-text-dark, .yt-uix-button-panel .creator-bar-item .yt-uix-button-text-dark:hover {',
'border-color: #375700 !important;',
'background: #2a2a2a !important;',
'}',
'',
'.creator-bar-item .yt-uix-button-icon-info { background: no-repeat url(http://i.imgur.com/ikibWu8.png) 0 -50px !important; }',
'.creator-bar-item .yt-uix-button-icon-enhance { background: no-repeat url(http://i.imgur.com/ikibWu8.png) 0 0 !important; }',
'.creator-bar-item .yt-uix-button-icon-audio { background: no-repeat url(http://i.imgur.com/ikibWu8.png) 0 -72px !important; }',
'.creator-bar-item .yt-uix-button-icon-annotations { background: no-repeat url(http://i.imgur.com/ikibWu8.png) 0 -128px !important; }',
'.creator-bar-item .yt-uix-button-icon-captions { background: no-repeat url(http://i.imgur.com/ikibWu8.png) 0 -150px !important; }',
'',
'/*---*/',
'',
'/* Channel Page */',
'',
'.channel-header .branded-page-header-title .branded-page-header-title-link, .branded-page-module-title { color: #649C02 !important; }',
'',
'.branded-page-v2-top-row { background: transparent !important; }',
'',
'.branded-page-box.yt-card { background: transparent !important; }',
'',
'#c4-header-bg-container, .branded-page-v2-subnav-container { border-bottom-color: transparent !important; }',
'',
'.branded-page-v2-secondary-col .branded-page-related-channels-see-more a { color: #649C02 !important; }',
'',
'.multirow-shelf .compact-shelf-view-all-card {',
'border-color: transparent !important;',
'background-color: transparent !important;',
'}',
'',
'\t/* Channel Page Header */',
'',
'.channel-header .secondary-header-contents {',
'background-color: #690000 !important;',
'border-bottom-color: #375700 !important;',
'}',
'',
'.secondary-header-contents .nav-text { color: #AAAA0A !important; }',
'',
'#channel-header-view-as-link .header-action-icon { background: no-repeat url(http://i.imgur.com/TLZeIKB.png) 0 -93px !important; }',
'#channel-header-vm-link .header-action-icon, .header-action-icon.vm-icon { background: no-repeat url(http://i.imgur.com/v8MBqQk.png) -64px -23px !important; }',
'#channel-header-analytics-link .header-action-icon, .header-action-icon.analytics-icon { background: no-repeat url(http://i.imgur.com/v8MBqQk.png) 0 -339px !important; }',
'',
'\t/* Channel Page - Icons */',
'',
'#channel-search .show-search .search-icon {background: no-repeat url(http://i.imgur.com/VirN1wE.png) -170px -201px !important; }',
'',
'.yt-uix-button-icon-c4-grid-flow { background: no-repeat url(http://i.imgur.com/1R4Q7hF.png) -9px -582px !important; }',
'.yt-uix-button-icon-c4-list-flow { background: no-repeat url(http://i.imgur.com/1R4Q7hF.png) 0 -1576px !important; }',
'',
'.play-all-icon-btn:before { background: no-repeat url(http://i.imgur.com/DDNZc3U.png) -29px -178px !important; }',
' ',
'.addto-watch-later-button:before, .addto-watch-later-button-sign-in:before { background: no-repeat url(http://i.imgur.com/GT0JHEg.png) -54px -1640px !important; }',
' ',
'/*---*/',
' ',
'/* Search Page */',
'',
'.search-header { border-bottom-color: #375700 !important; }',
'.search-header .num-results, .search-header .num-results strong, .search-header .yt-uix-button-content, .filter-col-title, .filter { color: #649C02 !important; }',
'',
'.yt-badge {',
'border-color: #375700 !important;',
'color: #649C02 !important;',
'background-color: #649C02 !important;',
'}',
'',
'.yt-subscription-button-subscriber-count-unbranded-horizontal {',
'border-color: #375700 !important;',
'background-color: #111 !important;',
'}',
'',
'/*---*/',
'',
'/* Footer */',
' ',
'#footer-container {',
'background-color: transparent !important;',
'border-top-color: #375700 !important;',
'}',
' ',
'#footer-main { border-bottom-color: transparent !important; }',
'#footer-logo .footer-logo-icon { background: no-repeat url(http://i.imgur.com/DDNZc3U.png) -131px -219px !important; }',
' ',
'#footer-links-primary a { color: #999 !important; }',
'',
'/*---*/',
'',
'/* All Comments Page */',
'',
'#watch-response { background: transparent !important; }',
'',
'.all-comments, .all-comments a, div.post, div.page, .sidey .widget-container, #comments, .commentlist .comment-body, article.post, article.page, #nav-below, .page-header {',
'background-color: transparent !important;',
'color: #649C02 !important;',
'}',
'',
'#watch-response-content { border-top-color: #375700 !important; }',
'',
'#watch-response-header-content p a { color: #649C02 !important; }',
'',
'#yt-comments-sb-standin .box {',
'background-color:#111!important;',
'border-top:1px solid #375700!important;',
'border-color:#375700!important;',
'}',
'',
'#yt-comments-sb-standin .callout-inner, #yt-comments-sb-standin .callout-outer {',
'border-bottom-color: transparent !important;',
'border-left-color: transparent !important;',
'}',
'',
'.callout-outer { border-color: #375700!important; }',
'.callout-inner { border-color: #111!important; }',
'',
'.comments .comment-text .comment-text-content { color: #649C02 !important; }',
'',
'/*---*/',
'',
'/* Playlist Page */',
'',
'#pl-header .pl-header-title { color: #649C02 !important; }',
'',
'.pl-video-title-link { color: #649C02 !important; }',
'.pl-video:hover .pl-video-title-link, .pl-video:hover .pl-video-owner a { color: #649C02 !important; }',
'',
'.pl-video { border-bottom-color: #375700 !important; }',
'',
'\t/* Playlist Page - Icons */',
'',
'.create-playlist-widget-button .add-new-pl-btn:before { background: no-repeat url(http://i.imgur.com/xaxFdAo.png) 0 -1964px !important; }',
'',
'.pl-header-privacy-only-me { background: no-repeat url(http://i.imgur.com/xaxFdAo.png) 0 -1395px !important; }',
'.pl-header-privacy-limited-sharing { background: no-repeat url(http://i.imgur.com/xaxFdAo.png) 0 -621px !important; }',
'.pl-header-privacy-everyone { background: no-repeat url(http://i.imgur.com/xaxFdAo.png) 0 -911px !important; }',
'',
'#pl-header .yt-uix-button-icon-gear { background: no-repeat url(http://i.imgur.com/xaxFdAo.png) -36px -748px !important; }',
'#pl-header .playlist-share:before { background: no-repeat url(http://i.imgur.com/xaxFdAo.png) 0 -445px !important; }',
'',
'\t/* Playlist - Create Playlist Dropdown / Popups */',
'',
'.create-playlist-widget-form .create-playlist-bottom-section { background-color: transparent !important; }',
'',
'#playlist-settings-editor .yt-dialog-footer {',
'border-top-color: #375700 !important;',
'background-color: transparent !important;',
'}',
'',
'/*---*/',
'',
'/* Dropdowns */',
'',
'\t/* yt-uix-form */',
'',
'.yt-uix-form-legend, .yt-uix-form-label { color: #649C02 !important; }',
'',
'\t/* yt-ui-menu / yt-uix-menu */',
'',
'.yt-ui-menu-content {',
'background: transparent !important;',
'border-color: #375700 !important;',
'}',
'',
'.yt-ui-menu-item:focus { background: #000066 !important; }',
'',
'.yt-uix-menu-trigger-selected .yt-ui-menu-item, .yt-ui-menu-item:hover {',
'background: #690000 !important;',
'color: #AAAA0A !important;',
'}',
'',
'.yt-ui-menu-item { color: #999 !important; }',
'',
'.action-panel-trigger-report:before { background: no-repeat url(http://i.imgur.com/mZ790AJ.png) 0 -748px !important; }',
'.action-panel-trigger-transcript:before { background: no-repeat url(http://i.imgur.com/mZ790AJ.png) 0 -1556px !important; }',
'',
'',
'\t/* Button Menu */',
'',
'.yt-uix-button-menu {',
'border-color: #c10000 !important;',
'background: transparent !important;',
'}',
'',
'.yt-uix-button-menu .yt-uix-button-menu-item.selected, .yt-uix-button-menu .yt-uix-button-menu-item-highlight .yt-uix-button-menu-item, .yt-uix-button-menu .yt-uix-button-menu-item:hover {',
'background-color: #690000 !important;',
'color: #AAAA0A !important;',
'}',
'',
'.yt-uix-button-menu .yt-uix-button-menu-item { color: #999 !important; }',
'',
' /* Sub Prefs Popup */',
'',
'.yt-dialog-fg {',
'background: transparent !important;',
'border-color: #375700 !important;',
'}',
' ',
'.yt-dialog-bg, .yt-uix-overlay-bg { background-color: #000 !important; }',
'',
'.yt-uix-overlay-primary .yt-dialog-header { background-color: transparent !important; }',
' ',
'.yt-dialog-fg-content .yt-dialog-title, .yt-uix-overlay-fg-content .yt-dialog-title { color: #ccc !important; }',
'.yt-dialog-fg-content, .yt-uix-overlay-fg-content { color: #649C02 !important; }',
'',
'.yt-uix-overlay-actions { background: transparent !important; }',
' ',
'\t/* Account switcher */',
'',
'.yt-masthead-account-picker.yt-uix-clickcard-card-content, #masthead-expanded .masthead-expanded-menu-header { color: #649C02 !important; }',
'',
'.yt-uix-clickcard-card-border, .yt-uix-hovercard-card-border {',
'background: transparent !important;',
'border-color: #375700 !important;',
'}',
'',
'.yt-masthead-picker-header { border-bottom-color: #375700 !important; }',
' ',
'.yt-masthead-account-picker-option, .yt-masthead-picker-footer { background: transparent !important; }',
'.yt-masthead-account-picker-option .yt-masthead-picker-name { color: #649C02 !important; }',
'.yt-uix-button-icon-icon-account-settings { background: no-repeat url(http://i.imgur.com/7fc8SwR.png) -49px -507px !important; }',
' ',
'.yt-uix-clickcard-card-reverse .yt-uix-card-body-arrow-vertical, .yt-uix-hovercard-card-reverse .yt-uix-card-body-arrow-vertical { border-bottom-color: transparent !important; } ',
'.yt-uix-clickcard-card-reverse .yt-uix-card-border-arrow-vertical, .yt-uix-hovercard-card-reverse .yt-uix-card-border-arrow-vertical { border-bottom-color: #375700 !important; }',
'',
'/*---*/',
'',
'/* YT Center Compat Bits */',
'.ytcenter-module-container .yt-uix-form-input-checkbox-container input:checked+.yt-uix-form-input-checkbox-element {',
'background: no-repeat url(http://i.imgur.com/gIgpO5N.png) 0 -1640px !important;',
'}',
'',
'/*---*/',
' ',
'/* Blanket Fonts */',
'',
'.yt-card .yt-card-title, a.yt-uix-button-epic-nav-item.selected, a.yt-uix-button-epic-nav-item.yt-uix-button-toggled, button.yt-uix-button-epic-nav-item.selected, button.yt-uix-button-epic-nav-item.yt-uix-button-toggled, .epic-nav-item.selected, .epic-nav-item.yt-uix-button-toggled, .epic-nav-item-heading, .epic-nav-item:hover { color: #649C02 !important; border-color: #649C02 !important;}',
'',
'/*---*/',
".html5-play-progress, .ytp-play-progress {",
" background: #416600 !important; /* Old browsers */",
" background: -moz-linear-gradient(left, #1b1b1b 0%, #416600 100%) !important;",
" background: -webkit-gradient(linear, left top, right top, color-stop(0%,#1b1b1b), color-stop(100%,#416600)) !important;",
" background: -webkit-linear-gradient(left, #1b1b1b 0%,#416600 100%) !important;",
" background: -o-linear-gradient(left, #1b1b1b 0%,#416600 100%) !important;",
" background: -ms-linear-gradient(left, #1b1b1b 0%,#416600 100%) !important;",
" background: linear-gradient(to right, #1b1b1b 0%,#416600 100%) !important;",
"}",
"/*.html5-load-progress, .ytp-load-progress {",
" background: #404040 !important;",
"}*/",
"/* scrubber button glow */",
".html5-scrubber-button, .ytp-scrubber-button {",
" border-color: #1B1B1B !important;",
" box-shadow: 0px 0px 3px #416600, 0px 0px 5px #416600, 0px 0px 0px #416600 !important;",
" transition: box-shadow 0.2s, background 0.2s !important;",
"}",
"/* scrubber button */",
".ytp-swatch-background-color, .ytp-swatch-background-color-secondary, .html5-scrubber-button:hover, .ytp-scrubber-button:hover {",
" background-color: #416600 !important;",
"}",
"/* scrubber button glow on hover */",
".html5-scrubber-button:hover, .ytp-scrubber-button:hover {",
" border-color: #1B1B1B !important;",
" box-shadow: 0px 0px 6px #416600, 0px 0px 8px #416600, 0px 0px 10px #416600 !important;",
"}",
"/* volume control */",
".ytp-volume-slider-track, .ytp-volume-slider-handle:before {",
" background: #416600 !important; /* Old browsers */",
" background: -moz-linear-gradient(left, #1b1b1b 0%, #416600 100%) !important;",
" background: -webkit-gradient(linear, left top, right top, color-stop(0%,#1b1b1b), color-stop(100%,#416600)) !important;",
" background: -webkit-linear-gradient(left, #1b1b1b 0%,#416600 100%) !important;",
" background: -o-linear-gradient(left, #1b1b1b 0%,#416600 100%) !important;",
" background: -ms-linear-gradient(left, #1b1b1b 0%,#416600 100%) !important;",
" background: linear-gradient(to right, #1b1b1b 0%,#416600 100%) !important;",
" z-index: -117;",
"}",
"/* extras */",
".ytp-settings-button.ytp-hd-quality-badge::after, .ytp-settings-button.ytp-4k-quality-badge::after, .ytp-settings-button.ytp-5k-quality-badge::after, .ytp-settings-button.ytp-8k-quality-badge::after, .ytp-settings-button.ytp-3d-badge::after {",
" background-color: #416600 !important;",
"}",
".ytp-swatch-color {",
" color: #416600 !important;",
"}",
".ytp-menuitem[aria-checked=\"true\"] .ytp-menuitem-toggle-checkbox {",
" background: #416600 !important;",
"}",
".ytp-chrome-controls .ytp-button.ytp-youtube-button:hover:not([aria-disabled=\"true\"]):not([disabled]) .ytp-svg-fill-logo-tube-lozenge {",
" fill: #416600 !important;",
"}",
".ytp-cued-thumbnail-overlay:hover .ytp-large-play-button-bg, .ytp-large-play-button.ytp-touch-device .ytp-large-play-button-bg {",
" fill: #416600 !important;",
"}"
].join('\n');
if (false || (new RegExp('^https://plus.googleapis.com/(.*)/widget/render/comments\\?usegapi=1&first_party_property=YOUTUBE&href=(.*)$')).test(document.location.href) || (new RegExp('^https://apis.google.com/u/[0-9]/(.*)/_/widget/render/comments\\?usegapi=1&first_party_property=YOUTUBE&href=(.*)$')).test(document.location.href))
css += [
'.yJa,.BJa,.mj{background:transparent!important;}',
'',
'.yDa{background-color:transparent!important;}',
'',
'.DJa{background-color:transparent!important;color:#999!important;}',
'',
'.E5,.e4{background-color:#111!important;border-top:1px solid #375700!important;border-color:#375700!important;}',
'',
'.Mga{border-color:#111!important;}',
'',
'.gj.d-s,.qg{color:#777!important;}',
'',
'.g9 .Xa.va .vy,.g9 .Xa.va .dp.d-s,.g9 .Xa.va .ot-anchor,.g9 .Xa.va .ot-hashtag,.g9 .Xa.va .proflink,.g9 .Xa.va .proflinkPrefix,.g9 .Xa.va .gj.d-s,.Xa.va .qg,.Xa.va .mi.d-s{color:#427fed!important;}',
'',
'.d-A,.d-Kl,.d-A-yb .d-A-B,.d-A-u .d-A-B{color:#ccc!important;}',
'',
'.bmd{color:#590;}',
'',
'.r3 .r0{background:#242323!important;color:#456B02!important;border-color:#375700!important;}',
'',
'.d-y-r-c{background-color:#2b2b2b!important;background-image:linear-gradient(to bottom,transparent 0,#2c2c2c 100%)!important;color:#456B02!important;border-color:#c10000!important;}',
'',
'.d-k-l.d-y-r-c-Qa,.ena{background:no-repeat url(http://i.imgur.com/ho8PnMO.png) -131px -17px!important;}',
'',
'.d-r{background:transparent!important;border:1px solid #c10000!important;}',
'',
'.d-A-yb,.d-A-u{background-color:#690000!important;border-color:#690000!important;border-style:solid!important;}',
'',
'.Hma .Pga.d-A-yb{border:none!important;}',
'',
'.ot-anchor{color:#6f6f6f!important;}',
'',
'.dga{background-color:#151515!important;border-color:#375700!important;}',
'',
'.mj .tm{background:no-repeat url(http://i.imgur.com/VpPZ6yW.png) -13px -719px!important;}',
'',
'.g-h-f-V-nb{background:transparent!important;}',
'',
'.d-cm{border-top-color:#375700!important;}',
'',
'.g-h-f-m-wc-E,.g-h-f-m-Ed-wc-E{background:no-repeat url(http://i.imgur.com/p4Hnp94.png) -21px -25px!important;}',
'',
'.IGPVEc{background:no-repeat url(http://i.imgur.com/k5G05JP.png) -131px 0!important;}',
'',
'.FnlLyd:hover{background-color:transparent!important;border-color:#375700!important;}',
'',
'.FnlLyd:active{background-color:#2a2a2a!important;border-color:#c10000!important;}',
'',
'.Kgb,.Y8b .TD{background-color:#3a3a3a!important;}',
'',
'.MJa.JMc{background:no-repeat url(http://i.imgur.com/G39kb8k.png) 0 -186px!important;}',
'',
'.LJa.Zld{background:no-repeat url(http://i.imgur.com/G39kb8k.png) 0 -204px!important;}',
'',
'.MJa{background:no-repeat url(http://i.imgur.com/KxkJKLZ.png) 0 -144px!important;}',
'',
'.LJa{background:no-repeat url(http://i.imgur.com/KxkJKLZ.png) 0 -175px!important;}',
'',
'.Bl{background:no-repeat url(http://i.imgur.com/IjLPagd.png) 0 -49px!important;}',
'',
'.Kx{background:no-repeat url(http://i.imgur.com/IjLPagd.png) -171px -21px!important;}',
'',
'.cp{background-color:#131313!important;}',
'',
'.sk{background:transparent!important;outline:none!important;border-color:transparent!important;}',
'',
'.Jea,.mj .g-h-f-vc-B,.g-h-f-k .g-h-f-V-nb{border-color:#375700!important;}',
'',
'.Jea,.Mga{border-bottom-color:transparent!important;border-left-color:transparent!important;}',
'',
'.dn,.ve.oba,.Aq,.OF,.e4,.cp,.jbgcdb,.M7Fqc{color:#456B02!important;}',
'',
'.ot-hashtag,.proflink,.zDa,.proflinkPrefix,.xN .d-y-r-c-ha,.Pga.d-A .d-A-B{color:#456B02!important;}'
].join('\n');
if (false || (new RegExp('^https://apis.google.com/u/0/(.*)/hovercard/internalcard(.*)$')).test(document.location.href) || (new RegExp('^https://www.youtube.com/subscribe_embed\\?usegapi=1&(.*)$')).test(document.location.href) || (new RegExp('^https://apis.google.com/_/hovercard/internalcard(.*)$')).test(document.location.href))
css += [
'.GQb a { color: #649C02 !important; }',
'',
'.o-ms-fk {',
'-webkit-box-shadow: 3px 5px 5px rgba(0,0,0,1) !important;',
'box-shadow: 3px 5px 5px rgba(0,0,0,1) !important;',
'}',
'',
'.nbc {',
'background-color: #466E01 !important;',
'border-color: #375700 !important;',
'}',
'',
'.yt-uix-button-subscription-container {',
'background: #466E01 !important;',
'}'
].join('\n');
if (typeof GM_addStyle != 'undefined') {
GM_addStyle(css);
} else if (typeof PRO_addStyle != 'undefined') {
PRO_addStyle(css);
} else if (typeof addStyle != 'undefined') {
addStyle(css);
} else {
var node = document.createElement('style');
node.type = 'text/css';
node.appendChild(document.createTextNode(css));
var heads = document.getElementsByTagName('head');
if (heads.length > 0) {
heads[0].appendChild(node);
} else {
// no head yet, stick it whereever
document.documentElement.appendChild(node);
}
}
}) ();