Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /home/www/calvetrealty.com/wp-content/plugins/divi-pixel/public/partials/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/www/calvetrealty.com/wp-content/plugins/divi-pixel/public/partials/scrollbar-partial.php
<?php
namespace DiviPixel;

$browser_scrollbar_background = DIPI_Customizer::get_option('browser_scrollbar_background');
$browser_scrollbar_color = DIPI_Customizer::get_option('browser_scrollbar_color');
$browser_scrollbar_width = DIPI_Customizer::get_option('browser_scrollbar_width');
$browser_scrollbar_radius = DIPI_Customizer::get_option('browser_scrollbar_radius');
$browser_scrollbar_shadow = DIPI_Customizer::get_option('browser_scrollbar_shadow');
$browser_scrollbar_shadow_color = DIPI_Customizer::get_option('browser_scrollbar_shadow_color');
$browser_scrollbar_shadow_offset = DIPI_Customizer::get_option('browser_scrollbar_shadow_offset');
$browser_scrollbar_shadow_blur = DIPI_Customizer::get_option('browser_scrollbar_shadow_blur'); //FIXME: Default was '6'
?>

<style type="text/css">

body::-webkit-scrollbar {
	width: <?php echo esc_html($browser_scrollbar_width); ?>px;
	background-color: <?php echo esc_html($browser_scrollbar_background); ?>;
	outline: none;
}

body::-webkit-scrollbar-thumb {
	border-radius: <?php echo esc_html($browser_scrollbar_radius); ?>px;
	background-color: <?php echo esc_html($browser_scrollbar_color); ?>;
}

body::-webkit-scrollbar-track {
	background-color: <?php echo esc_html($browser_scrollbar_background); ?>;
	border-radius: 0px;
}

<?php if(true === $browser_scrollbar_shadow || 1 ==  $browser_scrollbar_shadow) : ?>
body::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 <?php echo esc_html($browser_scrollbar_shadow_offset); ?>px <?php echo esc_html($browser_scrollbar_shadow_blur); ?>px <?php echo esc_html($browser_scrollbar_shadow_color); ?>;
}
<?php endif; ?>
</style>

Hry