feat: GSP 1.0 baseline – module versions, FAQ refresh, XML editor validation, Obsidian theme
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/40ca313f-3f17-4f62-8f05-ba72540a8d30 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
1b3b79447f
commit
d564476d1c
178 changed files with 3327 additions and 44 deletions
126
themes/Obsidian/modules/TS3Admin/TS3Admin.css
Normal file
126
themes/Obsidian/modules/TS3Admin/TS3Admin.css
Normal file
|
|
@ -0,0 +1,126 @@
|
|||
.clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.main-content{
|
||||
border:none;
|
||||
}
|
||||
|
||||
div.main-content a{
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a, a:link, a:hover, a:active, a:visited {
|
||||
text-decoration:none;
|
||||
}
|
||||
table,.table0 {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
margin: 10px 0 15px;
|
||||
text-align: left;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 1px;
|
||||
border: 1px solid #0F1A26 !important;
|
||||
}
|
||||
|
||||
table tr:nth-child(1) td,.table0 {
|
||||
background-color: #0F1A26 !important;
|
||||
font-size: 10pt;
|
||||
padding: 6px 5px !important;
|
||||
}
|
||||
#serverview {
|
||||
border: 1px solid #0F1A26 !important;
|
||||
}
|
||||
input[type="submit"] {
|
||||
outline: none !important;
|
||||
}
|
||||
tr,.table2 {
|
||||
color: #fff;
|
||||
padding: 6px 4px !important;
|
||||
background-color: #162535 !important;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 5px 8px;
|
||||
color: #fff;
|
||||
border-bottom: 1px solid #0F1A26 !important;
|
||||
}
|
||||
select
|
||||
{
|
||||
background: rgba(29,50,72,0.501) !important;
|
||||
padding: 2px;
|
||||
border: 1px solid rgba(21,37,54,0.501) !important;
|
||||
color: #fff;
|
||||
}
|
||||
input, textarea, select {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
font-size: 13px;
|
||||
}
|
||||
.online {
|
||||
|
||||
background-color: #20aa52;
|
||||
display: inline;
|
||||
padding: .2em .6em .3em;
|
||||
font-size: 78%;
|
||||
font-weight: 700;
|
||||
line-height: 2.5;
|
||||
color: #fff !important;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: baseline;
|
||||
border-radius: .25em;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
.offline {
|
||||
background-color: #dd4b39;
|
||||
display: inline;
|
||||
padding: .2em .6em .3em;
|
||||
font-size: 78%;
|
||||
font-weight: 700;
|
||||
line-height: 2.5;
|
||||
color: #fff !important;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: baseline;
|
||||
border-radius: .25em;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
h1, h2, h3, h4 {
|
||||
font-family: 'Open Sans', sans-serif !important;
|
||||
}
|
||||
input,select {
|
||||
outline: none !important;
|
||||
}
|
||||
textarea,input[type=file] {
|
||||
border: 1px solid #121c32 !important;
|
||||
background-color: rgba(29,50,72,0.501) !important;
|
||||
padding: 3px 7px;
|
||||
margin: 0px 0px 5px 0px;
|
||||
}
|
||||
legend {
|
||||
font-family: 'Open Sans', sans-serif !important;
|
||||
font-size: 15px !important;
|
||||
letter-spacing: 1px;
|
||||
padding: 0px 6px 0px 0px !important;
|
||||
margin: -21px 4px 0px 4px !important;
|
||||
border-bottom: 1px solid #575757;
|
||||
}
|
||||
fieldset {
|
||||
border: 1px solid #575757;
|
||||
margin: 40px 10px 10px 10px;
|
||||
padding: 12px;
|
||||
}
|
||||
.propHeadline {
|
||||
/*! font-size: 15px !important; */
|
||||
color: #fff !important;
|
||||
border-bottom: none !important;
|
||||
margin: 5px 0px 2px 0px !important;
|
||||
padding: 0px 0px 0px 0px !important;
|
||||
font-family: 'Open Sans', sans-serif !important;
|
||||
}
|
||||
img[style="visibility:hidden;"] {
|
||||
display: none;
|
||||
}img[style="visibility:visible;"] {
|
||||
display: inline-block;
|
||||
}
|
||||
33
themes/Obsidian/modules/addonsmanager/addons_manager.css
Normal file
33
themes/Obsidian/modules/addonsmanager/addons_manager.css
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
input[name="edit"] {
|
||||
background-color: #f1c40f !important;
|
||||
border: 2px solid #f1c40f !important;
|
||||
}
|
||||
input[name="edit"]:hover {
|
||||
background-color: #f39c12 !important;
|
||||
border: 2px solid #f39c12 !important;
|
||||
}
|
||||
input[name="edit"]:active,input[name="remove"]:active {
|
||||
border: 2px solid #204d74 !important;
|
||||
background: #204d74 !important;
|
||||
}
|
||||
|
||||
input[name="remove"] {
|
||||
background-color: #e74c3c !important;
|
||||
border: 2px solid #e74c3c !important;
|
||||
}
|
||||
input[name="remove"]:hover {
|
||||
background-color: #c0392b !important;
|
||||
border: 2px solid #c0392b !important;
|
||||
}
|
||||
table.center:nth-last-child(2) > tbody > tr > td:nth-child(3) {
|
||||
background-color: #20aa52;
|
||||
display: inline;
|
||||
padding: .2em .6em .3em;
|
||||
font-size: 78%;
|
||||
font-weight: 700;
|
||||
line-height: 3;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: .25em;
|
||||
top: -2px;
|
||||
}
|
||||
1
themes/Obsidian/modules/administration/main.css
Normal file
1
themes/Obsidian/modules/administration/main.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
div.administration-buttons a:before{content:"\f29c";transition:all .3s ease-in}div.administration-buttons a[href="?m=addonsmanager&p=addons_manager"]:before{content:"\f055"}div.administration-buttons a[href="?m=extras"]:before{content:"\f06b"}div.administration-buttons a[href="?m=ftp&p=ftp_admin"]:before{content:"\f07b"}div.administration-buttons a[href="?m=user_games"]:before{content:"\f11b"}div.administration-buttons a[href="?m=config_games"]:before{content:"\f0c3"}div.administration-buttons a[href="?m=user_admin&p=show_groups"]:before{content:"\f0c0"}div.administration-buttons a[href="?m=lgsl_with_img_mod&p=lgsl_admin"]:before{content:"\f080"}div.administration-buttons a[href="?m=litefm&p=litefm_settings"]:before{content:"\f085"}div.administration-buttons a[href="?m=modulemanager"]:before{content:"\f12e"}div.administration-buttons a[href="?m=settings"]:before{content:"\f013"}div.administration-buttons a[href="?m=server"]:before{content:"\f17c"}div.administration-buttons a[href="?m=settings&p=themes"]:before{content:"\f009"}div.administration-buttons a[href="?m=update"]:before{content:"\f0ac"}div.administration-buttons a[href="?m=user_admin"]:before{content:"\f234"}div.administration-buttons a[href="?m=administration&p=watch_logger"]:before{content:"\f15c"}div.administration-buttons a[href="?m=mysql&p=mysql_admin"]:before{content:"\f1c0"}div.administration-buttons a[href="?m=administration&p=banlist"]:before{content:"\f05e"}div.administration-buttons a[href="?m=dsi&p=admin_dsi"]:before{content:"\f03e"}div.administration-buttons a[href="?m=simple-billing&p=orders"]:before{content:"\f217"}div.administration-buttons a[href="?m=rcon&p=rcon"]:before{content:"\f069"}div.administration-buttons a[href="?m=simple-billing&p=services"]:before{content:"\f218"}div.administration-buttons a[href="?m=simple-billing&p=shop_settings"]:before{content:"\f07a"}div.administration-buttons a[href="?m=news&p=admin_news"]:before{content:"\f1ea"}div.administration-buttons a[href="?m=cron&p=cron"]:before{content:"\f1da"}div.administration-buttons a[href="?m=fast_download"]:before{content:"\f019"}div.administration-buttons a[href="?m=faq"]::before{content:"\f02d"}div.administration-buttons:hover a{color:#37b799!important}div.administration-buttons:hover a:before{background-color:#37b799;color:#fff;transition:all .3s ease-in}div.administration-buttons a:before{font:normal normal normal 2.5em/1 FontAwesome;display:block;text-align:center;margin-bottom:8px!important;background-color:#fff;color:#37b799;border-radius:90%;width:70px;height:70px;line-height:70px;margin-left:auto;margin-right:auto}div.administration-buttons{padding:20px 20px 10px;transition:all .3s ease-in;-webkit-transition:all .3s ease-in;width:125px;height:100px;text-align:center;display:inline-block;margin:1.5% 2%;background-color:#37b799;border-radius:3px}div.administration-buttons:hover{transition:all 300ms;-webkit-transition:all .5s ease-out;background-color:#fff;border-radius:2px;text-decoration:none;cursor:pointer;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}div.administration-buttons a{text-decoration:none;color:#fff!important;font-weight:400!important}button[name=restore]{background-color:#f1c40f!important;border:2px solid #f1c40f!important}button[name=restore]:hover{background-color:#f39c12!important;border:2px solid #f39c12!important}button[name=restore]:active{border:2px solid #204d74!important;background:#204d74!important}
|
||||
19
themes/Obsidian/modules/administration/main.js
Normal file
19
themes/Obsidian/modules/administration/main.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
jQuery(function($){
|
||||
$('a.administration-buttons').each(function() {
|
||||
$(this).find("img").remove();
|
||||
$(this).find("br").remove();
|
||||
var button_title = $(this).find("div").html();
|
||||
$(this).find("div").remove();
|
||||
$(this).append(button_title);
|
||||
$(this).wrapAll('<div class="administration-buttons">');
|
||||
$(this).removeClass("administration-buttons");
|
||||
});
|
||||
var admin_table = ".administration-table:first";
|
||||
$(admin_table).find('td').contents().unwrap();//Removing all Td tags
|
||||
$("td.administration-buttons-hmargin").remove();
|
||||
$(admin_table).find('tr').contents().unwrap();//Removing all Td tags
|
||||
$(admin_table).find('tbody').contents().unwrap();//Removing all Td tags
|
||||
$(admin_table).find('td').remove();//Removing all Td tags
|
||||
$(admin_table).contents().wrapAll('<div style="text-align: center;">');
|
||||
$(admin_table).replaceWith($(admin_table).contents());
|
||||
});
|
||||
11
themes/Obsidian/modules/administration/watch_logger.css
Normal file
11
themes/Obsidian/modules/administration/watch_logger.css
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
.remove_log:before {
|
||||
font: normal normal normal 14px/1 FontAwesome;
|
||||
content: "\f00d";
|
||||
color: #e74c3c;
|
||||
cursor: pointer;
|
||||
}
|
||||
.remove_log,.remove_log:hover,.remove_log:active {
|
||||
padding: 2px 1px 0px 1px;
|
||||
background-color: transparent !important;
|
||||
border: none !important;
|
||||
}
|
||||
3
themes/Obsidian/modules/administration/watch_logger.js
Normal file
3
themes/Obsidian/modules/administration/watch_logger.js
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
$(document).ready(function() {
|
||||
$('input[src="modules/administration/images/remove.gif"]').replaceWith('<button name="remove_log" class="remove_log" onclick="this.form.submit();"></button>');
|
||||
});
|
||||
10
themes/Obsidian/modules/cron/user_cron.css
Normal file
10
themes/Obsidian/modules/cron/user_cron.css
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
pre.log{
|
||||
padding-top:10px;
|
||||
padding-left:5px;
|
||||
background-color:#43a8c7 !important;
|
||||
}
|
||||
|
||||
.log{
|
||||
border-color:#379bb9;
|
||||
margin-bottom:15px;
|
||||
}
|
||||
99
themes/Obsidian/modules/dashboard/dashboard.css
Normal file
99
themes/Obsidian/modules/dashboard/dashboard.css
Normal file
|
|
@ -0,0 +1,99 @@
|
|||
.main-content {
|
||||
background:transparent;
|
||||
border:none;
|
||||
border-radius:0px;
|
||||
-moz-border-radius:0px;
|
||||
box-shadow: none;
|
||||
}
|
||||
#column2 #ref.online_servers div{
|
||||
float:left;
|
||||
text-align:left;
|
||||
width:35%;
|
||||
height:15px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
-o-text-overflow: ellipsis;
|
||||
-moz-binding: url('assets/xml/ellipsis.xml#ellipsis');
|
||||
}
|
||||
#column2 #ref.online_servers div#gamelink{
|
||||
width:36%;
|
||||
float:right;
|
||||
text-align:right;
|
||||
}
|
||||
#column2 #ref.online_servers div.name{
|
||||
width:29%;
|
||||
height:18px;
|
||||
white-space:nowrap;
|
||||
}
|
||||
#column2 #noref.online_servers div#gamelink{
|
||||
float:right;
|
||||
text-align:right;
|
||||
width:40%;
|
||||
height:18px;
|
||||
overflow: hidden;
|
||||
}
|
||||
#column2 #noref.online_servers div.name{
|
||||
float:left;
|
||||
text-align:left;
|
||||
width:57%;
|
||||
height:18px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.bloc {
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.1) !important;
|
||||
background-color: #152536 !important;
|
||||
}
|
||||
.progress {
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
font-size: .75rem;
|
||||
line-height: 1rem;
|
||||
text-align: center;
|
||||
background-color: rgba(28,50,74,0.701) !important;
|
||||
border-radius: 2px;
|
||||
border: none !important;
|
||||
}
|
||||
.progress .progress-bar {
|
||||
background: #37b799 !important;
|
||||
height: 1rem !important;
|
||||
color: #fff;
|
||||
font-size: .75rem;
|
||||
line-height: 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
#refreshed-0 > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) > center > b {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.ui-sortable-handle {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
|
||||
/*Responsive*/
|
||||
@media(max-width:810px) {
|
||||
.column {
|
||||
width: 100%;
|
||||
margin: 0%;
|
||||
min-height: 0px !important;
|
||||
}
|
||||
.column .dragbox {
|
||||
margin-bottom: 1%;
|
||||
}
|
||||
#column4 {
|
||||
width: 100% !important;
|
||||
margin-left: 0px !important;
|
||||
}
|
||||
#column4:nth-child(1) {
|
||||
margin-top: 8px !important;
|
||||
}
|
||||
}
|
||||
@media(max-width:600px) {
|
||||
.main-content {
|
||||
padding: 0.1px;
|
||||
}
|
||||
}
|
||||
1
themes/Obsidian/modules/dashboard/dashboard.js
Normal file
1
themes/Obsidian/modules/dashboard/dashboard.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
jQuery(function(a){if(a("#item3")[0]){a("head").append('<link rel="stylesheet" href="themes/Obsidian/modules/dashboard/server_info.css">');a(".main-content").prepend('<span class="awesome-sv"></span>');a(".awesome-sv").before('<div class="online_sv_title">Online Servers<span></span></div>');if(a(".callout")[0]){a(".callout").prependTo(".main-content")}a("#item2").hide();a(document).ajaxStop(function(){a(".awesome-sv").html("");var d=a("#item2 div center:last div:last").text();if(d.length>0){var b='<span class="stats_sv">'+d+"</span>";a("#item2 div center:last div:last").text("")}else{var b=""}var c=a("#item2 div center:last").text().replace("Statistics:","");a(".online_sv_title span").html('<span class="stats_sv">'+c+"</span>"+b);if(a(".online_servers > tbody tr td > div:nth-child(1)")[0]&&(a(".online_servers > tbody tr td > div:nth-child(1)").html().length>0)){a(".online_servers > tbody tr").each(function(){var g=a(this).find("td > div:nth-child(1)");var q=a(g).find("div.name").text();var p=a(g).find("div.name a").attr("href");var o=p.split("-")[3].split("=")[1];var h=p.split("-")[4];var j=p.split("-")[5];var l=p.split("-")[6];var s="?m=gamemanager&p=stop&home_id="+o+"&mod_id="+h+"&ip="+j+"&port="+l;var i="?m=gamemanager&p=restart&home_id="+o+"&mod_id="+h+"&ip="+j+"&port="+l;var f=a(g).find("div:nth-child(2) div").text();var k=f.indexOf("[")+1;var r=f.indexOf("/",k);var n=f.substring(k,r);var k=f.indexOf("/")+1;var r=f.indexOf("]",k);var t=f.substring(k,r);var f=a(g).find("div:nth-child(2) div").text().replace("[","").replace("]","");a(g).find("div:nth-child(2) div").remove();var e=a(g).find("div:nth-child(2)").text();var m=a(g).find("#gamelink").text();if(e.length>1){}else{e="Unknown"}a(".awesome-sv").append('<div class="info-box bg-green"><span class="info-box-icon"><i class="fa fa-gamepad"></i></span><div class="info-box-content"><span class="info-box-text"><a href="'+p+'"><span class="sv_name">'+q+'</span></a><span class="sv_ip">'+m+'</span></span><span class="info-box-number">'+e+'<span class="max_players">'+f+'</span></span><div class="players"><div class="players-bar" style="width: '+((parseInt(n)/parseInt(t))*100)+'%"></div></div><span class="progress-description"><a href="'+s+'" class="sv_stop">Stop</a><a href="'+i+'" class="sv_restart">Restart</a></span></div></div>')})}})}});
|
||||
1
themes/Obsidian/modules/dashboard/server_info.css
Normal file
1
themes/Obsidian/modules/dashboard/server_info.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
#refreshed-15>div:nth-child(1)>div:nth-child(1)>div:nth-child(2)>center>b{font-weight:300}.bg-green{background-color:#37b799!important;color:#fff!important;border-radius:2px;width:32.7%;display:inline-block;margin:.3%}@media(max-width:1060px){.bg-green{width:49%}}@media(max-width:770px){.bg-green{width:99%}}.info-box-icon{border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px;display:block;float:left;height:80px;width:80px;text-align:center;font-size:45px;line-height:90px;background:rgba(0,0,0,0.2)}.info-box-content{padding:5px 10px;margin-left:90px;padding-left:0}.info-box-text{/*! text-transform: uppercase; */}.progress-description,.info-box-text{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.info-box-number{display:block;font-weight:400;font-size:15px}.info-box .players,.info-box .players .players-bar{border-radius:0}.info-box .players{background:#fff!important;margin:5px 0 5px 0;height:2px}.info-box .players .players-bar{background:#248e75}.players-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-description{margin:0}.progress-description,.info-box-text{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:300}.sv_name{float:left;color:#fff!important;font-weight:300!important;width:50%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sv_ip{float:right;max-width:50%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.max_players{float:right}.info-box-icon i{margin-top:15px}.online_sv_title{font-size:30px;font-weight:300;padding-bottom:5px}.stats_sv{font-size:11px;vertical-align:middle;background-color:#20aa52;padding:.2em .6em .3em;font-weight:normal;line-height:1.3;border-radius:4px!important;margin-left:1%;display:inline-block}.currently-online>tbody:nth-child(1) tr td[style="text-align:left;"]{font-weight:bold!important}.currently-online>tbody:nth-child(1) tr td{color:#fff!important;margin:auto;text-align:left!important}.currently-online>tbody:nth-child(1) tr td:before{content:"- "}.currently-online>tbody:nth-child(1) tr td[style="text-align:left;"]:before{content:""!important}.progress-description a:before{font:normal normal normal 14px/1 FontAwesome;margin-right:5px;margin-left:10px}.progress-description a{color:#fff!important;font-weight:300!important}.sv_stop:before{content:"\f04d"}.sv_restart:before{content:"\f01e"}
|
||||
67
themes/Obsidian/modules/extras/extras.css
Normal file
67
themes/Obsidian/modules/extras/extras.css
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
.install {
|
||||
color: #3498db !important;
|
||||
}
|
||||
.remove {
|
||||
color: #e74c3c !important;
|
||||
}
|
||||
b[style="color:red;"] {
|
||||
color: #bdc3c7 !important;
|
||||
}
|
||||
.search {
|
||||
color: #e67e22 !important;
|
||||
}
|
||||
b[style="color:orange;"] {
|
||||
color: #f1c40f !important;
|
||||
}
|
||||
b[style="color:green;"] {
|
||||
color: #1abc9c !important;
|
||||
}
|
||||
.uninstall {
|
||||
color: #673AB7 !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
text-align: left !important;
|
||||
font-weight: 300 !important;;
|
||||
font-size: 35px;
|
||||
background-color: transparent;
|
||||
margin-left: 0%;
|
||||
}
|
||||
.main-content {
|
||||
background-color: transparent !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
h4 {
|
||||
background: #0F1A26 !important;
|
||||
}
|
||||
|
||||
.bloc {
|
||||
background-color: #162535 !important;
|
||||
width: 46%;
|
||||
margin: 0% !important;
|
||||
}
|
||||
div.dragbox:nth-child(3) {
|
||||
float: left;
|
||||
}
|
||||
div.dragbox:nth-child(4) {
|
||||
float: right;
|
||||
}
|
||||
button[name="update"] {
|
||||
margin-top: 20px;
|
||||
}
|
||||
#updateButton {
|
||||
width: 100%;
|
||||
float: left;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/*Responsive*/
|
||||
@media(max-width:1100px) {
|
||||
.bloc {
|
||||
width: 96%;
|
||||
position: relative;
|
||||
float: left !important;
|
||||
margin-bottom: 20px !important;
|
||||
}
|
||||
}
|
||||
7
themes/Obsidian/modules/extras/extras.js
Normal file
7
themes/Obsidian/modules/extras/extras.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
jQuery(function($){
|
||||
var admin_table = ".main-content";
|
||||
$(admin_table).find('td').contents().unwrap();//Removing all Td tags
|
||||
$(admin_table).find('tr').contents().unwrap();//Removing all Td tags
|
||||
$(admin_table).find('tbody').contents().unwrap();//Removing all Td tags
|
||||
$(admin_table).find('table').contents().unwrap();//Removing all Td tags
|
||||
});
|
||||
1
themes/Obsidian/modules/faq/faq.css
Normal file
1
themes/Obsidian/modules/faq/faq.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
#content{border-radius:9px;-moz-border-radius:9px;background:#505050;margin:0 auto;text-align:left}.accordion-toggle{cursor:pointer;background-color:rgba(13,23,35,0.6);border:1px solid #0a121a;font-size:14px!important;padding-right:10px;padding-left:10px;padding-top:10px;padding-bottom:10px;margin-bottom:4px;color:#eee!important}.faqanswer{background-color:#0d1721;font-size:14px;padding-right:10px;padding-left:10px;padding-top:10px;padding-bottom:20px;color:#eee!important}.accordion-content{display:none;margin-bottom:4px}.accordion-content.default{display:block}.category{font-size:15px;color:#eee!important}.maincategory{background-color:rgba(15,26,38,0.501);padding-top:10px;padding-bottom:12px;padding-left:10px;padding-right:10px;margin-top:20px;margin-bottom:15px;font-size:17px;border-radius:3px}.category{background-color:#0b131d;padding-top:5px;padding-bottom:5px;padding-left:10px;padding-right:10px;margin-top:16px;margin-bottom:3px;font-size:17px;border-radius:3px 3px 0 0}li.faqblock{display:inline;margin-right:5px;margin-left:5px}a.faqcategory{padding-top:5px;padding-bottom:5px;padding-left:10px;padding-right:10px;border:1px solid #0f1a26;background-color:#0f1a26;border-radius:3px;color:#ededed!important}img{max-width:99.7%;height:auto;width:auto;/*! margin-top:10px; *//*! margin-bottom:10px; */}img.headerimage{height:15px;width:15px;margin-top:0;margin-bottom:0;padding-right:5px}p{background-color:#f5f5f5;border:1px solid #c2c2c2;padding-top:5px;padding-bottom:5px;padding-left:10px;padding-right:10px;color:#fff;width:60px;cursor:pointer;-moz-border-radius:3px;border-radius:3px;text-transform:uppercase;text-decoration:none!important}.main-content .footer{margin-top:40px;padding:15px;color:#eee!important;background-color:rgba(15,26,38,0.501);height:140px;border-radius:3px}.footerimg{border-radius:3px;padding:10px;color:#eee!important;background-color:rgba(15,26,38,0.501);margin-top:10px}.imagetext{color:#eee}.credittext{padding-top:5px;padding-bottom:5px;padding-left:10px;padding-right:10px;border:1px solid #0f1a26;border-radius:3px;margin-top:10px;background-color:rgba(15,26,38,0.501)}span.hilite1{background:yellow}#accordion{margin-top:40px}h2{/*! background-color:#DDDDDD; */}.page,.main-content{text-align:left!important}blockquote{background:#091018;border-left:10px solid #090f17;margin:0;padding:.5em 10px;quotes:"\201C""\201D""\2018""\2019"}blockquote:before{color:#ccc;content:open-quote;font-size:2em;line-height:.1em;vertical-align:-0.4em}blockquote p{display:inline}blockquote:after{color:#ccc;content:close-quote;font-size:2em;line-height:.1em;vertical-align:-0.4em}i#count{display:block;float:right;width:30px}
|
||||
10
themes/Obsidian/modules/ftp/ftp.css
Normal file
10
themes/Obsidian/modules/ftp/ftp.css
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
.ftp-login {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
border: 1px solid rgba(0,0,0,0.301);
|
||||
background-color: rgba(0,0,0,0.301);
|
||||
}
|
||||
#ftp_iframe {
|
||||
border: 1px solid #0F1A26;
|
||||
margin-top: 20px;
|
||||
}
|
||||
19
themes/Obsidian/modules/ftp/ftp.js
Normal file
19
themes/Obsidian/modules/ftp/ftp.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
$(document).ready(function(){
|
||||
$('iframe').attr('id', 'ftp_iframe');
|
||||
$('iframe').load(function() {
|
||||
$(this).contents().find('table[style="text-align:center;width:100%;border:1px solid black;background-image:url(../../themes/Revolution/images/wrapper-bg.png);"]').addClass("ftp-login").removeAttr("style");
|
||||
if($(this).contents().find('#LoginForm').length > 0) {
|
||||
var ftp_css = '<link rel="stylesheet" type="text/css" href="../../themes/Obsidian/modules/ftp/ftp.css">';
|
||||
} else {
|
||||
var ftp_css = '<link rel="stylesheet" type="text/css" href="../../themes/Obsidian/modules/ftp/ftps.css">';
|
||||
}
|
||||
var style = '<link rel="stylesheet" type="text/css" href="../../themes/Obsidian/css/style.css">';
|
||||
//var ftp_js = '<link rel="stylesheet" href="../../themes/Obsidian/modules/ftp/main.js">';
|
||||
$(this).contents().find("head").append(style + ftp_css);
|
||||
$(this).contents().find('img[src*="images/mime/folder.png"]').attr('src', '../../themes/Obsidian/images/folder.png');
|
||||
$(this).contents().find('img[src*="images/mime/document.png"]').attr('src', '../../themes/Obsidian/images/file.png');
|
||||
$(this).contents().find('img[src*="images/mime/mime.png"]').attr('src', '../../themes/Obsidian/images/mime.png');
|
||||
$(this).contents().find('img[src*="images/mime/exec.png"]').attr('src', '../../themes/Obsidian/images/exec.png');
|
||||
$(this).contents().find('img[src*="images/mime/terminal.png"]').attr('src', '../../themes/Obsidian/images/code.png');
|
||||
});
|
||||
});
|
||||
87
themes/Obsidian/modules/ftp/ftps.css
Normal file
87
themes/Obsidian/modules/ftp/ftps.css
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
#wrapper {
|
||||
border-left: none !important;
|
||||
}
|
||||
#main {
|
||||
background: #162535;
|
||||
}
|
||||
span.title {
|
||||
margin: 5px;
|
||||
position: absolute;
|
||||
}
|
||||
.smallbutton,td[onclick*="'view'"] a,td[onclick*="'edit'"] a {
|
||||
padding: 4px 8px;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
margin: 0 2px;
|
||||
color: #fff !important;
|
||||
background-color: #37b799;
|
||||
border-color: #37b799;
|
||||
border: 2px solid #37b799;
|
||||
font-size: 12px;
|
||||
font-weight: normal !important;
|
||||
}
|
||||
.smallbutton:hover,td[onclick*="'view'"] a:hover,td[onclick*="'edit'"] a:hover {
|
||||
border: 2px solid #248E75;
|
||||
background: #248E75 !important;
|
||||
color: #eee;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.smallbutton:active,td[onclick*="'view'"] a:active,td[onclick*="'edit'"] a:active {
|
||||
background-color:#204d74 !important;
|
||||
border-color: #204d74;
|
||||
}
|
||||
.browse_rows_heading td a {
|
||||
text-decoration: none !important;
|
||||
color: #10c5b8;
|
||||
}
|
||||
#content {
|
||||
width: auto !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
.browse_rows_actions > td:nth-child(1) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) {
|
||||
font-size: 12px;
|
||||
}
|
||||
.browse_rows_odd, .browse_rows_even {
|
||||
font-size: 13px;
|
||||
}
|
||||
#content > div:nth-child(6) > div:nth-child(3) {
|
||||
font-size: 13px!important;
|
||||
margin-top: auto !important;
|
||||
margin-left: auto !important;
|
||||
padding: 20px;
|
||||
background: #0F1A26;
|
||||
}
|
||||
.code span {
|
||||
color: #000;
|
||||
margin-right: 20px;
|
||||
}
|
||||
table {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
margin: 10px 0 15px;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 1px;
|
||||
border: 1px solid #0F1A26 !important;
|
||||
}
|
||||
|
||||
.browse_rows_heading td {
|
||||
background-color: #0F1A26;
|
||||
font-size: 10pt;
|
||||
padding: 6px 5px;
|
||||
}
|
||||
|
||||
tr {
|
||||
color: #fff;
|
||||
padding: 6px 4px;
|
||||
background-color: #162535 !important;
|
||||
}
|
||||
|
||||
tr:hover,.browse_rows_actions,.browse_rows_actions tr td{
|
||||
background-color: #111F2D !important;
|
||||
}
|
||||
td {
|
||||
padding: 5px 8px;
|
||||
color: #fff;
|
||||
border-bottom: 1px solid #0F1A26;
|
||||
}
|
||||
5
themes/Obsidian/modules/ftp/main.js
Normal file
5
themes/Obsidian/modules/ftp/main.js
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
$(document).ready(function() {
|
||||
$('table[style="text-align:center;width:100%;border:1px solid black;background-image:url(../../themes/Revolution/images/wrapper-bg.png);"]').addClass("ftp-login");
|
||||
$("ftp-login").removeAttr("style");
|
||||
|
||||
});
|
||||
400
themes/Obsidian/modules/ftp/skins/blue/css/main.css.php
Normal file
400
themes/Obsidian/modules/ftp/skins/blue/css/main.css.php
Normal file
|
|
@ -0,0 +1,400 @@
|
|||
|
||||
/* CSS document colors
|
||||
#003250
|
||||
#5893ac
|
||||
#bbd2e0
|
||||
#F2F2F5
|
||||
#A7A7A7
|
||||
#787878
|
||||
*/
|
||||
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #162535;
|
||||
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#container {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 20px;
|
||||
width: 980px;
|
||||
font-size: 1.2em;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#head {
|
||||
padding-top: 20px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
padding-bottom: 20px;
|
||||
height: 62px;
|
||||
background: url(http://hmrworld.tk/panel/modules/ftp/skins/blue/images/img/bg_head.jpg) no-repeat;
|
||||
}
|
||||
|
||||
#headleft {
|
||||
float:left;
|
||||
}
|
||||
|
||||
#headright {
|
||||
float:right;
|
||||
width:470px;
|
||||
}
|
||||
|
||||
#headright h2 {
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
#main {
|
||||
background: #F2F2F5;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#menu {
|
||||
width: 200px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.menuhead {
|
||||
background: url(http://hmrworld.tk/panel/modules/ftp/skins/blue/images/img/bg_tabletop.png);
|
||||
height: 18px;
|
||||
width: 200px;
|
||||
color: #FFF;
|
||||
padding-top: 2px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.menucontent {
|
||||
background: #bbd2e0;
|
||||
color: #003250;
|
||||
width: 193px;
|
||||
padding-left: 5px;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: solid 1px #003250;
|
||||
border-left: solid 1px #003250;
|
||||
border-right: solid 1px #003250;
|
||||
}
|
||||
|
||||
#content {
|
||||
margin-left: 10px;
|
||||
width: 750px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
#mainleft {
|
||||
float:left;
|
||||
width: 465px;
|
||||
}
|
||||
|
||||
#mainright {
|
||||
float: right;
|
||||
width: 485px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
#tabelfeaturestop {
|
||||
padding-left: 10px; background-color: #003250; height: 21px; color:#FFF; padding-top:5px;
|
||||
}
|
||||
|
||||
#tablefeature {
|
||||
background: #bbd2e0;
|
||||
border-left: #003250 1px solid;
|
||||
border-right: #003250 1px solid;
|
||||
border-bottom: #003250 1px solid;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
#tablefeature span {
|
||||
background-image: url(http://hmrworld.tk/panel/modules/ftp/skins/blue/images/img/arrow.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0.5em;
|
||||
padding-left: 20px;
|
||||
font-weight: bold;
|
||||
color: #003250;
|
||||
}
|
||||
|
||||
#tablefeature p {
|
||||
padding-left:20px;
|
||||
padding-top: 2px;
|
||||
padding-bottom:2px;
|
||||
}
|
||||
|
||||
#foot {
|
||||
height: 24px;
|
||||
background: url(http://hmrworld.tk/panel/modules/ftp/skins/blue/images/img/bg_foot.jpg) no-repeat;
|
||||
text-align: center;
|
||||
padding-top: 13px;
|
||||
color: #fff;
|
||||
|
||||
}
|
||||
|
||||
#poweredby {
|
||||
padding-top: 10px;
|
||||
text-align: center;
|
||||
font-size: 0.75em;
|
||||
}
|
||||
|
||||
a, a:link {
|
||||
text-decoration: underline;
|
||||
color: #003250;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
color: #5893ac;
|
||||
}
|
||||
|
||||
#foot a, #foot a:link {
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#foot a:hover {
|
||||
text-decoration: none;
|
||||
color: #5893ac;
|
||||
}
|
||||
|
||||
/* Tags */
|
||||
h1, h2, h3 {
|
||||
font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.2em;
|
||||
color: #e7e7e7;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.6em;
|
||||
color: #003250;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.4em;
|
||||
}
|
||||
|
||||
.underline {
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
.button {
|
||||
color: #003250;
|
||||
background: #fff;
|
||||
border: solid 1px #003250;
|
||||
width: 50px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.smallbutton {
|
||||
color: #003250;
|
||||
background: #fff;
|
||||
border: solid 1px #003250;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
br {
|
||||
line-height: 1em;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
.navlist {
|
||||
margin-left: 0;
|
||||
padding-left: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.navlist li {
|
||||
padding-left: 20px;
|
||||
background-image: url(http://hmrworld.tk/panel/modules/ftp/skins/blue/images/img/arrow.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0.5em;
|
||||
}
|
||||
|
||||
.navlist li a, .navlist li a:link {
|
||||
text-decoration: none;
|
||||
color: #003250;
|
||||
}
|
||||
|
||||
.navlist li a:hover {
|
||||
text-decoration: none;
|
||||
color: #5893ac;
|
||||
}
|
||||
|
||||
/* Form */
|
||||
|
||||
select, input {
|
||||
padding: 2px;
|
||||
margin-top: 1px;
|
||||
margin-right: 0;
|
||||
margin-bottom: 1px;
|
||||
margin-left: 0;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
textarea {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background-color: #FFDD00;
|
||||
color: #000000;
|
||||
border: 2px;
|
||||
border-style: solid;
|
||||
border-color: #FFCC33;
|
||||
margin-left: 0px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.warning-text {
|
||||
padding-bottom : 5px;
|
||||
padding-top : 5px;
|
||||
padding-left : 10px;
|
||||
padding-right : 10px;
|
||||
}
|
||||
|
||||
.browse_cell {
|
||||
width: 120px;
|
||||
height: 60px;
|
||||
font-size: 0.8em;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.browse_rows_actions {
|
||||
background-color: #bbd2e0;
|
||||
color: #000000;
|
||||
font-size: 80%;
|
||||
font-weight: normal;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.browse_rows_heading {
|
||||
background-color: #bbd2e0;
|
||||
color: #000000;
|
||||
font-size: 110%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.browse_rows_odd, .browse_rows_even {
|
||||
color: #000000;
|
||||
font-size: 80%;
|
||||
font-weight: normal;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.browse_rows_separator {
|
||||
border: 2px;
|
||||
color: #000000;
|
||||
font-size: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------
|
||||
Process bar
|
||||
From the PHP Pear package HTML_Progress
|
||||
http://pear.laurent-laville.org/HTML_Progress/examples/horizontal/string.php
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
.p_ba7428 .progressBar, .p_ba7428 .progressBarBorder {
|
||||
width: 172px;
|
||||
height: 24px;
|
||||
position: relative;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.p_ba7428 .progressBarBorder {
|
||||
border-width: 0;
|
||||
border-style: solid;
|
||||
border-color: #003250;
|
||||
}
|
||||
|
||||
.p_ba7428 .installationProgress {
|
||||
width: 350px;
|
||||
text-align: left;
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.p_ba7428 .cellI, .p_ba7428 .cellA {
|
||||
width: 15px;
|
||||
height: 20px;
|
||||
font-family: Courier, Verdana;
|
||||
font-size: 0.8em;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.p_ba7428 .cellI {
|
||||
background-color: #003250;
|
||||
}
|
||||
|
||||
.p_ba7428 .cellA {
|
||||
background-color: #003250;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.input {
|
||||
border: 1px solid #006
|
||||
}
|
||||
|
||||
input[type="submit"],
|
||||
button {
|
||||
padding: 4px 8px;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
margin: 2px 2px;
|
||||
color: #fff;
|
||||
background-color: #37b799;
|
||||
border-color: #37b799;
|
||||
border: 2px solid #37b799;
|
||||
}
|
||||
|
||||
input[type="submit"]:hover,
|
||||
button:hover {
|
||||
border: 2px solid #248E75;
|
||||
background: #248E75 !important;
|
||||
color: #eee;
|
||||
border-radius: 2px;
|
||||
}
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
textarea {
|
||||
color: #fff;
|
||||
padding: 4px;
|
||||
border: 1px solid #121c32;
|
||||
border-radius: 2px;
|
||||
background-color: #1D324880;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
textarea:focus,
|
||||
input[type="text"]:hover,
|
||||
input[type="password"]:hover,
|
||||
textarea:hover {
|
||||
border-color: #3cbc81;
|
||||
}
|
||||
|
||||
.page > table {
|
||||
background: transparent !important;
|
||||
}
|
||||
.page > table > tbody > tr > td > a > b{
|
||||
color: #fff !important;
|
||||
}
|
||||
1
themes/Obsidian/modules/gamemanager/game_monitor.css
Normal file
1
themes/Obsidian/modules/gamemanager/game_monitor.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
.monitorbutton{display:inline-block;width:145px;height:80px;text-align:center;float:left;margin:1%;border-radius:2px;cursor:pointer;background-color:#37b799;transition:all 200ms linear!important;border:2px solid #37b799}.monitorbutton.size{line-height:80px}.monitorbutton:hover{border:2px solid #248e75;background:#248e75!important;color:#eee;border-radius:2px;cursor:pointer;color:#fff!important;text-decoration:none}.monitorbutton img{height:46px;margin:2px 0}.monitorbutton span{display:block;color:#fff;font-weight:400;font-size:13px;line-height:normal}.monitorbutton:hover span{color:#fff}.ts3-del-virtual.center{display:none}.ts3-add-virtual.center{display:none}button:active,button[type="submit"]:active,input[type="submit"]:active,.monitorbutton:active{background-color:#204d74!important;border-color:#204d74}#server_icon{display:block;float:left;overflow:hidden;margin-top:5px;margin-bottom:5px;margin-left:6px;margin-right:2px;padding-top:2px;padding-bottom:4px;padding-right:6px;/*! border: 1px solid #193150; */background:transparent;cursor:pointer;background-color:#193150;border-radius:3px;font-weight:bold}.srvctrl tr{background-color:#0f1a26!important}.tablesorter-header-inner img{vertical-align:middle;margin-left:2px}#server_icon div{display:inline-block;vertical-align:middle}table.center{background-color:#0f1a26;margin-left:2px;margin-top:10px}table.center tr th{background-color:#0f1a26;padding:5px 8px}table.center tr td input[value="Add"]{width:99%}table.center tr td{border:0}.srvctrl>tbody>tr:nth-child(1)>td>a>img:hover{opacity:1}.srvctrl>tbody>tr:nth-child(1)>td>a>img{opacity:.8}.collapsible span[style="color:darkred;font-weight:bold;"]{background-color:#dd4b39;padding:.2em .6em .3em;font-size:78%;font-weight:700!important;color:#fff!important;border-radius:.25em}@media(max-width:1000px){.tablesorter-header:nth-child(6){display:none!important}.collapsible:nth-child(6){display:none!important}.expand-child>td:nth-child(2){display:none!important}}@media(max-width:890px){.tablesorter-header:nth-child(5){display:none!important}.collapsible:nth-child(5){display:none!important}}div #server_icon div img{display:none}#server_icon:hover{opacity:.8}#server_icon div:nth-child(2):before{font:normal normal normal 14px/1 FontAwesome}div[class^="action-stop"] div:nth-child(2):before{content:"\f04d"}div[class^="action-start"] div:nth-child(2):before{content:"\f04b"}div[class^="action-restart"] div:nth-child(2):before{content:"\f01e"}div[class^="action-stop"]{background-color:#e82e46!important}div[class^="action-restart"]{background-color:#2688d2!important}div[class^="action-start"]{background-color:#0ecf4e!important}
|
||||
10
themes/Obsidian/modules/gamemanager/game_monitor.js
Normal file
10
themes/Obsidian/modules/gamemanager/game_monitor.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
jQuery(function($){
|
||||
var width = $(window).width();
|
||||
$(window).on('resize', function(){
|
||||
if($(this).width() <= 890){
|
||||
$(".expand-child > td:nth-child(1)").attr('colspan', '3');
|
||||
}else {
|
||||
$(".expand-child > td:nth-child(1)").attr('colspan', '4');
|
||||
}
|
||||
});
|
||||
});
|
||||
26
themes/Obsidian/modules/lgsl_with_img_mod/lgsl.css
Normal file
26
themes/Obsidian/modules/lgsl_with_img_mod/lgsl.css
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
table {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
margin: 10px 0 15px;
|
||||
text-align: left;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 1px;
|
||||
border: 1px solid #0F1A26 !important;
|
||||
}
|
||||
|
||||
.browse_rows_heading td {
|
||||
background-color: #0F1A26;
|
||||
font-size: 10pt;
|
||||
padding: 6px 5px;
|
||||
}
|
||||
|
||||
tr {
|
||||
color: #fff;
|
||||
padding: 6px 4px;
|
||||
background-color: #162535 !important;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 5px 8px;
|
||||
color: #fff;
|
||||
border-bottom: 1px solid #0F1A26;
|
||||
}
|
||||
10
themes/Obsidian/modules/lgsl_with_img_mod/lgsl.js
Normal file
10
themes/Obsidian/modules/lgsl_with_img_mod/lgsl.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
jQuery(function($){
|
||||
$('head').append('<style>.light{background-color:rgba(17,29,41,0.701)!important;} .dark{background-color:#0F1926!important;}</style>');
|
||||
$('[style*="background-color:#f4f7fa"]').addClass("light");
|
||||
$('[style*="background-color:#e4eaf2"]').addClass("dark");
|
||||
$('div[style*="border:1px solid"]').css("border", "transparent");
|
||||
$('img[src*="modules/lgsl_with_img_mod/lgsl_files/other/icon_online.gif"]').attr('src', 'themes/Obsidian/images/online.png');
|
||||
$('img[src*="modules/lgsl_with_img_mod/lgsl_files/other/icon_no_response.gif"]').attr('src', 'themes/Obsidian/images/offline.png');
|
||||
$('img[src*="modules/lgsl_with_img_mod/lgsl_files/other/icon_details.gif"]').attr('src', 'themes/Obsidian/images/icon_details.png');
|
||||
|
||||
})
|
||||
1
themes/Obsidian/modules/litefm/litefm.css
Normal file
1
themes/Obsidian/modules/litefm/litefm.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
span.chattrLock{padding-left:20px;background:url(../../images/locked.png) no-repeat left center;color:black;font-size:12px;height:16px}span.chattrUnlock{padding-left:20px;background:url(../../images/unlocked.png) no-repeat left center;color:black;font-size:12px;height:16px}div.chattrButton span{margin-left:-5%;top:2px;position:relative}div.chattrButton{color:white;font-size:12px;height:20px;text-align:center;vertical-align:middle;cursor:pointer;-webkit-border-radius:90px;-moz-border-radius:90px;border-radius:90px;padding-bottom:2px;margin-right:5%}div.chattrButton.unlocked i:before{margin:3px 0 0 8px;float:left;font:normal normal normal 14px/1 FontAwesome;content:"\f09c"}div.chattrButton.unlocked{background:#2e86c1}div.chattrButton.unlocked:hover{background:#21618c}div.chattrButton.unlocked:active{background:#1b4f72}div.chattrButton.locked i:before{margin:3px 0 0 8px;float:left;font:normal normal normal 14px/1 FontAwesome;content:"\f023"}div.chattrButton.locked{background:#e74c3c}div.chattrButton.locked:hover{background:#cb4335}div.chattrButton.locked:active{background:#b03a2e}.viewitem{height:17px;vertical-align:bottom}.file-operations{height:36px}.operations-button{border:1px solid #0f1a26;display:block;float:left;padding:8px 10px 5px 10px;vertical-align:middle;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;cursor:pointer;margin-left:5px;margin-bottom:5px;background:#0f1a26;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:background-color .5s;-webkit-transition:all .5s}.operations-button:hover{background-color:#3cbc81!important;border-color:#3cbc81;transition:background-color .5s;-webkit-transition:all .5s;color:#fff}.operations-button:active{background-color:#204d74!important;transition:background-color .25s;-webkit-transition:background-color .25s;border-color:#204d74}.operations-button>div{display:block;float:left;position:relative;bottom:2px}.operations-button img{display:block;float:left;width:16px;height:16px}progress:indeterminate::-moz-progress-bar{background-color:gray}.levelup,.folder,#addfolder{cursor:pointer;vertical-align:bottom}#addfolder{padding-left:10px}.file-op{float:left;font-size:1.12em;padding-right:2px}table.center:nth-child(9){margin:20px 0 10px 0}@media(max-width:980px){div.chattrButton i:before{margin:none!important;position:relative!important;top:3px;float:none!important}div.chattrButton.locked i:before{right:5%}div.chattrButton span{display:none}}@media(max-width:810px){table.center:nth-child(8) tr>td:last-child{display:none}}@media(max-width:720px){table.center:nth-child(8) tr>td:nth-last-child(2){display:none}}@media(max-width:370px){table.center:nth-child(8) tr>td:nth-last-child(3){display:none}}
|
||||
27
themes/Obsidian/modules/litefm/litefm.js
Normal file
27
themes/Obsidian/modules/litefm/litefm.js
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
jQuery(function($){
|
||||
$('img').each(function() {
|
||||
fm_img_path = 'modules/litefm/action-images/';
|
||||
if ($(this).attr('src') == fm_img_path + 'remove.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-trash file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'rename.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-edit file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'move.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-share-square-o file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'copy.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-clipboard file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'compress.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-file-archive-o file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'uncompress.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-folder-open file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'create_file.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-file file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'create_folder.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-folder file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'upload.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-upload file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'send_by_email.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-envelope file-op"></i>');
|
||||
}
|
||||
});
|
||||
$('[href^="?m=gamemanager&p=game_monitor&home_id="]').addClass('default-btn'); //gives button look
|
||||
});
|
||||
92
themes/Obsidian/modules/modulemanager/modulemanager.css
Normal file
92
themes/Obsidian/modules/modulemanager/modulemanager.css
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
table {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
margin: 10px 0 15px;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 1px;
|
||||
border: 1px solid #0F1A26 !important;
|
||||
}
|
||||
|
||||
.first_row td {
|
||||
background-color: #0F1A26;
|
||||
font-size: 10pt;
|
||||
padding: 6px 5px;
|
||||
}
|
||||
|
||||
tr {
|
||||
color: #fff;
|
||||
padding: 6px 4px;
|
||||
background-color: #162535 !important;
|
||||
}
|
||||
|
||||
tr:nth-child(odd) {
|
||||
background-color: #111F2D !important;
|
||||
}
|
||||
td {
|
||||
padding: 5px 8px;
|
||||
text-align: center;
|
||||
}
|
||||
.actions {
|
||||
padding: 4px 0px;
|
||||
}
|
||||
|
||||
.mini-btn {
|
||||
padding: 1px 4px;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
margin: 0 2px;
|
||||
font-weight: normal !important;
|
||||
color: #fff !important;
|
||||
background-color: #37b799;
|
||||
border: 2px solid #37b799;
|
||||
font-size: 11px;
|
||||
transition: all 0ms !important;
|
||||
}
|
||||
.mini-btn:hover {
|
||||
border: 2px solid #248E75;
|
||||
background: #248E75 !important;
|
||||
}
|
||||
.mini-btn:active {
|
||||
border: 2px solid #204d74 !important;
|
||||
background: #204d74 !important;
|
||||
}
|
||||
.mini-btn:before {
|
||||
content: "\f067";
|
||||
}
|
||||
.yellow-btn {
|
||||
background-color: #f1c40f !important;
|
||||
border: 2px solid #f1c40f !important;;
|
||||
}
|
||||
|
||||
.yellow-btn:hover {
|
||||
background-color: #f39c12 !important;;
|
||||
border: 2px solid #f39c12 !important;;
|
||||
}
|
||||
.yellow-btn:before {
|
||||
content: "\f00d";
|
||||
}
|
||||
.red-btn {
|
||||
background-color: #e74c3c !important;
|
||||
border: 2px solid #e74c3c !important;;
|
||||
}
|
||||
.red-btn:before {
|
||||
content: "\f00d";
|
||||
}
|
||||
.red-btn:hover {
|
||||
background-color: #c0392b !important;;
|
||||
border: 2px solid #c0392b !important;;
|
||||
}
|
||||
|
||||
.mini-btn:before {
|
||||
font: normal normal normal 14px/1 FontAwesome;
|
||||
font-size: inherit;
|
||||
text-rendering: auto;
|
||||
padding-right: 2px;
|
||||
}
|
||||
table, tr:last-child {
|
||||
/*! background-color: #0F1A26 !important; */
|
||||
}
|
||||
tr:last-child td{
|
||||
padding: 5px 0;
|
||||
}
|
||||
10
themes/Obsidian/modules/modulemanager/modulemanager.js
Normal file
10
themes/Obsidian/modules/modulemanager/modulemanager.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
jQuery(function($){
|
||||
$( "table:eq(1) > tbody > tr" ).each(function( index ) {
|
||||
$( this ).find( "td:eq(-1) > a" ).addClass('mini-btn'); //gives yellow color to buttons
|
||||
$( this ).find( "td:eq(-1) > a" ).addClass('yellow-btn'); //gives yellow color to buttons
|
||||
});
|
||||
|
||||
$( "table:eq(-1) > tbody > tr" ).each(function( index ) {
|
||||
$( this ).find( "td:eq(-1) > a" ).addClass('mini-btn'); //gives yellow color to buttons
|
||||
});
|
||||
})
|
||||
1
themes/Obsidian/modules/news/admin_news.css
Normal file
1
themes/Obsidian/modules/news/admin_news.css
Normal file
File diff suppressed because one or more lines are too long
1
themes/Obsidian/modules/news/news.css
Normal file
1
themes/Obsidian/modules/news/news.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
.failure{background-color:#dd4b39;display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;position:relative;top:-2px}.panel{margin-bottom:21px;background-color:#111f2d;border:1px solid transparent;border-radius:4px}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-default{border-color:#0f1a26}.panel-default>.panel-heading{color:#fff;background-color:#0f1a26}.pull-right{float:right!important}.pull-left{float:left!important}.searchmod{padding:5px;border:1px solid #ccc;-webkit-border-radius:5px;border-radius:5px}.pagination{display:inline-block;padding-left:0;margin:21px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 16px;line-height:1.52857143;text-decoration:none;color:#515253;background-color:#fff;border:1px solid #eee;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.news-btn{padding:4px 8px;border-radius:2px;cursor:pointer;margin:0 2px;color:#fff!important;background-color:#37b799;border-color:#37b799;border:2px solid #37b799;font-weight:normal!important;transition:none!important}.news-btn:hover{border:2px solid #248e75;background:#248e75!important;color:#eee;border-radius:2px}.news-btn:active{background-color:#204d74!important;border-color:#204d74!important}.open>.dropdown-toggle.news-btn-default,.open>.dropdown-toggle.news-btn-default.focus,.open>.dropdown-toggle.news-btn-default:focus,.open>.dropdown-toggle.news-btn-default:hover{background-color:#f5f5f5;border-color:#eaeaea}.news-btn-block{display:block;width:100%}.news-btn-block+.news-btn-block{margin-top:5px}.img-bottom{text-align:center;vertical-align:middle}.final-image{padding-top:10px;max-width:100%;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.thumbnail-detail{padding:5px}.news-row{width:100%}.news-auto{width:auto;overflow:hidden;padding:5px 0}.news-half{width:50%}.news-one-third{width:33%;margin:0 0 15px 15px}.news-img{max-width:250px;padding:5px 20px 20px 5px}.clearfix:after,.clearfix:before,.news-row:after,.news-row:before{content:" ";display:table;clear:both}.panel-body:after,.news-row:after{clear:both}
|
||||
62
themes/Obsidian/modules/register/form.css
Normal file
62
themes/Obsidian/modules/register/form.css
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
#login_name,
|
||||
#users_passwd,
|
||||
#users_cpasswd,
|
||||
#users_fname,
|
||||
#users_lname,
|
||||
#users_email {
|
||||
width: 320px;
|
||||
height: 25px;
|
||||
padding: 3px;
|
||||
border-bottom: 1px solid #b1b0b0 !important;
|
||||
background: transparent;
|
||||
color: #eee;
|
||||
border: 1px solid transparent;
|
||||
margin: 12px 0px;
|
||||
}
|
||||
#login_name:focus,
|
||||
#users_passwd:focus,
|
||||
#users_cpasswd:focus,
|
||||
#users_fname:focus,
|
||||
#users_lname:focus,
|
||||
#users_email:focus {
|
||||
border-bottom: 2px solid #fff !important;
|
||||
border: 1px solid transparent;
|
||||
outline:none;
|
||||
}
|
||||
|
||||
.menu-bg {
|
||||
background-color: rgba(24, 34, 37, 0.25);
|
||||
}
|
||||
|
||||
#bottomWrapper {
|
||||
background-color: rgba(24, 34, 37, 0.25);
|
||||
}
|
||||
|
||||
.main-content {
|
||||
max-width: 400px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
background: rgba(26, 49, 66, 0.7);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.register_header {
|
||||
margin: 0 -12px 20px -12px;
|
||||
text-transform: uppercase;
|
||||
background: rgba(26, 49, 66, 0.4);
|
||||
}
|
||||
|
||||
td[align="left"] input {
|
||||
margin: 10px 0px;
|
||||
}
|
||||
|
||||
.register_button {
|
||||
width: 320px;
|
||||
background-color: #378cd5;
|
||||
padding: 8px !important;
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
transition: all 300ms linear;
|
||||
border-radius: 2px;
|
||||
}
|
||||
16
themes/Obsidian/modules/register/form.js
Normal file
16
themes/Obsidian/modules/register/form.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
jQuery(function($){
|
||||
$("body").attr("id", "login-bg");
|
||||
$(".menu-bg").addClass("menu-hidder");
|
||||
$('.main-content h2').addClass('register_header'); //Adds class to Title
|
||||
$('tbody tr:last').html($('tbody tr:last td[align="right"]').contents());
|
||||
$('tbody tr:last').contents().wrapAll("<td>");
|
||||
$('tbody tr:last td').attr('align', 'center');
|
||||
$(".g-recaptcha").attr('data-theme', 'dark'); // makes the Google Captcha dark!
|
||||
$('tr').each(function() {
|
||||
if($(this).find('td[align="left"]')[0]) {
|
||||
$(this).find('td[align="left"] input').attr('placeholder', ($(this).find('td[align="right"]').text().replace(':','')));
|
||||
$(this).html($(this).find('td[align="left"]').contents());
|
||||
}
|
||||
});
|
||||
$('input[name="Submit"]').addClass('register_button');
|
||||
});
|
||||
1
themes/Obsidian/modules/server/server.css
Normal file
1
themes/Obsidian/modules/server/server.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
#servermonitor{font-family:'Open Sans',sans-serif;margin:10px 0 15px;width:100%;text-align:left;border-collapse:collapse;border-spacing:1px;border:1px solid #0f1a26!important}#servermonitor th{background-color:#0f1a26;font-size:10pt;padding:6px 5px}#servermonitor tr{color:#fff;padding:6px 4px;background-color:#162535!important}#servermonitor tr:nth-child(4n+1)>td,#servermonitor tr:nth-child(4n+2)>td{background-color:#111f2d!important}#servermonitor td{padding:5px 8px}.mini-btn{padding:1px 4px;border-radius:2px;cursor:pointer;margin:2px;font-weight:normal!important;color:#fff!important;background-color:#37b799;border:2px solid #37b799;font-size:11px;transition:all 0ms!important;float:left}.mini-btn:hover{border:2px solid #248e75;background:#248e75!important}.mini-btn:active{border:2px solid #204d74!important;background:#204d74!important}.yellow-btn{background-color:#f1c40f!important;border:2px solid #f1c40f!important}.yellow-btn:hover{background-color:#f39c12!important;border:2px solid #f39c12!important}.yellow-btn:before{content:"\f021"}.red-btn{background-color:#e74c3c!important;border:2px solid #e74c3c!important}.red-btn:before{content:"\f00d"}.red-btn:hover{background-color:#c0392b!important;border:2px solid #c0392b!important}.mini-btn:before{font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;padding-right:2px}#servermonitor tr:last-child td{padding:5px 0}.ui-tooltip{border:1px solid white!important;max-width:451px!important;padding:0!important;border-radius:20px;box-shadow:0 0 7px black!important;overflow:hidden}.success{background-color:#20aa52;display:inline;padding:.2em .6em .3em;font-size:78%;font-weight:700;line-height:2.5;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;position:relative;top:-2px}.failure{background-color:#dd4b39;display:inline;padding:.2em .6em .3em;font-size:78%;font-weight:700;line-height:2.5;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;position:relative;top:-2px}.log-btn:before{content:"\f022"}.edit-btn:before{content:"\f044"}.fire-btn:before{content:"\f085"}.fire-btn{top:6px;position:relative}td.collapsible{vertical-align:middle!important}tr.maintr>td:nth-child(3)>b{display:none}
|
||||
19
themes/Obsidian/modules/server/server.js
Normal file
19
themes/Obsidian/modules/server/server.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
jQuery(function($){
|
||||
$( ".maintr" ).each(function( index ) {
|
||||
$( this ).find( "td:eq(-1) > a" ).addClass('mini-btn'); //gives buttons shap
|
||||
$( this ).find( "td:eq(-1) > a:eq(0)" ).addClass('red-btn'); //gives yellow color to buttons
|
||||
$( this ).find( "td:eq(-1) > a:eq(1)" ).addClass('edit-btn'); //gives yellow color to buttons
|
||||
$( this ).find( "td:eq(-1) > a:eq(4)" ).addClass('log-btn'); //gives yellow color to buttons
|
||||
$( this ).find( "td:eq(-1) > a:eq(2)" ).addClass('yellow-btn'); //gives yellow color to buttons
|
||||
$( this ).find( "td:eq(-1) > a:eq(3)" ).addClass('yellow-btn'); //gives yellow color to buttons
|
||||
});
|
||||
|
||||
$('tr.maintr > td:last-child > a').each(function() {
|
||||
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
||||
});
|
||||
$('tr.expand-child > td:last-child > a').each(function() {
|
||||
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
||||
$( this ).addClass('mini-btn'); //gives buttons shap
|
||||
$( this ).addClass('fire-btn'); //gives yellow color to buttons
|
||||
});
|
||||
})
|
||||
44
themes/Obsidian/modules/settings/themes.css
Normal file
44
themes/Obsidian/modules/settings/themes.css
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
.beta {
|
||||
z-index: 100;
|
||||
background-color: #e07600;
|
||||
padding: .2em .6em .3em;
|
||||
font-size: 78%;
|
||||
font-weight: 700 !important;
|
||||
color: #fff !important;
|
||||
border-radius: .25em;
|
||||
margin-left: 3px;
|
||||
margin-top: 3px;
|
||||
position: absolute;
|
||||
}
|
||||
.preview-f {
|
||||
display: none;
|
||||
background: #0f1a26;
|
||||
padding: 3px;
|
||||
border-radius: 4px;
|
||||
position: absolute;
|
||||
margin-top: -22px;
|
||||
margin-left: -4px;
|
||||
}
|
||||
.preview-l img,.preview-lb img,.preview-f img {
|
||||
max-height: 80px;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
.preview-l,.preview-lb {
|
||||
z-index: 1000;
|
||||
display: none;
|
||||
background: #0f1a26;
|
||||
padding: 3px;
|
||||
border-radius: 4px;
|
||||
position: absolute;
|
||||
margin-top: 0px;
|
||||
margin-left: 16px;
|
||||
}
|
||||
#lp:hover .preview-l {
|
||||
display: inline !important;
|
||||
}
|
||||
#fp:hover .preview-f {
|
||||
display: inline !important;
|
||||
}
|
||||
#lbp:hover .preview-lb {
|
||||
display: inline !important;
|
||||
}
|
||||
91
themes/Obsidian/modules/settings/themes.js
Normal file
91
themes/Obsidian/modules/settings/themes.js
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
$(document).ready(function() {
|
||||
$('form[action="?m=settings&p=themes"] tr:nth-child(5)').hide();
|
||||
$('form[action="?m=settings&p=themes"]').after('<br><h2>Extra Options</h2><table class="center more-option"><tbody></tbody></table>');
|
||||
$('.more-option tbody').append('<tr><td align="right"><label><a href="#"><i class="fa fa-eye" id="fp" aria-hidden="true"><span class="preview-f"><img src="" /></span></i></a> Favicon:</label></td><td align="left"><input id="favicon" name="favicon" type="text" size="50"></td><td><div class="image-tip" original-title="The Favicon Icon URL."><img src="themes/Obsidian/images/icon_help_small.png"></div></td></tr>');
|
||||
$('.more-option tbody').append('<tr><td align="right"><label><a href="#"><i class="fa fa-eye" id="lbp" aria-hidden="true"><span class="preview-lb"><img src="" /></span></i></a> Login Background Image:</label></td><td align="left"><input id="loginbg" name="loginbg" type="text" size="50"></td><td><div class="image-tip" original-title="The Login Page\'s Background Image URL."><img src="themes/Obsidian/images/icon_help_small.png"></div></td></tr>');
|
||||
$('.more-option tbody').append('<tr><td align="right"><label>Background Blur Effect:</label></td><td align="left"><select id="bgblur" name="bgblur"><option value="1">Enable</option><option value="0">Disable</option></select></td><td><div class="image-tip" title="Enables/Disable Blur Effect of Login/Register Background."><img src="themes/Obsidian/images/icon_help_small.png"></div></td></tr>');
|
||||
$('.more-option tbody').append('<tr><td align="right"><label><a href="#"><i class="fa fa-eye" id="lp" aria-hidden="true"><span class="preview-l"><img src="" /></span></i></a> Logo:</label></td><td align="left"><input id="logo" name="logo" type="text" size="50"></td><td><div class="image-tip" original-title="The Logo image URL."><img src="themes/Obsidian/images/icon_help_small.png"></div></td></tr>');
|
||||
$('.more-option tbody').append('<tr><td align="right"><label>Loading Bar:</label></td><td align="left"><select id="pace" name="pace"><option value="default">Default</option><option value="big-counter">Big Counter</option><option value="bounce">Bounce</option><<option value="center-circle">Center Circle</option><option value="center-radar">Center Radar</option><option value="center-simple">Center Simple</option><option value="corner-indicator">Corner Indicator</option><option value="center-rotate">Center Rotate</option><option value="material">Material</option></select></td><td><div class="image-tip" title="Change style of Loading Bar."><img src="themes/Obsidian/images/icon_help_small.png"></div></td></tr>');
|
||||
$('.more-option tbody').append('<tr><td align="right"><label>Responsive Mode:</label></td><td align="left"><select id="responsive" name="responsive"><option value="1">Enable</option><option value="0">Disable</option></select><span class="beta">Beta - unstable</span></td><td><div class="image-tip" title="Enables/Disable Responsiveness for the whole theme."><img src="themes/Obsidian/images/icon_help_small.png"></div></td></tr>');
|
||||
$('.more-option').after('<p class="center update_options"><img id="op_load" style="display: none;" src="images/loading.gif" /><button id="update_options">Update Options</button></p>');
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "themes/Obsidian/config/config.xml",
|
||||
dataType: "xml",
|
||||
success: function (xml) {
|
||||
|
||||
// Parse the xml file and get data
|
||||
var xmlDoc = $.parseXML(xml),
|
||||
$xml = $(xmlDoc);
|
||||
var favicon = $(xml).find('favicon').text();
|
||||
var loginbg = $(xml).find('loginbg').text();
|
||||
var bgblur = $(xml).find('bgblur').text();
|
||||
var logo = $(xml).find('logo').text();
|
||||
var pace = $(xml).find('pace').text();
|
||||
var responsive = $(xml).find('responsive').text();
|
||||
$('#favicon').attr('value', favicon);
|
||||
$('#loginbg').attr('value', loginbg);
|
||||
if(bgblur == 1) {
|
||||
$('#bgblur option[value="1"]').attr('selected', 'selected');
|
||||
} else if(bgblur == 0) {
|
||||
$('#bgblur option[value="0"]').attr('selected', 'selected');
|
||||
}
|
||||
$('#logo').attr('value', logo);
|
||||
$('#pace option[value="' + pace + '"]').attr('selected', 'selected');
|
||||
if(responsive == 1) {
|
||||
$('#responsive option[value="1"]').attr('selected', 'selected');
|
||||
} else if(responsive == 0) {
|
||||
$('#responsive option[value="0"]').attr('selected', 'selected');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$('#update_options').click(function(){
|
||||
$('#update_options').hide();
|
||||
$('#op_load').show();
|
||||
var favicon = $('#favicon').val();
|
||||
var loginbg = $('#loginbg').val();
|
||||
var bgblur = $('#bgblur').val();
|
||||
var logo = $('#logo').val();
|
||||
var pace = $('#pace').val();
|
||||
var responsive = $('#responsive').val();
|
||||
$.ajax({
|
||||
url: 'themes/Obsidian/config/config.php',
|
||||
type: 'POST',
|
||||
data: {
|
||||
favicon:favicon,
|
||||
loginbg:loginbg,
|
||||
bgblur:bgblur,
|
||||
logo:logo,
|
||||
pace:pace,
|
||||
responsive:responsive
|
||||
},
|
||||
success: function(data) {
|
||||
$('#op_load').hide();
|
||||
$('#update_options').show();
|
||||
alert('Updated Options successfully');
|
||||
},
|
||||
error: function(xhr, textStatus, error){
|
||||
console.log(xhr.statusText);
|
||||
console.log(textStatus);
|
||||
console.log(error);
|
||||
$('#op_load').hide();
|
||||
$('#update_options').show();
|
||||
alert("Failed to Update Options");
|
||||
}
|
||||
});
|
||||
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$('#fp').hover(function(){
|
||||
$('.preview-f img').attr('src', $('#favicon').val() + '?' + Math.random() );
|
||||
});
|
||||
$('#lbp').hover(function(){
|
||||
$('.preview-lb img').attr('src', $('#loginbg').val() + '?' + Math.random() );
|
||||
});
|
||||
$('#lp').hover(function(){
|
||||
$('.preview-l img').attr('src', $('#logo').val() + '?' + Math.random() );
|
||||
});
|
||||
});
|
||||
29
themes/Obsidian/modules/simple-billing/bill.css
Normal file
29
themes/Obsidian/modules/simple-billing/bill.css
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
tbody tr{
|
||||
background:#f1f9fb !important;
|
||||
padding-bottom:-30px !important;
|
||||
border:none !important;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
tbody tr td p b{
|
||||
color:#000000;
|
||||
padding-left:3px;
|
||||
text-transform: uppercase;
|
||||
margin-bottom:-20px;
|
||||
/*background-image: url(../../images/topBanner.png);*/
|
||||
}
|
||||
|
||||
table{
|
||||
background:#f1f9fb;
|
||||
}
|
||||
|
||||
tbody tr td{
|
||||
border:1px solid #E4F3F7 !important;
|
||||
background:#f1f9fb !important;
|
||||
padding-left:10px !important;
|
||||
padding-bottom:-30px !important;
|
||||
}
|
||||
|
||||
tbody tr td img{
|
||||
display: none;
|
||||
}
|
||||
38
themes/Obsidian/modules/simple-billing/cart.css
Normal file
38
themes/Obsidian/modules/simple-billing/cart.css
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
input[type="submit"] {
|
||||
padding: 2px 8px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
table {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
margin: 10px 0 15px;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 1px;
|
||||
border: 1px solid #0F1A26 !important;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: #0F1A26;
|
||||
font-size: 10pt;
|
||||
padding: 6px 5px;
|
||||
}
|
||||
|
||||
tr {
|
||||
color: #fff;
|
||||
padding: 6px 4px;
|
||||
background-color: #162535 !important;
|
||||
}
|
||||
|
||||
tr:nth-child(odd) {
|
||||
background-color: #111F2D !important;
|
||||
}
|
||||
td {
|
||||
padding: 5px 8px;
|
||||
text-align: center;
|
||||
}
|
||||
div.main-content center{
|
||||
padding-top: 50px;
|
||||
}
|
||||
39
themes/Obsidian/modules/simple-billing/orders.css
Normal file
39
themes/Obsidian/modules/simple-billing/orders.css
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
table.center tbody tr td{
|
||||
padding-top:10px;
|
||||
}
|
||||
|
||||
h4{
|
||||
color:#fff;
|
||||
margin-top:50px;
|
||||
border:none !important;
|
||||
background:none !important;
|
||||
font-size: 150%;
|
||||
margin-bottom:25px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
table {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
margin: 10px 0 15px;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 1px;
|
||||
border: 1px solid #0F1A26 !important;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: #0F1A26;
|
||||
font-size: 10pt;
|
||||
padding: 6px 5px;
|
||||
}
|
||||
|
||||
tr {
|
||||
color: #fff;
|
||||
padding: 6px 4px;
|
||||
background-color: #172839 !important;
|
||||
}
|
||||
|
||||
.tr1 {
|
||||
background-color: #111F2D !important;
|
||||
}
|
||||
70
themes/Obsidian/modules/simple-billing/shop.css
Normal file
70
themes/Obsidian/modules/simple-billing/shop.css
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
/* game image styling */
|
||||
input[type="image"]{
|
||||
margin-top:-15px;
|
||||
width:256px;
|
||||
height:256px;
|
||||
}
|
||||
|
||||
/* description image styling */
|
||||
img{
|
||||
width:256px;
|
||||
height:256px;
|
||||
}
|
||||
|
||||
/* cart image styling */
|
||||
a img{
|
||||
width:20px;
|
||||
height:20px;
|
||||
}
|
||||
|
||||
/* Game name below image */
|
||||
center {
|
||||
|
||||
}
|
||||
|
||||
/* pricing text */
|
||||
center em, .main-content > div:nth-child(2) > div:nth-child(1) > p:nth-child(3) {
|
||||
background-color:#37b799 !important;
|
||||
color:#fff !important;
|
||||
padding: 2px 8px;
|
||||
border-radius: 500px;
|
||||
}
|
||||
|
||||
.main-content{
|
||||
border:none;
|
||||
}
|
||||
|
||||
table.center{
|
||||
color:#379bb9;
|
||||
padding:10px;
|
||||
}
|
||||
|
||||
table.center tr td{
|
||||
padding-top:5px;
|
||||
color:#ffffff;
|
||||
cursor:default;
|
||||
}
|
||||
|
||||
a[href="?m=simple-billing&p=cart"]{
|
||||
text-decoration:none;
|
||||
background-color:#f39c12;
|
||||
padding-top:5px;
|
||||
padding-bottom:5px;
|
||||
padding-left:10px;
|
||||
padding-right:10px;
|
||||
color:#fff !important;
|
||||
border-radius:3px;
|
||||
}
|
||||
|
||||
a img{
|
||||
width: 22px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
a[href="?m=simple-billing&p=cart"]:before {
|
||||
content: "\f07a";
|
||||
font: normal normal normal 14px/1 FontAwesome;
|
||||
font-size: inherit;
|
||||
text-rendering: auto;
|
||||
padding-right: 5px;
|
||||
}
|
||||
7
themes/Obsidian/modules/simple-billing/shop.js
Normal file
7
themes/Obsidian/modules/simple-billing/shop.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
jQuery(function($){
|
||||
$('img').each(function() {
|
||||
if ($(this).attr('src') == 'images/cart.png') {
|
||||
$(this).remove();
|
||||
}
|
||||
});
|
||||
});
|
||||
70
themes/Obsidian/modules/simple-billing/shop_guest.css
Normal file
70
themes/Obsidian/modules/simple-billing/shop_guest.css
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
/* game image styling */
|
||||
input[type="image"]{
|
||||
margin-top:-15px;
|
||||
width:256px;
|
||||
height:256px;
|
||||
}
|
||||
|
||||
/* description image styling */
|
||||
img{
|
||||
width:256px;
|
||||
height:256px;
|
||||
}
|
||||
|
||||
/* cart image styling */
|
||||
a img{
|
||||
width:20px;
|
||||
height:20px;
|
||||
}
|
||||
|
||||
/* Game name below image */
|
||||
center {
|
||||
|
||||
}
|
||||
|
||||
/* pricing text */
|
||||
center em, .main-content > div:nth-child(2) > div:nth-child(1) > p:nth-child(3) {
|
||||
background-color:#37b799 !important;
|
||||
color:#fff !important;
|
||||
padding: 2px 8px;
|
||||
border-radius: 500px;
|
||||
}
|
||||
|
||||
.main-content{
|
||||
border:none;
|
||||
}
|
||||
|
||||
table.center{
|
||||
color:#379bb9;
|
||||
padding:10px;
|
||||
}
|
||||
|
||||
table.center tr td{
|
||||
padding-top:5px;
|
||||
color:#ffffff;
|
||||
cursor:default;
|
||||
}
|
||||
|
||||
a[href="?m=simple-billing&p=cart"]{
|
||||
text-decoration:none;
|
||||
background-color:#f39c12;
|
||||
padding-top:5px;
|
||||
padding-bottom:5px;
|
||||
padding-left:10px;
|
||||
padding-right:10px;
|
||||
color:#fff !important;
|
||||
border-radius:3px;
|
||||
}
|
||||
|
||||
a img{
|
||||
width: 22px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
a[href="?m=simple-billing&p=cart"]:before {
|
||||
content: "\f07a";
|
||||
font: normal normal normal 14px/1 FontAwesome;
|
||||
font-size: inherit;
|
||||
text-rendering: auto;
|
||||
padding-right: 5px;
|
||||
}
|
||||
11
themes/Obsidian/modules/simple-billing/shop_settings.css
Normal file
11
themes/Obsidian/modules/simple-billing/shop_settings.css
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
h4{
|
||||
width: 350px !important;
|
||||
background: transparent !important;
|
||||
border: none !important;
|
||||
border-bottom: 1px dotted #e4e6e5 !important;
|
||||
padding-bottom: 8px !important;
|
||||
font-size: 20px;
|
||||
font-weight: 200 !important;
|
||||
margin-bottom: 10px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
60
themes/Obsidian/modules/tickets/submitticket.css
Normal file
60
themes/Obsidian/modules/tickets/submitticket.css
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
.ticket_elementDiv input, select, textarea {
|
||||
padding: 4px !important;
|
||||
width: 96%;
|
||||
margin-bottom: 20px;
|
||||
float: none;
|
||||
}
|
||||
.ticket_buttonDiv input[type="submit"] {
|
||||
width: 100%;
|
||||
clear: none;
|
||||
}
|
||||
|
||||
.ticket_elementDiv label, input {float: left;}
|
||||
.ticket_elementDiv label { clear: left; }
|
||||
.ticket_elementDiv label { font-weight: bold; }
|
||||
.ticket_elementDiv label { width:70px; margin-left: 1%;}
|
||||
.ticketErrorHolder {
|
||||
padding: 15px;
|
||||
margin-bottom: 20px;
|
||||
margin-top: 20px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px;
|
||||
border-color: #d73925;
|
||||
background-color: #dd4b39 !important;
|
||||
}
|
||||
.ticketErrorHolder .failure {
|
||||
color: #fff;
|
||||
font-weight: bold
|
||||
}
|
||||
.ticketErrorList li {
|
||||
list-style-type: none;
|
||||
|
||||
}
|
||||
.ticketError {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#jsErrorBox { display: none; margin-bottom: 24px; }
|
||||
|
||||
.attachment_container { width: 100%; margin-top: 6px; }
|
||||
|
||||
.attachment_header { margin-bottom: 6px; font-weight: bold; font-size: 14px; }
|
||||
|
||||
.attachment_add { float: right; }
|
||||
.attachment_add button { padding: 10px 24px; }
|
||||
|
||||
.attachment_add button:disabled { cursor: not-allowed; }
|
||||
|
||||
.attachment_inputs { float: left; width: 80%; }
|
||||
.attachment_inputs input[type="file"] {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 10px 10px;
|
||||
margin-bottom: 6px;
|
||||
background-color: rgba(55,138,183,0.101);
|
||||
font-size: 16px;
|
||||
color: #a6a7a9;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.attachment_info { clear: both; margin-bottom: 6px; color: #777; }
|
||||
117
themes/Obsidian/modules/tickets/tickets.css
Normal file
117
themes/Obsidian/modules/tickets/tickets.css
Normal file
|
|
@ -0,0 +1,117 @@
|
|||
.no_tickets {
|
||||
padding: 12px;
|
||||
background-color: #e75630;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
border-radius: 3px;
|
||||
}
|
||||
a[href="?m=tickets&p=submitticket"] {
|
||||
padding: 4px 8px;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
margin: 0 2px;
|
||||
color: #fff !important;
|
||||
background-color: #37b799;
|
||||
border-color: #37b799;
|
||||
border: 2px solid #37b799;
|
||||
font-weight: normal !important;
|
||||
}
|
||||
a[href="?m=tickets&p=submitticket"]:hover {
|
||||
border:2px solid #248e75;
|
||||
background:#248e75!important;
|
||||
color:#eee;
|
||||
border-radius:2px
|
||||
}
|
||||
a[href="?m=tickets&p=submitticket"]:active {
|
||||
background-color:#204d74!important;
|
||||
border-color:#204d74
|
||||
}
|
||||
a[href="?m=tickets&p=submitticket"]:before {
|
||||
content: "\f055";
|
||||
font: normal normal normal 16px/1 FontAwesome;
|
||||
padding-right: 4px;
|
||||
}
|
||||
.ticketOptionLinks {
|
||||
padding: 4px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.ticketListTable {
|
||||
font-family: 'Open Sans',sans-serif;
|
||||
background-color: #0f1a26;
|
||||
margin: 10px 0 15px;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 1px;
|
||||
border-left: 1px solid #0f1a26;
|
||||
border-right: 1px solid #0f1a26;
|
||||
}
|
||||
|
||||
.ticketListTable th {
|
||||
background-color: #0f1a26;
|
||||
font-size: 10pt;
|
||||
padding: 10px 5px;
|
||||
}
|
||||
.ticketListTable tr {
|
||||
background-color: #162535;
|
||||
border-bottom: 1px solid rgba(15,26,38,0.6);
|
||||
}
|
||||
.ticketListTable tr:hover {
|
||||
background-color: #111f2d;
|
||||
}
|
||||
.ticketListTable td {
|
||||
color: #fff;
|
||||
padding: 8px 6px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.ticket_customer_response td:nth-child(2) {
|
||||
background-color: #f39c12;
|
||||
display: inline;
|
||||
padding: .2em .7em .3em;
|
||||
font-size: .8em;
|
||||
font-weight: 700;
|
||||
line-height: 3.3;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: .25em;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ticket_closed td:nth-child(2) {
|
||||
background-color: #888;
|
||||
display: inline;
|
||||
padding: .2em .7em .3em;
|
||||
font-size: .8em;
|
||||
font-weight: 700;
|
||||
line-height: 3.3;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: .25em;
|
||||
position: relative;
|
||||
}
|
||||
.ticket_open td:nth-child(2) {
|
||||
background-color: #3c8dbc;
|
||||
display: inline;
|
||||
padding: .2em .7em .3em;
|
||||
font-size: .8em;
|
||||
font-weight: 700;
|
||||
line-height: 3.3;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: .25em;
|
||||
position: relative;
|
||||
}
|
||||
.ticket_admin_response td:nth-child(2) {
|
||||
background-color: #00a65a;
|
||||
display: inline;
|
||||
padding: .2em .7em .3em;
|
||||
font-size: .8em;
|
||||
font-weight: 700;
|
||||
line-height: 3.3;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: .25em;
|
||||
position: relative;
|
||||
}
|
||||
.ticketPagination {}
|
||||
307
themes/Obsidian/modules/tickets/viewticket.css
Normal file
307
themes/Obsidian/modules/tickets/viewticket.css
Normal file
|
|
@ -0,0 +1,307 @@
|
|||
textarea[name="reply_content"] {
|
||||
width: 99% !important;
|
||||
}
|
||||
.divTable{
|
||||
border-spacing: 0px;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
.divTableRow {
|
||||
}
|
||||
.divTableHeading {
|
||||
background-color: #EEE;
|
||||
display: table-header-group;
|
||||
}
|
||||
.divTableCell, .divTableHead {
|
||||
border: 1px solid #0F1A26;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
.divTableHeading {
|
||||
background-color: #EEE;
|
||||
display: table-header-group;
|
||||
font-weight: bold;
|
||||
}
|
||||
.divTableFoot {
|
||||
background-color: #EEE;
|
||||
display: table-footer-group;
|
||||
font-weight: bold;
|
||||
}
|
||||
.infoblock_ticket {
|
||||
width: 20%;
|
||||
background-color: #0f1a26;
|
||||
text-align: right;
|
||||
}
|
||||
.contentblock_ticket {
|
||||
|
||||
}
|
||||
.ticket_ReplyBox {
|
||||
margin-top:12px;
|
||||
border-bottom: 1px dashed #0F1A26;
|
||||
}
|
||||
input[name="ticket_close"] {
|
||||
background-color: #e74c3c !important;
|
||||
border: 2px solid #e74c3c !important;
|
||||
}
|
||||
input[name="ticket_close"]:hover {
|
||||
background-color: #c0392b !important;
|
||||
border: 2px solid #c0392b !important;
|
||||
}
|
||||
.ticket_button {
|
||||
margin: 8px 0 6px 0 !important;
|
||||
}
|
||||
.ticket_admin_button {
|
||||
margin: 8px 0 4px 0 !important;
|
||||
float: right;
|
||||
clear: both;
|
||||
}
|
||||
.no_ticket_replies {
|
||||
padding: 12px;
|
||||
background-color: #e75630;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.ticket_reply .user:after {
|
||||
content: "\f007";
|
||||
font: normal normal normal 40px/1 FontAwesome;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.ticket_reply .admin:after {
|
||||
content: "\f2be";
|
||||
font: normal normal normal 38px/1 FontAwesome;
|
||||
position: absolute;
|
||||
margin-left: -40px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
.ticket_reply {
|
||||
margin: 10px 0 20px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.ticket_reply.admin {
|
||||
text-align: right;
|
||||
}
|
||||
.ticket_reply.admin .message{
|
||||
margin-right: 60px;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.ticket_reply .date:after {
|
||||
content: "\f017";
|
||||
font: normal normal normal 14px/1 FontAwesome;
|
||||
margin-left: 5px;
|
||||
}
|
||||
.ticket_reply .date {
|
||||
float: right;
|
||||
padding: 8px 10px;
|
||||
font-size: .9em;
|
||||
color: #aaa;
|
||||
}
|
||||
.ticket_reply.admin .date {
|
||||
float: left;
|
||||
}
|
||||
.ticket_reply .admin {
|
||||
text-align: right;
|
||||
}
|
||||
.ticket_reply .user {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.ticket_reply .admin {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.ticket_reply .user .name {
|
||||
display: block;
|
||||
font-size: .9em;
|
||||
}
|
||||
|
||||
.ticket_reply .admin .name {
|
||||
display: block;
|
||||
font-size: .9em;
|
||||
}
|
||||
|
||||
.ticket_reply .user .type {
|
||||
display: block;
|
||||
font-weight: 700;
|
||||
font-size: .8em;
|
||||
color: #ffa139;
|
||||
}
|
||||
|
||||
.ticket_reply .admin .type {
|
||||
display: block;
|
||||
font-weight: 700;
|
||||
font-size: .8em;
|
||||
color: #03f888;
|
||||
}
|
||||
.ticket_reply .message:before {
|
||||
border-width: 6px !important;
|
||||
margin-top: -6px !important;
|
||||
}
|
||||
.ticket_reply.admin .message:before {
|
||||
right: auto;
|
||||
left: 100%;
|
||||
border-right-color: transparent;
|
||||
border-left-color: #00a65a;
|
||||
}
|
||||
.ticket_reply .message:before {
|
||||
position: absolute;
|
||||
right: 100%;
|
||||
top: 15px;
|
||||
border: solid transparent;
|
||||
border-right-color: #e07600;
|
||||
content: ' ';
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.ticket_reply.admin .message {
|
||||
background-color: #00a65a;
|
||||
border-color: #00a65a;
|
||||
}
|
||||
.ticket_reply .message {
|
||||
border-radius: 5px;
|
||||
position: relative;
|
||||
padding: 5px 10px;
|
||||
background: #e07600;
|
||||
border: 1px solid #e07600;
|
||||
margin: 0px 0 0 50px;
|
||||
color: #fff;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.ticket_footer {
|
||||
margin-top:15px;
|
||||
padding: 8px 10px;
|
||||
border-bottom: 1px solid #0F1A26;
|
||||
}
|
||||
.ticketErrorHolder {
|
||||
padding: 15px;
|
||||
margin-bottom: 20px;
|
||||
margin-top: 20px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px;
|
||||
border-color: #d73925;
|
||||
background-color: #dd4b39 !important;
|
||||
}
|
||||
.ticketErrorHolder .failure {
|
||||
color: #fff;
|
||||
font-weight: bold
|
||||
}
|
||||
.ticketErrorList li {
|
||||
list-style-type: none;
|
||||
|
||||
}
|
||||
.ticketError {
|
||||
text-align: left;
|
||||
}
|
||||
div.stars {
|
||||
width: 270px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
input.star {
|
||||
display: none;
|
||||
}
|
||||
|
||||
label.star {
|
||||
float: right;
|
||||
color: #444;
|
||||
transition: all .2s;
|
||||
font-size: 18px;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
input.star:checked ~ label.star:before {
|
||||
content: '\2605';
|
||||
color: #FD4;
|
||||
transition: all .25s;
|
||||
}
|
||||
|
||||
input.star-5:checked ~ label.star:before {
|
||||
|
||||
}
|
||||
|
||||
input.star-1:checked ~ label.star:before {
|
||||
color: #F62;
|
||||
}
|
||||
|
||||
label.star:hover {
|
||||
transform: rotate(-15deg) scale(1.3);
|
||||
}
|
||||
|
||||
label.star:before {
|
||||
content: '\2605';
|
||||
}
|
||||
.ticket_closed {
|
||||
padding: 12px;
|
||||
margin: 8px 0;
|
||||
background-color: #96979b;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.ticket_ReplyBox.status_ticket_closed {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ticket_reply_notice {
|
||||
cursor: pointer;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
background-color: #0073b7;
|
||||
color: #fff;
|
||||
padding: 12px;
|
||||
font-size: 14px;
|
||||
margin: 8px 0;
|
||||
border-radius: 3px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.ticket_reply_notice .left, .ticket_reply_notice .center, .ticket_reply_notice .right {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.ticket_reply_notice .left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.ticket_reply_notice .right {
|
||||
font-weight: bold;
|
||||
font-size: 25px;
|
||||
float: right;
|
||||
height: 0;
|
||||
margin-top: -7px;
|
||||
}
|
||||
|
||||
.clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#jsErrorBox { display: none; margin-bottom: 24px; }
|
||||
|
||||
.attachment_container { width: 100%; margin-top: 6px; }
|
||||
|
||||
.attachment_header { margin-bottom: 6px; font-weight: bold; font-size: 14px; }
|
||||
|
||||
.attachment_add { float: right; }
|
||||
.attachment_add button { padding: 10px 24px; }
|
||||
|
||||
.attachment_add button:disabled { cursor: not-allowed; }
|
||||
|
||||
.attachment_inputs { float: left; width: 80%; }
|
||||
.attachment_inputs input[type="file"] {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 10px 10px;
|
||||
margin-bottom: 6px;
|
||||
background-color: rgba(55,138,183,0.101);
|
||||
font-size: 16px;
|
||||
color: #a6a7a9;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.attachment_info { clear: both; margin-bottom: 6px; color: #777; }
|
||||
24
themes/Obsidian/modules/tickets/viewticket.js
Normal file
24
themes/Obsidian/modules/tickets/viewticket.js
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
jQuery(function($){
|
||||
$('.divTable').each(function() {
|
||||
$('.divTableCell.infoblock_ticket').each(function(){
|
||||
$(this).replaceWith('<td class="divTableCell infoblock_ticket">'+$(this).html()+'</td>');
|
||||
});
|
||||
$('.divTableCell.contentblock_ticket').each(function(){
|
||||
$(this).replaceWith('<td class="divTableCell contentblock_ticket">'+$(this).html()+'</td>');
|
||||
});
|
||||
$('.divTableRow').each(function(){
|
||||
$(this).replaceWith('<tr class="divTableRow">'+$(this).html()+'</tr>');
|
||||
});
|
||||
$('.divTableBody').each(function(){
|
||||
$(this).replaceWith('<tbody class="divTableBody">'+$(this).html()+'</tbody>');
|
||||
});
|
||||
$('.divTable').each(function(){
|
||||
$(this).replaceWith('<table class="divTable">'+$(this).html()+'</table>');
|
||||
});
|
||||
});
|
||||
|
||||
$('.message').each(function() {
|
||||
$(this).contents().wrapAll("<span class='message'></span>");
|
||||
$(this).contents().unwrap();
|
||||
});
|
||||
});
|
||||
30
themes/Obsidian/modules/update/update.css
Normal file
30
themes/Obsidian/modules/update/update.css
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
.success {
|
||||
background-color: #20aa52;
|
||||
display: inline;
|
||||
padding: .2em .6em .3em;
|
||||
font-size: 78%;
|
||||
font-weight: 700;
|
||||
line-height: 2.5;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: baseline;
|
||||
border-radius: .25em;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
.failure {
|
||||
background-color: #dd4b39;
|
||||
display: inline;
|
||||
padding: .2em .6em .3em;
|
||||
font-size: 78%;
|
||||
font-weight: 700;
|
||||
line-height: 2.5;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: baseline;
|
||||
border-radius: .25em;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
40
themes/Obsidian/modules/update/updating.css
Normal file
40
themes/Obsidian/modules/update/updating.css
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
h4{
|
||||
background-color:transparent;
|
||||
text-transform:uppercase;
|
||||
text-align:left;
|
||||
margin:0;
|
||||
font-size: 22px;
|
||||
font-weight: 300;
|
||||
}
|
||||
.success {
|
||||
background-color: #20aa52;
|
||||
display: inline;
|
||||
padding: .2em .6em .3em;
|
||||
font-size: 78%;
|
||||
font-weight: 700;
|
||||
line-height: 2.5;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: baseline;
|
||||
border-radius: .25em;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
margin-right: 100%;
|
||||
}
|
||||
.failure {
|
||||
background-color: #dd4b39;
|
||||
display: inline;
|
||||
padding: .2em .6em .3em;
|
||||
font-size: 78%;
|
||||
font-weight: 700;
|
||||
line-height: 2.5;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: baseline;
|
||||
border-radius: .25em;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
margin-right: 100%;
|
||||
}
|
||||
67
themes/Obsidian/modules/user_admin/show_groups.css
Normal file
67
themes/Obsidian/modules/user_admin/show_groups.css
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
table:nth-child(3) {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
margin: 10px 0 15px;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 1px;
|
||||
border: 1px solid #0F1A26 !important;
|
||||
}
|
||||
table tbody tr.tr0 td {
|
||||
background-color: #0F1A26;
|
||||
font-size: 10pt;
|
||||
padding: 6px 5px;
|
||||
}
|
||||
table:nth-child(3) tbody tr {
|
||||
color: #fff;
|
||||
padding: 6px 4px;
|
||||
background-color: #162535 !important;
|
||||
}
|
||||
table:nth-child(3) tbody tr:nth-child(odd) {
|
||||
background-color: #111F2D !important;
|
||||
}
|
||||
table:nth-child(3) tbody tr td {
|
||||
padding: 5px 8px;
|
||||
text-align: center;
|
||||
}
|
||||
.mini-btn {
|
||||
padding: 1px 4px;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
margin: 0 2px;
|
||||
font-weight: normal !important;
|
||||
color: #fff !important;
|
||||
background-color: #37b799;
|
||||
border: 2px solid #37b799;
|
||||
font-size: 11px;
|
||||
transition: all 0ms !important;
|
||||
}
|
||||
.mini-btn:hover {
|
||||
border: 2px solid #248E75;
|
||||
background: #248E75 !important;
|
||||
}
|
||||
.mini-btn:active {
|
||||
border: 2px solid #204d74 !important;
|
||||
background: #204d74 !important;
|
||||
}
|
||||
.mini-btn:before {
|
||||
content: "\f067";
|
||||
}
|
||||
.red-btn {
|
||||
background-color: #e74c3c !important;
|
||||
border: 2px solid #e74c3c !important;;
|
||||
}
|
||||
.red-btn:before {
|
||||
content: "\f00d";
|
||||
}
|
||||
.red-btn:hover {
|
||||
background-color: #c0392b !important;;
|
||||
border: 2px solid #c0392b !important;;
|
||||
}
|
||||
|
||||
.mini-btn:before {
|
||||
font: normal normal normal 14px/1 FontAwesome;
|
||||
font-size: inherit;
|
||||
text-rendering: auto;
|
||||
padding-right: 2px;
|
||||
}
|
||||
11
themes/Obsidian/modules/user_admin/show_groups.js
Normal file
11
themes/Obsidian/modules/user_admin/show_groups.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
jQuery(function($){
|
||||
$( "table.center:nth-child(3) > tbody > tr > td:nth-child(1)" ).each(function( index ) {
|
||||
$( this ).find( "a" ).addClass('mini-btn'); //gives button look
|
||||
$( this ).find( "br" ).remove();
|
||||
$( this ).find( "a:eq(1)" ).addClass('red-btn'); //gives red color to buttons
|
||||
});
|
||||
|
||||
$('.mini-btn').each(function() {
|
||||
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
||||
});
|
||||
})
|
||||
84
themes/Obsidian/modules/user_admin/user_admin.css
Normal file
84
themes/Obsidian/modules/user_admin/user_admin.css
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
table {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
margin: 10px 0 15px;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 1px;
|
||||
border: 1px solid #0F1A26 !important;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: #0F1A26;
|
||||
font-size: 10pt;
|
||||
padding: 6px 5px;
|
||||
}
|
||||
|
||||
tr {
|
||||
color: #fff;
|
||||
padding: 6px 4px;
|
||||
background-color: #162535 !important;
|
||||
}
|
||||
|
||||
.tr1 {
|
||||
background-color: #111F2D !important;
|
||||
}
|
||||
|
||||
.actions {
|
||||
padding: 4px 0px;
|
||||
}
|
||||
|
||||
.mini-btn {
|
||||
padding: 1px 4px;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
margin: 2px;
|
||||
font-weight: normal !important;
|
||||
color: #fff !important;
|
||||
background-color: #37b799;
|
||||
border: 2px solid #37b799;
|
||||
font-size: 11px;
|
||||
transition: all 0ms !important;
|
||||
float: left;
|
||||
}
|
||||
.mini-btn:hover {
|
||||
border: 2px solid #248E75;
|
||||
background: #248E75 !important;
|
||||
}
|
||||
.mini-btn:active {
|
||||
border: 2px solid #204d74 !important;
|
||||
background: #204d74 !important;
|
||||
}
|
||||
.mini-btn:before {
|
||||
content: "\f044";
|
||||
}
|
||||
.yellow-btn {
|
||||
background-color: #f1c40f !important;
|
||||
border: 2px solid #f1c40f !important;
|
||||
}
|
||||
|
||||
.yellow-btn:hover {
|
||||
background-color: #f39c12 !important;
|
||||
border: 2px solid #f39c12 !important;
|
||||
}
|
||||
.yellow-btn:before {
|
||||
content: "\f00c";
|
||||
}
|
||||
.red-btn {
|
||||
background-color: #e74c3c !important;
|
||||
border: 2px solid #e74c3c !important;
|
||||
}
|
||||
.red-btn:before {
|
||||
content: "\f00d";
|
||||
}
|
||||
.red-btn:hover {
|
||||
background-color: #c0392b !important;
|
||||
border: 2px solid #c0392b !important;
|
||||
}
|
||||
|
||||
.mini-btn:before {
|
||||
font: normal normal normal 14px/1 FontAwesome;
|
||||
font-size: inherit;
|
||||
text-rendering: auto;
|
||||
padding-right: 2px;
|
||||
}
|
||||
19
themes/Obsidian/modules/user_admin/user_admin.js
Normal file
19
themes/Obsidian/modules/user_admin/user_admin.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
jQuery(function($){
|
||||
$('.actions > a:nth-child(1)').each(function() {
|
||||
$(this).addClass('yellow-btn'); //gives yellow color to buttons
|
||||
});
|
||||
|
||||
$( ".actions" ).each(function( index ) {
|
||||
$( this ).find( "a:eq(1)" ).addClass('red-btn'); //gives red color to buttons
|
||||
});
|
||||
|
||||
$('.actions > a').each(function() {
|
||||
$(this).addClass('mini-btn'); //gives links a mini button style
|
||||
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
||||
});
|
||||
|
||||
$('.actions > br').each(function() {
|
||||
$(this).remove();
|
||||
});
|
||||
})
|
||||
50
themes/Obsidian/modules/user_games/assign.css
Normal file
50
themes/Obsidian/modules/user_games/assign.css
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
table {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
margin: 10px 0 15px;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 1px;
|
||||
border: 1px solid #0F1A26 !important;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: #0F1A26;
|
||||
font-size: 10pt;
|
||||
padding: 6px 5px;
|
||||
}
|
||||
|
||||
tr {
|
||||
color: #fff;
|
||||
padding: 6px 4px;
|
||||
background-color: #162535 !important;
|
||||
}
|
||||
|
||||
.tr1 {
|
||||
background-color: #111F2D !important;
|
||||
}
|
||||
|
||||
.actions {
|
||||
padding: 4px 0px;
|
||||
}
|
||||
|
||||
input[type="submit"] {
|
||||
padding: 1px 4px;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
margin: 2px;
|
||||
font-weight: normal !important;
|
||||
color: #fff !important;
|
||||
background-color: #37b799;
|
||||
border: 2px solid #37b799;
|
||||
font-size: 11px;
|
||||
transition: all 0ms !important;
|
||||
}
|
||||
input[type="submit"]:hover {
|
||||
border: 2px solid #248E75;
|
||||
background: #248E75 !important;
|
||||
}
|
||||
input[type="submit"]:active {
|
||||
border: 2px solid #204d74 !important;
|
||||
background: #204d74 !important;
|
||||
}
|
||||
1
themes/Obsidian/modules/user_games/edit.css
Normal file
1
themes/Obsidian/modules/user_games/edit.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
select[style^="background: rgb(189, 242, 162)"],input[style^="background: rgb(189, 242, 162)"]{background:rgba(32,170,82,0.7)!important}select[style^="background: rgb(254, 156, 177)"],input[style^="background: rgb(254, 156, 177)"]{background:rgba(221,75,57,0.7)!important}.failure{background-color:#dd4b39;display:inline;padding:.2em .6em .3em;font-size:78%;font-weight:700;line-height:2.5;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;position:relative;top:-2px}#mods table{font-family:'Open Sans',sans-serif;margin:10px 0 15px;text-align:left;border-collapse:collapse;border-spacing:1px;border:1px solid #0f1a26!important}#mods tr:nth-child(1) td{background-color:#0f1a26;font-size:10pt;padding:6px 5px}#mods tr{color:#fff;padding:6px 4px;background-color:#162535!important}#mods td{padding:5px 8px;color:#fff;border-bottom:1px solid #0f1a26}#mods tr td br{display:none}.mini-btn,a[href*="submit=delete_mod"],a[href*="install_cmds"]{padding:1px 4px;border-radius:2px;cursor:pointer;margin:2px;font-weight:normal!important;color:#fff!important;background-color:#37b799;border:2px solid #37b799;font-size:11px;transition:all 0ms!important}.mini-btn:hover,a[href*="install_cmds"]:hover{border:2px solid #248e75;background:#248e75!important}.mini-btn:active,a[href*="submit=delete_mod"]:active,a[href*="install_cmds"]:active{border:2px solid #204d74!important;background:#204d74!important}.red-btn,a[href*="submit=delete_mod"]{background-color:#e74c3c!important;border:2px solid #e74c3c!important}.red-btn:before{font:normal normal normal 14px/1 FontAwesome;content:"\f00d"}.red-btn:hover,a[href*="submit=delete_mod"]:hover{background-color:#c0392b!important;border:2px solid #c0392b!important}
|
||||
9
themes/Obsidian/modules/user_games/edit.js
Normal file
9
themes/Obsidian/modules/user_games/edit.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
jQuery(function($){
|
||||
|
||||
$( "a[href*='delete_ip']" ).each(function( index ) {
|
||||
$(this).addClass('mini-btn'); //gives links a mini button style
|
||||
$( this ).addClass('red-btn'); //gives red color to buttons
|
||||
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
||||
});
|
||||
})
|
||||
1
themes/Obsidian/modules/user_games/user_games.css
Normal file
1
themes/Obsidian/modules/user_games/user_games.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
.main-content>table:nth-child(2),.main-content>table:nth-child(2) tr{background-color:transparent!important;border-color:transparent!important}table{font-family:'Open Sans',sans-serif;margin:10px 0 15px;width:100%;text-align:left;border-collapse:collapse;border-spacing:1px;border:1px solid #0f1a26!important}th{background-color:#0f1a26;font-size:10pt;padding:6px 5px}tr{color:#fff;padding:6px 4px;background-color:#162535!important}.tr1{background-color:#111f2d!important}.actions{padding:4px 0}.mini-btn,a[href="?m=user_games&p=add"],.size,.total{padding:1px 4px;border-radius:2px;cursor:pointer;margin:2px;font-weight:normal!important;color:#fff!important;background-color:#37b799;border:2px solid #37b799;font-size:11px;transition:all 0ms!important;float:left}.mini-btn:hover,a[href="?m=user_games&p=add"]:hover,.size:hover,.total:hover{border:2px solid #248e75;background:#248e75!important}.mini-btn:active,a[href="?m=user_games&p=add"]:active,.size:active,.total:active{border:2px solid #204d74!important;background:#204d74!important}.mini-btn:before{content:"\f24d"}.yellow-btn{background-color:#f1c40f!important;border:2px solid #f1c40f!important}.yellow-btn:hover{background-color:#f39c12!important;border:2px solid #f39c12!important}.yellow-btn:before{content:"\f044"}.red-btn{background-color:#e74c3c!important;border:2px solid #e74c3c!important}.red-btn:before{content:"\f00d"}.red-btn:hover{background-color:#c0392b!important;border:2px solid #c0392b!important}.mini-btn:before{font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;padding-right:2px}table,tr:last-child{background-color:#0f1a26!important}tr:last-child td{padding:8px 0}
|
||||
18
themes/Obsidian/modules/user_games/user_games.js
Normal file
18
themes/Obsidian/modules/user_games/user_games.js
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
jQuery(function($){
|
||||
$('tr > td:last-child > a:nth-child(1)').each(function() {
|
||||
$(this).addClass('red-btn'); //gives yellow color to buttons
|
||||
});
|
||||
|
||||
$( "tr > td:last-child" ).each(function( index ) {
|
||||
$( this ).find( "a:eq(1)" ).addClass('yellow-btn'); //gives red color to buttons
|
||||
});
|
||||
|
||||
$('tr > td > a').each(function() {
|
||||
$(this).addClass('mini-btn'); //gives links a mini button style
|
||||
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
||||
});
|
||||
$('tr > td > div').each(function() {
|
||||
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
||||
});
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue