init
This commit is contained in:
commit
bd8bcb8b8b
|
@ -0,0 +1,4 @@
|
|||
# MCStacker
|
||||
yes, this isn't my code. i know. [original site](https://mcstacker.net)
|
||||
|
||||
*The reason i just steal this code is because this guy actually wants money for a local copy even tho you can just grab one*
|
|
@ -0,0 +1,137 @@
|
|||
.alertify,
|
||||
.alertify-show,
|
||||
.alertify-log {
|
||||
-webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
|
||||
-moz-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
|
||||
-ms-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
|
||||
-o-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
|
||||
transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275); /* easeOutBack */
|
||||
}
|
||||
.alertify-hide {
|
||||
-webkit-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
|
||||
-moz-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
|
||||
-ms-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
|
||||
-o-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
|
||||
transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045); /* easeInBack */
|
||||
}
|
||||
.alertify-log-hide {
|
||||
-webkit-transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
|
||||
-moz-transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
|
||||
-ms-transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
|
||||
-o-transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
|
||||
transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045); /* easeInBack */
|
||||
}
|
||||
.alertify-cover {
|
||||
position: fixed; z-index: 99999;
|
||||
top: 0; right: 0; bottom: 0; left: 0;
|
||||
background-color:white;
|
||||
filter:alpha(opacity=0);
|
||||
opacity:0;
|
||||
}
|
||||
.alertify-cover-hidden {
|
||||
display: none;
|
||||
}
|
||||
.alertify {
|
||||
position: fixed; z-index: 99999;
|
||||
top: 50px; left: 50%;
|
||||
width: 550px;
|
||||
margin-left: -275px;
|
||||
opacity: 1;
|
||||
}
|
||||
.alertify-hidden {
|
||||
-webkit-transform: translate(0,-150px);
|
||||
-moz-transform: translate(0,-150px);
|
||||
-ms-transform: translate(0,-150px);
|
||||
-o-transform: translate(0,-150px);
|
||||
transform: translate(0,-150px);
|
||||
opacity: 0;
|
||||
display: none;
|
||||
}
|
||||
/* overwrite display: none; for everything except IE6-8 */
|
||||
:root *> .alertify-hidden {
|
||||
display: block;
|
||||
visibility: hidden;
|
||||
}
|
||||
.alertify-logs {
|
||||
position: fixed;
|
||||
z-index: 5000;
|
||||
bottom: 10px;
|
||||
right: 10px;
|
||||
width: 300px;
|
||||
}
|
||||
.alertify-logs-hidden {
|
||||
display: none;
|
||||
}
|
||||
.alertify-log {
|
||||
display: block;
|
||||
margin-top: 10px;
|
||||
position: relative;
|
||||
right: -300px;
|
||||
opacity: 0;
|
||||
}
|
||||
.alertify-log-show {
|
||||
right: 0;
|
||||
opacity: 1;
|
||||
}
|
||||
.alertify-log-hide {
|
||||
-webkit-transform: translate(300px, 0);
|
||||
-moz-transform: translate(300px, 0);
|
||||
-ms-transform: translate(300px, 0);
|
||||
-o-transform: translate(300px, 0);
|
||||
transform: translate(300px, 0);
|
||||
opacity: 0;
|
||||
}
|
||||
.alertify-dialog {
|
||||
padding: 25px;
|
||||
}
|
||||
.alertify-resetFocus {
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
}
|
||||
.alertify-inner {
|
||||
text-align: center;
|
||||
}
|
||||
.alertify-text {
|
||||
margin-bottom: 15px;
|
||||
width: 100%;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
font-size: 100%;
|
||||
}
|
||||
.alertify-buttons {
|
||||
}
|
||||
.alertify-button,
|
||||
.alertify-button:hover,
|
||||
.alertify-button:active,
|
||||
.alertify-button:visited {
|
||||
background: none;
|
||||
text-decoration: none;
|
||||
border: none;
|
||||
/* line-height and font-size for input button */
|
||||
line-height: 1.5;
|
||||
font-size: 100%;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 680px) {
|
||||
.alertify,
|
||||
.alertify-logs {
|
||||
width: 90%;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.alertify {
|
||||
left: 5%;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,81 @@
|
|||
/**
|
||||
* Default Look and Feel
|
||||
*/
|
||||
.alertify,
|
||||
.alertify-log {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
.alertify {
|
||||
background: #FFF;
|
||||
border: 10px solid #333; /* browsers that don't support rgba */
|
||||
border: 10px solid rgba(0,0,0,.7);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 3px 3px rgba(0,0,0,.3);
|
||||
-webkit-background-clip: padding; /* Safari 4? Chrome 6? */
|
||||
-moz-background-clip: padding; /* Firefox 3.6 */
|
||||
background-clip: padding-box; /* Firefox 4, Safari 5, Opera 10, IE 9 */
|
||||
}
|
||||
.alertify-text {
|
||||
border: 1px solid #CCC;
|
||||
padding: 10px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.alertify-button {
|
||||
border-radius: 4px;
|
||||
color: #FFF;
|
||||
font-weight: bold;
|
||||
padding: 6px 15px;
|
||||
text-decoration: none;
|
||||
text-shadow: 1px 1px 0 rgba(0,0,0,.5);
|
||||
box-shadow: inset 0 1px 0 0 rgba(255,255,255,.5);
|
||||
background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
|
||||
background-image: -moz-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
|
||||
background-image: -ms-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
|
||||
background-image: -o-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
|
||||
background-image: linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
|
||||
}
|
||||
.alertify-button:hover,
|
||||
.alertify-button:focus {
|
||||
outline: none;
|
||||
background-image: -webkit-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
|
||||
background-image: -moz-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
|
||||
background-image: -ms-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
|
||||
background-image: -o-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
|
||||
background-image: linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
|
||||
}
|
||||
.alertify-button:focus {
|
||||
box-shadow: 0 0 15px #2B72D5;
|
||||
}
|
||||
.alertify-button:active {
|
||||
position: relative;
|
||||
box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
|
||||
}
|
||||
.alertify-button-cancel,
|
||||
.alertify-button-cancel:hover,
|
||||
.alertify-button-cancel:focus {
|
||||
background-color: #FE1A00;
|
||||
border: 1px solid #D83526;
|
||||
}
|
||||
.alertify-button-ok,
|
||||
.alertify-button-ok:hover,
|
||||
.alertify-button-ok:focus {
|
||||
background-color: #5CB811;
|
||||
border: 1px solid #3B7808;
|
||||
}
|
||||
|
||||
.alertify-log {
|
||||
background: #1F1F1F;
|
||||
background: rgba(0,0,0,.9);
|
||||
padding: 15px;
|
||||
border-radius: 4px;
|
||||
color: #FFF;
|
||||
text-shadow: -1px -1px 0 rgba(0,0,0,.5);
|
||||
}
|
||||
.alertify-log-error {
|
||||
background: #FE1A00;
|
||||
background: rgba(254,26,0,.9);
|
||||
}
|
||||
.alertify-log-success {
|
||||
background: #5CB811;
|
||||
background: rgba(92,184,17,.9);
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,158 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>MCStacker for MC 1.16</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<link rel="stylesheet" type="text/css" href="alertify.core.css">
|
||||
<link rel="stylesheet" type="text/css" href="alertify.default.css">
|
||||
<link rel="stylesheet" type="text/css" href="mc-2.css">
|
||||
<link rel="stylesheet" type="text/css" href="mc-2saves.css">
|
||||
<link rel="stylesheet" type="text/css" href="mcstacker-dark.css">
|
||||
<script language="JavaScript" src="alertify.min.js" type="text/javascript"></script>
|
||||
<script language="JavaScript" src="jscolor/jscolor.js" type="text/javascript"></script>
|
||||
<script src='https://code.jquery.com/jquery-1.12.4.min.js'></script><script src='https://code.jquery.com/ui/1.12.0/jquery-ui.min.js'></script><script language="JavaScript" src="jquery.ui.touch-punch.min.js" type="text/javascript"></script>
|
||||
<script language="JavaScript" src="mc2-1.16Pure.min.js" type="text/javascript"></script>
|
||||
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||
<script>
|
||||
(adsbygoogle = window.adsbygoogle || []).push({
|
||||
google_ad_client: "ca-pub-6210527081945025",
|
||||
enable_page_level_ads: true
|
||||
});
|
||||
</script></head>
|
||||
<body>
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-3163831-14', 'auto');
|
||||
ga('send', 'pageview');
|
||||
|
||||
</script>
|
||||
<div id='nav'>
|
||||
|
||||
<a href="javascript:loadForm('summon')" class='combut'>/summon</a>
|
||||
<a href="javascript:loadForm('effect')" class='combut'>/effect</a>
|
||||
<a href="javascript:loadForm('data merge entity')" class='combut'>/data merge entity</a>
|
||||
<a href="javascript:loadForm('give')" class='combut'>/give</a>
|
||||
<a href="javascript:loadForm('kill')" class='combut'>/kill</a>
|
||||
<a href="javascript:loadForm('fill')" class='combut'>/fill</a>
|
||||
<a href="javascript:loadForm('setblock')" class='combut'>/setblock</a>
|
||||
|
||||
<a href="javascript:loadForm('data merge block')" class='combut'>/data merge block</a>
|
||||
<a href="javascript:loadForm('teleport')" class='combut'>/teleport</a>
|
||||
<a href="javascript:loadForm('tellraw')" class='combut'>/tellraw</a>
|
||||
<a href="javascript:loadForm('title')" class='combut'>/title</a>
|
||||
<a href="javascript:loadForm('execute if entity')" class='combut'>/execute if entity</a>
|
||||
<a href="javascript:loadForm('replaceitem')" class='combut'>/replaceitem</a>
|
||||
<a href="javascript:loadForm('playsound')" class='combut'>/playsound</a>
|
||||
<a href="javascript:loadForm('particle')" class='combut'>/particle</a>
|
||||
<a href="javascript:loadForm('team')" class='combut'>/team</a>
|
||||
<a href="javascript:loadForm('scoreboard')" class='combut'>/scoreboard</a>
|
||||
<a href="javascript:loadForm('bossbar')" class='combut'>/bossbar</a>
|
||||
<a href="javascript:loadForm('loot')" class='combut'>/loot</a>
|
||||
<a href="javascript:loadForm('loot_table')" class='combut'>loot table</a>
|
||||
</div>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
<div id='community'>
|
||||
<div id='navPane'>NAV</div><div id='manPane'>manPane</div>
|
||||
</div>
|
||||
<div id='themes'><span id='themeBut'>Change the Theme</span></div><br>
|
||||
<div id=intro>
|
||||
|
||||
<p style="width:600px">
|
||||
Welcome to MCStacker for Minecraft 1.16. A lot of the cool functionality is buried in the system and many people may not fully know what can be achieved with this generator. So here's a short summary of the specific options available for some items and blocks.
|
||||
</p>
|
||||
<table class='features'>
|
||||
<tr><th>Items</th><th>Blocks/Tiles</th></tr>
|
||||
<tr><td>Enchanted Book<br>
|
||||
Player Heads (via <a href="http://minecraft-heads.com/custom/heads-generator" target="_blank">minecraft-heads.com</a>)<br>
|
||||
Written Book (JSON)<br>
|
||||
Writable Book<br>
|
||||
Mob Spawner (all entites and specific NBT)<br>
|
||||
Sign (JSON)<br>
|
||||
Fireworks / Firework Charge<br>
|
||||
Spawn Eggs (All specific Mob NBT)<br>
|
||||
Armor Stand<br>
|
||||
Potion (Splash, Lingering & Tipped Arrow) <br>
|
||||
Chests, Trapped Chests & Shulker Box<br>
|
||||
Command Blocks<br>
|
||||
Banners and Shields (via <a href="http://www.needcoolshoes.com/banner" target="_blank">needcoolshoes.com/banner</a>)<br>
|
||||
Knowledge book
|
||||
</td><td>Wall and Standing Banners<br>
|
||||
Enchanting Table<br>
|
||||
Beacon<br>
|
||||
Bed<br>
|
||||
Brewing Stand<br>
|
||||
Chests, Trapped Chests & Shulker Box<br>
|
||||
Dropper<br>
|
||||
Dispenser<br>
|
||||
Furnace<br>
|
||||
Hopper<br>
|
||||
Command Blocks<br>
|
||||
End Gateway<br>
|
||||
Flower Pot<br>
|
||||
Jukebox<br>
|
||||
Mob Spawner (all entites and specific NBT)<br>
|
||||
Wall and Standing Signs<br>
|
||||
Note Block<br>
|
||||
Player Heads<br>
|
||||
Structure Block
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
<p style="width:600px">
|
||||
Most of the useful options for every entity has been implemented for sometime.
|
||||
</p><p style="width:600px">
|
||||
<p style="width:600px">If you are looking for alternative versions of MCStacker, you can find them <a href="versions.php">all here</a>.</p>
|
||||
<div style="display: flex;">
|
||||
<div>
|
||||
<a href='npc/' title='Check out the Minecraft NPC Generator' target=_blank class='bigads'><img src='npc_generator.png' alt='Check out the Interactive NPC Generator'></a>
|
||||
<a href='https://www.patreon.com/mcstacker' title='Support MCStacker Development on Patreon' target=_blank class='bigads'><img src='patreon.png' alt='Support MCStacker Development on Patreon'></a>
|
||||
<br><a href='http://wcw.mcstacker.net/' title='Play on the Weaponized Creeper Wars Server' target=_blank class='bigads'><img src='WCWad.png' alt='Play on the Weaponized Creeper Wars Server'></a>
|
||||
<a href='murals/' title='Turn images into big murals in minecraft' target=_blank class='bigads'><img src='minecraft_mural_generator.png' alt='Check out Minecraft Mural Generator'></a>
|
||||
</div>
|
||||
<!--<a href='http://unfairmazes.com/' title='Unfair Mazes' target=_blank><img src='unfair2.png' alt='Unfair Mazes' style="border-radius: 10px; border:solid black 2px; background-color:#f00;margin-bottom:5px;margin-left:5px;display:inline-block;"></a><br>-->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<BR>
|
||||
|
||||
<div tabindex="0" id="dialogbox"></div>
|
||||
<div id='commandForm'></div>
|
||||
<span id='outputLength'></span><br>
|
||||
<textarea id='commandOutput-ta'></textarea>
|
||||
<input type='checkbox' id='disableOutput'>Disable Output <a href='javascript:generateCommand(true)' class='greenPlus'>Refresh</a>
|
||||
<span id='toClipBoard' class='greenPlus'>Copy</span></div>
|
||||
<div id="commandInput" class="ui-widget-content" onMouseOver="this.style.cursor='pointer'">
|
||||
Import Command<br>
|
||||
<textarea id='commandInput-ta' placeholder="Paste a command here."></textarea>
|
||||
<span id='parseNBT' class='greenPlus'>Import</span><span id='clearNBT' class='greenPlus'>Clear</span><span id='closeImportBut' class='redX'>X</span>
|
||||
</div>
|
||||
|
||||
<div id="clipBoard" class="ui-widget-content" onMouseOver="this.style.cursor='pointer'">
|
||||
MCStacker Internal Clipboard<br>
|
||||
<textarea id='clipBoard-ta' placeholder="Paste NBT here."></textarea>NBT Type<select id='nbtType' onChange='loadCBType()'><option value='0'>Item</option><option value='1'>Entity</option><option value='2'>Trade</option></select>
|
||||
<a href="javascript:showTip('paste.clipboard')" class="greenPlus" tabindex="-1">?</a><span id='closeclipBoardBut' class='redX'>X</span>
|
||||
</div>
|
||||
<div id="settings" class="ui-widget-content" onMouseOver="this.style.cursor='pointer'">
|
||||
Settings
|
||||
<div id='settingsArea'>
|
||||
|
||||
<span class='fLabel200'>Namespace</span> <input type='text' id='namespace' class='bigTF'><a href="javascript:showTip('settings.namespace')" class="greenPlus" tabindex="-1">?</a><br>
|
||||
<span class='fLabel200'>Update Namespace on Import</span><input type='checkbox' id='updateNamespace'><a href="javascript:showTip('settings.updateNamespace')" class="greenPlus" tabindex="-1">?</a><br>
|
||||
<span class='fLabel200'>Remove Command Slash</span><input type='checkbox' id='removeSlash'><a href="javascript:showTip('settings.removeSlash')" class="greenPlus" tabindex="-1">?</a><br>
|
||||
<span class='fLabel200'>Load Item User Interface</span><input type='checkbox' id='loadItemUI'><a href="javascript:showTip('settings.loadItemUI')" class="greenPlus" tabindex="-1">?</a>
|
||||
<span class='fLabel200'>Warn on Close/Reload</span><input type='checkbox' id='warnOnClose'><a href="javascript:showTip('settings.warnOnClose')" class="greenPlus" tabindex="-1">?</a>
|
||||
</div>
|
||||
<span id='closeSettingsBut' class='redX'>X</span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,997 @@
|
|||
/**
|
||||
* jscolor, JavaScript Color Picker
|
||||
*
|
||||
* @version 1.4.3
|
||||
* @license GNU Lesser General Public License, http://www.gnu.org/copyleft/lesser.html
|
||||
* @author Jan Odvarko, http://odvarko.cz
|
||||
* @created 2008-06-15
|
||||
* @updated 2014-07-16
|
||||
* @link http://jscolor.com
|
||||
*/
|
||||
|
||||
|
||||
var jscolor = {
|
||||
|
||||
|
||||
dir : '', // location of jscolor directory (leave empty to autodetect)
|
||||
bindClass : 'color', // class name
|
||||
binding : true, // automatic binding via <input class="...">
|
||||
preloading : true, // use image preloading?
|
||||
|
||||
|
||||
install : function() {
|
||||
jscolor.addEvent(window, 'load', jscolor.init);
|
||||
},
|
||||
|
||||
|
||||
init : function() {
|
||||
if(jscolor.binding) {
|
||||
jscolor.bind();
|
||||
}
|
||||
if(jscolor.preloading) {
|
||||
jscolor.preload();
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
getDir : function() {
|
||||
if(!jscolor.dir) {
|
||||
var detected = jscolor.detectDir();
|
||||
jscolor.dir = detected!==false ? detected : 'jscolor/';
|
||||
}
|
||||
return jscolor.dir;
|
||||
},
|
||||
|
||||
|
||||
detectDir : function() {
|
||||
var base = location.href;
|
||||
|
||||
var e = document.getElementsByTagName('base');
|
||||
for(var i=0; i<e.length; i+=1) {
|
||||
if(e[i].href) { base = e[i].href; }
|
||||
}
|
||||
|
||||
var e = document.getElementsByTagName('script');
|
||||
for(var i=0; i<e.length; i+=1) {
|
||||
if(e[i].src && /(^|\/)jscolor\.js([?#].*)?$/i.test(e[i].src)) {
|
||||
var src = new jscolor.URI(e[i].src);
|
||||
var srcAbs = src.toAbsolute(base);
|
||||
srcAbs.path = srcAbs.path.replace(/[^\/]+$/, ''); // remove filename
|
||||
srcAbs.query = null;
|
||||
srcAbs.fragment = null;
|
||||
return srcAbs.toString();
|
||||
}
|
||||
}
|
||||
return false;
|
||||
},
|
||||
|
||||
|
||||
bind : function() {
|
||||
var matchClass = new RegExp('(^|\\s)('+jscolor.bindClass+')(\\s*(\\{[^}]*\\})|\\s|$)', 'i');
|
||||
var e = document.getElementsByTagName('input');
|
||||
for(var i=0; i<e.length; i+=1) {
|
||||
var m;
|
||||
if(!e[i].color && e[i].className && (m = e[i].className.match(matchClass))) {
|
||||
var prop = {};
|
||||
if(m[4]) {
|
||||
try {
|
||||
prop = (new Function ('return (' + m[4] + ')'))();
|
||||
} catch(eInvalidProp) {}
|
||||
}
|
||||
e[i].color = new jscolor.color(e[i], prop);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
preload : function() {
|
||||
for(var fn in jscolor.imgRequire) {
|
||||
if(jscolor.imgRequire.hasOwnProperty(fn)) {
|
||||
jscolor.loadImage(fn);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
images : {
|
||||
pad : [ 181, 101 ],
|
||||
sld : [ 16, 101 ],
|
||||
cross : [ 15, 15 ],
|
||||
arrow : [ 7, 11 ]
|
||||
},
|
||||
|
||||
|
||||
imgRequire : {},
|
||||
imgLoaded : {},
|
||||
|
||||
|
||||
requireImage : function(filename) {
|
||||
jscolor.imgRequire[filename] = true;
|
||||
},
|
||||
|
||||
|
||||
loadImage : function(filename) {
|
||||
if(!jscolor.imgLoaded[filename]) {
|
||||
jscolor.imgLoaded[filename] = new Image();
|
||||
jscolor.imgLoaded[filename].src = jscolor.getDir()+filename;
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
fetchElement : function(mixed) {
|
||||
return typeof mixed === 'string' ? document.getElementById(mixed) : mixed;
|
||||
},
|
||||
|
||||
|
||||
addEvent : function(el, evnt, func) {
|
||||
if(el.addEventListener) {
|
||||
el.addEventListener(evnt, func, false);
|
||||
} else if(el.attachEvent) {
|
||||
el.attachEvent('on'+evnt, func);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
fireEvent : function(el, evnt) {
|
||||
if(!el) {
|
||||
return;
|
||||
}
|
||||
if(document.createEvent) {
|
||||
var ev = document.createEvent('HTMLEvents');
|
||||
ev.initEvent(evnt, true, true);
|
||||
el.dispatchEvent(ev);
|
||||
} else if(document.createEventObject) {
|
||||
var ev = document.createEventObject();
|
||||
el.fireEvent('on'+evnt, ev);
|
||||
} else if(el['on'+evnt]) { // alternatively use the traditional event model (IE5)
|
||||
el['on'+evnt]();
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
getElementPos : function(e) {
|
||||
var e1=e, e2=e;
|
||||
var x=0, y=0;
|
||||
if(e1.offsetParent) {
|
||||
do {
|
||||
x += e1.offsetLeft;
|
||||
y += e1.offsetTop;
|
||||
} while(e1 = e1.offsetParent);
|
||||
}
|
||||
while((e2 = e2.parentNode) && e2.nodeName.toUpperCase() !== 'BODY') {
|
||||
x -= e2.scrollLeft;
|
||||
y -= e2.scrollTop;
|
||||
}
|
||||
return [x, y];
|
||||
},
|
||||
|
||||
|
||||
getElementSize : function(e) {
|
||||
return [e.offsetWidth, e.offsetHeight];
|
||||
},
|
||||
|
||||
|
||||
getRelMousePos : function(e) {
|
||||
var x = 0, y = 0;
|
||||
if (!e) { e = window.event; }
|
||||
if (typeof e.offsetX === 'number') {
|
||||
x = e.offsetX;
|
||||
y = e.offsetY;
|
||||
} else if (typeof e.layerX === 'number') {
|
||||
x = e.layerX;
|
||||
y = e.layerY;
|
||||
}
|
||||
return { x: x, y: y };
|
||||
},
|
||||
|
||||
|
||||
getViewPos : function() {
|
||||
if(typeof window.pageYOffset === 'number') {
|
||||
return [window.pageXOffset, window.pageYOffset];
|
||||
} else if(document.body && (document.body.scrollLeft || document.body.scrollTop)) {
|
||||
return [document.body.scrollLeft, document.body.scrollTop];
|
||||
} else if(document.documentElement && (document.documentElement.scrollLeft || document.documentElement.scrollTop)) {
|
||||
return [document.documentElement.scrollLeft, document.documentElement.scrollTop];
|
||||
} else {
|
||||
return [0, 0];
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
getViewSize : function() {
|
||||
if(typeof window.innerWidth === 'number') {
|
||||
return [window.innerWidth, window.innerHeight];
|
||||
} else if(document.body && (document.body.clientWidth || document.body.clientHeight)) {
|
||||
return [document.body.clientWidth, document.body.clientHeight];
|
||||
} else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
|
||||
return [document.documentElement.clientWidth, document.documentElement.clientHeight];
|
||||
} else {
|
||||
return [0, 0];
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
URI : function(uri) { // See RFC3986
|
||||
|
||||
this.scheme = null;
|
||||
this.authority = null;
|
||||
this.path = '';
|
||||
this.query = null;
|
||||
this.fragment = null;
|
||||
|
||||
this.parse = function(uri) {
|
||||
var m = uri.match(/^(([A-Za-z][0-9A-Za-z+.-]*)(:))?((\/\/)([^\/?#]*))?([^?#]*)((\?)([^#]*))?((#)(.*))?/);
|
||||
this.scheme = m[3] ? m[2] : null;
|
||||
this.authority = m[5] ? m[6] : null;
|
||||
this.path = m[7];
|
||||
this.query = m[9] ? m[10] : null;
|
||||
this.fragment = m[12] ? m[13] : null;
|
||||
return this;
|
||||
};
|
||||
|
||||
this.toString = function() {
|
||||
var result = '';
|
||||
if(this.scheme !== null) { result = result + this.scheme + ':'; }
|
||||
if(this.authority !== null) { result = result + '//' + this.authority; }
|
||||
if(this.path !== null) { result = result + this.path; }
|
||||
if(this.query !== null) { result = result + '?' + this.query; }
|
||||
if(this.fragment !== null) { result = result + '#' + this.fragment; }
|
||||
return result;
|
||||
};
|
||||
|
||||
this.toAbsolute = function(base) {
|
||||
var base = new jscolor.URI(base);
|
||||
var r = this;
|
||||
var t = new jscolor.URI;
|
||||
|
||||
if(base.scheme === null) { return false; }
|
||||
|
||||
if(r.scheme !== null && r.scheme.toLowerCase() === base.scheme.toLowerCase()) {
|
||||
r.scheme = null;
|
||||
}
|
||||
|
||||
if(r.scheme !== null) {
|
||||
t.scheme = r.scheme;
|
||||
t.authority = r.authority;
|
||||
t.path = removeDotSegments(r.path);
|
||||
t.query = r.query;
|
||||
} else {
|
||||
if(r.authority !== null) {
|
||||
t.authority = r.authority;
|
||||
t.path = removeDotSegments(r.path);
|
||||
t.query = r.query;
|
||||
} else {
|
||||
if(r.path === '') {
|
||||
t.path = base.path;
|
||||
if(r.query !== null) {
|
||||
t.query = r.query;
|
||||
} else {
|
||||
t.query = base.query;
|
||||
}
|
||||
} else {
|
||||
if(r.path.substr(0,1) === '/') {
|
||||
t.path = removeDotSegments(r.path);
|
||||
} else {
|
||||
if(base.authority !== null && base.path === '') {
|
||||
t.path = '/'+r.path;
|
||||
} else {
|
||||
t.path = base.path.replace(/[^\/]+$/,'')+r.path;
|
||||
}
|
||||
t.path = removeDotSegments(t.path);
|
||||
}
|
||||
t.query = r.query;
|
||||
}
|
||||
t.authority = base.authority;
|
||||
}
|
||||
t.scheme = base.scheme;
|
||||
}
|
||||
t.fragment = r.fragment;
|
||||
|
||||
return t;
|
||||
};
|
||||
|
||||
function removeDotSegments(path) {
|
||||
var out = '';
|
||||
while(path) {
|
||||
if(path.substr(0,3)==='../' || path.substr(0,2)==='./') {
|
||||
path = path.replace(/^\.+/,'').substr(1);
|
||||
} else if(path.substr(0,3)==='/./' || path==='/.') {
|
||||
path = '/'+path.substr(3);
|
||||
} else if(path.substr(0,4)==='/../' || path==='/..') {
|
||||
path = '/'+path.substr(4);
|
||||
out = out.replace(/\/?[^\/]*$/, '');
|
||||
} else if(path==='.' || path==='..') {
|
||||
path = '';
|
||||
} else {
|
||||
var rm = path.match(/^\/?[^\/]*/)[0];
|
||||
path = path.substr(rm.length);
|
||||
out = out + rm;
|
||||
}
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
if(uri) {
|
||||
this.parse(uri);
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
|
||||
//
|
||||
// Usage example:
|
||||
// var myColor = new jscolor.color(myInputElement)
|
||||
//
|
||||
|
||||
color : function(target, prop) {
|
||||
|
||||
|
||||
this.required = true; // refuse empty values?
|
||||
this.adjust = true; // adjust value to uniform notation?
|
||||
this.hash = false; // prefix color with # symbol?
|
||||
this.caps = true; // uppercase?
|
||||
this.slider = true; // show the value/saturation slider?
|
||||
this.valueElement = target; // value holder
|
||||
this.styleElement = target; // where to reflect current color
|
||||
this.onImmediateChange = null; // onchange callback (can be either string or function)
|
||||
this.hsv = [0, 0, 1]; // read-only 0-6, 0-1, 0-1
|
||||
this.rgb = [1, 1, 1]; // read-only 0-1, 0-1, 0-1
|
||||
this.minH = 0; // read-only 0-6
|
||||
this.maxH = 6; // read-only 0-6
|
||||
this.minS = 0; // read-only 0-1
|
||||
this.maxS = 1; // read-only 0-1
|
||||
this.minV = 0; // read-only 0-1
|
||||
this.maxV = 1; // read-only 0-1
|
||||
|
||||
this.pickerOnfocus = true; // display picker on focus?
|
||||
this.pickerMode = 'HSV'; // HSV | HVS
|
||||
this.pickerPosition = 'bottom'; // left | right | top | bottom
|
||||
this.pickerSmartPosition = true; // automatically adjust picker position when necessary
|
||||
this.pickerButtonHeight = 20; // px
|
||||
this.pickerClosable = false;
|
||||
this.pickerCloseText = 'Close';
|
||||
this.pickerButtonColor = 'ButtonText'; // px
|
||||
this.pickerFace = 10; // px
|
||||
this.pickerFaceColor = 'ThreeDFace'; // CSS color
|
||||
this.pickerBorder = 1; // px
|
||||
this.pickerBorderColor = 'ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight'; // CSS color
|
||||
this.pickerInset = 1; // px
|
||||
this.pickerInsetColor = 'ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow'; // CSS color
|
||||
this.pickerZIndex = 10000;
|
||||
|
||||
|
||||
for(var p in prop) {
|
||||
if(prop.hasOwnProperty(p)) {
|
||||
this[p] = prop[p];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
this.hidePicker = function() {
|
||||
if(isPickerOwner()) {
|
||||
removePicker();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
this.showPicker = function() {
|
||||
if(!isPickerOwner()) {
|
||||
var tp = jscolor.getElementPos(target); // target pos
|
||||
var ts = jscolor.getElementSize(target); // target size
|
||||
var vp = jscolor.getViewPos(); // view pos
|
||||
var vs = jscolor.getViewSize(); // view size
|
||||
var ps = getPickerDims(this); // picker size
|
||||
var a, b, c;
|
||||
switch(this.pickerPosition.toLowerCase()) {
|
||||
case 'left': a=1; b=0; c=-1; break;
|
||||
case 'right':a=1; b=0; c=1; break;
|
||||
case 'top': a=0; b=1; c=-1; break;
|
||||
default: a=0; b=1; c=1; break;
|
||||
}
|
||||
var l = (ts[b]+ps[b])/2;
|
||||
|
||||
// picker pos
|
||||
if (!this.pickerSmartPosition) {
|
||||
var pp = [
|
||||
tp[a],
|
||||
tp[b]+ts[b]-l+l*c
|
||||
];
|
||||
} else {
|
||||
var pp = [
|
||||
-vp[a]+tp[a]+ps[a] > vs[a] ?
|
||||
(-vp[a]+tp[a]+ts[a]/2 > vs[a]/2 && tp[a]+ts[a]-ps[a] >= 0 ? tp[a]+ts[a]-ps[a] : tp[a]) :
|
||||
tp[a],
|
||||
-vp[b]+tp[b]+ts[b]+ps[b]-l+l*c > vs[b] ?
|
||||
(-vp[b]+tp[b]+ts[b]/2 > vs[b]/2 && tp[b]+ts[b]-l-l*c >= 0 ? tp[b]+ts[b]-l-l*c : tp[b]+ts[b]-l+l*c) :
|
||||
(tp[b]+ts[b]-l+l*c >= 0 ? tp[b]+ts[b]-l+l*c : tp[b]+ts[b]-l-l*c)
|
||||
];
|
||||
}
|
||||
drawPicker(pp[a], pp[b]);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
this.importColor = function() {
|
||||
if(!valueElement) {
|
||||
this.exportColor();
|
||||
} else {
|
||||
if(!this.adjust) {
|
||||
if(!this.fromString(valueElement.value, leaveValue)) {
|
||||
styleElement.style.backgroundImage = styleElement.jscStyle.backgroundImage;
|
||||
styleElement.style.backgroundColor = styleElement.jscStyle.backgroundColor;
|
||||
styleElement.style.color = styleElement.jscStyle.color;
|
||||
this.exportColor(leaveValue | leaveStyle);
|
||||
}
|
||||
} else if(!this.required && /^\s*$/.test(valueElement.value)) {
|
||||
valueElement.value = '';
|
||||
styleElement.style.backgroundImage = styleElement.jscStyle.backgroundImage;
|
||||
styleElement.style.backgroundColor = styleElement.jscStyle.backgroundColor;
|
||||
styleElement.style.color = styleElement.jscStyle.color;
|
||||
this.exportColor(leaveValue | leaveStyle);
|
||||
|
||||
} else if(this.fromString(valueElement.value)) {
|
||||
// OK
|
||||
} else {
|
||||
this.exportColor();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
this.exportColor = function(flags) {
|
||||
if(!(flags & leaveValue) && valueElement) {
|
||||
var value = this.toString();
|
||||
if(this.caps) { value = value.toUpperCase(); }
|
||||
if(this.hash) { value = '#'+value; }
|
||||
valueElement.value = value;
|
||||
}
|
||||
if(!(flags & leaveStyle) && styleElement) {
|
||||
styleElement.style.backgroundImage = "none";
|
||||
styleElement.style.backgroundColor =
|
||||
'#'+this.toString();
|
||||
styleElement.style.color =
|
||||
0.213 * this.rgb[0] +
|
||||
0.715 * this.rgb[1] +
|
||||
0.072 * this.rgb[2]
|
||||
< 0.5 ? '#FFF' : '#000';
|
||||
}
|
||||
if(!(flags & leavePad) && isPickerOwner()) {
|
||||
redrawPad();
|
||||
}
|
||||
if(!(flags & leaveSld) && isPickerOwner()) {
|
||||
redrawSld();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
this.fromHSV = function(h, s, v, flags) { // null = don't change
|
||||
if(h !== null) { h = Math.max(0.0, this.minH, Math.min(6.0, this.maxH, h)); }
|
||||
if(s !== null) { s = Math.max(0.0, this.minS, Math.min(1.0, this.maxS, s)); }
|
||||
if(v !== null) { v = Math.max(0.0, this.minV, Math.min(1.0, this.maxV, v)); }
|
||||
|
||||
this.rgb = HSV_RGB(
|
||||
h===null ? this.hsv[0] : (this.hsv[0]=h),
|
||||
s===null ? this.hsv[1] : (this.hsv[1]=s),
|
||||
v===null ? this.hsv[2] : (this.hsv[2]=v)
|
||||
);
|
||||
|
||||
this.exportColor(flags);
|
||||
};
|
||||
|
||||
|
||||
this.fromRGB = function(r, g, b, flags) { // null = don't change
|
||||
if(r !== null) { r = Math.max(0.0, Math.min(1.0, r)); }
|
||||
if(g !== null) { g = Math.max(0.0, Math.min(1.0, g)); }
|
||||
if(b !== null) { b = Math.max(0.0, Math.min(1.0, b)); }
|
||||
|
||||
var hsv = RGB_HSV(
|
||||
r===null ? this.rgb[0] : r,
|
||||
g===null ? this.rgb[1] : g,
|
||||
b===null ? this.rgb[2] : b
|
||||
);
|
||||
if(hsv[0] !== null) {
|
||||
this.hsv[0] = Math.max(0.0, this.minH, Math.min(6.0, this.maxH, hsv[0]));
|
||||
}
|
||||
if(hsv[2] !== 0) {
|
||||
this.hsv[1] = hsv[1]===null ? null : Math.max(0.0, this.minS, Math.min(1.0, this.maxS, hsv[1]));
|
||||
}
|
||||
this.hsv[2] = hsv[2]===null ? null : Math.max(0.0, this.minV, Math.min(1.0, this.maxV, hsv[2]));
|
||||
|
||||
// update RGB according to final HSV, as some values might be trimmed
|
||||
var rgb = HSV_RGB(this.hsv[0], this.hsv[1], this.hsv[2]);
|
||||
this.rgb[0] = rgb[0];
|
||||
this.rgb[1] = rgb[1];
|
||||
this.rgb[2] = rgb[2];
|
||||
|
||||
this.exportColor(flags);
|
||||
};
|
||||
|
||||
|
||||
this.fromString = function(hex, flags) {
|
||||
var m = hex.match(/^\W*([0-9A-F]{3}([0-9A-F]{3})?)\W*$/i);
|
||||
if(!m) {
|
||||
return false;
|
||||
} else {
|
||||
if(m[1].length === 6) { // 6-char notation
|
||||
this.fromRGB(
|
||||
parseInt(m[1].substr(0,2),16) / 255,
|
||||
parseInt(m[1].substr(2,2),16) / 255,
|
||||
parseInt(m[1].substr(4,2),16) / 255,
|
||||
flags
|
||||
);
|
||||
} else { // 3-char notation
|
||||
this.fromRGB(
|
||||
parseInt(m[1].charAt(0)+m[1].charAt(0),16) / 255,
|
||||
parseInt(m[1].charAt(1)+m[1].charAt(1),16) / 255,
|
||||
parseInt(m[1].charAt(2)+m[1].charAt(2),16) / 255,
|
||||
flags
|
||||
);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
this.toString = function() {
|
||||
return (
|
||||
(0x100 | Math.round(255*this.rgb[0])).toString(16).substr(1) +
|
||||
(0x100 | Math.round(255*this.rgb[1])).toString(16).substr(1) +
|
||||
(0x100 | Math.round(255*this.rgb[2])).toString(16).substr(1)
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
function RGB_HSV(r, g, b) {
|
||||
var n = Math.min(Math.min(r,g),b);
|
||||
var v = Math.max(Math.max(r,g),b);
|
||||
var m = v - n;
|
||||
if(m === 0) { return [ null, 0, v ]; }
|
||||
var h = r===n ? 3+(b-g)/m : (g===n ? 5+(r-b)/m : 1+(g-r)/m);
|
||||
return [ h===6?0:h, m/v, v ];
|
||||
}
|
||||
|
||||
|
||||
function HSV_RGB(h, s, v) {
|
||||
if(h === null) { return [ v, v, v ]; }
|
||||
var i = Math.floor(h);
|
||||
var f = i%2 ? h-i : 1-(h-i);
|
||||
var m = v * (1 - s);
|
||||
var n = v * (1 - s*f);
|
||||
switch(i) {
|
||||
case 6:
|
||||
case 0: return [v,n,m];
|
||||
case 1: return [n,v,m];
|
||||
case 2: return [m,v,n];
|
||||
case 3: return [m,n,v];
|
||||
case 4: return [n,m,v];
|
||||
case 5: return [v,m,n];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function removePicker() {
|
||||
delete jscolor.picker.owner;
|
||||
document.getElementsByTagName('body')[0].removeChild(jscolor.picker.boxB);
|
||||
}
|
||||
|
||||
|
||||
function drawPicker(x, y) {
|
||||
if(!jscolor.picker) {
|
||||
jscolor.picker = {
|
||||
box : document.createElement('div'),
|
||||
boxB : document.createElement('div'),
|
||||
pad : document.createElement('div'),
|
||||
padB : document.createElement('div'),
|
||||
padM : document.createElement('div'),
|
||||
sld : document.createElement('div'),
|
||||
sldB : document.createElement('div'),
|
||||
sldM : document.createElement('div'),
|
||||
btn : document.createElement('div'),
|
||||
btnS : document.createElement('span'),
|
||||
btnT : document.createTextNode(THIS.pickerCloseText)
|
||||
};
|
||||
for(var i=0,segSize=4; i<jscolor.images.sld[1]; i+=segSize) {
|
||||
var seg = document.createElement('div');
|
||||
seg.style.height = segSize+'px';
|
||||
seg.style.fontSize = '1px';
|
||||
seg.style.lineHeight = '0';
|
||||
jscolor.picker.sld.appendChild(seg);
|
||||
}
|
||||
jscolor.picker.sldB.appendChild(jscolor.picker.sld);
|
||||
jscolor.picker.box.appendChild(jscolor.picker.sldB);
|
||||
jscolor.picker.box.appendChild(jscolor.picker.sldM);
|
||||
jscolor.picker.padB.appendChild(jscolor.picker.pad);
|
||||
jscolor.picker.box.appendChild(jscolor.picker.padB);
|
||||
jscolor.picker.box.appendChild(jscolor.picker.padM);
|
||||
jscolor.picker.btnS.appendChild(jscolor.picker.btnT);
|
||||
jscolor.picker.btn.appendChild(jscolor.picker.btnS);
|
||||
jscolor.picker.box.appendChild(jscolor.picker.btn);
|
||||
jscolor.picker.boxB.appendChild(jscolor.picker.box);
|
||||
}
|
||||
|
||||
var p = jscolor.picker;
|
||||
|
||||
// controls interaction
|
||||
p.box.onmouseup =
|
||||
p.box.onmouseout = function() { target.focus(); };
|
||||
p.box.onmousedown = function() { abortBlur=true; };
|
||||
p.box.onmousemove = function(e) {
|
||||
if (holdPad || holdSld) {
|
||||
holdPad && setPad(e);
|
||||
holdSld && setSld(e);
|
||||
if (document.selection) {
|
||||
document.selection.empty();
|
||||
} else if (window.getSelection) {
|
||||
window.getSelection().removeAllRanges();
|
||||
}
|
||||
dispatchImmediateChange();
|
||||
}
|
||||
};
|
||||
if('ontouchstart' in window) { // if touch device
|
||||
var handle_touchmove = function(e) {
|
||||
var event={
|
||||
'offsetX': e.touches[0].pageX-touchOffset.X,
|
||||
'offsetY': e.touches[0].pageY-touchOffset.Y
|
||||
};
|
||||
if (holdPad || holdSld) {
|
||||
holdPad && setPad(event);
|
||||
holdSld && setSld(event);
|
||||
dispatchImmediateChange();
|
||||
}
|
||||
e.stopPropagation(); // prevent move "view" on broswer
|
||||
e.preventDefault(); // prevent Default - Android Fix (else android generated only 1-2 touchmove events)
|
||||
};
|
||||
p.box.removeEventListener('touchmove', handle_touchmove, false)
|
||||
p.box.addEventListener('touchmove', handle_touchmove, false)
|
||||
}
|
||||
p.padM.onmouseup =
|
||||
p.padM.onmouseout = function() { if(holdPad) { holdPad=false; jscolor.fireEvent(valueElement,'change'); } };
|
||||
p.padM.onmousedown = function(e) {
|
||||
// if the slider is at the bottom, move it up
|
||||
switch(modeID) {
|
||||
case 0: if (THIS.hsv[2] === 0) { THIS.fromHSV(null, null, 1.0); }; break;
|
||||
case 1: if (THIS.hsv[1] === 0) { THIS.fromHSV(null, 1.0, null); }; break;
|
||||
}
|
||||
holdSld=false;
|
||||
holdPad=true;
|
||||
setPad(e);
|
||||
dispatchImmediateChange();
|
||||
};
|
||||
if('ontouchstart' in window) {
|
||||
p.padM.addEventListener('touchstart', function(e) {
|
||||
touchOffset={
|
||||
'X': e.target.offsetParent.offsetLeft,
|
||||
'Y': e.target.offsetParent.offsetTop
|
||||
};
|
||||
this.onmousedown({
|
||||
'offsetX':e.touches[0].pageX-touchOffset.X,
|
||||
'offsetY':e.touches[0].pageY-touchOffset.Y
|
||||
});
|
||||
});
|
||||
}
|
||||
p.sldM.onmouseup =
|
||||
p.sldM.onmouseout = function() { if(holdSld) { holdSld=false; jscolor.fireEvent(valueElement,'change'); } };
|
||||
p.sldM.onmousedown = function(e) {
|
||||
holdPad=false;
|
||||
holdSld=true;
|
||||
setSld(e);
|
||||
dispatchImmediateChange();
|
||||
};
|
||||
if('ontouchstart' in window) {
|
||||
p.sldM.addEventListener('touchstart', function(e) {
|
||||
touchOffset={
|
||||
'X': e.target.offsetParent.offsetLeft,
|
||||
'Y': e.target.offsetParent.offsetTop
|
||||
};
|
||||
this.onmousedown({
|
||||
'offsetX':e.touches[0].pageX-touchOffset.X,
|
||||
'offsetY':e.touches[0].pageY-touchOffset.Y
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// picker
|
||||
var dims = getPickerDims(THIS);
|
||||
p.box.style.width = dims[0] + 'px';
|
||||
p.box.style.height = dims[1] + 'px';
|
||||
|
||||
// picker border
|
||||
p.boxB.style.position = 'absolute';
|
||||
p.boxB.style.clear = 'both';
|
||||
p.boxB.style.left = x+'px';
|
||||
p.boxB.style.top = y+'px';
|
||||
p.boxB.style.zIndex = THIS.pickerZIndex;
|
||||
p.boxB.style.border = THIS.pickerBorder+'px solid';
|
||||
p.boxB.style.borderColor = THIS.pickerBorderColor;
|
||||
p.boxB.style.background = THIS.pickerFaceColor;
|
||||
|
||||
// pad image
|
||||
p.pad.style.width = jscolor.images.pad[0]+'px';
|
||||
p.pad.style.height = jscolor.images.pad[1]+'px';
|
||||
|
||||
// pad border
|
||||
p.padB.style.position = 'absolute';
|
||||
p.padB.style.left = THIS.pickerFace+'px';
|
||||
p.padB.style.top = THIS.pickerFace+'px';
|
||||
p.padB.style.border = THIS.pickerInset+'px solid';
|
||||
p.padB.style.borderColor = THIS.pickerInsetColor;
|
||||
|
||||
// pad mouse area
|
||||
p.padM.style.position = 'absolute';
|
||||
p.padM.style.left = '0';
|
||||
p.padM.style.top = '0';
|
||||
p.padM.style.width = THIS.pickerFace + 2*THIS.pickerInset + jscolor.images.pad[0] + jscolor.images.arrow[0] + 'px';
|
||||
p.padM.style.height = p.box.style.height;
|
||||
p.padM.style.cursor = 'crosshair';
|
||||
|
||||
// slider image
|
||||
p.sld.style.overflow = 'hidden';
|
||||
p.sld.style.width = jscolor.images.sld[0]+'px';
|
||||
p.sld.style.height = jscolor.images.sld[1]+'px';
|
||||
|
||||
// slider border
|
||||
p.sldB.style.display = THIS.slider ? 'block' : 'none';
|
||||
p.sldB.style.position = 'absolute';
|
||||
p.sldB.style.right = THIS.pickerFace+'px';
|
||||
p.sldB.style.top = THIS.pickerFace+'px';
|
||||
p.sldB.style.border = THIS.pickerInset+'px solid';
|
||||
p.sldB.style.borderColor = THIS.pickerInsetColor;
|
||||
|
||||
// slider mouse area
|
||||
p.sldM.style.display = THIS.slider ? 'block' : 'none';
|
||||
p.sldM.style.position = 'absolute';
|
||||
p.sldM.style.right = '0';
|
||||
p.sldM.style.top = '0';
|
||||
p.sldM.style.width = jscolor.images.sld[0] + jscolor.images.arrow[0] + THIS.pickerFace + 2*THIS.pickerInset + 'px';
|
||||
p.sldM.style.height = p.box.style.height;
|
||||
try {
|
||||
p.sldM.style.cursor = 'pointer';
|
||||
} catch(eOldIE) {
|
||||
p.sldM.style.cursor = 'hand';
|
||||
}
|
||||
|
||||
// "close" button
|
||||
function setBtnBorder() {
|
||||
var insetColors = THIS.pickerInsetColor.split(/\s+/);
|
||||
var pickerOutsetColor = insetColors.length < 2 ? insetColors[0] : insetColors[1] + ' ' + insetColors[0] + ' ' + insetColors[0] + ' ' + insetColors[1];
|
||||
p.btn.style.borderColor = pickerOutsetColor;
|
||||
}
|
||||
p.btn.style.display = THIS.pickerClosable ? 'block' : 'none';
|
||||
p.btn.style.position = 'absolute';
|
||||
p.btn.style.left = THIS.pickerFace + 'px';
|
||||
p.btn.style.bottom = THIS.pickerFace + 'px';
|
||||
p.btn.style.padding = '0 15px';
|
||||
p.btn.style.height = '18px';
|
||||
p.btn.style.border = THIS.pickerInset + 'px solid';
|
||||
setBtnBorder();
|
||||
p.btn.style.color = THIS.pickerButtonColor;
|
||||
p.btn.style.font = '12px sans-serif';
|
||||
p.btn.style.textAlign = 'center';
|
||||
try {
|
||||
p.btn.style.cursor = 'pointer';
|
||||
} catch(eOldIE) {
|
||||
p.btn.style.cursor = 'hand';
|
||||
}
|
||||
p.btn.onmousedown = function () {
|
||||
THIS.hidePicker();
|
||||
};
|
||||
p.btnS.style.lineHeight = p.btn.style.height;
|
||||
|
||||
// load images in optimal order
|
||||
switch(modeID) {
|
||||
case 0: var padImg = 'hs.png'; break;
|
||||
case 1: var padImg = 'hv.png'; break;
|
||||
}
|
||||
p.padM.style.backgroundImage = "url('"+jscolor.getDir()+"cross.gif')";
|
||||
p.padM.style.backgroundRepeat = "no-repeat";
|
||||
p.sldM.style.backgroundImage = "url('"+jscolor.getDir()+"arrow.gif')";
|
||||
p.sldM.style.backgroundRepeat = "no-repeat";
|
||||
p.pad.style.backgroundImage = "url('"+jscolor.getDir()+padImg+"')";
|
||||
p.pad.style.backgroundRepeat = "no-repeat";
|
||||
p.pad.style.backgroundPosition = "0 0";
|
||||
|
||||
// place pointers
|
||||
redrawPad();
|
||||
redrawSld();
|
||||
|
||||
jscolor.picker.owner = THIS;
|
||||
document.getElementsByTagName('body')[0].appendChild(p.boxB);
|
||||
}
|
||||
|
||||
|
||||
function getPickerDims(o) {
|
||||
var dims = [
|
||||
2*o.pickerInset + 2*o.pickerFace + jscolor.images.pad[0] +
|
||||
(o.slider ? 2*o.pickerInset + 2*jscolor.images.arrow[0] + jscolor.images.sld[0] : 0),
|
||||
o.pickerClosable ?
|
||||
4*o.pickerInset + 3*o.pickerFace + jscolor.images.pad[1] + o.pickerButtonHeight :
|
||||
2*o.pickerInset + 2*o.pickerFace + jscolor.images.pad[1]
|
||||
];
|
||||
return dims;
|
||||
}
|
||||
|
||||
|
||||
function redrawPad() {
|
||||
// redraw the pad pointer
|
||||
switch(modeID) {
|
||||
case 0: var yComponent = 1; break;
|
||||
case 1: var yComponent = 2; break;
|
||||
}
|
||||
var x = Math.round((THIS.hsv[0]/6) * (jscolor.images.pad[0]-1));
|
||||
var y = Math.round((1-THIS.hsv[yComponent]) * (jscolor.images.pad[1]-1));
|
||||
jscolor.picker.padM.style.backgroundPosition =
|
||||
(THIS.pickerFace+THIS.pickerInset+x - Math.floor(jscolor.images.cross[0]/2)) + 'px ' +
|
||||
(THIS.pickerFace+THIS.pickerInset+y - Math.floor(jscolor.images.cross[1]/2)) + 'px';
|
||||
|
||||
// redraw the slider image
|
||||
var seg = jscolor.picker.sld.childNodes;
|
||||
|
||||
switch(modeID) {
|
||||
case 0:
|
||||
var rgb = HSV_RGB(THIS.hsv[0], THIS.hsv[1], 1);
|
||||
for(var i=0; i<seg.length; i+=1) {
|
||||
seg[i].style.backgroundColor = 'rgb('+
|
||||
(rgb[0]*(1-i/seg.length)*100)+'%,'+
|
||||
(rgb[1]*(1-i/seg.length)*100)+'%,'+
|
||||
(rgb[2]*(1-i/seg.length)*100)+'%)';
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
var rgb, s, c = [ THIS.hsv[2], 0, 0 ];
|
||||
var i = Math.floor(THIS.hsv[0]);
|
||||
var f = i%2 ? THIS.hsv[0]-i : 1-(THIS.hsv[0]-i);
|
||||
switch(i) {
|
||||
case 6:
|
||||
case 0: rgb=[0,1,2]; break;
|
||||
case 1: rgb=[1,0,2]; break;
|
||||
case 2: rgb=[2,0,1]; break;
|
||||
case 3: rgb=[2,1,0]; break;
|
||||
case 4: rgb=[1,2,0]; break;
|
||||
case 5: rgb=[0,2,1]; break;
|
||||
}
|
||||
for(var i=0; i<seg.length; i+=1) {
|
||||
s = 1 - 1/(seg.length-1)*i;
|
||||
c[1] = c[0] * (1 - s*f);
|
||||
c[2] = c[0] * (1 - s);
|
||||
seg[i].style.backgroundColor = 'rgb('+
|
||||
(c[rgb[0]]*100)+'%,'+
|
||||
(c[rgb[1]]*100)+'%,'+
|
||||
(c[rgb[2]]*100)+'%)';
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function redrawSld() {
|
||||
// redraw the slider pointer
|
||||
switch(modeID) {
|
||||
case 0: var yComponent = 2; break;
|
||||
case 1: var yComponent = 1; break;
|
||||
}
|
||||
var y = Math.round((1-THIS.hsv[yComponent]) * (jscolor.images.sld[1]-1));
|
||||
jscolor.picker.sldM.style.backgroundPosition =
|
||||
'0 ' + (THIS.pickerFace+THIS.pickerInset+y - Math.floor(jscolor.images.arrow[1]/2)) + 'px';
|
||||
}
|
||||
|
||||
|
||||
function isPickerOwner() {
|
||||
return jscolor.picker && jscolor.picker.owner === THIS;
|
||||
}
|
||||
|
||||
|
||||
function blurTarget() {
|
||||
if(valueElement === target) {
|
||||
THIS.importColor();
|
||||
}
|
||||
if(THIS.pickerOnfocus) {
|
||||
THIS.hidePicker();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function blurValue() {
|
||||
if(valueElement !== target) {
|
||||
THIS.importColor();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function setPad(e) {
|
||||
var mpos = jscolor.getRelMousePos(e);
|
||||
var x = mpos.x - THIS.pickerFace - THIS.pickerInset;
|
||||
var y = mpos.y - THIS.pickerFace - THIS.pickerInset;
|
||||
switch(modeID) {
|
||||
case 0: THIS.fromHSV(x*(6/(jscolor.images.pad[0]-1)), 1 - y/(jscolor.images.pad[1]-1), null, leaveSld); break;
|
||||
case 1: THIS.fromHSV(x*(6/(jscolor.images.pad[0]-1)), null, 1 - y/(jscolor.images.pad[1]-1), leaveSld); break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function setSld(e) {
|
||||
var mpos = jscolor.getRelMousePos(e);
|
||||
var y = mpos.y - THIS.pickerFace - THIS.pickerInset;
|
||||
switch(modeID) {
|
||||
case 0: THIS.fromHSV(null, null, 1 - y/(jscolor.images.sld[1]-1), leavePad); break;
|
||||
case 1: THIS.fromHSV(null, 1 - y/(jscolor.images.sld[1]-1), null, leavePad); break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function dispatchImmediateChange() {
|
||||
if (THIS.onImmediateChange) {
|
||||
var callback;
|
||||
if (typeof THIS.onImmediateChange === 'string') {
|
||||
callback = new Function (THIS.onImmediateChange);
|
||||
} else {
|
||||
callback = THIS.onImmediateChange;
|
||||
}
|
||||
callback.call(THIS);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
var THIS = this;
|
||||
var modeID = this.pickerMode.toLowerCase()==='hvs' ? 1 : 0;
|
||||
var abortBlur = false;
|
||||
var
|
||||
valueElement = jscolor.fetchElement(this.valueElement),
|
||||
styleElement = jscolor.fetchElement(this.styleElement);
|
||||
var
|
||||
holdPad = false,
|
||||
holdSld = false,
|
||||
touchOffset = {};
|
||||
var
|
||||
leaveValue = 1<<0,
|
||||
leaveStyle = 1<<1,
|
||||
leavePad = 1<<2,
|
||||
leaveSld = 1<<3;
|
||||
|
||||
// target
|
||||
jscolor.addEvent(target, 'focus', function() {
|
||||
if(THIS.pickerOnfocus) { THIS.showPicker(); }
|
||||
});
|
||||
jscolor.addEvent(target, 'blur', function() {
|
||||
if(!abortBlur) {
|
||||
window.setTimeout(function(){ abortBlur || blurTarget(); abortBlur=false; }, 0);
|
||||
} else {
|
||||
abortBlur = false;
|
||||
}
|
||||
});
|
||||
|
||||
// valueElement
|
||||
if(valueElement) {
|
||||
var updateField = function() {
|
||||
THIS.fromString(valueElement.value, leaveValue);
|
||||
dispatchImmediateChange();
|
||||
};
|
||||
jscolor.addEvent(valueElement, 'keyup', updateField);
|
||||
jscolor.addEvent(valueElement, 'input', updateField);
|
||||
jscolor.addEvent(valueElement, 'blur', blurValue);
|
||||
valueElement.setAttribute('autocomplete', 'off');
|
||||
}
|
||||
|
||||
// styleElement
|
||||
if(styleElement) {
|
||||
styleElement.jscStyle = {
|
||||
backgroundImage : styleElement.style.backgroundImage,
|
||||
backgroundColor : styleElement.style.backgroundColor,
|
||||
color : styleElement.style.color
|
||||
};
|
||||
}
|
||||
|
||||
// require images
|
||||
switch(modeID) {
|
||||
case 0: jscolor.requireImage('hs.png'); break;
|
||||
case 1: jscolor.requireImage('hv.png'); break;
|
||||
}
|
||||
jscolor.requireImage('cross.gif');
|
||||
jscolor.requireImage('arrow.gif');
|
||||
|
||||
this.importColor();
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
jscolor.install();
|
|
@ -0,0 +1,677 @@
|
|||
body{
|
||||
font-size:10pt;
|
||||
font-family:Arial,san-serif;
|
||||
}
|
||||
|
||||
.itemNBT{
|
||||
max-width:500px;
|
||||
display:block;
|
||||
height:auto;
|
||||
white-space:normal;
|
||||
word-break: break-all;
|
||||
}
|
||||
.pool{
|
||||
display:block;
|
||||
margin-top:3px;
|
||||
background-color:#dff;
|
||||
}
|
||||
.entry{
|
||||
display:block;
|
||||
margin-top:3px;
|
||||
background-color:#dfd;
|
||||
}
|
||||
.lootEntries{
|
||||
display:flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
#lootTableContainer{
|
||||
background-color:rgba(97, 171, 175, 0.5);
|
||||
min-width:600px;
|
||||
}
|
||||
|
||||
#lootTablePane{
|
||||
|
||||
min-width:600px;
|
||||
display:flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#hideLootTable{
|
||||
cursor:pointer;
|
||||
float:right;
|
||||
}
|
||||
#themes{
|
||||
width:600px;
|
||||
}
|
||||
#themeBut{
|
||||
margin-top:20px;
|
||||
border-radius: 5px;
|
||||
padding-left:3px;
|
||||
padding-right:3px;
|
||||
margin:0 auto;
|
||||
font-size:10pt;
|
||||
color:#000;
|
||||
background-color:#fff;
|
||||
border:solid black 2px;
|
||||
font-family:"Arial",sans-serif;
|
||||
text-decoration:none;
|
||||
cursor:pointer;
|
||||
float:left;
|
||||
display:block;
|
||||
|
||||
}
|
||||
|
||||
.pageAndSection{
|
||||
width:100px;
|
||||
display:inline-block;
|
||||
text-align:center;
|
||||
}
|
||||
.crossbowItem{
|
||||
border-bottom:solid 2px black;
|
||||
}
|
||||
.entityWrapper {
|
||||
display: grid;
|
||||
grid-auto-columns: auto auto;
|
||||
grid-auto-rows: auto auto;
|
||||
}
|
||||
|
||||
.entityL{
|
||||
grid-column: 1 / 2;
|
||||
}
|
||||
.entityR{
|
||||
grid-column: 2 / 3;
|
||||
}
|
||||
.entityB{
|
||||
grid-column: 1 / 3;
|
||||
}
|
||||
#exeString{
|
||||
width:400px;
|
||||
height:30px;
|
||||
}
|
||||
#topPart{
|
||||
display:inline-block;
|
||||
width:1000px;
|
||||
}
|
||||
#socialbuts{
|
||||
float:left;
|
||||
width:600px;
|
||||
}
|
||||
#logo{
|
||||
float:left;
|
||||
}
|
||||
#socialandnav{
|
||||
width:600px;
|
||||
}
|
||||
#nav{
|
||||
|
||||
width:500px;
|
||||
margin-bottom:3px;
|
||||
float:left;
|
||||
}
|
||||
table.features td, table.features th {
|
||||
border-style:none;
|
||||
vertical-align:top;
|
||||
padding:2px;
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
table.update113{
|
||||
border-collapse:collapse;
|
||||
width:600px;
|
||||
}
|
||||
table.update113 th, table.update113 td{
|
||||
border:1px solid black;
|
||||
vertical-align:top;
|
||||
text-align:left;
|
||||
}
|
||||
#dialogbox{
|
||||
max-width:400px;
|
||||
background:grey;
|
||||
display:none;
|
||||
position: absolute;
|
||||
border: 2px solid #000;
|
||||
background-color:#ff6;
|
||||
padding:10px;
|
||||
z-index:10;
|
||||
}
|
||||
.combut{
|
||||
border-radius: 10px;
|
||||
float:left;
|
||||
padding-left:3px;
|
||||
padding-right:3px;
|
||||
margin:1px;
|
||||
font-size:14pt;
|
||||
color:#000;
|
||||
background-color:#fff;
|
||||
border:solid black 2px;
|
||||
font-weight:bold;
|
||||
font-family:"Arial",sans-serif;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
.bigads{
|
||||
border-radius: 10px;
|
||||
border:solid black 2px;
|
||||
background-color:#fff;
|
||||
margin-bottom:5px;
|
||||
padding:5px;
|
||||
display:inline-block;
|
||||
}
|
||||
.bigads:hover{
|
||||
background-color:#ddd;
|
||||
}
|
||||
.funcbuts{
|
||||
top:-13px;
|
||||
position:relative;
|
||||
border-radius: 10px;
|
||||
/*padding-left:3px;
|
||||
padding-right:3px;*/
|
||||
padding:5px;
|
||||
height:40px;
|
||||
margin:1px;
|
||||
font-size:14pt;
|
||||
color:#000;
|
||||
background-color:#fff;
|
||||
border:solid black 2px;
|
||||
font-weight:bold;
|
||||
font-family:"Arial",sans-serif;
|
||||
text-decoration:none;
|
||||
}
|
||||
.funcbuts:hover{
|
||||
color:#f15a24;
|
||||
background-color:#000;
|
||||
}
|
||||
.combut:hover{
|
||||
color:#f15a24;
|
||||
background-color:#000;
|
||||
}
|
||||
.ads{
|
||||
text-align:left;
|
||||
font-size:8pt;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
#clipBoard-ta{
|
||||
margin:0; padding:0; border:none; display:block;
|
||||
width:100%;
|
||||
height:135px;
|
||||
resize:none;
|
||||
background-color:#a3dda1;
|
||||
}
|
||||
#clipBoard {
|
||||
background-color:#5ec95c;
|
||||
width: 500px;
|
||||
position: fixed;
|
||||
border:solid 1px black;
|
||||
}
|
||||
|
||||
#settings {
|
||||
background-color:#CF82D9;
|
||||
width: 350px;
|
||||
position: fixed;
|
||||
border:solid 1px black;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
#settingsArea {
|
||||
background-color:#F6B3FF;
|
||||
width: 348px;
|
||||
height:107px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.pinkbut{
|
||||
background-color:#F6B3FF;
|
||||
}
|
||||
|
||||
#commandOutput-ta{
|
||||
margin:0; padding:0; border:none; display:block;
|
||||
width:100%;
|
||||
height:135px;
|
||||
resize:none;
|
||||
background-color:#9fc3fc;
|
||||
|
||||
|
||||
}
|
||||
#commandOutput {
|
||||
background-color:#719fe8;
|
||||
width: 500px;
|
||||
position: fixed;
|
||||
border:solid 1px black;
|
||||
}
|
||||
|
||||
#commandInput-ta{
|
||||
margin:0; padding:0; border:none; display:block;
|
||||
width:100%;
|
||||
height:135px;
|
||||
resize:none;
|
||||
background-color:#f4c741;
|
||||
}
|
||||
#commandInput {
|
||||
background-color:#f4aa42;
|
||||
width: 500px;
|
||||
position: fixed;
|
||||
border:solid 1px black;
|
||||
}
|
||||
.yellowbut{
|
||||
background-color:#f4c741;
|
||||
}
|
||||
.greenbut{
|
||||
background-color:#a3dda1;
|
||||
}
|
||||
.bluebut{
|
||||
background-color:#719fe8;
|
||||
}
|
||||
.nbtKey{
|
||||
width:100px;
|
||||
text-align:right;
|
||||
background-color:#eea;
|
||||
}
|
||||
.nbtVal{
|
||||
text-align:left;
|
||||
}
|
||||
.aTable{
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table.aTable th td {
|
||||
border-style:none;
|
||||
text-align:center;
|
||||
padding:2px;
|
||||
}
|
||||
.fLabel200{
|
||||
text-align:right;
|
||||
display: inline-block;
|
||||
width:200px;
|
||||
margin-top:5px;
|
||||
}
|
||||
|
||||
.fLabel100{
|
||||
text-align:right;
|
||||
display: inline-block;
|
||||
width:130px;
|
||||
margin-top:5px;
|
||||
}
|
||||
|
||||
.fLabel40{
|
||||
text-align:right;
|
||||
display: inline-block;
|
||||
width:40px;
|
||||
margin-top:5px;
|
||||
}
|
||||
.fLabel150{
|
||||
text-align:right;
|
||||
display: inline-block;
|
||||
width:150px;
|
||||
margin-top:5px;
|
||||
}
|
||||
|
||||
.pageSetup{
|
||||
float:left;
|
||||
}
|
||||
.pagePreview{
|
||||
|
||||
background-color:#f8f2c2;
|
||||
width:200px;
|
||||
height:300px;
|
||||
font-size:12pt;
|
||||
margin-left:5px;
|
||||
font-family:"Courier", monospace;
|
||||
text-align:left;
|
||||
}
|
||||
.signPreview{
|
||||
|
||||
background-color:#f8f2c2;
|
||||
width:180px;
|
||||
height:80px;
|
||||
font-size:12pt;
|
||||
margin-left:5px;
|
||||
font-family:"Courier", monospace;
|
||||
text-align:center;
|
||||
}
|
||||
.tellrawPreview{
|
||||
|
||||
background-color:#f8f2c2;
|
||||
width:310px;
|
||||
|
||||
font-size:12pt;
|
||||
margin-left:5px;
|
||||
font-family:"Courier", monospace;
|
||||
text-align:center;
|
||||
}
|
||||
.hoverPreview{
|
||||
display: inline-block;
|
||||
min-width: 50px;
|
||||
background-color:#120312;
|
||||
max-width:310px;
|
||||
border:solid 2px #28055d;
|
||||
|
||||
font-size:12pt;
|
||||
margin-left:5px;
|
||||
font-family:"Courier", monospace;
|
||||
text-align:left;
|
||||
}
|
||||
.pagePreviewFrame{
|
||||
float:left;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
#executePane{
|
||||
background-color:rgba(244, 119, 121, 0.5);
|
||||
margin-bottom:3px;
|
||||
}
|
||||
#soundPane, #scoreboardPane,#teamPane,#effectPane,#givePane,#blockPane,#particlePane,#tellrawPane,#bossbarPane,#lootPane{
|
||||
background-color:rgba(97, 171, 175, 0.5);
|
||||
}
|
||||
|
||||
.fLabel70{
|
||||
text-align:right;
|
||||
display: inline-block;
|
||||
width:70px;
|
||||
margin-top:5px;
|
||||
}
|
||||
|
||||
.fLabel180{
|
||||
text-align:right;
|
||||
display: inline-block;
|
||||
width:180px;
|
||||
margin-top:5px;
|
||||
margin-bottom:5px;
|
||||
}
|
||||
|
||||
.enchantLevel{
|
||||
white-space:nowrap;
|
||||
}
|
||||
|
||||
.itemSelectControl{
|
||||
background-color:#FFD783;
|
||||
overflow:hidden;
|
||||
|
||||
}
|
||||
|
||||
.multiitemSelectControl{
|
||||
background-color:#D7FF83;
|
||||
overflow:hidden;
|
||||
|
||||
}
|
||||
|
||||
.HideFlagsControl{
|
||||
width:400px;
|
||||
background-color:#fdd;
|
||||
white-space: initial;
|
||||
-webkit-column-count: 2; /* Chrome, Safari, Opera */
|
||||
-moz-column-count: 2; /* Firefox */
|
||||
column-count: 2;
|
||||
-webkit-column-gap: 40px; /* Chrome, Safari, Opera */
|
||||
-moz-column-gap: 40px; /* Firefox */
|
||||
column-gap: 40px;
|
||||
}
|
||||
|
||||
.Offhand{
|
||||
background-color:#FFD783;
|
||||
}
|
||||
.Holding{
|
||||
background-color:#FFFE83;
|
||||
}
|
||||
.Head{
|
||||
background-color:#ABE877;
|
||||
}
|
||||
.Body{
|
||||
background-color:#90FF9A;
|
||||
}
|
||||
.Leg{
|
||||
background-color:#77E8B7;
|
||||
}
|
||||
.Boot{
|
||||
background-color:#73dab0;
|
||||
}
|
||||
.DisabledSlotsControl{
|
||||
background-color:#dff;
|
||||
}
|
||||
#warning{
|
||||
border-color:red;
|
||||
margin:5px;
|
||||
width:550px;
|
||||
|
||||
}
|
||||
.amErrorRow{
|
||||
background-color:red;
|
||||
|
||||
}
|
||||
.amErrorMessage{
|
||||
color:red;
|
||||
display:inline-block;
|
||||
width:600px;
|
||||
}
|
||||
.roundedDiv{
|
||||
display: inline-block;
|
||||
vertical-align: text-top;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #000;
|
||||
margin-right:5px;
|
||||
padding:5px;
|
||||
}
|
||||
.fallingBlock{
|
||||
display:block;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #000;
|
||||
}
|
||||
.EnchantmentsControl{
|
||||
width:560px;
|
||||
background-color:#fdf;
|
||||
white-space: initial;
|
||||
-webkit-column-count: 2; /* Chrome, Safari, Opera */
|
||||
-moz-column-count: 2; /* Firefox */
|
||||
column-count: 2;
|
||||
-webkit-column-gap: 40px; /* Chrome, Safari, Opera */
|
||||
-moz-column-gap: 40px; /* Firefox */
|
||||
column-gap: 40px;
|
||||
}
|
||||
.AEControl{
|
||||
background-color:#ddf;
|
||||
|
||||
}
|
||||
.smallTF{
|
||||
width:20px;
|
||||
}
|
||||
|
||||
.medTF{
|
||||
width:50px;
|
||||
}
|
||||
.bigTF{
|
||||
width:100px;
|
||||
}
|
||||
.verybigTF{
|
||||
width:300px;
|
||||
}
|
||||
.AMControl{
|
||||
background-color:#ffd;
|
||||
|
||||
}
|
||||
|
||||
.PoseControl, .MemoriesControl{
|
||||
background-color:#dfd;
|
||||
}
|
||||
|
||||
.PassengerPane{
|
||||
overflow:visible;
|
||||
display: inline-block;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
.ExplosionPane{
|
||||
overflow:visible;
|
||||
display: inline-block;
|
||||
vertical-align: text-top;
|
||||
|
||||
}
|
||||
.tsScorePane{
|
||||
overflow:visible;
|
||||
display: inline-block;
|
||||
vertical-align: text-top;
|
||||
|
||||
}
|
||||
.TradePane, .GossipPane{
|
||||
overflow:visible;
|
||||
display: inline-block;
|
||||
vertical-align: text-top;
|
||||
|
||||
}
|
||||
.explosion{
|
||||
background-color:#ffd;
|
||||
overflow:visible;
|
||||
display:block;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
.trade{
|
||||
background-color:#ffd;
|
||||
overflow:visible;
|
||||
display:block;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
|
||||
.gossip{
|
||||
background-color:#fdd;
|
||||
overflow:visible;
|
||||
display:block;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
#TSPane{
|
||||
background-color:#70c9a4;
|
||||
}
|
||||
#exe_TSPane{
|
||||
background-color:#4fa883;
|
||||
}
|
||||
|
||||
.score{
|
||||
background-color:#ffd;
|
||||
overflow:visible;
|
||||
display:block;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
.SpawnPotentialPane{
|
||||
overflow:visible;
|
||||
display: inline-block;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
.passengerContainer{
|
||||
min-width:600px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.anchorButton{
|
||||
white-space: nowrap;
|
||||
margin:1px;
|
||||
border-radius: 5px;
|
||||
padding-left:1px;
|
||||
padding-right:1px;
|
||||
font-size:10pt;
|
||||
color:#000;
|
||||
background-color:#fff;
|
||||
border:solid black 1px;
|
||||
font-weight:bold;
|
||||
font-family:"Arial",sans-serif;
|
||||
text-decoration:none;
|
||||
}
|
||||
.redX{
|
||||
color:red;
|
||||
font-weight:bold;
|
||||
white-space: nowrap;
|
||||
margin:1px;
|
||||
border-radius: 5px;
|
||||
padding-left:1px;
|
||||
padding-right:1px;
|
||||
font-size:10pt;
|
||||
background-color:#fff;
|
||||
border:solid black 1px;
|
||||
font-family:"Arial",sans-serif;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
.buttonNoBorder{
|
||||
font-weight:bold;
|
||||
white-space: nowrap;
|
||||
padding-left:7px;
|
||||
padding-right:7px;
|
||||
font-size:10pt;
|
||||
font-family:"Arial",sans-serif;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
.noBorder{
|
||||
border:none;
|
||||
}
|
||||
|
||||
.fwColor{
|
||||
border-radius:3px;
|
||||
border: 1px solid #000;
|
||||
padding:5px;
|
||||
margin:3px;
|
||||
}
|
||||
|
||||
.greenPlus{
|
||||
color:green;
|
||||
font-weight:bold;
|
||||
white-space: nowrap;
|
||||
margin:1px;
|
||||
border-radius: 5px;
|
||||
padding-left:1px;
|
||||
padding-right:1px;
|
||||
font-size:10pt;
|
||||
background-color:#fff;
|
||||
border:solid black 1px;
|
||||
font-family:"Arial",sans-serif;
|
||||
text-decoration:none;
|
||||
}
|
||||
/* ,.shown,.hiding*/
|
||||
.showHide{
|
||||
color:blue;
|
||||
font-weight:bold;
|
||||
white-space: nowrap;
|
||||
margin:1px;
|
||||
border-radius: 5px;
|
||||
padding-left:1px;
|
||||
padding-right:1px;
|
||||
font-size:10pt;
|
||||
background-color:#fff;
|
||||
border:solid black 1px;
|
||||
font-family:"Arial",sans-serif;
|
||||
text-decoration:none;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.ticks{
|
||||
display:inline-block;
|
||||
width:70px;
|
||||
color:purple;
|
||||
font-weight:bold;
|
||||
white-space: nowrap;
|
||||
margin:1px;
|
||||
text-align:center;
|
||||
border-radius: 5px;
|
||||
padding-left:1px;
|
||||
padding-right:1px;
|
||||
font-size:10pt;
|
||||
background-color:#fff;
|
||||
border:solid black 1px;
|
||||
font-family:"Arial",sans-serif;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
|
||||
.writable_book{
|
||||
resize: none;
|
||||
background-color:#f8f2c2;
|
||||
width:200px;
|
||||
height:300px;
|
||||
font-size:12pt;
|
||||
margin:5px;
|
||||
padding:5px;
|
||||
font-family:"Courier", monospace;
|
||||
text-align:left;
|
||||
}
|
||||
.writableBookFrame{
|
||||
text-align:center;
|
||||
margin-left:130px;
|
||||
float:left;
|
||||
}
|
||||
|
|
@ -0,0 +1,235 @@
|
|||
#community{
|
||||
background-color:#B5D33A;
|
||||
vertical-align: text-top;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #000;
|
||||
margin-right:5px;
|
||||
margin-top:5px;
|
||||
max-width:1000px;
|
||||
padding-left:5px;
|
||||
padding-right:5px;
|
||||
margin-bottom:3px;
|
||||
}
|
||||
|
||||
#manPane{
|
||||
|
||||
|
||||
}
|
||||
#navPane{
|
||||
|
||||
margin-right:5px;
|
||||
margin-top:5px;
|
||||
max-width:1000px;
|
||||
}
|
||||
#commandString{
|
||||
margin-bottom:5px;
|
||||
}
|
||||
.navButton{
|
||||
border-radius: 10px;
|
||||
padding-left:10px;
|
||||
padding-right:10px;
|
||||
margin-right:5px;
|
||||
font-size:12pt;
|
||||
color:#00f;
|
||||
background-color:#ddd;
|
||||
border:solid black 2px;
|
||||
font-weight:bold;
|
||||
font-family:"Arial",sans-serif;
|
||||
text-decoration:none;
|
||||
}
|
||||
.settingsLabel{
|
||||
display: inline-block;
|
||||
width:150px;
|
||||
text-align:right;
|
||||
font-weight:bold;
|
||||
|
||||
}
|
||||
|
||||
.mButton{
|
||||
margin:2px;
|
||||
border-radius: 5px;
|
||||
padding-left:5px;
|
||||
padding-right:5px;
|
||||
font-size:10pt;
|
||||
color:#000;
|
||||
background-color:#fff;
|
||||
border:solid black 2px;
|
||||
font-weight:bold;
|
||||
font-family:"Arial",sans-serif;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
.search{
|
||||
display: inline-block;
|
||||
width:100px;
|
||||
text-align:right;
|
||||
font-weight:bold;
|
||||
padding-left:10px;
|
||||
}
|
||||
|
||||
table.searchResults{
|
||||
/*width:100%;*/
|
||||
font-family:'Arial', 'Helvetica', 'sans-serif';
|
||||
font-size:10pt;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table.searchResults tr.srRowDark{
|
||||
background-color:#BBB;
|
||||
}
|
||||
|
||||
table.searchResults tr.srRowLight{
|
||||
background-color:#DDD;
|
||||
}
|
||||
|
||||
|
||||
table.searchResults td,th{
|
||||
text-align:left;
|
||||
|
||||
}
|
||||
.sortHeader{
|
||||
text-decoration:none;
|
||||
}
|
||||
#detailsPane{
|
||||
padding-top:4px;
|
||||
|
||||
}
|
||||
textarea{
|
||||
vertical-align: text-top;
|
||||
vertical-align: top;
|
||||
}
|
||||
.detsLine{
|
||||
margin-bottom:5px;
|
||||
display: inline-block;
|
||||
}
|
||||
.details{
|
||||
display: inline-block;
|
||||
text-align:right;
|
||||
font-weight:bold;
|
||||
padding-right:10px;
|
||||
width:130px;
|
||||
}
|
||||
|
||||
#message{
|
||||
color:#f00;
|
||||
padding-left:200px;
|
||||
}
|
||||
|
||||
#comments{
|
||||
max-height:300px;
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
border-radius: 5px;
|
||||
border: solid 2px black;
|
||||
padding:5px;
|
||||
margin:5px;
|
||||
width:975px;
|
||||
background-color:#ddf;
|
||||
}
|
||||
|
||||
#commentControls{
|
||||
/*vertical-align: top;*/
|
||||
width:960px;
|
||||
padding:5px;
|
||||
}
|
||||
|
||||
#commentPane{
|
||||
/*vertical-align: top;*/
|
||||
width:940px;
|
||||
padding:5px;
|
||||
}
|
||||
.commentLine{
|
||||
/*display: inline-block;*/
|
||||
width:940px;
|
||||
margin-bottom:10px;
|
||||
border-top: solid 1px #999;
|
||||
border-left: solid 1px #999;
|
||||
}
|
||||
/*.commentDetails{
|
||||
width:70px;
|
||||
padding-left:10px;
|
||||
vertical-align: top;
|
||||
float:left;
|
||||
}*/
|
||||
|
||||
.commentText{
|
||||
width:930px;
|
||||
padding-left:10px;
|
||||
/*vertical-align: top;
|
||||
float:left;*/
|
||||
}
|
||||
|
||||
#like{
|
||||
padding-left:10px;
|
||||
}
|
||||
|
||||
#mcfunctions{
|
||||
display:inline-block;
|
||||
margin:2px;
|
||||
border-radius: 5px;
|
||||
border: solid 2px black;
|
||||
min-width:200px;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
#mcfunctionEdit{
|
||||
display:inline-block;
|
||||
margin:2px;
|
||||
border-radius: 5px;
|
||||
border: solid 2px black;
|
||||
vertical-align: text-top;
|
||||
|
||||
}
|
||||
#heartCount{
|
||||
color:red;
|
||||
font-size:17pt;
|
||||
font-family:"Comic Sans", cursive;
|
||||
font-weight:bold;
|
||||
|
||||
}
|
||||
.fRight{
|
||||
float:right;
|
||||
}
|
||||
.mcfunc{
|
||||
display:inline-block;
|
||||
float:right;
|
||||
}
|
||||
|
||||
.pageButton{
|
||||
margin:2px;
|
||||
border-radius: 5px;
|
||||
padding-left:4px;
|
||||
padding-right:4px;
|
||||
font-size:10pt;
|
||||
border:solid black 2px;
|
||||
font-weight:bold;
|
||||
font-family:"Arial",sans-serif;
|
||||
color:#000;
|
||||
background-color:#fff;
|
||||
}
|
||||
.pageButtonSelected{
|
||||
margin:2px;
|
||||
border-radius: 5px;
|
||||
padding-left:4px;
|
||||
padding-right:4px;
|
||||
font-size:10pt;
|
||||
border:solid black 2px;
|
||||
font-weight:bold;
|
||||
font-family:"Arial",sans-serif;
|
||||
color:#fff;
|
||||
background-color:#000;
|
||||
}
|
||||
|
||||
#mcfunctionPreview-ta{
|
||||
margin:0; padding:0; border:none; display:block;
|
||||
width:100%;
|
||||
height:500px;
|
||||
resize:none;
|
||||
background-color:#FFFFBC;
|
||||
|
||||
}
|
||||
#mcfunctionPreview {
|
||||
background-color:#D7D769;
|
||||
width: 800px;
|
||||
position: fixed;
|
||||
border:solid 1px black;
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,299 @@
|
|||
html {
|
||||
background-color: #181a1b !important;
|
||||
}
|
||||
html,
|
||||
body,
|
||||
input,
|
||||
textarea,
|
||||
select,
|
||||
button {
|
||||
background-color: #181a1b;
|
||||
}
|
||||
html,
|
||||
body,
|
||||
input,
|
||||
textarea,
|
||||
select,
|
||||
button {
|
||||
border-color: #575757;
|
||||
color: #e8e6e3;
|
||||
}
|
||||
a {
|
||||
color: #3391ff;
|
||||
}
|
||||
table {
|
||||
border-color: #4c4c4c;
|
||||
}
|
||||
::placeholder {
|
||||
color: #bab5ab;
|
||||
}
|
||||
::selection {
|
||||
background-color: #005ccc;
|
||||
color: #ffffff;
|
||||
}
|
||||
::-moz-selection {
|
||||
background-color: #005ccc;
|
||||
color: #ffffff;
|
||||
}
|
||||
input:-webkit-autofill,
|
||||
textarea:-webkit-autofill,
|
||||
select:-webkit-autofill {
|
||||
background-color: #545b00 !important;
|
||||
color: #e8e6e3 !important;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
background-color: #1c1e1f;
|
||||
color: #c5c1b9;
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: #2a2c2e;
|
||||
}
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #323537;
|
||||
}
|
||||
::-webkit-scrollbar-thumb:active {
|
||||
background-color: #3d4043;
|
||||
}
|
||||
::-webkit-scrollbar-corner {
|
||||
background-color: #181a1b;
|
||||
}
|
||||
.combut {
|
||||
color: rgb(232, 230, 227);
|
||||
background-color: rgb(24, 26, 27);
|
||||
border-top-color: rgb(102, 102, 102);
|
||||
border-right-color: rgb(102, 102, 102);
|
||||
border-bottom-color: rgb(102, 102, 102);
|
||||
border-left-color: rgb(102, 102, 102);
|
||||
text-decoration-color: initial;
|
||||
}
|
||||
.funcbuts {
|
||||
color: rgb(232, 230, 227);
|
||||
background-color: rgb(24, 26, 27);
|
||||
border-top-color: rgb(102, 102, 102);
|
||||
border-right-color: rgb(102, 102, 102);
|
||||
border-bottom-color: rgb(102, 102, 102);
|
||||
border-left-color: rgb(102, 102, 102);
|
||||
text-decoration-color: initial;
|
||||
}
|
||||
.yellowbut {
|
||||
background-color: rgb(156, 119, 9);
|
||||
}
|
||||
.bluebut {
|
||||
background-color: rgb(19, 57, 117);
|
||||
}
|
||||
.greenbut {
|
||||
background-color: rgb(30, 79, 29);
|
||||
}
|
||||
#commandOutput {
|
||||
background-color: rgb(19, 57, 117);
|
||||
border-top-color: rgb(102, 102, 102);
|
||||
border-right-color: rgb(102, 102, 102);
|
||||
border-bottom-color: rgb(102, 102, 102);
|
||||
border-left-color: rgb(102, 102, 102);
|
||||
}
|
||||
#commandOutput-ta {
|
||||
border-top-color: initial;
|
||||
border-right-color: initial;
|
||||
border-bottom-color: initial;
|
||||
border-left-color: initial;
|
||||
background-color: rgb(52, 55, 57);
|
||||
}
|
||||
.greenPlus {
|
||||
color: rgb(127, 255, 127);
|
||||
background-color: rgb(24, 26, 27);
|
||||
border-top-color: rgb(102, 102, 102);
|
||||
border-right-color: rgb(102, 102, 102);
|
||||
border-bottom-color: rgb(102, 102, 102);
|
||||
border-left-color: rgb(102, 102, 102);
|
||||
text-decoration-color: initial;
|
||||
}
|
||||
#executePane {
|
||||
background-color: rgba(123, 10, 12, 0.5);
|
||||
}
|
||||
#dialogbox {
|
||||
background: #222;
|
||||
}
|
||||
|
||||
|
||||
.showHide {
|
||||
color: rgb(51, 125, 255);
|
||||
background-color: rgb(24, 26, 27);
|
||||
border-top-color: rgb(102, 102, 102);
|
||||
border-right-color: rgb(102, 102, 102);
|
||||
border-bottom-color: rgb(102, 102, 102);
|
||||
border-left-color: rgb(102, 102, 102);
|
||||
text-decoration-color: initial;
|
||||
}
|
||||
.ticks {
|
||||
color: rgb(255, 127, 255);
|
||||
background-color: rgb(24, 26, 27);
|
||||
border-top-color: rgb(102, 102, 102);
|
||||
border-right-color: rgb(102, 102, 102);
|
||||
border-bottom-color: rgb(102, 102, 102);
|
||||
border-left-color: rgb(102, 102, 102);
|
||||
text-decoration-color: initial;
|
||||
}
|
||||
.redX {
|
||||
color: rgb(255, 51, 51);
|
||||
background-color: rgb(24, 26, 27);
|
||||
border-top-color: rgb(102, 102, 102);
|
||||
border-right-color: rgb(102, 102, 102);
|
||||
border-bottom-color: rgb(102, 102, 102);
|
||||
border-left-color: rgb(102, 102, 102);
|
||||
text-decoration-color: initial;
|
||||
}
|
||||
#clipBoard {
|
||||
background-color: rgb(38, 112, 37);
|
||||
border-top-color: rgb(102, 102, 102);
|
||||
border-right-color: rgb(102, 102, 102);
|
||||
border-bottom-color: rgb(102, 102, 102);
|
||||
border-left-color: rgb(102, 102, 102);
|
||||
}
|
||||
#clipBoard-ta {
|
||||
border-top-color: initial;
|
||||
border-right-color: initial;
|
||||
border-bottom-color: initial;
|
||||
border-left-color: initial;
|
||||
background-color: rgb(30, 79, 29);
|
||||
}
|
||||
#commandInput {
|
||||
background-color: rgb(155, 95, 9);
|
||||
border-top-color: rgb(102, 102, 102);
|
||||
border-right-color: rgb(102, 102, 102);
|
||||
border-bottom-color: rgb(102, 102, 102);
|
||||
border-left-color: rgb(102, 102, 102);
|
||||
}
|
||||
#commandInput-ta {
|
||||
border-top-color: initial;
|
||||
border-right-color: initial;
|
||||
border-bottom-color: initial;
|
||||
border-left-color: initial;
|
||||
background-color: rgb(156, 119, 9);
|
||||
}
|
||||
.tellrawPreview {
|
||||
background-color: rgb(79, 71, 9);
|
||||
}
|
||||
.anchorButton {
|
||||
color: rgb(232, 230, 227);
|
||||
background-color: rgb(24, 26, 27);
|
||||
border-top-color: rgb(102, 102, 102);
|
||||
border-right-color: rgb(102, 102, 102);
|
||||
border-bottom-color: rgb(102, 102, 102);
|
||||
border-left-color: rgb(102, 102, 102);
|
||||
text-decoration-color: initial;
|
||||
}
|
||||
.score {
|
||||
background-color: rgb(71, 71, 0);
|
||||
}
|
||||
.itemSelectControl {
|
||||
background-color: rgb(125, 85, 0);
|
||||
}
|
||||
.AMControl {
|
||||
background-color: rgb(71, 71, 0);
|
||||
}
|
||||
.mButton {
|
||||
color: rgb(232, 230, 227);
|
||||
background-color: rgb(24, 26, 27);
|
||||
border-top-color: rgb(102, 102, 102);
|
||||
border-right-color: rgb(102, 102, 102);
|
||||
border-bottom-color: rgb(102, 102, 102);
|
||||
border-left-color: rgb(102, 102, 102);
|
||||
text-decoration-color: initial;
|
||||
}
|
||||
.EnchantmentsControl {
|
||||
background-color: rgb(71, 0, 71);
|
||||
}
|
||||
.HideFlagsControl {
|
||||
background-color: rgb(71, 0, 0);
|
||||
}
|
||||
.roundedDiv {
|
||||
border-top-color: rgb(102, 102, 102);
|
||||
border-right-color: rgb(102, 102, 102);
|
||||
border-bottom-color: rgb(102, 102, 102);
|
||||
border-left-color: rgb(102, 102, 102);
|
||||
}
|
||||
#soundPane,
|
||||
#scoreboardPane,
|
||||
#teamPane,
|
||||
#effectPane,
|
||||
#givePane,
|
||||
#blockPane,
|
||||
#particlePane,
|
||||
#tellrawPane,
|
||||
#bossbarPane,
|
||||
#lootPane {
|
||||
background-color: rgba(49, 94, 97, 0.5);
|
||||
}
|
||||
.passengerContainer {
|
||||
background-color: rgba(49, 94, 97, 0.5) !important;
|
||||
}
|
||||
#TSPane {
|
||||
background-color: rgb(37, 99, 74);
|
||||
}
|
||||
.AEControl {
|
||||
background-color: rgb(34, 36, 37);
|
||||
}
|
||||
.alertify {
|
||||
background-image: initial;
|
||||
background-color: rgb(24, 26, 27);
|
||||
border-top-color: rgba(102, 102, 102, 0.7);
|
||||
border-right-color: rgba(102, 102, 102, 0.7);
|
||||
border-bottom-color: rgba(102, 102, 102, 0.7);
|
||||
border-left-color: rgba(102, 102, 102, 0.7);
|
||||
box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 3px;
|
||||
}
|
||||
#community {
|
||||
background-color: #4f4915;
|
||||
border-top-color: rgb(102, 102, 102);
|
||||
border-right-color: rgb(102, 102, 102);
|
||||
border-bottom-color: rgb(102, 102, 102);
|
||||
border-left-color: rgb(102, 102, 102);
|
||||
}
|
||||
.navButton {
|
||||
color: rgb(51, 125, 255);
|
||||
background-color: rgb(34, 36, 37);
|
||||
border-top-color: rgb(102, 102, 102);
|
||||
border-right-color: rgb(102, 102, 102);
|
||||
border-bottom-color: rgb(102, 102, 102);
|
||||
border-left-color: rgb(102, 102, 102);
|
||||
text-decoration-color: initial;
|
||||
}
|
||||
.pageButton {
|
||||
border-top-color: rgb(102, 102, 102);
|
||||
border-right-color: rgb(102, 102, 102);
|
||||
border-bottom-color: rgb(102, 102, 102);
|
||||
border-left-color: rgb(102, 102, 102);
|
||||
color: rgb(232, 230, 227);
|
||||
background-color: rgb(24, 26, 27);
|
||||
}
|
||||
table.searchResults tr.srRowLight {
|
||||
background-color: rgb(34, 36, 37);
|
||||
}
|
||||
table.searchResults tr.srRowDark {
|
||||
background-color: rgb(44, 46, 48);
|
||||
}
|
||||
* {
|
||||
scrollbar-color: #2a2c2e #1c1e1f;
|
||||
}
|
||||
|
||||
.explosion {
|
||||
background-color: rgb(71, 71, 0);
|
||||
}
|
||||
|
||||
.trade {
|
||||
background-color: rgb(71, 71, 0);
|
||||
}
|
||||
.PoseControl, .MemoriesControl, .DisabledSlotsControl {
|
||||
background-color: rgb(0, 71, 0);
|
||||
}
|
||||
.gossip {
|
||||
background-color: rgb(71, 0, 0);
|
||||
}
|
||||
|
||||
.pool{
|
||||
background-color: rgb(0, 71, 0);
|
||||
}
|
||||
.entry{
|
||||
|
||||
background-color: rgb(71, 0, 0);
|
||||
}
|
Loading…
Reference in New Issue