Pendorian Elite UI

Changes a large portion of the text and UI to 'Elite' blue and makes small changes to the UI.

Ajankohdalta 22.11.2018. Katso uusin versio.

// ==UserScript==
// @name Pendorian Elite UI
// @namespace http://pendoria.net/
// @version 1.4
// @author Puls3
// @include http*://*pendoria.net* 
// @grant none
// @description Changes a large portion of the text and UI to 'Elite' blue and makes small changes to the UI.
// ==/UserScript==

//Version 1.1 - Removed dungeon text.
//Version 1.2
// - Added Favicon.
// - Fixed match & switched to include.
// - Turned inventory '!' to blue.
// - Fixed namespace.
//Version 1.2.1 - Fixed inventory exclamation point not changing.
//Version 1.2.2 - Added background image.
//Version 1.2.3 - Turned scraptown bar and notification to blue.
//Version 1.3
// - Fixed scraptown notfication not changing.
// - Turned activity log names to blue.
// - Turned Rhodium Ingots & Runics to Blue.
// - Turned dungeons to blue.
// - Turned guild building cost green to blue.
// - Turned scraptown cost green to blue.
// - Turned selection color to blue. 
// - Turned profile guild link to blue.
// - Turned chat commands list to blue.
//Version 1.4
// - Changed each line to use easily edited variables.
// - Added VIP Values.
// - Turned section headers in the rules to blue.
// - Added button hover effect.

//Made by Puls3 from Pendoria!
//It's very easy to edit!
//If cloned please give credit!

//Edit these values to change colors as a whole
var elite = "rgb(0, 153, 255)";
var darkelite = "rgb(0, 123, 235)";
var leetbutton = "rgba(0, 153, 255, 0.5)";
var leetbuttonhover = "rgba(0, 153, 255, 0.8)";
var leetdungeonback = "#334771";
var profileguildname = "rgb(0, 123, 235)";

var head = document.getElementsByTagName('head')[0];
head.insertAdjacentHTML("afterend", `
<link rel="icon" href="https://xer0-puls3.github.io/assets/images/favicon.ico" type="image/x-icon"/>
<style>

/* CHAT CSS BELOW */

.chat-username {
  color: ` + elite + `;
}

/* UI CSS Below */

body {
  background-image: url(https://zerthox.github.io/ClearVision/images/sapphire.jpg) !important;
}
.green {
  background-color: ` + elite + ` !important;
}
#expwidth {
  background-color: ` + elite + ` !important;
}
#profile, #menu, #stats-hourly {
  top: -50px;
  background-color: rgba(0,0,0,0) !important;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.6) , rgba(0,0,0,0.3)) !important;
}
#logo {
  display: none;
}
#quest_done {
  color: ` + elite + `;
}
#quest_prog {
  color: ` + elite + `;
}
#event {
  color: ` + elite + ` !important;
}
quest_abandon {
  background-color: ` + elite + ` !important;
}
button {
  background: ` + leetbutton + ` !important;
}
button:hover {
  background: ` + leetbuttonhover + ` !important;
}
#invinfo {
  color: ` + elite + ` !important;
}
#building-progress {
  background-color: ` + elite + ` !important;
}
#scraptowninfo {
  color: ` + elite + ` !important;
}
.activity-log-username {
  color: ` + elite + ` !important;
}
.guild-section [style*="color: rgb(29, 166, 87);"] {
    color: ` + elite + ` !important;
}
.item-rarity-runic {
  color: ` + elite + ` !important;
  text-shadow: 0 0 1px blue !important;
}
.display-item [style*="color: rgb(29, 166, 87);"] {
  color: ` + elite + ` !important;
}
.display-item [style*="color: green;"] {
  color: ` + elite + ` !important;
}
.display-item [style*="color: #98bda1; padding-top: 5px;"] {
  color: ` + darkelite + ` !important;
}
::selection {
  color: white;
  background: ` + elite + `;
}
.guild-name {
  font-weight: bold;
  color: ` + profileguildname + `;
}
.chat-command {
  color: ` + elite + `;
}
progress {
  color: ` + elite + `;
}
progress::-webkit-progress-value {
  background: ` + elite + `;
}
progress::-moz-progress-bar {
  background: ` + elite + `;
}
progress::-webkit-progress-bar {
  background: ` + elite + `;
}

/* DUNGEON CSS BELOW */

#dungeon-progressbar-wrapper {
  background-color: ` + leetdungeonback + `;
}
#dungeon-progressbar-wrapper .progressbar {
  background-color: ` + elite + ` !important;
}
#dungeon-dialogue {
  display: none;
}

/* VIP Section */
[data-player-id*="334"] .chat-username {
  color: rgb(0, 153, 255) !important;
}

/* TS CSS BELOW */

#gainedres {
  color: ` + elite + ` !important;
}
#gainedtype {
  color: ` + elite + ` !important;
}
#guild_currency {
  color: ` + elite + ` !important;
}
#guild_amount {
  color: ` + elite + ` !important;
}
#quint span {
  color: ` + elite + ` !important;
}
.actionexperience, .actionexperience span {
  color: ` + elite + ` !important;
}
#double_tradeskill span {
  color: ` + elite + ` !important;
}
.terms-section-header {
  color: ` + elite + ` !important;
}

/* COMBAT CSS BELOW */

.timeshit, .timescrit, .timesdodged, .hitstaken, #gainedgold, .actiongold, #guild_gold {
  color: ` + elite + ` !important;
}
#double_battle span {
  color: ` + elite + ` !important;
}
</style>
`);
长期地址
遇到问题?请前往 GitHub 提 Issues。