// ==UserScript==
// @name Dark Playerslounge.co
// @namespace https://greasyfork.org/users/186041
// @description Dark theme for Playerslounge.co
// @author SmokeyLlama
// @include https://playerslounge.co/*
// @run-at document-start
// @version 2018.06
// ==/UserScript==
(function() {var css = [
".new-header .navbar-default .navbar-nav.navbar-right>li.nh-create-dropdown:hover>a, .new-header .navbar-default .navbar-nav.navbar-right>li.nh-create-dropdown>a:hover>a {",
" color: #fff;",
" font-weight:bold;",
"}",
".friend-search .input-cont input {",
" background-color: #222;",
"}",
".friend-search .input-cont {",
" background-color: #222;",
"}",
".friend-search .sf-close {",
" background-color: #222;",
"}",
".bg-default {",
" background: #111;",
"}",
".navbar-default .navbar-collapse, .navbar-default .navbar-form {",
" border-color: #191919;",
" background-color: unset;",
"}",
".new-header .navbar-default .navbar-nav>li>a {",
" color: #fff;",
"}",
".switch-bar {",
" background-color: #222222!important;",
" padding: 8px 16px 9px 32px !important;",
" position: relative;",
" margin-top: 20px;",
" margin-bottom: 10px;",
" color:#fff;",
" border-radius:10px",
"}",
".person-info .player-handle {",
" color: #fff;",
"}",
".main-list {",
" background-color: none;",
" margin-bottom: 16px;",
" color:#fff;",
"}",
"",
".more-button a{",
" background: #191919;",
" color: #ffffff;",
" border-radius:10px;width:50%;margin-left:auto; margin-right:0;}",
"",
".more-button a:focus, .more-button a:hover {",
" background: #000;",
" color: #fff;",
" box-shadow: inset 0 2px rgba(12,39,58,.1);",
"}",
"",
".one-table-tment .ott-details {",
" color: #ffffff;",
"}",
"",
"",
".one-table-tment .ott-details {",
" color: #ffffff;",
"}",
".std-box .title-std-box {",
" box-shadow: inset 0 -2px #222222;",
" padding: 23px 28px 15px 28px;background-color:#222;",
" border-top-left-radius:10px;",
" border-top-right-radius:10px;",
"}",
".one-table-tment{background-color:#222;",
"}",
".divider-bottom {",
" box-shadow: inset 0 -2px #111;",
"}",
".filters-new h6 {",
" color: #ffffff;",
"}",
".match-box.pc {",
" background-color: #222222;",
" border-radius:24px;",
" /* border:1px inset #ff8a52;*/",
" border:0px inset #222;",
" margin-top: 5px;",
"}",
".match-box.xboxOne {",
" background-color: #222222;",
" border-radius:24px;",
" /* border:1px inset #00ff00;*/",
" border:0px inset #222;",
" margin-top: 5px;",
"",
"}",
".match-box.ps4 {",
" background-color: #222;",
" border-radius:24px;",
" /* border:1px inset #5990f5;*/",
" border:0px inset #222;",
" margin-top: 5px;",
"}",
"",
"[class^=nh-icon-] {",
" background-image: url(https://image.ibb.co/k8oDH8/nh_sprite_gray_2x.png);",
"}",
".icon-within-class, [class^=dec-icon-] {",
" background-image: url(https://image.ibb.co/deRVVT/dec_sprite_gray_2x.png);}",
".match-box.divider-right {",
" box-shadow: inset -5px 0 #111;",
"}",
"",
".divider-right {",
" box-shadow: inset -1px 0 #000;",
"}",
".divider-border-bottom {",
" border-bottom: 2px solid #000;",
"}",
".divider-right {",
" box-shadow: inset -2px 0 #000;",
"}",
".match-box.open-prompt-block {",
" background-color: #111111;color:#fff;",
"",
"}",
".divider-border-bottom {",
" border-bottom: 2px solid #111;",
"}",
".modal-content{background-color:#222;}",
".sidebar-block {",
" background: #232323;border-radius:10px;",
"}",
".sidebar-block .sidebar-title, .sidebar-block .content-row {",
" box-shadow: inset 0 -2px #111;",
"}",
".match-box .h2h-box .username {",
" color: #fff;",
"}",
".one-activity .media-body a.player-link {",
" color: #fff;",
"}",
".chat-window .cb-inner .oneblock .one-msg {",
" color: #fff;",
"}",
"",
".chat-box .send-message {",
" background-color: #222;border-bottom-left-radius:10px;border-bottom-right-radius:10px; box-shadow: inset 0 2px #111;",
" ",
"}bo",
".chat-box .send-message input[type=text] {",
" background-color: #222;",
"}",
".chat-box .send-message .field:focus, .chat-box .send-message input[type=text]:focus, .chat-box .send-message textarea:focus{",
" background-color: #222;",
"}",
".chat-box .send-message .field:focus, .chat-box .send-message input[type=text], .chat-box .send-message textarea{",
" background-color: #222;",
"}",
".chat-box .send-message .send-btn, .chat-box .send-message button",
"{background: #353535;border-bottom-right-radius:10px}",
".chatUrlextraDetail {",
" color: #fff;",
" border: 2px solid #111;",
" background-color:#3e3e3e;",
"}",
".new-header .navbar-default {",
" background-color: #222222;",
"}",
".tment-wrap .tment-actions .ta-prize {",
" color: #198c2d;",
"",
"}",
".more-button a:hover {",
" background: #000;",
" color: #ffffff;",
"}",
".one-table-tment .ott-details .ott-title .tournament-console {",
" color: #fff;",
"}",
".match-details {",
" background: #222;",
"}",
".match-details h1 {",
" color: #fff;",
"}",
".below-details .mutual-record-box {",
" padding: 28px;",
" background: #222;",
"}",
".profile-page .mutual-record-box {",
" color: #fff;",
"}",
".game-history-outer .matches-list-outer {",
" background: #222;",
"}",
".game-history-outer .matches-list-outer .matches-list li.active, .game-history-outer .matches-list-outer .matches-list li:focus, .game-history-outer .matches-list-outer .matches-list li:hover {",
" background: #191919;",
"}",
".game-history-outer .matches-list-outer .matches-list li h5 {",
" color: #fff;",
"}",
".game-history-outer .matches-list-outer .matches-list li {",
"",
" box-shadow: inset 0 -2px #111;",
"",
"}",
".games-row {",
" background: #111;",
" margin-top: 2px;",
"}",
".games-row .one-col.active {",
" opacity: 1;",
" background: #191919;",
"}",
".games-row .one-col {",
"",
" color: #fff;}",
".dashboard-nav .nav-links>ul li.active a {",
" opacity: 1;",
" background: #191919;",
"}",
".dashboard-nav .nav-links>ul li a {",
" color: #fff;",
"}",
".dashboard-nav .nav-links>ul li a:hover {",
" opacity: 1;",
" background: #000;",
"}",
".stats-outer {",
" background: #222;",
" margin-top: 2px;}",
".text-line .hero-text {",
" color: #fff;",
"}",
".tournaments-col .won-text {",
" color: #00ff00;",
"}",
".box-white {",
" background: #222;",
" border-radius:10px",
"}",
".carousel-inner {",
" border-radius:50px;background-color:#111;",
"}",
".dashboard-carousel .carousel-inner .item {",
" background: #111;",
" text-align: center;",
"}",
".dashboard .dashboard-content .promo-banner {",
"",
" background-color: #111;",
"}",
".area-box .content-row {",
" box-shadow: inset 0 2px #111;",
"}",
".carousel-control.right, .carousel-control.left{",
"background-image:none;",
"}",
".three-block {",
" background: #222;border-radius:10px;",
"}",
".three-block .streak-dur {",
" color: #fff;",
"}",
".mmp-streak .mmp-content strong {",
" color: #fff;",
"}",
".match_page .left {",
" background: #222;",
"}",
".match_page {",
" padding-top: 25px;",
" padding-bottom: 100px;",
" color: #fff;",
" background: #111;",
"}",
".match_page .left .main {",
" border-top: 1px solid #111;",
" border-bottom: 1px solid #111;",
" text-align: center;",
" padding: 30px 20px;",
" background: #111;",
"}",
"hr {",
" margin-top: 20px;",
" margin-bottom: 20px;",
" border: 0;",
" border-top: 1px solid #222;",
"}",
".match_page .left .rules .panel {",
" background-color: #111;",
" color: #fff;",
"}",
".match_page .left .rules .openerLink .panel-heading h4 {",
" color: #fff;",
" font-weight: 700;",
"}",
".chat-v2 .oneblock .one-msg {",
" display: block;",
" position: relative;",
" font-size: 14px;",
" line-height: 18px;",
" color: #fff;",
" margin-bottom: 5px;",
" word-break: break-word;",
" overflow-wrap: break-word;",
"}",
".leaderboard-tab-content {",
" background-color: #222;",
"}",
".leaderboard-tab-content .leaderboard-table-wrapper .leaderboard-table .player .leaderboard-username {",
" color: #fff;",
"}",
".leaderboard-tab-content .leaderboard-table-wrapper .leaderboard-table tr.leader {",
" background-color: #131313;",
"}.switch-bar .leaderboard-title {",
" color: #fff;",
"}",
".switch-bar .filter-switch .border-white-btn, .switch-bar .leaderboard-options-switch .border-white-btn {",
" width: 120px;",
" color: #fff;",
" border-color: #fff;",
"}",
".filters-block, .leaderboard-options-block {",
" background: #111;",
" box-shadow: inset 0 -2px #222;",
"}",
".form-control {",
" color: #f5f5f5;",
" background-color: #333;",
" border: 1px solid #ccc;",
"}",
".leaderboard-tab-content .leaderboard-header {",
" background-color: #111;",
" color: #fff;",
" font-size: 14pt;",
" line-height: 24px;",
" padding: 30px;",
" text-align: center;",
" border: 1px solid #222222;",
"}",
".chat-box .game-chat-select {",
" border: 0;",
" color: #fff;",
" outline: 2px solid #AAA;",
" font-weight: 700;",
" width: 120px;",
" height: 25px;",
" background-color: #222;",
"}",
".modal.custom-modal.large-modal.themed .modal-body {",
"",
" background-color: #222;}",
".game-selector {",
" background: #111;",
"}",
".row-radios .rr-one-item {",
"",
" cursor: default;",
" background: #111;",
"color:#fff;}",
".freq-card {",
" background: #111;",
" position: relative;",
"}",
".modal.custom-modal.large-modal.themed .modal-body.bg-white {",
" background: #222;",
"}",
".s-uc-title {",
" color: #fff;",
"}",
".freq-card .freq-title h4 {",
" color: #fff;",
"}",
".freq-card .epc-in-row .one-row .epc-value {",
" color: #fff;",
"}",
".freq-card .freq-user {",
"",
" background: #191919;",
"}",
".user-with-plr-c .user_name {",
" color: #fff;",
"}",
".mf-outer .one-game-entry.user-sel {background-color:#222;border-color:#191919;}",
".opponent-results {",
" background: #222;",
" ",
"",
"}",
".one-game-entry{font-size:16px;}",
".dashboard-sec .dashboard-right .dashboard-content-block {",
" background: #222;",
"}",
".faq {",
" background-color: #111;",
"}",
"",
".cd-faq-group > li {",
" background: #222;}",
"h1, h2, h3, h4, h5, h6{color:#fff;}",
"",
".money-block {",
" background: #222;",
" padding: 16px 20px;",
" margin-top: 15px;",
"}",
".transaction-details .table thead tr th {",
" background: #222;border-bottom: 1px solid #111;}",
"",
".transaction-details .table tbody tr td {",
" background: #222; color:#fff;border-bottom: 1px solid #111;}",
".pagination-block {",
" position: relative;",
" padding: 20px 30px;",
" background: #222;",
" margin: 0;",
" text-align: center;",
"}",
".referrals .referrals-info {",
" background-color: #111;",
" min-height: 300px;",
" padding-top: 30px;",
" padding-bottom: 40px;",
"}",
".referrals .referrals-info .box {",
" border: 1px solid #222;",
" border-radius: 3px;",
" background-color: #222;",
" display: inline-block;",
" padding: 10px 20px;",
" margin: 15px;",
" vertical-align: top;",
" text-align: left;",
"}",
".referrals .referrals-info .bottom .users .referred-users table td.username a {",
" color: #fff;",
" font-weight: 700;",
"}",
".game-settings-outer {",
" background: #222;",
" padding-bottom: 80px;",
"}",
".gsb-right {",
" background: #222;",
" min-height: 500px;",
"}",
".one-game-entry.xbox-game {",
" background: #EFFDEF;",
" border-radius:10px;",
" border: 2px solid #111;",
"}",
".one-game-entry.psn-game {",
" background: #EDF4FF;",
" border-radius:10px;",
" border: 2px solid #111;",
"}",
".one-game-entry .sel-indicator {",
" width: 15px;",
" height: 15px;",
" border: 2px solid #111;",
" position: absolute;",
" right: 1px;",
" bottom: 5px;",
" background: #fff;",
" border-radius:10px",
"}",
".one-game-entry.pc-game{",
"",
" border-radius:10px;",
" border: 2px solid #111;",
"}",
".ncontent-block {",
" padding-top: 20px;",
" background: #111;",
" padding-bottom: 50px;",
"}",
".ncontent-block .ncontent-header .helper-text.black-colored{ color: #000;}",
"",
".lccr-main .ct-add-creator label {",
" color: #fff;",
"}",
".tournament-v3 .left-portion {",
" background: #222;",
" color:#fff;",
" border-radius:20px;",
"}",
".basic-border-col .bc-value {",
" color: #fff;",
"}",
".prizes .one-prize .prize-label {",
" font-size: 24px;",
" color: #fff;",
" display: inline-block;",
" padding-top: 14px;",
"}",
".prizes ul li .level {",
" display: block;",
" color: #fff;",
" opacity: .6;",
" font-size: 14px;",
" line-height: 1;",
"}",
".divider-top{",
" box-shadow: inset 0 2px #111;",
" border-bottom-left-radius: 10px;",
" border-bottom-right-radius: 10px;",
"}",
"",
".title-block-w-btn{",
" box-shadow: inset 0 -2px #111;",
"}",
".main-banner .main-banner-inner.bannersec_left { background: #111;}",
".main-banner .main-banner-inner.main-slider{background-color:#111;}",
"",
".workSec {",
" background-color: #111;",
"",
"}",
".workSec .workInner{",
" background-color: #111;",
"",
"}.workSec:before {",
" content: \"\";",
" position: absolute;",
" left: 0;",
" top: 0;",
" bottom: 0;",
" background: #111;",
" width: 30%;",
"}.match-details-sec .matchDetails_content {",
"",
" background: #222;}",
".main-banner {",
" background: #222;",
"",
"}",
".match-details-sec:after {",
" background: #222;",
"}",
".main-banner .main-banner-inner.bannersec-right {",
" background: #111;",
"",
"}",
".social-icons.on-dark li a {",
" background: #111;",
"}",
".dark-title-bar {",
" background: #313131;",
" padding: 20px 0;",
" text-align: center;",
"",
"}",
".dark-title-bar h1 {",
" font-size: 48px;",
" font-weight: 300;",
" line-height: 1;",
" color: #fff;",
"}",
"p.di-title{color: #fff;",
"}",
".green-btn {",
"border-radius:10px;",
"}",
".filters-new .clear-filter {",
" color: #fff;",
"",
"}",
".dashboard-sec .dashboard-right .dashboard-content-block.email-block {",
" padding: 0;",
" background: #222;",
"}",
".checkbox-block {",
"",
" border-bottom: 1px solid #111;",
" padding: 0px 10px;",
"",
"}",
"",
".checkbox-block .ck-content {",
" color: #111;",
" padding-top: 20px;",
"",
"}",
".two-shade-red {",
"border-radius:10px;",
"}",
".two-shade-green {",
"border-radius:10px;",
"}",
".new-header .navbar-default .navbar-nav.navbar-right>li.user-dropdown.open .nh-user-inner {",
" background: #111;",
" color: #fff;",
"}",
".new-header .navbar-default .navbar-nav.navbar-right>li.user-dropdown.open .nh-user-inner:focus {",
" background: #111;",
" color: #fff;",
"}",
".main-list.free-tments, .main-list.paid-tments, .main-list.created-tments.list-view, .main-list.invited-tments.list-view {",
" background: #111;",
" color: #fff;",
"}",
".new-header .navbar-default .navbar-nav.navbar-right>li.user-dropdown a:hover .nh-user-inner {",
" background: #111;",
" color: #fff;",
"}",
".new-header .navbar-default .navbar-nav>li .dropdown-menu.user-menu .dm-inner-ul, .new-header .navbar-default .navbar-nav>li .dropdown-menu.user-menu .dm-outer-block, .new-header .navbar-default .navbar-nav>li .dropdown-menu.user-menu .money-block {",
" background: #222;",
" color: #fff;",
" border:1px solid #313131;border-radius:25px;",
"}",
".new-header .navbar-default .navbar-nav>li .dropdown-menu.user-menu .dm-inner-ul li a {",
"",
" color: #fff;",
"",
"}",
".new-header .navbar-default .navbar-nav>li .dropdown-menu.user-menu .money-block .bonus-bal {",
" color: #fff;",
"}",
".box-dark-blue {",
" background-color: unset;border:1px solid #222;border-radius:10px",
"}",
".new-header .navbar-default .navbar-nav>li .dropdown-menu {background-color:#222;color:#fff;border:1px solid #222222;}",
".dropdown-menu>li>a{color:#fff;}",
"",
".notif-menu .list-notif li a .notif-text {",
"",
" color: #fff;",
"}",
".notif-menu .notif-header .notif-title h5 {",
"",
" color: #fff;",
"}",
".new-header .navbar-default .navbar-nav>li .dropdown-menu li a:focus, .new-header .navbar-default .navbar-nav>li .dropdown-menu li a:hover {",
" background: #111;",
" opacity: 1;",
" color: #0c273a;",
"}",
".notif-menu .list-notif li a {",
"",
" border-top: 1px solid #111;",
"",
"}",
".tournament-page .bracket-container, .tournament-v3 .bracket-container {",
"",
" background-color: #222;border-radius:20px;",
"}",
".players-list .list-block li a .user-name {",
"",
" color: #fff;",
"",
"}",
".how-to-play-block {",
"border-top-left-radius:20px;",
"border-top-right-radius:20px;",
"}",
".rules-block {",
"border-bottom-left-radius:20px;",
"border-bottom-right-radius:20px;",
"}",
".row.rules-row{",
"border-bottom-left-radius:20px;",
"border-bottom-right-radius:20px;",
"}",
".basic-border-col {",
" padding: 8px;",
"}",
".back-btn a {",
" color: #fff;",
"text-transform:uppercase;",
"}",
".two-shade-blue {",
"border-radius:10px;",
"}",
".new-header .navbar-default .navbar-nav.nav-left>li>a {",
" color: #fff;",
" text-transform: uppercase;",
"}",
".new-header .navbar-brand {",
"border-top-right-radius:20px;",
" border-bottom-right-radius:20px;",
"}",
".table-view>[class^=col-]{border-radius:10px;border-color:#111;}"
].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);
}
}
})();