Files
roi-theme/wp-content/plugins/ajax-search-pro/backend/tabs/instance/theme/custom_css.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

62 lines
2.5 KiB
PHP
Executable File

<p class='infoMsg'>
<?php echo __('This css will be added into the site header as embedded CSS', 'ajax-search-pro'); ?>
</p>
<div class="item">
<?php
$option_name = "custom_css";
$option_desc = __('Custom CSS', 'ajax-search-pro');
$o = new wd_Textarea_B64($option_name, $option_desc, $sd[$option_name]);
$params[$o->getName()] = $o->getData();
?>
</div>
<div class="item" style="display:none !important;">
<?php
$option_name = "custom_css_h";
$option_desc = "";
$o = new wd_Textarea_B64($option_name, $option_desc, $sd[$option_name]);
$params[$o->getName()] = $o->getData();
?>
</div>
<div class="item">
<?php
$o = new wpdreamsText("res_z_index", __('Results box z-index', 'ajax-search-pro'), $sd['res_z_index']);
$params[$o->getName()] = $o->getData();
?>
<p class="descMsg">
<?php echo __('In case you have some other elements floating above/below the results, you can adjust it\'s position with the z-index.', 'ajax-search-pro'); ?>
</p>
</div>
<div class="item">
<?php
$o = new wpdreamsText("sett_z_index", __('Settings drop-down box z-index', 'ajax-search-pro'), $sd['sett_z_index']);
$params[$o->getName()] = $o->getData();
?>
<p class="descMsg">
<?php echo __('In case you have some other elements floating above/below the settings drop-down, you can adjust it\'s position with the z-index.', 'ajax-search-pro'); ?>
</p>
</div>
<fieldset>
<legend><?php _e('Media Query Options','ajax-search-pro'); ?></legend>
<div class="infoMsg">
<?php _e('These options adjust the media query breakpoints. These are applied for certain options where you can set device specific values - such as the search width.','ajax-search-pro'); ?>
</div>
<div class="item">
<?php
$o = new wpdreamsTextSmall("media_query_mobile_max_width", __('Mobile device max-width', 'ajax-search-pro'), $sd['media_query_mobile_max_width']);
$params[$o->getName()] = $o->getData();
?>px
<p class="descMsg">
<?php echo __('If a device max resolution width does not reach this width, it is considered as mobile device.', 'ajax-search-pro'); ?>
</p>
</div>
<div class="item">
<?php
$o = new wpdreamsTextSmall("media_query_tablet_max_width", __('Tablet device max-width', 'ajax-search-pro'), $sd['media_query_tablet_max_width']);
$params[$o->getName()] = $o->getData();
?>px
<p class="descMsg">
<?php echo __('If a device max resolution is bigger than the mobile, but does not reach this resolution, it is considered as tablet device.', 'ajax-search-pro'); ?>
</p>
</div>
</fieldset>