mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
finish custom accent color feature
This commit is contained in:
@ -233,7 +233,7 @@ form *, select {
|
||||
}
|
||||
|
||||
.nav-tabs .nav-link.active:hover {
|
||||
opacity: 0.75;
|
||||
background-color: darken($primary, 10%);
|
||||
}
|
||||
|
||||
.nav-tabs .nav-item {
|
||||
|
@ -77,7 +77,7 @@
|
||||
}
|
||||
|
||||
.level-bgcolor-owner, .level-bgcolor-6 {
|
||||
background-color: rgb(0, 122, 204);
|
||||
background-color: $primary;
|
||||
}
|
||||
|
||||
.level-color-8 {
|
||||
@ -140,10 +140,13 @@
|
||||
}
|
||||
|
||||
#profile_aliases_btn:hover {
|
||||
opacity: 0.75;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.oi:hover {
|
||||
color: darken($primary, 10%) !important;
|
||||
}
|
||||
|
||||
#profile_aliases {
|
||||
position: relative;
|
||||
display: none;
|
||||
|
@ -55,7 +55,7 @@ $('.server-history-row').each(function (index, element) {
|
||||
let clientHistory = $(this).data('clienthistory');
|
||||
let serverId = $(this).data('serverid');
|
||||
let maxClients = parseInt($('#server_header_' + serverId + ' .server-maxclients').text());
|
||||
let primaryColor = document.documentElement.style.getPropertyValue('--primary');
|
||||
let primaryColor = window.getComputedStyle(document.body).getPropertyValue('--primary').trim();
|
||||
let color = $(this).data('online') === 'True' ? primaryColor.endsWith('80') ? primaryColor : primaryColor + '80' : '#ff6060';
|
||||
let width = $('.server-header').first().width();
|
||||
let historyChart = getPlayerHistoryChart(clientHistory, serverId, width, color, maxClients);
|
||||
|
@ -20,7 +20,7 @@
|
||||
if (interval < 1)
|
||||
interval = 1;
|
||||
|
||||
let primaryColor = document.documentElement.style.getPropertyValue('--primary');
|
||||
let primaryColor = window.getComputedStyle(document.body).getPropertyValue('--primary').trim();
|
||||
|
||||
return new CanvasJS.Chart(id, {
|
||||
backgroundColor: 'transparent',
|
||||
|
Reference in New Issue
Block a user