HEX
Server: Apache
System: Linux c119.dattaweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: c1190199 (57165)
PHP: 7.4.33
Disabled: mail, system, shell, exec, system_exec, shell_exec, mysql_pconnect, passthru, popen, proc_open, proc_close, proc_nice, proc_terminate, proc_get_status, escapeshellarg, escapeshellcmd, eval, dl, imap_mail, libvirt_connect, gnupg_init, unsetenv, apache_setenv, pcntl_exec, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_get_handler, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_getpriority, pcntl_setpriority, pcntl_async_signals, opcache_get_status, opcache_reset, opcache_get_configuration
Upload Files
File: /home/c1190199/public_html/wp-content/themes/directory/functions/easy-admin/easy-admin-login.css
body.login                          { background: #ffffff; margin-top: 0; }
.login h1 a                         { padding-bottom: 0; background-size: auto; width: 274px; }
.login form                         { background: #fbfbfb; box-shadow: none; margin: 0 0 20px 0; }
.login #loginform input             { background: #ffffff; box-shadow: none; border-radius: 0; border-color: #D5D5D5; }
.login #loginform input:focus       { border-color: #D5D5D5; }
.login #loginform input#wp-submit   { font-weight: bold; text-shadow: none; border: none; border-bottom; border-radius: 5px; }
.login form .forgetmenot label      { line-height: 27px; }

.login #nav                         { display: block; float: right; margin: 0; padding: 0; }
.login #backtoblog                  { display: block; float: left; margin: 0; padding: 0; }

.login .message                     { margin-left: 0; }

/* ======================================================== 
    MODIFICATIONS BASED ON CONFIG
   ======================================================== */

<?php 

function adjustBrightness($hex, $steps) {
    // Steps should be between -255 and 255. Negative = darker, positive = lighter
    $steps = max(-255, min(255, $steps));

    // Format the hex color string
    $hex = str_replace('#', '', $hex);
    if (strlen($hex) == 3) {
        $hex = str_repeat(substr($hex,0,1), 2).str_repeat(substr($hex,1,1), 2).str_repeat(substr($hex,2,1), 2);
    }

    // Get decimal values
    $r = hexdec(substr($hex,0,2));
    $g = hexdec(substr($hex,2,2));
    $b = hexdec(substr($hex,4,2));

    // Adjust number of steps and keep it inside 0 to 255
    $r = max(0,min(255,$r + $steps));
    $g = max(0,min(255,$g + $steps));  
    $b = max(0,min(255,$b + $steps));

    $r_hex = str_pad(dechex($r), 2, '0', STR_PAD_LEFT);
    $g_hex = str_pad(dechex($g), 2, '0', STR_PAD_LEFT);
    $b_hex = str_pad(dechex($b), 2, '0', STR_PAD_LEFT);

    return '#'.$r_hex.$g_hex.$b_hex;
}

?>

<?php if(!empty($GLOBALS['aitThemeOptions']->general->logo_img)) { ?>
h1 a { background: url('<?php echo $GLOBALS['aitThemeOptions']->general->logo_img; ?>') no-repeat top center !important; } 
<?php } ?>

<?php if(!empty($GLOBALS['aitThemeOptions']->colors->firstThemeColor)) { ?>

.login #loginform input#wp-submit { <?php echo "background:" . $GLOBALS['aitThemeOptions']->colors->firstThemeColor . 
                                             "; border-bottom: 3px solid " . adjustBrightness($GLOBALS['aitThemeOptions']->colors->firstThemeColor, -30) . ";"; ?> }
<?php } ?>

<?php if(!empty($GLOBALS['aitThemeOptions']->fonts->linksFontColor)) { ?>
.login #nav a, .login #backtoblog a               { color: <?php echo $GLOBALS['aitThemeOptions']->fonts->linksFontColor; ?> !important; }
.login #nav a:hover, .login #backtoblog a:hover   { color: <?php echo adjustBrightness($GLOBALS['aitThemeOptions']->fonts->linksFontColor, -50); ?> !important; }
<?php } ?>