mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Theme: Set select password fields to monospace font when revealed. New input_text_font_password setting to control default font.
This commit is contained in:
@@ -2024,6 +2024,14 @@
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the font of text input content.";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "dbfa8a1a-51e5-4274-949c-e84f29e831f1";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "theme";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "input_text_font_password";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "monospace";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the font of password text input content.";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "848fd70e-bbba-4f43-ac5d-897229bb19c8";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "theme";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "input_text_color";
|
||||
|
||||
@@ -119,6 +119,7 @@ $heading_text_size = $settings->get('theme', 'heading_text_size', '15px');
|
||||
$heading_text_font = $settings->get('theme', 'heading_text_font', 'arial');
|
||||
$input_height = $settings->get('theme', 'input_height', '28px');
|
||||
$input_text_font = $settings->get('theme', 'input_text_font', 'Arial');
|
||||
$input_text_font_password = $settings->get('theme', 'input_text_font_password', 'monospace');
|
||||
$input_text_size = $settings->get('theme', 'input_text_size', '12px');
|
||||
$input_text_color = $settings->get('theme', 'input_text_color', '#000');
|
||||
$input_text_placeholder_color = $settings->get('theme', 'input_text_placeholder_color', '#999999; opacity: 1.0;');
|
||||
@@ -1885,6 +1886,12 @@ else { //default: white
|
||||
-webkit-transition: all 0.25s ease;
|
||||
}
|
||||
|
||||
input[type=text].txt.password,
|
||||
input[type=text].formfld.password {
|
||||
font-family: <?=$input_text_font_password?> !important;
|
||||
max-width: 164px;
|
||||
}
|
||||
|
||||
select.txt,
|
||||
select.formfld {
|
||||
padding: 4px 2px;
|
||||
|
||||
Reference in New Issue
Block a user