2017-06-13 07:09:36 +02:00
< ? php
2020-03-18 03:31:29 +01:00
2022-10-11 00:35:14 +02:00
//includes files
2023-06-15 19:28:23 +02:00
require_once dirname ( __DIR__ , 2 ) . " /resources/require.php " ;
2017-06-13 07:09:36 +02:00
2020-03-20 04:11:53 +01:00
ob_start ( 'ob_gzhandler' );
header ( 'Content-type: text/css; charset: UTF-8' );
header ( 'Cache-Control: must-revalidate' );
header ( 'Expires: ' . gmdate ( 'D, d M Y H:i:s' , time () + 3600 ) . ' GMT' );
2017-06-13 07:09:36 +02:00
2023-05-13 00:50:24 +02:00
/***********************************************************************************************************************************************/
/* SET DEFAULTS */
$pre_text_color = $_SESSION [ 'theme' ][ 'pre_text_color' ][ 'text' ] ? ? '#5f5f5f' ;
$footer_background_color = $_SESSION [ 'theme' ][ 'footer_background_color' ][ 'text' ] ? ? 'rgba(0,0,0,0.2)' ;
$footer_border_radius = $_SESSION [ 'theme' ][ 'footer_border_radius' ][ 'text' ] ? ? null ;
$footer_background_color = $_SESSION [ 'theme' ][ 'footer_background_color' ][ 'text' ] ? ? 'rgba(0,0,0,0.2)' ;
$footer_color = $_SESSION [ 'theme' ][ 'footer_color' ][ 'text' ] ? ? 'rgba(255,255,255,0.3)' ;
$menu_main_background_image = $_SESSION [ 'theme' ][ 'menu_main_background_image' ][ 'text' ] ? ? null ;
$menu_main_background_color = $_SESSION [ 'theme' ][ 'menu_main_background_color' ][ 'text' ] ? ? 'rgba(0,0,0,0.90)' ;
$menu_main_shadow_color = isset ( $_SESSION [ 'theme' ][ 'menu_main_shadow_color' ][ 'text' ]) ? '0 0 5px ' . $_SESSION [ 'theme' ][ 'menu_main_shadow_color' ][ 'text' ] : 'none' ;
$menu_main_border_color = $_SESSION [ 'theme' ][ 'menu_main_border_color' ][ 'text' ] ? ? 'transparent' ;
$menu_main_border_size = $_SESSION [ 'theme' ][ 'menu_main_border_size' ][ 'text' ] ? ? 0 ;
$menu_position = $_SESSION [ 'theme' ][ 'menu_position' ][ 'text' ] ? ? 'top' ;
$menu_style = $_SESSION [ 'theme' ][ 'menu_style' ][ 'text' ] ? ? 'fixed' ;
switch ( $menu_style ) {
case 'inline' : $menu_main_border_radius_default = '4px' ; break ;
case 'static' : $menu_main_border_radius_default = '0 0 4px 4px' ; break ;
default : $menu_main_border_radius_default = '0' ;
}
$menu_main_border_radius = $_SESSION [ 'theme' ][ 'menu_main_border_radius' ][ 'text' ] ? ? $menu_main_border_radius_default ;
$menu_brand_text_color = $_SESSION [ 'theme' ][ 'menu_brand_text_color' ][ 'text' ] ? ? 'rgba(255,255,255,0.80)' ;
$menu_brand_text_size = $_SESSION [ 'theme' ][ 'menu_brand_text_size' ][ 'text' ] ? ? '13pt' ;
$menu_brand_text_color_hover = $_SESSION [ 'theme' ][ 'menu_brand_text_color_hover' ][ 'text' ] ? ? 'rgba(255,255,255,1.0)' ;
$menu_main_text_font = $_SESSION [ 'theme' ][ 'menu_main_text_font' ][ 'text' ] ? ? 'arial' ;
$menu_main_text_size = $_SESSION [ 'theme' ][ 'menu_main_text_size' ][ 'text' ] ? ? '10.25pt' ;
$menu_main_text_color = $_SESSION [ 'theme' ][ 'menu_main_text_color' ][ 'text' ] ? ? '#fff' ;
$menu_main_text_color_hover = $_SESSION [ 'theme' ][ 'menu_main_text_color_hover' ][ 'text' ] ? ? '#fd9c03' ;
$menu_main_background_color_hover = $_SESSION [ 'theme' ][ 'menu_main_background_color_hover' ][ 'text' ] ? ? 'rgba(0,0,0,1.0)' ;
$menu_sub_border_color = $_SESSION [ 'theme' ][ 'menu_sub_border_color' ][ 'text' ] ? ? 'transparent' ;
$menu_sub_border_size = $_SESSION [ 'theme' ][ 'menu_sub_border_size' ][ 'text' ] ? ? 0 ;
$menu_sub_background_color = $_SESSION [ 'theme' ][ 'menu_sub_background_color' ][ 'text' ] ? ? 'rgba(0,0,0,0.90)' ;
$menu_sub_shadow_color = isset ( $_SESSION [ 'theme' ][ 'menu_sub_shadow_color' ][ 'text' ]) ? '0 0 5px ' . $_SESSION [ 'theme' ][ 'menu_sub_shadow_color' ][ 'text' ] : 'none' ;
$menu_sub_border_radius = $_SESSION [ 'theme' ][ 'menu_sub_border_radius' ][ 'text' ] ? ? null ;
$menu_sub_text_font = $_SESSION [ 'theme' ][ 'menu_sub_text_font' ][ 'text' ] ? ? 'arial' ;
$menu_sub_text_color = $_SESSION [ 'theme' ][ 'menu_sub_text_color' ][ 'text' ] ? ? '#fff' ;
$menu_sub_text_size = $_SESSION [ 'theme' ][ 'menu_sub_text_size' ][ 'text' ] ? ? '10pt' ;
$menu_sub_text_color_hover = $_SESSION [ 'theme' ][ 'menu_sub_text_color_hover' ][ 'text' ] ? ? '#fd9c03' ;
$menu_sub_background_color_hover = $_SESSION [ 'theme' ][ 'menu_sub_background_color_hover' ][ 'text' ] ? ? '#141414' ;
$header_user_color_hover = $_SESSION [ 'theme' ][ 'header_user_color_hover' ][ 'text' ] ? ? '#1892e6' ;
$header_domain_color_hover = $_SESSION [ 'theme' ][ 'header_domain_color_hover' ][ 'text' ] ? ? '#1892e6' ;
$logout_icon_color = $_SESSION [ 'theme' ][ 'logout_icon_color' ][ 'text' ] ? ? 'rgba(255,255,255,0.8)' ;
$logout_icon_color_hover = $_SESSION [ 'theme' ][ 'logout_icon_color_hover' ][ 'text' ] ? ? 'rgba(255,255,255,1.0)' ;
$menu_main_toggle_color = $_SESSION [ 'theme' ][ 'menu_main_toggle_color' ][ 'text' ] ? ? 'rgba(255,255,255,0.8)' ;
$menu_main_toggle_color_hover = $_SESSION [ 'theme' ][ 'menu_main_toggle_color_hover' ][ 'text' ] ? ? 'rgba(255,255,255,1.0)' ;
$menu_side_state = $_SESSION [ 'theme' ][ 'menu_side_state' ][ 'text' ] ? ? null ;
$menu_side_width_expanded = $_SESSION [ 'theme' ][ 'menu_side_width_expanded' ][ 'text' ] ? ? 225 ;
$menu_side_width_contracted = $_SESSION [ 'theme' ][ 'menu_side_width_contracted' ][ 'text' ] ? ? 60 ;
$menu_main_icon_color = $_SESSION [ 'theme' ][ 'menu_main_icon_color' ][ 'text' ] ? ? '#fd9c03' ;
$menu_main_icon_color_hover = $_SESSION [ 'theme' ][ 'menu_main_icon_color_hover' ][ 'text' ] ? ? '#fd9c03' ;
$body_header_background_color = $_SESSION [ 'theme' ][ 'body_header_background_color' ][ 'text' ] ? ? 'transparent' ;
$body_header_brand_text_color = $_SESSION [ 'theme' ][ 'body_header_brand_text_color' ][ 'text' ] ? ? 'rgba(0,0,0,0.90)' ;
$body_header_brand_text_color_hover = $_SESSION [ 'theme' ][ 'body_header_brand_text_color_hover' ][ 'text' ] ? ? 'rgba(0,0,0,1.0)' ;
$body_header_brand_text_size = $_SESSION [ 'theme' ][ 'body_header_brand_text_size' ][ 'text' ] ? ? '16px' ;
$button_height = $_SESSION [ 'theme' ][ 'button_height' ][ 'text' ] ? ? '28px' ;
$button_padding = $_SESSION [ 'theme' ][ 'button_padding' ][ 'text' ] ? ? '5px 8px' ;
$button_border_size = $_SESSION [ 'theme' ][ 'button_border_size' ][ 'text' ] ? ? '1px' ;
$button_border_color = $_SESSION [ 'theme' ][ 'button_border_color' ][ 'text' ] ? ? '#242424' ;
$button_border_radius = $_SESSION [ 'theme' ][ 'button_border_radius' ][ 'text' ] ? ? null ;
$button_background_color = $_SESSION [ 'theme' ][ 'button_background_color' ][ 'text' ] ? ? '#4f4f4f' ;
$button_background_color_bottom = $_SESSION [ 'theme' ][ 'button_background_color_bottom' ][ 'text' ] ? ? '#000000' ;
$button_text_font = $_SESSION [ 'theme' ][ 'button_text_font' ][ 'text' ] ? ? 'Candara, Calibri, Segoe, "Segoe UI", Optima, Arial, sans-serif' ;
$button_text_color = $_SESSION [ 'theme' ][ 'button_text_color' ][ 'text' ] ? ? '#ffffff' ;
$button_text_weight = $_SESSION [ 'theme' ][ 'button_text_weight' ][ 'text' ] ? ? 'bold' ;
$button_text_size = $_SESSION [ 'theme' ][ 'button_text_size' ][ 'text' ] ? ? '11px' ;
$button_border_color_hover = $_SESSION [ 'theme' ][ 'button_border_color_hover' ][ 'text' ] ? ? '#000000' ;
$button_background_color_hover = $_SESSION [ 'theme' ][ 'button_background_color_hover' ][ 'text' ] ? ? '#000000' ;
$button_background_color_bottom_hover = $_SESSION [ 'theme' ][ 'button_background_color_bottom_hover' ][ 'text' ] ? ? '#000000' ;
$button_text_color_hover = $_SESSION [ 'theme' ][ 'button_text_color_hover' ][ 'text' ] ? ? '#ffffff' ;
$button_icons = $_SESSION [ 'theme' ][ 'button_icons' ][ 'text' ] ? ? 'auto' ;
$body_icon_color = $_SESSION [ 'theme' ][ 'body_icon_color' ][ 'text' ] ? ? 'rgba(0,0,0,0.25)' ;
$body_icon_color_hover = $_SESSION [ 'theme' ][ 'body_icon_color_hover' ][ 'text' ] ? ? 'rgba(0,0,0,0.5)' ;
$domain_selector_background_color = $_SESSION [ 'theme' ][ 'domain_selector_background_color' ][ 'text' ] ? ? '#fff' ;
$domain_selector_shadow_color = isset ( $_SESSION [ 'theme' ][ 'domain_selector_shadow_color' ][ 'text' ]) ? '0 0 10px ' . $_SESSION [ 'theme' ][ 'domain_selector_shadow_color' ][ 'text' ] : 'none' ;
$domain_selector_title_color = $_SESSION [ 'theme' ][ 'domain_selector_title_color' ][ 'text' ] ? ? '#000' ;
$domain_selector_title_color_hover = $_SESSION [ 'theme' ][ 'domain_selector_title_color_hover' ][ 'text' ] ? ? '#5082ca' ;
$domain_selector_list_background_color = $_SESSION [ 'theme' ][ 'domain_selector_list_background_color' ][ 'text' ] ? ? '#fff' ;
$domain_selector_list_border_color = $_SESSION [ 'theme' ][ 'domain_selector_list_border_color' ][ 'text' ] ? ? '#a4aebf' ;
$domain_selector_list_divider_color = $_SESSION [ 'theme' ][ 'domain_selector_list_divider_color' ][ 'text' ] ? ? '#c5d1e5' ;
$domain_active_text_color = $_SESSION [ 'theme' ][ 'domain_active_text_color' ][ 'text' ] ? ? '#004083' ;
$domain_active_text_color_hover = $_SESSION [ 'theme' ][ 'domain_active_text_color_hover' ][ 'text' ] ? ? '#004083' ;
$domain_inactive_text_color = $_SESSION [ 'theme' ][ 'domain_inactive_text_color' ][ 'text' ] ? ? '#004083' ;
$domain_inactive_text_color_hover = $_SESSION [ 'theme' ][ 'domain_inactive_text_color_hover' ][ 'text' ] ? ? '#004083' ;
$domain_active_desc_text_color = $_SESSION [ 'theme' ][ 'domain_active_desc_text_color' ][ 'text' ] ? ? '#999' ;
$domain_inactive_desc_text_color = $_SESSION [ 'theme' ][ 'domain_inactive_desc_text_color' ][ 'text' ] ? ? '#999' ;
$heading_text_size = $_SESSION [ 'theme' ][ 'heading_text_size' ][ 'text' ] ? ? '15px' ;
$heading_text_font = $_SESSION [ 'theme' ][ 'heading_text_font' ][ 'text' ] ? ? 'arial' ;
$login_body_top = $_SESSION [ 'theme' ][ 'login_body_top' ][ 'text' ] ? ? '50%' ;
$login_body_left = $_SESSION [ 'theme' ][ 'login_body_left' ][ 'text' ] ? ? '50%' ;
$login_body_padding = $_SESSION [ 'theme' ][ 'login_body_padding' ][ 'text' ] ? ? '30px' ;
$login_body_width = $_SESSION [ 'theme' ][ 'login_body_width' ][ 'text' ] ? ? 'auto' ;
$login_body_background_color = $_SESSION [ 'theme' ][ 'login_body_background_color' ][ 'text' ] ? ? 'rgba(255,255,255,0.35)' ;
$login_body_border_radius = $_SESSION [ 'theme' ][ 'login_body_border_radius' ][ 'text' ] ? ? null ;
$login_body_border_size = $_SESSION [ 'theme' ][ 'login_body_border_size' ][ 'text' ] ? ? 0 ;
$login_body_border_color = $_SESSION [ 'theme' ][ 'login_body_border_color' ][ 'text' ] ? ? 'transparent' ;
$login_body_border_style = $login_body_border_size || $login_body_border_color ? 'solid' : 'none' ;
$login_body_shadow_color = isset ( $_SESSION [ 'theme' ][ 'login_body_shadow_color' ][ 'text' ]) ? '0 1px 20px ' . $_SESSION [ 'theme' ][ 'login_body_shadow_color' ][ 'text' ] : 'none' ;
$login_link_text_color = $_SESSION [ 'theme' ][ 'login_link_text_color' ][ 'text' ] ? ? '#004083' ;
$login_link_text_size = $_SESSION [ 'theme' ][ 'login_link_text_size' ][ 'text' ] ? ? '11px' ;
$login_link_text_font = $_SESSION [ 'theme' ][ 'login_link_text_font' ][ 'text' ] ? ? 'Arial' ;
$login_link_text_color_hover = $_SESSION [ 'theme' ][ 'login_link_text_color_hover' ][ 'text' ] ? ? '#5082ca' ;
$body_color = $_SESSION [ 'theme' ][ 'body_color' ][ 'text' ] ? ? '#ffffff' ;
$body_border_radius = $_SESSION [ 'theme' ][ 'body_border_radius' ][ 'text' ] ? ? null ;
$body_shadow_color = isset ( $_SESSION [ 'theme' ][ 'body_shadow_color' ][ 'text' ]) ? '0 1px 4px ' . $_SESSION [ 'theme' ][ 'body_shadow_color' ][ 'text' ] : 'none' ;
$body_text_color = $_SESSION [ 'theme' ][ 'body_text_color' ][ 'text' ] ? ? '#5f5f5f' ;
$body_text_size = $_SESSION [ 'theme' ][ 'body_text_size' ][ 'text' ] ? ? '12px' ;
$body_text_font = $_SESSION [ 'theme' ][ 'body_text_font' ][ 'text' ] ? ? 'arial' ;
$body_width = $_SESSION [ 'theme' ][ 'body_width' ][ 'text' ] ? ? '90%' ;
$heading_text_color = $_SESSION [ 'theme' ][ 'heading_text_color' ][ 'text' ] ? ? '#952424' ;
$heading_text_size = $_SESSION [ 'theme' ][ 'heading_text_size' ][ 'text' ] ? ? '15px' ;
$heading_text_font = $_SESSION [ 'theme' ][ 'heading_text_font' ][ 'text' ] ? ? 'arial' ;
$text_link_color = $_SESSION [ 'theme' ][ 'text_link_color' ][ 'text' ] ? ? '#004083' ;
$text_link_color_hover = $_SESSION [ 'theme' ][ 'text_link_color_hover' ][ 'text' ] ? ? '#5082ca' ;
$input_text_placeholder_color = $_SESSION [ 'theme' ][ 'input_text_placeholder_color' ][ 'text' ] ? ? '#999999; opacity: 1.0;' ;
$input_text_font = $_SESSION [ 'theme' ][ 'input_text_font' ][ 'text' ] ? ? 'Arial' ;
$input_text_size = $_SESSION [ 'theme' ][ 'input_text_size' ][ 'text' ] ? ? '12px' ;
$input_text_color = $_SESSION [ 'theme' ][ 'input_text_color' ][ 'text' ] ? ? '#000' ;
$input_border_size = $_SESSION [ 'theme' ][ 'input_border_size' ][ 'text' ] ? ? '1px' ;
$input_border_color = $_SESSION [ 'theme' ][ 'input_border_color' ][ 'text' ] ? ? '#c0c0c0' ;
$input_border_color_hover_focus = $_SESSION [ 'theme' ][ 'input_border_color_hover_focus' ][ 'text' ] ? ? '#c0c0c0' ;
$input_background_color = $_SESSION [ 'theme' ][ 'input_background_color' ][ 'text' ] ? ? '#fff' ;
$input_shadow_inner_color = isset ( $_SESSION [ 'theme' ][ 'input_shadow_inner_color' ][ 'text' ]) ? '0 0 3px ' . $_SESSION [ 'theme' ][ 'input_shadow_inner_color' ][ 'text' ] . ' inset' : null ;
$input_shadow_inner_color_focus = isset ( $_SESSION [ 'theme' ][ 'input_shadow_inner_color_focus' ][ 'text' ]) ? '0 0 3px ' . $_SESSION [ 'theme' ][ 'input_shadow_inner_color_focus' ][ 'text' ] . ' inset' : null ;
$input_shadow_outer_color = isset ( $_SESSION [ 'theme' ][ 'input_shadow_outer_color' ][ 'text' ]) ? '0 0 5px ' . $_SESSION [ 'theme' ][ 'input_shadow_outer_color' ][ 'text' ] : null ;
$input_shadow_outer_color_focus = isset ( $_SESSION [ 'theme' ][ 'input_shadow_outer_color_focus' ][ 'text' ]) ? '0 0 5px ' . $_SESSION [ 'theme' ][ 'input_shadow_outer_color_focus' ][ 'text' ] : null ;
$input_border_radius = $_SESSION [ 'theme' ][ 'input_border_radius' ][ 'text' ] ? ? null ;
$input_border_color_hover = $_SESSION [ 'theme' ][ 'input_border_color_hover' ][ 'text' ] ? ? '#c0c0c0' ;
$input_border_color_focus = $_SESSION [ 'theme' ][ 'input_border_color_focus' ][ 'text' ] ? ? '#c0c0c0' ;
2023-07-22 22:18:39 +02:00
$login_text_color = $_SESSION [ 'theme' ][ 'login_text_color' ][ 'text' ] ? ? '#282828' ;
2023-06-23 02:14:07 +02:00
$login_text_size = $_SESSION [ 'theme' ][ 'login_text_size' ][ 'text' ] ? ? '12px' ;
$login_text_font = $_SESSION [ 'theme' ][ 'login_text_font' ][ 'text' ] ? ? 'Arial' ;
2023-05-13 00:50:24 +02:00
$login_input_text_font = $_SESSION [ 'theme' ][ 'login_input_text_font' ][ 'text' ] ? ? $input_text_font ;
$login_input_text_size = $_SESSION [ 'theme' ][ 'login_input_text_size' ][ 'text' ] ? ? $input_text_size ;
$login_input_text_color = $_SESSION [ 'theme' ][ 'login_input_text_color' ][ 'text' ] ? ? $input_text_color ;
$login_input_border_size = $_SESSION [ 'theme' ][ 'login_input_border_size' ][ 'text' ] ? ? $input_border_size ;
$login_input_border_color = $_SESSION [ 'theme' ][ 'login_input_border_color' ][ 'text' ] ? ? $input_border_color ;
$login_input_background_color = $_SESSION [ 'theme' ][ 'login_input_background_color' ][ 'text' ] ? ? $input_background_color ;
$login_input_shadow_inner_color = $_SESSION [ 'theme' ][ 'login_input_shadow_inner_color' ][ 'text' ] ? ? $input_shadow_inner_color ;
$login_input_shadow_inner_color = $login_input_shadow_inner_color != 'none' ? '0 0 3px ' . $login_input_shadow_inner_color . ' inset' : 'none' ;
$login_input_shadow_outer_color = $_SESSION [ 'theme' ][ 'login_input_shadow_outer_color' ][ 'text' ] ? ? $input_shadow_outer_color ;
$login_input_shadow_outer_color = $login_input_shadow_outer_color != 'none' ? '0 0 5px ' . $login_input_shadow_outer_color : 'none' ;
$login_input_shadow_inner_color_focus = $_SESSION [ 'theme' ][ 'login_input_shadow_inner_color_focus' ][ 'text' ] ? ? $input_shadow_inner_color_focus ;
$login_input_shadow_inner_color_focus = $login_input_shadow_inner_color_focus != 'none' ? '0 0 3px ' . $login_input_shadow_inner_color_focus . ' inset' : 'none' ;
$login_input_shadow_outer_color_focus = $_SESSION [ 'theme' ][ 'login_input_shadow_outer_color_focus' ][ 'text' ] ? ? $input_shadow_outer_color_focus ;
$login_input_shadow_outer_color_focus = $login_input_shadow_outer_color_focus != 'none' ? '0 0 5px ' . $login_input_shadow_outer_color_focus : 'none' ;
$login_input_border_radius = $_SESSION [ 'theme' ][ 'login_input_border_radius' ][ 'text' ] ? ? $input_border_radius ;
$login_input_border_color_hover = $_SESSION [ 'theme' ][ 'login_input_border_color_hover' ][ 'text' ] ? ? $input_border_color_hover ;
$login_input_border_color_hover_focus = $_SESSION [ 'theme' ][ 'login_input_border_color_hover_focus' ][ 'text' ] ? ? $input_border_color_hover_focus ;
$login_input_text_placeholder_color = $_SESSION [ 'theme' ][ 'login_input_text_placeholder_color' ][ 'text' ] ? ? $input_text_placeholder_color ;
$pwstrength_background_color = $_SESSION [ 'theme' ][ 'input_background_color' ][ 'text' ] ? ? 'rgb(245, 245, 245)' ;
$input_toggle_style = $_SESSION [ 'theme' ][ 'input_toggle_style' ][ 'text' ] ? ? 'switch_round' ;
$input_toggle_switch_background_color_true = $_SESSION [ 'theme' ][ 'input_toggle_switch_background_color_true' ][ 'text' ] ? ? '#2e82d0' ;
$input_toggle_switch_background_color_false = $_SESSION [ 'theme' ][ 'input_toggle_switch_background_color_false' ][ 'text' ] ? ? $input_border_color ;
$input_toggle_switch_handle_symbol = $_SESSION [ 'theme' ][ 'input_toggle_switch_handle_symbol' ][ 'boolean' ] ? ? 'false' ;
$input_toggle_switch_handle_color = $_SESSION [ 'theme' ][ 'input_toggle_switch_handle_color' ][ 'boolean' ] ? ? '#ffffff' ;
$table_heading_text_color = $_SESSION [ 'theme' ][ 'table_heading_text_color' ][ 'text' ] ? ? '#3164ad' ;
$table_heading_text_size = $_SESSION [ 'theme' ][ 'table_heading_text_size' ][ 'text' ] ? ? '12px' ;
$table_heading_text_font = $_SESSION [ 'theme' ][ 'table_heading_text_font' ][ 'text' ] ? ? 'arial' ;
$table_heading_background_color = $_SESSION [ 'theme' ][ 'table_heading_background_color' ][ 'text' ] ? ? 'none' ;
$table_heading_border_color = $_SESSION [ 'theme' ][ 'table_heading_border_color' ][ 'text' ] ? ? '#a4aebf' ;
$table_heading_padding = $_SESSION [ 'theme' ][ 'table_heading_padding' ][ 'text' ] ? ? '4px 7px' ;
$table_row_text_color = $_SESSION [ 'theme' ][ 'table_row_text_color' ][ 'text' ] ? ? '#000' ;
$table_row_text_font = $_SESSION [ 'theme' ][ 'table_row_text_font' ][ 'text' ] ? ? 'arial' ;
$table_row_text_size = $_SESSION [ 'theme' ][ 'table_row_text_size' ][ 'text' ] ? ? '12px' ;
$table_row_border_color = $_SESSION [ 'theme' ][ 'table_row_border_color' ][ 'text' ] ? ? '#c5d1e5' ;
$table_row_background_color_light = $_SESSION [ 'theme' ][ 'table_row_background_color_light' ][ 'text' ] ? ? '#fff' ;
$table_row_background_color_medium = $_SESSION [ 'theme' ][ 'table_row_background_color_medium' ][ 'text' ] ? ? '#f0f2f6' ;
$table_row_background_color_dark = $_SESSION [ 'theme' ][ 'table_row_background_color_dark' ][ 'text' ] ? ? '#e5e9f0' ;
$table_row_padding = $_SESSION [ 'theme' ][ 'table_row_padding' ][ 'text' ] ? ? '4px 7px' ;
$form_table_label_background_color = $_SESSION [ 'theme' ][ 'form_table_label_background_color' ][ 'text' ] ? ? '#e5e9f0' ;
$form_table_label_border_radius = $_SESSION [ 'theme' ][ 'form_table_label_border_radius' ][ 'text' ] ? ? null ;
$form_table_label_border_color = $_SESSION [ 'theme' ][ 'form_table_label_border_color' ][ 'text' ] ? ? '#ffffff' ;
$form_table_label_padding = $_SESSION [ 'theme' ][ 'form_table_label_padding' ][ 'text' ] ? ? '7px 8px' ;
$form_table_label_text_color = $_SESSION [ 'theme' ][ 'form_table_label_text_color' ][ 'text' ] ? ? '#000000' ;
$form_table_label_text_font = $_SESSION [ 'theme' ][ 'form_table_label_text_font' ][ 'text' ] ? ? 'Arial' ;
$form_table_label_text_size = $_SESSION [ 'theme' ][ 'form_table_label_text_size' ][ 'text' ] ? ? '9pt' ;
$form_table_label_required_background_color = $_SESSION [ 'theme' ][ 'form_table_label_required_background_color' ][ 'text' ] ? ? '#e5e9f0' ;
$form_table_label_required_border_color = $_SESSION [ 'theme' ][ 'form_table_label_required_border_color' ][ 'text' ] ? ? '#cbcfd5' ;
$form_table_label_required_text_color = $_SESSION [ 'theme' ][ 'form_table_label_required_text_color' ][ 'text' ] ? ? '#000' ;
$form_table_label_required_text_weight = $_SESSION [ 'theme' ][ 'form_table_label_required_text_weight' ][ 'text' ] ? ? 'bold' ;
$form_table_field_background_color = $_SESSION [ 'theme' ][ 'form_table_field_background_color' ][ 'text' ] ? ? '#fff' ;
$form_table_field_border_radius = $_SESSION [ 'theme' ][ 'form_table_field_border_radius' ][ 'text' ] ? ? null ;
$form_table_field_border_color = $_SESSION [ 'theme' ][ 'form_table_field_border_color' ][ 'text' ] ? ? '#e5e9f0' ;
$form_table_field_padding = $_SESSION [ 'theme' ][ 'form_table_field_padding' ][ 'text' ] ? ? '6px' ;
$form_table_field_text_color = $_SESSION [ 'theme' ][ 'form_table_field_text_color' ][ 'text' ] ? ? '#666' ;
$form_table_field_text_font = $_SESSION [ 'theme' ][ 'form_table_field_text_font' ][ 'text' ] ? ? 'Arial' ;
$form_table_field_text_size = $_SESSION [ 'theme' ][ 'form_table_field_text_size' ][ 'text' ] ? ? '8pt' ;
$form_table_heading_padding = $_SESSION [ 'theme' ][ 'form_table_heading_padding' ][ 'text' ] ? ? '8px 8px 4px 8px' ;
$form_table_row_padding = $_SESSION [ 'theme' ][ 'form_table_row_padding' ][ 'text' ] ? ? null ;
$message_default_color = $_SESSION [ 'theme' ][ 'message_default_color' ][ 'text' ] ? ? '#666' ;
$message_default_background_color = $_SESSION [ 'theme' ][ 'message_default_background_color' ][ 'text' ] ? ? '#fafafa' ;
$message_positive_color = $_SESSION [ 'theme' ][ 'message_positive_color' ][ 'text' ] ? ? '#004200' ;
$message_positive_background_color = $_SESSION [ 'theme' ][ 'message_positive_background_color' ][ 'text' ] ? ? '#ccffcc' ;
$message_negative_color = $_SESSION [ 'theme' ][ 'message_negative_color' ][ 'text' ] ? ? '#670000' ;
$message_negative_background_color = $_SESSION [ 'theme' ][ 'message_negative_background_color' ][ 'text' ] ? ? '#ffcdcd' ;
$message_alert_color = $_SESSION [ 'theme' ][ 'message_alert_color' ][ 'text' ] ? ? '#d66721' ;
$message_alert_background_color = $_SESSION [ 'theme' ][ 'message_alert_background_color' ][ 'text' ] ? ? '#ffe585' ;
$operator_panel_border_color = $_SESSION [ 'theme' ][ 'operator_panel_border_color' ][ 'text' ] ? ? '#b9c5d8' ;
$operator_panel_sub_background_color = $_SESSION [ 'theme' ][ 'operator_panel_sub_background_color' ][ 'text' ] ? ? '#e5eaf5' ;
$operator_panel_main_background_color = $_SESSION [ 'theme' ][ 'operator_panel_main_background_color' ][ 'text' ] ? ? '#fff' ;
$dashboard_detail_background_color_edge = $_SESSION [ 'theme' ][ 'dashboard_detail_background_color_edge' ][ 'text' ] ? ? '#edf1f7' ;
$dashboard_detail_background_color_center = $_SESSION [ 'theme' ][ 'dashboard_detail_background_color_center' ][ 'text' ] ? ? '#f9fbfe' ;
$dashboard_border_radius = $_SESSION [ 'theme' ][ 'dashboard_border_radius' ][ 'text' ] ? ? '5px' ;
$dashboard_border_color = $_SESSION [ 'theme' ][ 'dashboard_border_color' ][ 'text' ] ? ? '#dbe0ea' ;
$dashboard_border_color_hover = $_SESSION [ 'theme' ][ 'dashboard_border_color_hover' ][ 'text' ] ? ? '#cbd3e1' ;
$dashboard_heading_text_color = $_SESSION [ 'theme' ][ 'dashboard_heading_text_color' ][ 'text' ] ? ? '#fff' ;
$dashboard_heading_text_color_hover = $_SESSION [ 'theme' ][ 'dashboard_heading_text_color_hover' ][ 'text' ] ? ? '#fff' ;
$dashboard_heading_text_size = $_SESSION [ 'theme' ][ 'dashboard_heading_text_size' ][ 'text' ] ? ? '12pt' ;
$dashboard_heading_text_font = $_SESSION [ 'theme' ][ 'dashboard_heading_text_font' ][ 'text' ] ? ? 'Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif' ;
$dashboard_heading_text_shadow_color = $_SESSION [ 'theme' ][ 'dashboard_heading_text_shadow_color' ][ 'text' ] ? ? '#000' ;
$dashboard_heading_background_color = $_SESSION [ 'theme' ][ 'dashboard_heading_background_color' ][ 'text' ] ? ? '#8e96a5' ;
$dashboard_heading_background_color_hover = $_SESSION [ 'theme' ][ 'dashboard_heading_background_color_hover' ][ 'text' ] ? ? color_adjust ( $dashboard_heading_background_color , 0.03 );
$dashboard_number_text_color = $_SESSION [ 'theme' ][ 'dashboard_number_text_color' ][ 'text' ] ? ? '#fff' ;
$dashboard_number_text_color_hover = $_SESSION [ 'theme' ][ 'dashboard_number_text_color_hover' ][ 'text' ] ? ? '#fff' ;
$dashboard_number_text_font = $_SESSION [ 'theme' ][ 'dashboard_number_text_font' ][ 'text' ] ? ? 'Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif' ;
$dashboard_number_text_size = $_SESSION [ 'theme' ][ 'dashboard_number_text_size' ][ 'text' ] ? ? '60pt' ;
$dashboard_number_text_shadow_color = $_SESSION [ 'theme' ][ 'dashboard_number_text_shadow_color' ][ 'text' ] ? ? '#737983' ;
$dashboard_number_text_shadow_color_hover = $_SESSION [ 'theme' ][ 'dashboard_number_text_shadow_color_hover' ][ 'text' ] ? ? '#737983' ;
$dashboard_number_background_color = $_SESSION [ 'theme' ][ 'dashboard_number_background_color' ][ 'text' ] ? ? '#a4aebf' ;
$dashboard_number_background_color_hover = $_SESSION [ 'theme' ][ 'dashboard_number_background_color_hover' ][ 'text' ] ? ? color_adjust ( $dashboard_number_background_color , 0.03 );
$dashboard_number_title_text_color = $_SESSION [ 'theme' ][ 'dashboard_number_title_text_color' ][ 'text' ] ? ? '#fff' ;
$dashboard_number_title_text_size = $_SESSION [ 'theme' ][ 'dashboard_number_title_text_size' ][ 'text' ] ? ? '14px' ;
$dashboard_number_title_text_font = $_SESSION [ 'theme' ][ 'dashboard_number_title_text_font' ][ 'text' ] ? ? 'Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif' ;
$dashboard_number_title_text_shadow_color = $_SESSION [ 'theme' ][ 'dashboard_number_title_text_shadow_color' ][ 'text' ] ? ? '#737983' ;
$dashboard_detail_shadow_color = $_SESSION [ 'theme' ][ 'dashboard_detail_shadow_color' ][ 'text' ] ? ? '#737983' ;
$dashboard_detail_heading_text_size = $_SESSION [ 'theme' ][ 'dashboard_detail_heading_text_size' ][ 'text' ] ? ? '11px' ;
$dashboard_detail_background_color_edge = $_SESSION [ 'theme' ][ 'dashboard_detail_background_color_edge' ][ 'text' ] ? ? '#edf1f7' ;
$dashboard_detail_background_color_center = $_SESSION [ 'theme' ][ 'dashboard_detail_background_color_center' ][ 'text' ] ? ? '#f9fbfe' ;
$dashboard_detail_row_text_size = $_SESSION [ 'theme' ][ 'dashboard_detail_row_text_size' ][ 'text' ] ? ? '11px' ;
$dashboard_footer_background_color = $_SESSION [ 'theme' ][ 'dashboard_footer_background_color' ][ 'text' ] ? ? '#e5e9f0' ;
$dashboard_footer_background_color_hover = $_SESSION [ 'theme' ][ 'dashboard_footer_background_color_hover' ][ 'text' ] ? ? color_adjust ( $dashboard_footer_background_color , 0.02 );
$dashboard_footer_dots_color = $_SESSION [ 'theme' ][ 'dashboard_footer_dots_color' ][ 'text' ] ? ? '#a4aebf' ;
$dashboard_footer_dots_color_hover = $_SESSION [ 'theme' ][ 'dashboard_footer_dots_color_hover' ][ 'text' ] ? ? $dashboard_footer_dots_color ;
$action_bar_border_top = $_SESSION [ 'theme' ][ 'action_bar_border_top' ][ 'text' ] ? ? 0 ;
$action_bar_border_right = $_SESSION [ 'theme' ][ 'action_bar_border_right' ][ 'text' ] ? ? 0 ;
$action_bar_border_bottom = $_SESSION [ 'theme' ][ 'action_bar_border_bottom' ][ 'text' ] ? ? 0 ;
$action_bar_border_left = $_SESSION [ 'theme' ][ 'action_bar_border_left' ][ 'text' ] ? ? 0 ;
$action_bar_border_radius = $_SESSION [ 'theme' ][ 'action_bar_border_radius' ][ 'text' ] ? ? 0 ;
$action_bar_background = $_SESSION [ 'theme' ][ 'action_bar_background' ][ 'text' ] ? ? 'none' ;
$action_bar_shadow = $_SESSION [ 'theme' ][ 'action_bar_shadow' ][ 'text' ] ? ? 'none' ;
$action_bar_border_top_scroll = $_SESSION [ 'theme' ][ 'action_bar_border_top_scroll' ][ 'text' ] ? ? 'initial' ;
$action_bar_border_right_scroll = $_SESSION [ 'theme' ][ 'action_bar_border_right_scroll' ][ 'text' ] ? ? 'initial' ;
$action_bar_border_bottom_scroll = $_SESSION [ 'theme' ][ 'action_bar_border_bottom_scroll' ][ 'text' ] ? ? 'initial' ;
$action_bar_border_left_scroll = $_SESSION [ 'theme' ][ 'action_bar_border_left_scroll' ][ 'text' ] ? ? 'initial' ;
$action_bar_border_radius_scroll = $_SESSION [ 'theme' ][ 'action_bar_border_radius_scroll' ][ 'text' ] ? ? 'initial' ;
$action_bar_background_scroll = $_SESSION [ 'theme' ][ 'action_bar_background_scroll' ][ 'text' ] ? ? 'rgba(255,255,255,0.9)' ;
$action_bar_shadow_scroll = $_SESSION [ 'theme' ][ 'action_bar_shadow_scroll' ][ 'text' ] ? ? '0 3px 3px 0 rgba(0,0,0,0.2)' ;
$modal_transition_seconds = $_SESSION [ 'theme' ][ 'modal_transition_seconds' ][ 'text' ] ? ? 0.03 ;
$modal_shade_color = $_SESSION [ 'theme' ][ 'modal_shade_color' ][ 'text' ] ? ? 'rgba(0, 0, 0, 0.3)' ;
$modal_padding = $_SESSION [ 'theme' ][ 'modal_padding' ][ 'text' ] ? ? '15px 20px 20px 20px' ;
$modal_background_color = $_SESSION [ 'theme' ][ 'modal_background_color' ][ 'text' ] ? ? '#fff' ;
$modal_width = $_SESSION [ 'theme' ][ 'modal_width' ][ 'text' ] ? ? '500px' ;
$modal_corner_radius = $_SESSION [ 'theme' ][ 'modal_corner_radius' ][ 'text' ] ? ? '5px' ;
$modal_shadow = $_SESSION [ 'theme' ][ 'modal_shadow' ][ 'text' ] ? ? '0 0 40px rgba(0,0,0,0.25)' ;
$modal_title_font = $_SESSION [ 'theme' ][ 'modal_title_font' ][ 'text' ] ? ? $heading_text_font ;
$modal_title_color = $_SESSION [ 'theme' ][ 'modal_title_color' ][ 'text' ] ? ? $heading_text_color ;
$modal_title_alignment = $_SESSION [ 'theme' ][ 'modal_title_alignment' ][ 'text' ] ? ? 'left' ;
$modal_title_margin = $_SESSION [ 'theme' ][ 'modal_title_margin' ][ 'text' ] ? ? '0 0 15px 0' ;
$modal_close_color = $_SESSION [ 'theme' ][ 'modal_close_color' ][ 'text' ] ? ? '#aaa' ;
$modal_close_color_hover = $_SESSION [ 'theme' ][ 'modal_close_color_hover' ][ 'text' ] ? ? '#000' ;
$modal_close_corner_radius = $_SESSION [ 'theme' ][ 'modal_close_corner_radius' ][ 'text' ] ? ? '0 0 0 5px' ;
$modal_close_background_color = $_SESSION [ 'theme' ][ 'modal_close_background_color' ][ 'text' ] ? ? '#fff' ;
$modal_close_background_color_hover = $_SESSION [ 'theme' ][ 'modal_close_background_color_hover' ][ 'text' ] ? ? '#fff' ;
$modal_message_color = $_SESSION [ 'theme' ][ 'modal_message_color' ][ 'text' ] ? ? '#444' ;
$modal_message_alignment = $_SESSION [ 'theme' ][ 'modal_message_alignment' ][ 'text' ] ? ? 'left' ;
$modal_message_margin = $_SESSION [ 'theme' ][ 'modal_message_margin' ][ 'text' ] ? ? '0 0 20px 0' ;
2024-02-09 21:07:19 +01:00
$audio_player_indicator_color = $_SESSION [ 'theme' ][ 'audio_player_indicator_color' ][ 'text' ] ? ? '#b90004' ;
$audio_player_waveform_enabled = $_SESSION [ 'theme' ][ 'audio_player_waveform_enabled' ][ 'boolean' ] ? ? 'false' ;
$audio_player_waveform_height = $_SESSION [ 'theme' ][ 'audio_player_waveform_height' ][ 'text' ] ? ? '70px' ;
2023-05-13 00:50:24 +02:00
$custom_css_code = $_SESSION [ 'theme' ][ 'custom_css_code' ][ 'text' ] ? ? null ;
/***********************************************************************************************************************************************/
2017-06-13 07:09:36 +02:00
//parse fonts (add surrounding single quotes to each font name)
2023-05-13 00:50:24 +02:00
if ( ! empty ( $_SESSION [ 'theme' ])) {
foreach ( $_SESSION [ 'theme' ] as $subcategory => $type ) {
if ( substr ( $subcategory , - 5 ) == '_font' ) {
$font_string = $type [ 'text' ];
2023-05-14 05:28:54 +02:00
if ( ! empty ( $font_string )) {
2023-05-13 00:50:24 +02:00
if ( substr_count ( $font_string , ',' ) > 0 ) {
$tmp_array = explode ( ',' , $font_string );
}
else {
$tmp_array [] = $font_string ;
2017-06-13 07:09:36 +02:00
}
2023-05-13 00:50:24 +02:00
foreach ( $tmp_array as $font_name ) {
$font_name = trim ( $font_name , " ' " );
$font_name = trim ( $font_name , '"' );
$font_name = trim ( $font_name );
$fonts [] = $font_name ;
}
if ( sizeof ( $fonts ) == 1 && strtolower ( $fonts [ 0 ]) != 'arial' ) { $fonts [] = 'Arial' ; } //fall back font
$_SESSION [ 'theme' ][ $subcategory ][ 'text' ] = " ' " . implode ( " ',' " , $fonts ) . " ' " ;
2017-06-13 07:09:36 +02:00
}
}
2023-05-13 00:50:24 +02:00
unset ( $fonts , $tmp_array );
2017-06-13 07:09:36 +02:00
}
2023-05-13 00:50:24 +02:00
}
2017-06-13 07:09:36 +02:00
//determine which background image/color settings to use (login or standard)
2023-05-13 00:50:24 +02:00
$background_images_enabled = false ;
if ( ! empty ( $_SESSION [ 'username' ])) {
//logged in - use standard background images/colors
if ( ! empty ( $_SESSION [ 'theme' ][ 'background_image_enabled' ]) && $_SESSION [ 'theme' ][ 'background_image_enabled' ][ 'boolean' ] == 'true' && is_array ( $_SESSION [ 'theme' ][ 'background_image' ])) {
$background_images_enabled = true ;
$background_images = $_SESSION [ 'theme' ][ 'background_image' ];
2020-03-30 16:42:07 +02:00
}
else {
2023-05-13 00:50:24 +02:00
$background_colors [ 0 ] = $_SESSION [ 'theme' ][ 'background_color' ][ 0 ] ? ? null ;
$background_colors [ 1 ] = $_SESSION [ 'theme' ][ 'background_color' ][ 1 ] ? ? null ;
}
}
else {
//not logged in - try using login background images/colors
if ( isset ( $_SESSION [ 'theme' ][ 'login_background_image_enabled' ][ 'boolean' ]) && $_SESSION [ 'theme' ][ 'login_background_image_enabled' ][ 'boolean' ] == 'true' && is_array ( $_SESSION [ 'theme' ][ 'login_background_image' ])) {
$background_images_enabled = true ;
$background_images = $_SESSION [ 'theme' ][ 'login_background_image' ];
}
2023-05-14 05:28:54 +02:00
else if ( ! empty ( $_SESSION [ 'theme' ][ 'login_background_color' ][ 0 ]) || ! empty ( $_SESSION [ 'theme' ][ 'login_background_color' ][ 1 ])) {
2023-05-13 00:50:24 +02:00
$background_colors [ 0 ] = $_SESSION [ 'theme' ][ 'login_background_color' ][ 0 ] ? ? null ;
$background_colors [ 1 ] = $_SESSION [ 'theme' ][ 'login_background_color' ][ 1 ] ? ? null ;
}
else {
//otherwise, use standard background images/colors
2023-05-14 05:28:54 +02:00
if ( ! empty ( $_SESSION [ 'theme' ][ 'background_image_enabled' ][ 'boolean' ]) && $_SESSION [ 'theme' ][ 'background_image_enabled' ][ 'boolean' ] == 'true' && is_array ( $_SESSION [ 'theme' ][ 'background_image' ])) {
2017-06-13 07:09:36 +02:00
$background_images_enabled = true ;
2023-05-13 00:50:24 +02:00
$background_images = $_SESSION [ 'theme' ][ 'background_image' ];
2017-06-13 07:09:36 +02:00
}
else {
2023-05-13 00:50:24 +02:00
$background_colors [ 0 ] = $_SESSION [ 'theme' ][ 'background_color' ][ 0 ] ? ? null ;
$background_colors [ 1 ] = $_SESSION [ 'theme' ][ 'background_color' ][ 1 ] ? ? null ;
2017-06-13 07:09:36 +02:00
}
}
2023-05-13 00:50:24 +02:00
}
2017-06-13 07:09:36 +02:00
//check for background image
2023-05-13 00:50:24 +02:00
if ( $background_images_enabled ) {
//background image is enabled
$image_extensions = array ( 'jpg' , 'jpeg' , 'png' , 'gif' );
2017-06-13 07:09:36 +02:00
2023-05-13 00:50:24 +02:00
if ( count ( $background_images ) > 0 ) {
2017-06-13 07:09:36 +02:00
2023-05-13 00:50:24 +02:00
if (( ! isset ( $_SESSION [ 'background_image' ])) or empty ( $_SESSION [ 'background_image' ])) {
$_SESSION [ 'background_image' ] = $background_images [ array_rand ( $background_images )];
$background_image = $_SESSION [ 'background_image' ];
}
2017-06-13 07:09:36 +02:00
2023-05-13 00:50:24 +02:00
//background image(s) specified, check if source is file or folder
if ( in_array ( strtolower ( pathinfo ( $background_image , PATHINFO_EXTENSION )), $image_extensions )) {
$image_source = 'file' ;
2017-06-13 07:09:36 +02:00
}
else {
$image_source = 'folder' ;
2023-05-13 00:50:24 +02:00
}
//is source (file/folder) local or remote
if ( substr ( $background_image , 0 , 4 ) == 'http' ) {
$source_path = $background_image ;
}
else if ( substr ( $background_image , 0 , 1 ) == '/' ) { //
//use project path as root
$source_path = PROJECT_PATH . $background_image ;
}
else {
//use theme images/backgrounds folder as root
$source_path = PROJECT_PATH . '/themes/default/images/backgrounds/' . $background_image ;
}
}
else {
//not set, so use default backgrounds folder and images
$image_source = 'folder' ;
$source_path = PROJECT_PATH . '/themes/default/images/backgrounds' ;
}
if ( $image_source == 'folder' ) {
if ( file_exists ( $_SERVER [ " DOCUMENT_ROOT " ] . $source_path )) {
//retrieve a random background image
$dir_list = opendir ( $_SERVER [ " DOCUMENT_ROOT " ] . $source_path );
$v_background_array = array ();
$x = 0 ;
while ( false !== ( $file = readdir ( $dir_list ))) {
if ( $file != " . " AND $file != " .. " ){
$new_path = $dir . '/' . $file ;
$level = explode ( '/' , $new_path );
if ( in_array ( strtolower ( pathinfo ( $new_path , PATHINFO_EXTENSION )), $image_extensions )) {
$v_background_array [] = $new_path ;
2017-06-13 07:09:36 +02:00
}
2023-05-13 00:50:24 +02:00
if ( $x > 100 ) { break ; };
$x ++ ;
2017-06-13 07:09:36 +02:00
}
}
2023-05-14 05:28:54 +02:00
if ( empty ( $_SESSION [ 'background_image' ]) && ! empty ( $v_background_array )) {
2023-05-13 00:50:24 +02:00
$_SESSION [ 'background_image' ] = PROJECT_PATH . $source_path . $v_background_array [ array_rand ( $v_background_array , 1 )];
2017-06-13 07:09:36 +02:00
}
}
2023-05-13 00:50:24 +02:00
else {
$_SESSION [ 'background_image' ] = '' ;
2017-06-13 07:09:36 +02:00
}
2023-05-13 00:50:24 +02:00
2017-06-13 07:09:36 +02:00
}
2023-05-13 00:50:24 +02:00
else if ( $image_source == 'file' ) {
$_SESSION [ 'background_image' ] = $source_path ;
}
}
2017-06-13 07:09:36 +02:00
2020-03-30 16:42:07 +02:00
//check for background color
2023-05-14 05:28:54 +02:00
else if ( ! empty ( $background_colors [ 0 ]) || ! empty ( $background_colors [ 1 ])) { //background color 1 or 2 is enabled
2023-05-13 00:50:24 +02:00
2023-05-14 05:28:54 +02:00
if ( ! empty ( $background_colors [ 0 ]) && empty ( $background_colors [ 1 ])) { // use color 1
2023-05-13 00:50:24 +02:00
$background_color = " background: " . $background_colors [ 0 ] . " ; " ;
2017-06-13 07:09:36 +02:00
}
2023-06-02 18:34:42 +02:00
else if ( empty ( $background_colors [ 0 ]) && ! empty ( $background_colors [ 1 ])) { // use color 2
2023-05-13 00:50:24 +02:00
$background_color = " background: " . $background_colors [ 1 ] . " ; " ;
2017-06-13 07:09:36 +02:00
}
2023-05-14 05:28:54 +02:00
else if ( ! empty ( $background_colors [ 0 ]) && ! empty ( $background_colors [ 1 ]) && isset ( $_SESSION [ 'theme' ][ 'background_radial_gradient' ][ 'text' ])) { // radial gradient
2023-05-13 00:50:24 +02:00
$background_color = " background: " . $background_colors [ 0 ] . " ; \n " ;
$background_color .= " background: -ms-radial-gradient(center, circle, " . $background_colors [ 0 ] . " 0%, " . $background_colors [ 1 ] . " 100%); \n " ;
$background_color .= " background: radial-gradient(circle at center, " . $background_colors [ 0 ] . " 0%, " . $background_colors [ 1 ] . " 100%); \n " ;
}
2023-05-14 05:28:54 +02:00
else if ( ! empty ( $background_colors [ 0 ]) && ! empty ( $background_colors [ 1 ])) { // vertical gradient
2023-05-13 00:50:24 +02:00
$background_color = " background: " . $background_colors [ 0 ] . " ; \n " ;
$background_color .= " background: -ms-linear-gradient(top, " . $background_colors [ 0 ] . " 0%, " . $background_colors [ 1 ] . " 100%); \n " ;
$background_color .= " background: -moz-linear-gradient(top, " . $background_colors [ 0 ] . " 0%, " . $background_colors [ 1 ] . " 100%); \n " ;
$background_color .= " background: -o-linear-gradient(top, " . $background_colors [ 0 ] . " 0%, " . $background_colors [ 1 ] . " 100%); \n " ;
$background_color .= " background: -webkit-gradient(linear, left top, left bottom, color-stop(0, " . $background_colors [ 0 ] . " ), color-stop(1, " . $background_colors [ 1 ] . " )); \n " ;
$background_color .= " background: -webkit-linear-gradient(top, " . $background_colors [ 0 ] . " 0%, " . $background_colors [ 1 ] . " 100%); \n " ;
$background_color .= " background: linear-gradient(to bottom, " . $background_colors [ 0 ] . " 0%, " . $background_colors [ 1 ] . " 100%); \n " ;
}
}
else { //default: white
$background_color = " background: #ffffff; \n " ;
}
2017-06-13 07:09:36 +02:00
?>
html {
height : 100 % ;
width : 100 % ;
}
body {
z - index : 1 ;
position : absolute ;
margin : 0 ;
padding : 0 ;
overflow : auto ;
- ms - overflow - style : scrollbar ; /* stops ie10+ from displaying auto-hiding scroll bar on top of the body content (the domain selector, specifically) */
top : 0 ;
right : 0 ;
bottom : 0 ;
left : 0 ;
text - align : center ;
< ? php
2023-05-13 00:50:24 +02:00
if ( ! empty ( $_SESSION [ 'background_image' ])) {
2017-06-13 07:09:36 +02:00
echo " background-image: url(' " . $_SESSION [ 'background_image' ] . " '); \n " ;
echo " background-size: 100% 100%; \n " ;
echo " background-position: top; \n " ;
}
else {
echo $background_color ;
}
?>
background - repeat : no - repeat ;
background - attachment : fixed ;
webkit - background - size : cover ;
- moz - background - size : cover ;
- o - background - size : cover ;
background - size : cover ;
}
2019-08-04 03:39:25 +02:00
pre {
2017-06-13 07:09:36 +02:00
white - space : pre - wrap ;
2023-05-13 00:50:24 +02:00
color : < ? = $pre_text_color ?> ;
2017-06-13 07:09:36 +02:00
}
div #footer {
display : inline - block ;
width : 100 % ;
2023-05-13 00:50:24 +02:00
background : < ? = $footer_background_color ?> ;
2017-06-13 07:09:36 +02:00
text - align : center ;
vertical - align : middle ;
margin - bottom : 60 px ;
padding : 8 px ;
2023-05-13 00:50:24 +02:00
< ? php $br = format_border_radius ( $footer_border_radius , '0 0 4px 4px' ); ?>
2017-06-13 07:09:36 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
}
div #footer_login {
position : absolute ;
left : 0 ;
right : 0 ;
bottom : 0 ;
width : 100 % ;
2023-05-13 00:50:24 +02:00
background : < ? = $footer_background_color ?> ;
2017-06-13 07:09:36 +02:00
text - align : center ;
vertical - align : middle ;
padding : 8 px ;
}
. footer {
font - size : 11 px ;
font - family : arial ;
line - height : 14 px ;
2023-05-13 00:50:24 +02:00
color : < ? = $footer_color ?> ;
2017-06-13 07:09:36 +02:00
white - space : nowrap ;
}
. footer > a : hover {
2023-05-13 00:50:24 +02:00
color : < ? = $footer_color ?> ;
2017-06-13 07:09:36 +02:00
}
/* MENU: BEGIN ******************************************************************/
2019-08-21 02:15:50 +02:00
/* help bootstrap v4 menu be scrollable on mobile */
2019-09-03 00:20:07 +02:00
@ media screen and ( max - width : 575 px ) {
2019-08-21 02:15:50 +02:00
. navbar - collapse {
max - height : calc ( 100 vh - 60 px );
overflow - y : auto ;
}
}
2017-06-13 07:09:36 +02:00
/* main menu container */
2019-08-21 02:15:50 +02:00
nav . navbar {
2023-05-13 00:50:24 +02:00
< ? php if ( $menu_main_background_image ) { ?>
background - image : url ( " <?= $menu_main_background_image ?> " );
2017-06-13 07:09:36 +02:00
background - position : 0 px 0 px ;
background - repeat : repeat - x ;
2023-05-13 00:50:24 +02:00
< ? php } else { ?>
background : < ? = $menu_main_background_color ?> ;
2017-06-13 07:09:36 +02:00
< ? php } ?>
2023-05-13 00:50:24 +02:00
- webkit - box - shadow : < ? = $menu_main_shadow_color ?> ;
- moz - box - shadow : < ? = $menu_main_shadow_color ?> ;
box - shadow : < ? = $menu_main_shadow_color ?> ;
border - color : < ? = $menu_main_border_color ?> ;
border - width : < ? = $menu_main_border_size ?> ;
- moz - border - radius : < ? = $menu_main_border_radius ?> ;
- webkit - border - radius : < ? = $menu_main_border_radius ?> ;
- khtml - border - radius : < ? = $menu_main_border_radius ?> ;
border - radius : < ? = $menu_main_border_radius ?> ;
2019-08-21 02:15:50 +02:00
padding : 0 ;
2017-06-13 07:09:36 +02:00
}
/* main menu logo */
2019-08-21 02:15:50 +02:00
img . navbar - logo {
2017-06-13 07:09:36 +02:00
border : none ;
height : 27 px ;
width : auto ;
2019-08-21 02:15:50 +02:00
padding : 0 10 px 0 7 px ;
margin - top : - 2 px ;
2017-06-13 07:09:36 +02:00
cursor : pointer ;
}
/* menu brand text */
2019-08-21 02:15:50 +02:00
div . navbar - brand > a . navbar - brand - text {
2023-05-13 00:50:24 +02:00
color : < ? = $menu_brand_text_color ?> ;
font - size : < ? = $menu_brand_text_size ?> ;
2017-06-13 07:09:36 +02:00
white - space : nowrap ;
}
2019-08-21 02:15:50 +02:00
/* menu brand text hover */
div . navbar - brand > a . navbar - brand - text : hover {
2023-05-13 00:50:24 +02:00
color : < ? = $menu_brand_text_color_hover ?> ;
2019-08-21 02:15:50 +02:00
text - decoration : none ;
2017-06-13 07:09:36 +02:00
}
/* main menu item */
2019-08-21 02:15:50 +02:00
ul . navbar - nav > li . nav - item > a . nav - link {
2023-05-13 00:50:24 +02:00
font - family : < ? = $menu_main_text_font ?> ;
font - size : < ? = $menu_main_text_size ?> ;
color : < ? = $menu_main_text_color ?> ;
2019-08-21 02:15:50 +02:00
padding : 15 px 10 px 14 px 10 px ; ! important ;
2017-06-13 07:09:36 +02:00
}
2019-08-30 02:57:12 +02:00
ul . navbar - nav > li . nav - item : hover > a . nav - link ,
ul . navbar - nav > li . nav - item : focus > a . nav - link ,
ul . navbar - nav > li . nav - item : active > a . nav - link {
2023-05-13 00:50:24 +02:00
color : < ? = $menu_main_text_color_hover ?> ;
background : < ? = $menu_main_background_color_hover ?> ;
2017-06-13 07:09:36 +02:00
}
2019-08-21 02:15:50 +02:00
. navbar . navbar - nav > li > a > span . fas {
2017-06-13 07:09:36 +02:00
margin : 1 px 2 px 0 0 ;
}
@ media ( min - width : 768 px ) {
. dropdown : hover . dropdown - menu {
display : block ;
}
}
/* sub menu container */
2019-08-21 02:15:50 +02:00
ul . navbar - nav > li . nav - item > ul . dropdown - menu {
2017-06-13 07:09:36 +02:00
margin - top : 0 ;
padding - top : 0 ;
padding - bottom : 10 px ;
2023-05-13 00:50:24 +02:00
border - color : < ? = $menu_sub_border_color ?> ;
border - width : < ? = $menu_sub_border_size ?> ;
background : < ? = $menu_sub_background_color ?> ;
- webkit - box - shadow : < ? = $menu_sub_shadow_color ?> ;
- moz - box - shadow : < ? = $menu_sub_shadow_color ?> ;
box - shadow : < ? = $menu_sub_shadow_color ?> ;
< ? php $br = format_border_radius ( $menu_sub_border_radius , '0 0 4px 4px' ); ?>
2017-06-13 07:09:36 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
}
2023-10-17 02:27:59 +02:00
/* sub menu container (multiple columns) */
@ media ( min - width : 576 px ) {
ul . navbar - nav > li . nav - item > ul . dropdown - menu . multi - column {
width : 330 px ;
}
}
2017-06-13 07:09:36 +02:00
/* sub menu item */
2023-10-17 02:27:59 +02:00
ul . navbar - nav > li . nav - item > ul . dropdown - menu > li . nav - item > a . nav - link ,
ul . navbar - nav > li . nav - item > ul . dropdown - menu . multi - column > div . row > div > ul . multi - column - dropdown > li . nav - item > a . nav - link {
2023-05-13 00:50:24 +02:00
font - family : < ? = $menu_sub_text_font ?> ;
color : < ? = $menu_sub_text_color ?> ;
font - size : < ? = $menu_sub_text_size ?> ;
2017-06-13 07:09:36 +02:00
margin : 0 ;
2019-08-21 02:15:50 +02:00
padding : 3 px 14 px ! important ;
2017-06-13 07:09:36 +02:00
}
2023-10-17 02:27:59 +02:00
ul . navbar - nav > li . nav - item > ul . dropdown - menu . multi - column > div . row > div > ul . multi - column - dropdown {
list - style - type : none ;
padding - left : 0 ;
}
2019-08-21 02:15:50 +02:00
ul . navbar - nav > li . nav - item > ul . dropdown - menu > li . nav - item > a . nav - link : hover ,
ul . navbar - nav > li . nav - item > ul . dropdown - menu > li . nav - item > a . nav - link : focus ,
2023-10-17 02:27:59 +02:00
ul . navbar - nav > li . nav - item > ul . dropdown - menu > li . nav - item > a . nav - link : active ,
ul . navbar - nav > li . nav - item > ul . dropdown - menu . multi - column > div . row > div > ul . multi - column - dropdown > li . nav - item > a . nav - link : hover ,
ul . navbar - nav > li . nav - item > ul . dropdown - menu . multi - column > div . row > div > ul . multi - column - dropdown > li . nav - item > a . nav - link : focus ,
ul . navbar - nav > li . nav - item > ul . dropdown - menu . multi - column > div . row > div > ul . multi - column - dropdown > li . nav - item > a . nav - link : active {
2023-05-13 00:50:24 +02:00
color : < ? = $menu_sub_text_color_hover ?> ;
background : < ? = $menu_sub_background_color_hover ?> ;
2017-06-13 07:09:36 +02:00
outline : none ;
}
2019-08-21 02:15:50 +02:00
a . nav - link {
text - align : left ! important ;
}
/* sub menu item icon */
ul . dropdown - menu > li . nav - item > a . nav - link > span . fas {
2017-06-13 07:09:36 +02:00
display : inline - block ;
font - size : 8 pt ;
2019-08-21 02:15:50 +02:00
margin : 0 0 0 8 px ;
2017-06-13 07:09:36 +02:00
opacity : 0.30 ;
}
2021-11-30 16:36:32 +01:00
/* header domain/user name */
ul . navbar - nav > li . nav - item > a . header_user ,
ul . navbar - nav > li . nav - item > a . header_domain {
2023-05-13 00:50:24 +02:00
font - family : < ? = $menu_main_text_font ?> ;
font - size : < ? = $menu_main_text_size ?> ;
color : < ? = $menu_main_text_color ?> ;
2021-11-30 16:36:32 +01:00
padding : 10 px ;
}
ul . navbar - nav > li . nav - item : hover > a . header_user ,
ul . navbar - nav > li . nav - item : focus > a . header_user ,
ul . navbar - nav > li . nav - item : active > a . header_user {
2023-05-13 00:50:24 +02:00
color : < ? = $header_user_color_hover ?> ;
2021-11-30 16:36:32 +01:00
}
ul . navbar - nav > li . nav - item : hover > a . header_domain ,
ul . navbar - nav > li . nav - item : focus > a . header_domain ,
ul . navbar - nav > li . nav - item : active > a . header_domain {
2023-05-13 00:50:24 +02:00
color : < ? = $header_domain_color_hover ?> ;
2021-11-30 16:36:32 +01:00
}
2017-06-13 07:09:36 +02:00
/* logout icon */
a . logout_icon {
2023-05-13 00:50:24 +02:00
color : < ? = $logout_icon_color ?> ;
2021-11-30 23:39:39 +01:00
padding : 14 px 10 px ;
2019-08-21 02:15:50 +02:00
}
a . logout_icon : hover ,
a . logout_icon : focus ,
a . logout_icon : active {
2023-05-13 00:50:24 +02:00
color : < ? = $logout_icon_color_hover ?> ;
background : < ? = $menu_main_background_color_hover ?> ;
2017-06-13 07:09:36 +02:00
}
2019-03-26 21:43:31 +01:00
a #header_logout_icon {
display : inline - block ;
font - size : 11 pt ;
padding - left : 5 px ;
padding - right : 5 px ;
margin - left : 5 px ;
margin - right : 5 px ;
}
2017-06-13 07:09:36 +02:00
/* xs menu toggle button */
2019-08-21 02:15:50 +02:00
/*
2017-06-13 07:09:36 +02:00
. navbar - inverse . navbar - toggle {
background : transparent ;
border : none ;
padding : 16 px 7 px 17 px 20 px ;
margin : 0 8 px ;
}
. navbar - inverse . navbar - toggle : hover ,
. navbar - inverse . navbar - toggle : focus ,
. navbar - inverse . navbar - toggle : active {
background : transparent ;
}
2019-08-21 02:15:50 +02:00
*/
2017-06-13 07:09:36 +02:00
2019-10-02 22:01:27 +02:00
button . navbar - toggler {
min - height : 50 px ;
}
2019-08-21 02:15:50 +02:00
button . navbar - toggler > span . fas . fa - bars {
2023-05-13 00:50:24 +02:00
color : < ? = $menu_main_toggle_color ?> ;
2017-06-13 07:09:36 +02:00
}
2019-08-21 02:15:50 +02:00
button . navbar - toggler > span . fas . fa - bars : hover {
2023-05-13 00:50:24 +02:00
color : < ? = $menu_main_toggle_color_hover ?> ;
2017-06-13 07:09:36 +02:00
}
2019-03-23 03:11:55 +01:00
/* SIDE MENU: Begin ***********************************************************/
/* side menu container */
div #menu_side_container {
z - index : 99900 ;
position : fixed ;
top : 0 ;
left : 0 ;
2023-05-13 00:50:24 +02:00
width : < ? php echo in_array ( $menu_side_state , [ 'expanded' , 'hidden' ]) ? $menu_side_width_expanded : $menu_side_width_contracted ; ?> px;
2019-03-23 03:11:55 +01:00
height : 100 % ;
overflow : auto ;
2023-05-13 00:50:24 +02:00
< ? php if ( $menu_main_background_image ) { ?>
background - image : url ( " <?= $menu_main_background_image ?> " );
2019-03-23 03:11:55 +01:00
background - position : 0 px 0 px ;
background - repeat : repeat - y ;
2023-05-13 00:50:24 +02:00
< ? php } else { ?>
background : < ? = $menu_main_background_color ?> ;
2019-03-23 03:11:55 +01:00
< ? php } ?>
2023-05-13 00:50:24 +02:00
- webkit - box - shadow : < ? = $menu_main_shadow_color ?> ;
- moz - box - shadow : < ? = $menu_main_shadow_color ?> ;
box - shadow : < ? = $menu_main_shadow_color ?> ;
border - color : < ? = $menu_main_border_color ?> ;
border - width : < ? = $menu_main_border_size ?> ;
- moz - border - radius : < ? = $menu_main_border_radius ?> ;
- webkit - border - radius : < ? = $menu_main_border_radius ?> ;
- khtml - border - radius : < ? = $menu_main_border_radius ?> ;
border - radius : < ? = $menu_main_border_radius ?> ;
2019-03-23 03:11:55 +01:00
}
/* menu side logo */
2020-05-23 22:00:49 +02:00
a . menu_brand_image {
display : inline - block ;
text - align : center ;
padding : 15 px 20 px ;
}
a . menu_brand_image : hover {
text - decoration : none ;
}
2019-03-27 01:52:35 +01:00
img #menu_brand_image_contracted {
2019-03-23 03:11:55 +01:00
border : none ;
width : auto ;
2020-05-23 22:00:49 +02:00
max - height : 20 px ;
max - width : 20 px ;
margin - left : - 1 px ;
2019-03-23 03:11:55 +01:00
}
2019-03-27 01:52:35 +01:00
img #menu_brand_image_expanded {
border : none ;
height : auto ;
max - width : 145 px ;
max - height : 35 px ;
2020-05-23 22:00:49 +02:00
margin - left : - 7 px ;
2019-03-27 01:52:35 +01:00
}
2019-03-23 03:11:55 +01:00
/* menu brand text */
2020-05-23 22:00:49 +02:00
a . menu_brand_text {
display : inline - block ;
padding : 10 px 20 px ;
2023-05-13 00:50:24 +02:00
color : < ? = $menu_brand_text_color ?> ;
2019-03-23 03:11:55 +01:00
font - weight : 600 ;
white - space : nowrap ;
}
2020-05-23 22:00:49 +02:00
a . menu_brand_text : hover {
2023-05-13 00:50:24 +02:00
color : < ? = $menu_brand_text_color_hover ?> ;
2019-03-26 21:43:31 +01:00
text - decoration : none ;
2019-03-23 03:11:55 +01:00
}
2020-05-21 05:24:19 +02:00
/* menu side control container */
div #menu_side_control_container {
position : - webkit - sticky ;
position : sticky ;
z - index : 99901 ;
top : 0 ;
padding : 0 ;
min - height : 75 px ;
text - align : left ;
2023-05-13 00:50:24 +02:00
< ? php if ( $menu_main_background_image ) { ?>
background - image : url ( " <?= $menu_main_background_image ?> " );
2020-05-21 05:24:19 +02:00
background - position : 0 px 0 px ;
background - repeat : repeat - y ;
2023-05-13 00:50:24 +02:00
< ? php } else { ?>
background : < ? = $menu_main_background_color ?> ;
2020-05-21 05:24:19 +02:00
< ? php } ?>
2023-05-13 00:50:24 +02:00
border - color : < ? = $menu_main_border_color ?> ;
border - width : < ? = $menu_main_border_size ?> ;
- moz - border - radius : < ? = $menu_main_border_radius ?> ;
- webkit - border - radius : < ? = $menu_main_border_radius ?> ;
- khtml - border - radius : < ? = $menu_main_border_radius ?> ;
border - radius : < ? = $menu_main_border_radius ?> ;
2020-05-21 05:24:19 +02:00
}
2019-10-17 22:52:04 +02:00
div #menu_side_container > a.menu_side_item_main,
div #menu_side_container > div > a.menu_side_item_main,
2020-05-21 05:24:19 +02:00
div #menu_side_container > div#menu_side_control_container a.menu_side_item_main {
2019-03-23 03:11:55 +01:00
display : block ;
width : 100 % ;
padding : 10 px 20 px ;
text - align : left ;
2023-05-13 00:50:24 +02:00
font - family : < ? = $menu_main_text_font ?> ;
font - size : < ? = $menu_main_text_size ?> ;
color : < ? = $menu_main_text_color ?> ;
2019-03-23 03:11:55 +01:00
cursor : pointer ;
}
2019-08-31 13:52:30 +02:00
div #menu_side_container > a.menu_side_item_main:hover,
2020-05-21 05:24:19 +02:00
div #menu_side_container > a.menu_side_item_main:focus,
div #menu_side_container > a.menu_side_item_main:active,
2019-10-17 22:52:04 +02:00
div #menu_side_container > div > a.menu_side_item_main:hover,
div #menu_side_container > div > a.menu_side_item_main:focus,
div #menu_side_container > div > a.menu_side_item_main:active,
2020-05-21 05:24:19 +02:00
div #menu_side_container > div#menu_side_control_container > div a.menu_side_item_main:hover,
div #menu_side_container > div#menu_side_control_container > div a.menu_side_item_main:focus,
2020-05-23 22:00:49 +02:00
div #menu_side_container > div#menu_side_control_container > div a.menu_side_item_main:active {
2023-05-13 00:50:24 +02:00
color : < ? = $menu_main_text_color_hover ?> ;
background : < ? = $menu_main_background_color_hover ?> ;
2019-03-23 03:11:55 +01:00
text - decoration : none ;
}
2020-05-24 03:25:32 +02:00
div #menu_side_container > a.menu_side_item_main > i.menu_side_item_icon,
div #menu_side_container > a.menu_side_item_main > i.menu_side_item_icon,
div #menu_side_container > a.menu_side_item_main > i.menu_side_item_icon {
2023-05-13 00:50:24 +02:00
color : < ? = $menu_main_icon_color ?> ;
2020-05-24 03:25:32 +02:00
}
2020-05-24 03:18:16 +02:00
div #menu_side_container > a.menu_side_item_main:hover > i.menu_side_item_icon,
div #menu_side_container > a.menu_side_item_main:focus > i.menu_side_item_icon,
div #menu_side_container > a.menu_side_item_main:active > i.menu_side_item_icon {
2023-05-13 00:50:24 +02:00
color : < ? = $menu_main_icon_color_hover ?> ;
2020-05-24 03:18:16 +02:00
}
2019-03-23 03:11:55 +01:00
a . menu_side_item_sub {
display : block ;
width : 100 % ;
2019-08-21 02:15:50 +02:00
padding : 5 px 20 px 5 px 45 px ;
2019-03-23 03:11:55 +01:00
text - align : left ;
2023-05-13 00:50:24 +02:00
background : < ? = $menu_sub_background_color ?> ;
font - family : < ? = $menu_sub_text_font ?> ;
font - size : < ? = $menu_sub_text_size ?> ;
color : < ? = $menu_sub_text_color ?> ;
2019-03-23 03:11:55 +01:00
cursor : pointer ;
}
2020-05-23 22:00:49 +02:00
@ media ( max - width : 575.98 px ) {
a . menu_side_item_sub {
padding : 8 px 20 px 8 px 45 px ;
}
}
2019-03-23 03:11:55 +01:00
a . menu_side_item_sub : hover ,
a . menu_side_item_sub : focus ,
a . menu_side_item_sub : active {
2023-05-13 00:50:24 +02:00
color : < ? = $menu_sub_text_color_hover ?> ;
background : < ? = $menu_sub_background_color_hover ?> ;
2019-03-23 03:11:55 +01:00
text - decoration : none ;
}
2019-03-26 21:43:31 +01:00
a . menu_side_toggle {
padding : 10 px ;
cursor : pointer ;
}
2019-03-23 03:11:55 +01:00
2020-05-23 22:00:49 +02:00
div #content_container {
padding : 0 ;
padding - top : 0 px ;
text - align : center ;
}
@ media ( max - width : 575.98 px ) {
div #content_container {
width : 100 % ;
}
}
@ media ( min - width : 576 px ) {
div #content_container {
< ? php
2023-05-13 00:50:24 +02:00
if ( $menu_side_state == 'expanded' ) {
$content_container_width = $menu_side_width_expanded ;
2020-05-23 22:00:49 +02:00
}
2023-05-13 00:50:24 +02:00
else if ( $menu_side_state == 'hidden' ) {
2020-05-28 05:24:07 +02:00
$content_container_width = 0 ;
}
2020-05-23 22:00:49 +02:00
else {
2023-05-13 00:50:24 +02:00
$content_container_width = $menu_side_width_contracted ;
2020-05-23 22:00:49 +02:00
}
?>
2023-05-13 00:50:24 +02:00
width : calc ( 100 % - < ? = $content_container_width ?> px);
2020-05-23 22:00:49 +02:00
float : right ;
}
}
2020-05-28 07:02:13 +02:00
/* BODY/HEADER BAR *****************************************************************/
2023-05-13 00:50:24 +02:00
< ? php if ( $menu_style == 'side' ) { ?>
2020-05-28 07:02:13 +02:00
div #body_header {
padding : 10 px 10 px 15 px 10 px ;
height : 50 px ;
2023-05-13 00:50:24 +02:00
background - color : < ? = $body_header_background_color ?>
2020-05-28 07:02:13 +02:00
}
< ? php } else { ?>
div #body_header {
padding : 10 px ;
margin - top : 5 px ;
height : 40 px ;
}
< ? php } ?>
div #body_header_brand_image {
display : inline - block ;
margin - left : 10 px ;
}
div #body_header_brand_image > a:hover {
text - decoration : none ;
}
img #body_header_brand_image {
border : none ;
margin - top : - 4 px ;
height : auto ;
max - width : 145 px ;
max - height : 35 px ;
}
div #body_header_brand_text {
display : inline - block ;
margin : 3 px 0 0 10 px ;
}
div #body_header_brand_text > a {
2023-05-13 00:50:24 +02:00
color : < ? = $body_header_brand_text_color ?> ;
font - size : < ? = $body_header_brand_text_size ?> ;
2020-05-28 07:02:13 +02:00
font - weight : 600 ;
text - decoration : none ;
}
div #body_header_brand_text > a:hover {
2023-05-13 00:50:24 +02:00
color : < ? = $body_header_brand_text_color_hover ?> ;
2020-05-28 07:02:13 +02:00
text - decoration : none ;
}
2017-06-13 07:09:36 +02:00
/* BUTTONS ********************************************************************/
/* buttons */
input . btn ,
2019-10-02 22:01:27 +02:00
input . button ,
button . btn - default {
2023-05-13 00:50:24 +02:00
height : < ? = $button_height ?> ;
padding : < ? = $button_padding ?> ;
border : < ? = $button_border_size ?> solid <?=$button_border_color?>;
< ? php $br = format_border_radius ( $button_border_radius , '3px' ); ?>
2017-06-13 07:09:36 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
< ? php
2023-05-13 00:50:24 +02:00
$color_1 = $button_background_color ;
$color_2 = $button_background_color_bottom ;
2017-06-13 07:09:36 +02:00
?>
2023-05-13 00:50:24 +02:00
background : < ? = $color_1 ?> ;
background - image : - ms - linear - gradient ( top , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
background - image : - moz - linear - gradient ( top , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
background - image : - o - linear - gradient ( top , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , < ? = $color_1 ?> ), color-stop(1, <?=$color_2?>));
background - image : - webkit - linear - gradient ( top , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
background - image : linear - gradient ( to bottom , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
2017-06-13 07:09:36 +02:00
< ? php unset ( $color_1 , $color_2 ); ?>
2023-05-13 00:50:24 +02:00
font - family : < ? = $button_text_font ?> ;
2017-06-13 07:09:36 +02:00
text - align : center ;
text - transform : uppercase ;
2023-05-13 00:50:24 +02:00
color : < ? = $button_text_color ?> ;
font - weight : < ? = $button_text_weight ?> ;
font - size : < ? = $button_text_size ?> ;
2017-06-13 07:09:36 +02:00
vertical - align : middle ;
2020-02-07 14:52:58 +01:00
white - space : nowrap ;
2017-06-13 07:09:36 +02:00
}
input . btn : hover ,
input . btn : active ,
input . btn : focus ,
input . button : hover ,
input . button : active ,
2019-10-02 22:01:27 +02:00
input . button : focus ,
button . btn - default : hover ,
button . btn - default : active ,
button . btn - default : focus {
2017-06-13 07:09:36 +02:00
cursor : pointer ;
2023-05-13 00:50:24 +02:00
border - color : < ? = $button_border_color_hover ?> ;
2017-06-13 07:09:36 +02:00
< ? php
2023-05-13 00:50:24 +02:00
$color_1 = $button_background_color_hover ;
$color_2 = $button_background_color_bottom_hover ;
2017-06-13 07:09:36 +02:00
?>
2023-05-13 00:50:24 +02:00
background : < ? = $color_1 ?> ;
background - image : - ms - linear - gradient ( top , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
background - image : - moz - linear - gradient ( top , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
background - image : - o - linear - gradient ( top , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , < ? = $color_1 ?> ), color-stop(1, <?=$color_2?>));
background - image : - webkit - linear - gradient ( top , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
background - image : linear - gradient ( to bottom , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
2017-06-13 07:09:36 +02:00
< ? php unset ( $color_1 , $color_2 ); ?>
2023-05-13 00:50:24 +02:00
color : < ? = $button_text_color_hover ?> ;
2017-06-13 07:09:36 +02:00
}
2019-10-12 09:12:59 +02:00
/* remove (along with icons in theme/default/config.php) after transition to button class */
2019-10-02 22:01:27 +02:00
button . btn - icon {
margin : 0 2 px ;
2019-10-09 23:52:53 +02:00
white - space : nowrap ;
2017-06-13 07:09:36 +02:00
}
2019-10-02 22:01:27 +02:00
/* control icons (define after the default bootstrap btn-default class) */
2017-06-13 07:09:36 +02:00
button . list_control_icon ,
button . list_control_icon_disabled {
width : 24 px ;
height : 24 px ;
padding : 2 px ;
margin : 1 px ;
2023-05-13 00:50:24 +02:00
border : < ? = $button_border_size ?> solid <?=$button_border_color?>;
< ? php $br = format_border_radius ( $button_border_radius , '3px' ); ?>
2017-06-13 07:09:36 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
< ? php
2023-05-13 00:50:24 +02:00
$color_1 = $button_background_color ;
$color_2 = $button_background_color_bottom ;
2017-06-13 07:09:36 +02:00
?>
2023-05-13 00:50:24 +02:00
background : < ? = $color_1 ?> ;
background - image : - ms - linear - gradient ( top , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
background - image : - moz - linear - gradient ( top , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
background - image : - o - linear - gradient ( top , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , < ? = $color_1 ?> ), color-stop(1, <?=$color_2?>));
background - image : - webkit - linear - gradient ( top , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
background - image : linear - gradient ( to bottom , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
2017-06-13 07:09:36 +02:00
< ? php unset ( $color_1 , $color_2 ); ?>
2023-05-13 00:50:24 +02:00
color : < ? = $button_text_color ?> ;
2017-06-13 07:09:36 +02:00
font - size : 10.5 pt ;
text - align : center ;
- moz - opacity : 0.3 ;
opacity : 0.3 ;
}
button . list_control_icon : hover ,
button . list_control_icon : active ,
button . list_control_icon : focus {
cursor : pointer ;
2023-05-13 00:50:24 +02:00
border - color : < ? = $button_border_color_hover ?> ;
2017-06-13 07:09:36 +02:00
< ? php
2023-05-13 00:50:24 +02:00
$color_1 = $button_background_color_hover ;
$color_2 = $button_background_color_bottom_hover ;
2017-06-13 07:09:36 +02:00
?>
2023-05-13 00:50:24 +02:00
background : < ? = $color_1 ?> ;
background - image : - ms - linear - gradient ( top , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
background - image : - moz - linear - gradient ( top , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
background - image : - o - linear - gradient ( top , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , < ? = $color_1 ?> ), color-stop(1, <?=$color_2?>));
background - image : - webkit - linear - gradient ( top , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
background - image : linear - gradient ( to bottom , < ? = $color_1 ?> 0%, <?=$color_2?> 100%);
2017-06-13 07:09:36 +02:00
< ? php unset ( $color_1 , $color_2 ); ?>
2023-05-13 00:50:24 +02:00
color : < ? = $button_text_color_hover ?> ;
2017-06-13 07:09:36 +02:00
- moz - opacity : 1.0 ;
opacity : 1.0 ;
}
2023-05-13 00:50:24 +02:00
< ? php if ( in_array ( $button_icons , [ 'always' , 'auto' ])) { ?>
2019-10-12 09:12:59 +02:00
button : not ( . btn - link ) > span . button - label . pad {
margin - left : 6 px ;
}
< ? php } ?>
2019-10-24 05:19:37 +02:00
a . disabled ,
button . btn . disabled {
outline : none ; /* hides the dotted outline of the anchor tag on focus/active */
cursor : default ;
}
2019-11-29 23:26:10 +01:00
/* DISPLAY BREAKPOINTS ****************************************************************/
2019-10-20 04:29:44 +02:00
2019-11-29 23:26:10 +01:00
/* screen = extra small */
2019-10-20 04:29:44 +02:00
@ media ( max - width : 575.98 px ) {
. hide - xs ,
. hide - sm - dn ,
. hide - md - dn ,
. hide - lg - dn {
display : none ;
}
2019-11-29 23:26:10 +01:00
. show - xs ,
. show - xs - inline ,
. show - sm - dn ,
. show - sm - dn - inline ,
. show - md - dn ,
. show - md - dn - inline ,
. show - lg - dn ,
. show - lg - dn - inline {
display : inline ;
}
. show - xs - block ,
. show - sm - dn - block ,
. show - md - dn - block ,
. show - lg - dn - block {
display : block ;
}
. show - xs - inline - block ,
. show - sm - dn - inline - block ,
. show - md - dn - inline - block ,
. show - lg - dn - inline - block {
display : inline - block ;
}
. show - xs - table - cell ,
. show - sm - dn - table - cell ,
. show - md - dn - table - cell ,
. show - lg - dn - table - cell {
display : table - cell ;
}
2019-10-20 04:29:44 +02:00
}
2019-11-29 23:26:10 +01:00
/* screen = small */
2019-10-20 04:29:44 +02:00
@ media ( min - width : 576 px ) and ( max - width : 767.98 px ) {
. hide - sm ,
. hide - sm - dn ,
. hide - md - dn ,
2019-11-29 23:26:10 +01:00
. hide - lg - dn ,
. hide - sm - up {
2019-10-12 09:12:59 +02:00
display : none ;
}
2019-11-29 23:26:10 +01:00
. show - sm ,
. show - sm - dn ,
. show - sm - dn - inline ,
. show - md - dn ,
. show - md - dn - inline ,
. show - lg - dn ,
. show - lg - dn - inline {
display : inline ;
}
. show - sm - block ,
. show - sm - dn - block ,
. show - md - dn - block ,
. show - lg - dn - block {
display : block ;
}
. show - sm - inline - block ,
. show - sm - dn - inline - block ,
. show - md - dn - inline - block ,
. show - lg - dn - inline - block {
display : inline - block ;
}
. show - sm - table - cell ,
. show - sm - dn - table - cell ,
. show - md - dn - table - cell ,
. show - lg - dn - table - cell {
display : table - cell ;
}
2019-10-12 09:12:59 +02:00
}
2019-11-29 23:26:10 +01:00
/* screen = medium */
2019-10-20 04:29:44 +02:00
@ media ( min - width : 768 px ) and ( max - width : 991.98 px ) {
. hide - md ,
. hide - md - dn ,
2019-11-29 23:26:10 +01:00
. hide - lg - dn ,
. hide - md - up ,
. hide - sm - up {
2019-10-20 04:29:44 +02:00
display : none ;
}
2019-11-29 23:26:10 +01:00
. show - md ,
. show - md - dn ,
. show - md - dn - inline ,
. show - lg - dn ,
. show - lg - dn - inline {
display : inline ;
}
. show - md - block ,
. show - md - dn - block ,
. show - lg - dn - block {
display : block ;
}
. show - md - inline - block ,
. show - md - dn - inline - block ,
. show - lg - dn - inline - block {
display : inline - block ;
}
. show - md - table - cell ,
. show - md - dn - table - cell ,
. show - lg - dn - table - cell {
display : table - cell ;
}
2019-10-20 04:29:44 +02:00
}
2019-11-29 23:26:10 +01:00
/* screen = large */
2019-10-20 04:29:44 +02:00
@ media ( min - width : 992 px ) and ( max - width : 1199.98 px ) {
. hide - lg ,
2019-11-29 23:26:10 +01:00
. hide - lg - dn ,
. hide - lg - up ,
. hide - md - up ,
. hide - sm - up {
2019-10-20 04:29:44 +02:00
display : none ;
}
2019-11-29 23:26:10 +01:00
. show - lg ,
. show - lg - dn ,
. show - lg - dn - inline {
display : inline ;
}
. show - lg - block ,
. show - lg - dn - block {
display : block ;
}
. show - lg - inline - block ,
. show - lg - dn - inline - block {
display : inline - block ;
}
. show - lg - table - cell ,
. show - lg - dn - table - cell {
display : table - cell ;
}
2019-10-20 04:29:44 +02:00
}
2019-11-29 23:26:10 +01:00
/* screen >= extra large */
2019-10-20 04:29:44 +02:00
@ media ( min - width : 1200 px ) {
2019-11-29 23:26:10 +01:00
. hide - xl ,
. hide - lg - up ,
. hide - md - up ,
. hide - sm - up {
2019-10-20 04:29:44 +02:00
display : none ;
2019-10-12 09:12:59 +02:00
}
2019-11-29 23:26:10 +01:00
. show - xl ,
. show - xl - inline {
display : inline ;
}
. show - xl - block {
display : block ;
}
. show - xl - inline - block {
display : inline - block ;
}
. show - xl - table - cell {
display : table - cell ;
}
2019-10-12 09:12:59 +02:00
}
2019-10-22 09:42:55 +02:00
/* hide button labels on medium and smaller screens (only if icons present) */
@ media ( max - width : 991.98 px ) {
button : not ( . btn - link ) > span . button - label . hide - md - dn {
display : none ;
}
}
2017-06-13 07:09:36 +02:00
/* ICONS *********************************************************************/
2019-08-21 02:15:50 +02:00
span . icon_body {
2017-06-13 07:09:36 +02:00
width : 16 px ;
height : 16 px ;
2023-05-13 00:50:24 +02:00
color : < ? = $body_icon_color ?> ;
2017-06-13 07:09:36 +02:00
border : 0 ;
}
2019-08-21 02:15:50 +02:00
span . icon_body : hover {
2023-05-13 00:50:24 +02:00
color : < ? = $body_icon_color_hover ?> ;
2017-06-13 07:09:36 +02:00
}
/* DOMAIN SELECTOR ***********************************************************/
#domains_container {
z - index : 99990 ;
position : absolute ;
right : 0 ;
top : 0 ;
bottom : 0 ;
width : 360 px ;
overflow : hidden ;
display : none ;
}
#domains_block {
position : absolute ;
right : - 300 px ;
top : 0 ;
bottom : 0 ;
width : 340 px ;
padding : 20 px 20 px 100 px 20 px ;
font - family : arial , san - serif ;
font - size : 10 pt ;
overflow : hidden ;
2023-05-13 00:50:24 +02:00
background : < ? = $domain_selector_background_color ?> ;
- webkit - box - shadow : < ? = $domain_selector_shadow_color ?> ;
- moz - box - shadow : < ? = $domain_selector_shadow_color ?> ;
box - shadow : < ? = $domain_selector_shadow_color ?> ;
2017-06-13 07:09:36 +02:00
}
#domains_header {
position : relative ;
width : 300 px ;
height : 55 px ;
margin - bottom : 20 px ;
text - align : left ;
}
2020-06-02 17:17:23 +02:00
#domains_header > a#domains_title {
font - weight : 600 ;
2023-05-13 00:50:24 +02:00
font - size : < ? = $heading_text_size ?> ;
font - family : < ? = $heading_text_font ?> ;
color : < ? = $domain_selector_title_color ?> ;
2020-06-02 17:17:23 +02:00
}
#domains_header > a#domains_title:hover {
text - decoration : none ;
2023-05-13 00:50:24 +02:00
color : < ? = $domain_selector_title_color_hover ?> ;
2020-06-02 17:17:23 +02:00
}
2017-06-13 07:09:36 +02:00
#domains_list {
position : relative ;
overflow : auto ;
width : 300 px ;
height : 100 % ;
padding : 1 px ;
2023-05-13 00:50:24 +02:00
background : < ? = $domain_selector_list_background_color ?> ;
border : 1 px solid < ? = $domain_selector_list_border_color ?> ;
2017-06-13 07:09:36 +02:00
}
2019-08-29 02:17:29 +02:00
div . domains_list_item , div . domains_list_item_active , div . domains_list_item_inactive {
2017-06-13 07:09:36 +02:00
text - align : left ;
2023-05-13 00:50:24 +02:00
border - bottom : 1 px solid < ? = $domain_selector_list_divider_color ?> ;
2017-06-13 07:09:36 +02:00
padding : 5 px 8 px 8 px 8 px ;
overflow : hidden ;
white - space : nowrap ;
cursor : pointer ;
}
2020-04-17 06:53:15 +02:00
div . domains_list_item span . domain_list_item_description ,
div . domains_list_item_active span . domain_list_item_description ,
2019-10-08 23:47:50 +02:00
div . domains_list_item_inactive span . domain_list_item_description ,
2020-04-17 06:53:15 +02:00
2019-10-08 23:47:50 +02:00
div . domains_list_item_active span . domain_active_list_item_description ,
div . domains_list_item_inactive span . domain_inactive_list_item_description {
2017-06-13 07:09:36 +02:00
font - size : 11 px ;
}
2020-04-17 06:53:15 +02:00
div . domains_list_item span . domain_list_item_description ,
div . domains_list_item_active span . domain_list_item_description ,
2019-10-08 23:47:50 +02:00
div . domains_list_item_inactive span . domain_list_item_description {
2019-09-13 01:02:05 +02:00
color : #999;
}
2019-10-28 21:40:27 +01:00
div . domains_list_item_active a {
2023-05-13 00:50:24 +02:00
color : < ? = $domain_active_text_color ?> ;
}
2019-10-28 21:40:27 +01:00
div . domains_list_item_inactive a {
2023-05-13 00:50:24 +02:00
color : < ? = $domain_inactive_text_color ?> ;
}
2019-10-28 21:40:27 +01:00
2019-10-08 23:47:50 +02:00
div . domains_list_item_active span . domain_active_list_item_description {
2023-05-13 00:50:24 +02:00
color : < ? = $domain_active_desc_text_color ?> ;
2019-09-13 01:02:05 +02:00
}
2019-10-08 23:47:50 +02:00
div . domains_list_item_inactive span . domain_inactive_list_item_description {
2023-05-13 00:50:24 +02:00
color : < ? = $domain_inactive_desc_text_color ?> ;
2019-09-13 01:02:05 +02:00
}
2017-06-13 07:09:36 +02:00
div . domains_list_item : hover a ,
div . domains_list_item : hover span {
color : #5082ca;
}
2019-10-28 21:40:27 +01:00
2019-07-27 19:45:06 +02:00
div . domains_list_item_active : hover a ,
div . domains_list_item_active : hover span {
2023-05-13 00:50:24 +02:00
color : < ? = $domain_active_text_color_hover ?> ;
2019-07-27 19:45:06 +02:00
}
2020-04-17 06:53:15 +02:00
2019-08-29 02:17:29 +02:00
div . domains_list_item_inactive : hover a ,
div . domains_list_item_inactive : hover span {
2023-05-13 00:50:24 +02:00
color : < ? = $domain_inactive_text_color_hover ?> ;
2019-08-29 02:17:29 +02:00
}
2017-06-13 07:09:36 +02:00
/* DOMAIN SELECTOR: END ********************************************************/
#default_login {
position : fixed ;
2023-05-13 00:50:24 +02:00
top : < ? = $login_body_top ?> ;
left : < ? = $login_body_left ?> ;
2017-06-13 07:09:36 +02:00
- moz - transform : translate ( - 50 % , - 50 % );
- webkit - transform : translate ( - 50 % , - 50 % );
- khtml - transform : translate ( - 50 % , - 50 % );
transform : translate ( - 50 % , - 50 % );
2023-05-13 00:50:24 +02:00
padding : < ? = $login_body_padding ?> ;
2023-05-14 05:28:54 +02:00
width : < ? = $login_body_width ?> ;
2023-05-13 00:50:24 +02:00
background : < ? = $login_body_background_color ?> ;
< ? php $br = format_border_radius ( $login_body_border_radius , '4px' ); ?>
2017-06-13 07:09:36 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2023-05-13 00:50:24 +02:00
border - style : < ? = $login_body_border_style ?> ;
border - width : < ? = $login_body_border_size ?> ;
border - color : < ? = $login_body_border_color ?> ;
- webkit - box - shadow : < ? = $login_body_shadow_color ?> ;
- moz - box - shadow : < ? = $login_body_shadow_color ?> ;
box - shadow : < ? = $login_body_shadow_color ?> ;
2017-06-13 07:09:36 +02:00
}
#login_logo {
2019-03-27 20:21:25 +01:00
text - decoration : none ;
2017-06-13 07:09:36 +02:00
}
a . login_link {
2023-05-13 00:50:24 +02:00
color : < ? = $login_link_text_color ?> !important;
font - size : < ? = $login_link_text_size ?> ;
font - family : < ? = $login_link_text_font ?> ;
2017-06-13 07:09:36 +02:00
text - decoration : none ;
}
a . login_link : hover {
2023-05-13 00:50:24 +02:00
color : < ? = $login_link_text_color_hover ?> !important;
2017-06-13 07:09:36 +02:00
cursor : pointer ;
2020-08-01 05:44:26 +02:00
text - decoration : none ;
2017-06-13 07:09:36 +02:00
}
2023-06-23 02:14:07 +02:00
. login_text {
color : < ? = $login_text_color ?> !important;
font - size : < ? = $login_text_size ?> ;
font - family : < ? = $login_text_font ?> ;
text - decoration : none ;
}
2017-06-13 07:09:36 +02:00
< ? php
//determine body padding & margins (overides on main_content style below) based on menu selection
switch ( $menu_style ) {
case 'inline' : $body_top_style = " margin-top: -8px; " ; break ;
case 'static' : $body_top_style = " margin-top: -5px; " ; break ;
case 'fixed' :
switch ( $menu_position ) {
case 'bottom' : $body_top_style = " margin-top: 30px; " ; break ;
case 'top' :
default : $body_top_style = " margin-top: 65px; " ; break ;
}
}
?>
#main_content {
display : inline - block ;
width : 100 % ;
< ? php
2023-05-14 05:28:54 +02:00
if ( isset ( $background_images ) || ! empty ( $background_colors [ 0 ]) || ! empty ( $background_colors [ 1 ])) {
2020-03-22 05:33:35 +01:00
?>
2023-05-13 00:50:24 +02:00
background : < ? = $body_color ?> ;
2017-06-13 07:09:36 +02:00
background - attachment : fixed ;
2023-05-13 00:50:24 +02:00
< ? php $br = format_border_radius ( $body_border_radius , '4px' ); ?>
2017-06-13 07:09:36 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2023-05-13 00:50:24 +02:00
- webkit - box - shadow : < ? = $body_shadow_color ?> ;
- moz - box - shadow : < ? = $body_shadow_color ?> ;
box - shadow : < ? = $body_shadow_color ?> ;
2017-06-13 07:09:36 +02:00
padding : 20 px ;
< ? php
}
else {
?> padding: 5px 10px 10px 10px;<?php
}
echo $body_top_style ;
?>
text - align : left ;
2023-05-13 00:50:24 +02:00
color : < ? = $body_text_color ?> ;
font - size : < ? = $body_text_size ?> ;
font - family : < ? = $body_text_font ?> ;
2017-06-13 07:09:36 +02:00
}
/* default body padding */
. container - fluid {
2023-05-13 00:50:24 +02:00
width : < ? = $body_width ?> ;
2017-06-13 07:09:36 +02:00
}
/* maximize viewport usage on xs displays */
@ media ( min - width : 0 px ) and ( max - width : 767 px ) {
. container - fluid {
width : 100 % ;
}
#main_content {
padding : 8 px ;
}
}
/* GENERAL ELEMENTS *****************************************************************/
img {
border : none ;
}
. title , b {
2023-05-13 00:50:24 +02:00
color : < ? = $heading_text_color ?> ;
font - size : < ? = $heading_text_size ?> ;
font - family : < ? = $heading_text_font ?> ;
2017-06-13 07:09:36 +02:00
font - weight : bold
}
2019-10-09 23:52:53 +02:00
a ,
button . btn . btn - link {
2023-05-13 00:50:24 +02:00
color : < ? = $text_link_color ?> ;
2017-06-13 07:09:36 +02:00
text - decoration : none ;
}
2019-10-09 23:52:53 +02:00
a : hover ,
button . btn . btn - link : hover {
2023-05-13 00:50:24 +02:00
color : < ? = $text_link_color_hover ?> ;
2020-08-01 05:44:26 +02:00
text - decoration : none ;
2017-06-13 07:09:36 +02:00
}
2019-10-30 08:05:43 +01:00
button . btn {
margin - left : 2 px ;
margin - right : 2 px ;
}
2019-10-09 23:52:53 +02:00
button . btn . btn - link {
margin : 0 ;
margin - top : - 2 px ;
padding : 0 ;
border : none ;
font - size : inherit ;
font - family : inherit ;
}
2019-10-30 08:05:43 +01:00
button . btn > span . fas . fa - spin {
display : inline - block ;
}
2017-06-13 07:09:36 +02:00
form {
margin : 0 ;
}
2019-10-02 22:01:27 +02:00
form . inline {
display : inline - block ;
}
2017-06-13 07:09:36 +02:00
/* style placeholder text (for browsers that support the attribute) - note: can't stack, each must be seperate */
2023-05-13 00:50:24 +02:00
::- webkit - input - placeholder { color : < ? = $input_text_placeholder_color ?> } /* chrome/opera/safari */
::- moz - placeholder { color : < ? = $input_text_placeholder_color ?> } /* ff 19+ */
:- moz - placeholder { color : < ? = $input_text_placeholder_color ?> } /* ff 18- */
:- ms - input - placeholder { color : < ? = $input_text_placeholder_color ?> } /* ie 10+ */
:: placeholder { color : < ? = $input_text_placeholder_color ?> } /* official standard */
2017-06-13 07:09:36 +02:00
select . txt ,
textarea . txt ,
input [ type = text ] . txt ,
input [ type = number ] . txt ,
input [ type = password ] . txt ,
label . txt ,
select . formfld ,
textarea . formfld ,
input [ type = text ] . formfld ,
input [ type = number ] . formfld ,
2019-02-28 10:45:59 +01:00
input [ type = url ] . formfld ,
2017-06-13 07:09:36 +02:00
input [ type = password ] . formfld ,
label . formfld {
2023-05-13 00:50:24 +02:00
font - family : < ? = $input_text_font ?> ;
font - size : < ? = $input_text_size ?> ;
color : < ? = $input_text_color ?> ;
2017-06-13 07:09:36 +02:00
text - align : left ;
height : 28 px ;
padding : 4 px 6 px ;
margin : 1 px ;
2023-05-13 00:50:24 +02:00
border - width : < ? = $input_border_size ?> ;
2017-06-13 07:09:36 +02:00
border - style : solid ;
2023-05-13 00:50:24 +02:00
border - color : < ? = $input_border_color ?> ;
background : < ? = $input_background_color ?> ;
2017-06-13 07:09:36 +02:00
< ? php
2023-05-13 00:50:24 +02:00
if ( ! empty ( $input_shadow_inner_color )) { $shadows [] = $input_shadow_inner_color ; }
if ( ! empty ( $input_shadow_outer_color )) { $shadows [] = $input_shadow_outer_color ; }
if ( ! empty ( $shadows )) {
?>
- webkit - box - shadow : < ? php echo implode ( ',' , $shadows ); ?> ;
- moz - box - shadow : < ? php echo implode ( ',' , $shadows ); ?> ;
box - shadow : < ? php echo implode ( ',' , $shadows ); ?> ;
< ? php
2017-06-13 07:09:36 +02:00
}
unset ( $shadows );
?>
2023-05-13 00:50:24 +02:00
< ? php $br = format_border_radius ( $input_border_radius , '3px' ); ?>
2017-06-13 07:09:36 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
vertical - align : middle ;
}
textarea . txt ,
input [ type = text ] . txt ,
input [ type = number ] . txt ,
input [ type = password ] . txt ,
textarea . formfld ,
input [ type = text ] . formfld ,
input [ type = number ] . formfld ,
2019-02-28 10:45:59 +01:00
input [ type = url ] . formfld ,
2017-06-13 07:09:36 +02:00
input [ type = password ] . formfld {
transition : width 0.25 s ;
- moz - transition : width 0.25 s ;
- webkit - transition : width 0.25 s ;
}
select . txt ,
select . formfld {
padding : 4 px 2 px ;
}
2023-11-03 21:33:50 +01:00
/* firefox only - adjust left padding */
@- moz - document url - prefix () {
select . txt ,
select . formfld {
padding - left : 6 px ;
}
}
2017-06-13 07:09:36 +02:00
textarea . txt : hover ,
input [ type = text ] . txt : hover ,
input [ type = number ] . txt : hover ,
input [ type = password ] . txt : hover ,
label . txt : hover ,
textarea . formfld : hover ,
input [ type = text ] . formfld : hover ,
input [ type = number ] . formfld : hover ,
2019-02-28 10:45:59 +01:00
input [ type = url ] . formfld : hover ,
2017-06-13 07:09:36 +02:00
input [ type = password ] . formfld : hover ,
label . formfld : hover {
2023-05-13 00:50:24 +02:00
border - color : < ? = $input_border_color_hover ?> ;
2017-06-13 07:09:36 +02:00
}
textarea . txt : focus ,
input [ type = text ] . txt : focus ,
input [ type = number ] . txt : focus ,
input [ type = password ] . txt : focus ,
label . txt : focus ,
textarea . formfld : focus ,
input [ type = text ] . formfld : focus ,
input [ type = number ] . formfld : focus ,
2019-02-28 10:45:59 +01:00
input [ type = url ] . formfld : focus ,
2017-06-13 07:09:36 +02:00
input [ type = password ] . formfld : focus ,
label . formfld : focus {
2023-05-13 00:50:24 +02:00
border - color : < ? = $input_border_color_focus ?> ;
2017-06-13 07:09:36 +02:00
/* first clear */
2023-05-13 00:50:24 +02:00
- webkit - box - shadow : none ;
- moz - box - shadow : none ;
box - shadow : none ;
2017-06-13 07:09:36 +02:00
/* then set */
2023-05-13 00:50:24 +02:00
< ? php
if ( ! empty ( $input_shadow_inner_color_focus )) { $shadows [] = $input_shadow_inner_color_focus ; }
if ( ! empty ( $input_shadow_outer_color_focus )) { $shadows [] = $input_shadow_outer_color_focus ; }
if ( ! empty ( $shadows )) {
?>
- webkit - box - shadow : < ? php echo implode ( ',' , $shadows ); ?> ;
- moz - box - shadow : < ? php echo implode ( ',' , $shadows ); ?> ;
box - shadow : < ? php echo implode ( ',' , $shadows ); ?> ;
< ? php
}
unset ( $shadows );
?>
2017-06-13 07:09:36 +02:00
}
2020-10-16 01:58:42 +02:00
textarea . txt ,
textarea . formfld {
resize : both ;
}
2017-06-13 07:09:36 +02:00
input . login {
2023-05-13 00:50:24 +02:00
font - family : < ? = $login_input_text_font ?> ;
font - size : < ? = $login_input_text_size ?> ;
color : < ? = $login_input_text_color ?> ;
border - width : < ? = $login_input_border_size ?> ;
border - color : < ? = $login_input_border_color ?> ;
background : < ? = $login_input_background_color ?> ;
2017-06-13 07:09:36 +02:00
/* first clear */
2023-05-13 00:50:24 +02:00
- webkit - box - shadow : none ;
- moz - box - shadow : none ;
box - shadow : none ;
2017-06-13 07:09:36 +02:00
/* then set */
2023-05-13 00:50:24 +02:00
< ? php
if ( ! empty ( $login_input_shadow_inner_color )) { $shadows [] = $login_input_shadow_inner_color ; }
if ( ! empty ( $login_input_shadow_outer_color )) { $shadows [] = $login_input_shadow_outer_color ; }
if ( ! empty ( $shadows )) {
?>
- webkit - box - shadow : < ? php echo implode ( ',' , $shadows ); ?> ;
- moz - box - shadow : < ? php echo implode ( ',' , $shadows ); ?> ;
box - shadow : < ? php echo implode ( ',' , $shadows ); ?> ;
< ? php
}
unset ( $shadows );
?>
< ? php $br = format_border_radius ( $login_input_border_radius , '3px' ); ?>
2017-06-13 07:09:36 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
}
input . login : hover {
2023-05-13 00:50:24 +02:00
border - color : < ? = $login_input_border_color_hover ?> ;
2017-06-13 07:09:36 +02:00
}
input . login : focus {
2023-05-13 00:50:24 +02:00
border - color : < ? = $login_input_border_color_hover_focus ?> ;
2017-06-13 07:09:36 +02:00
/* first clear */
2023-05-13 00:50:24 +02:00
- webkit - box - shadow : none ;
- moz - box - shadow : none ;
box - shadow : none ;
2017-06-13 07:09:36 +02:00
/* then set */
2023-05-13 00:50:24 +02:00
< ? php
if ( ! empty ( $login_input_shadow_inner_color_focus )) { $shadows [] = $login_input_shadow_inner_color_focus ; }
if ( ! empty ( $login_input_shadow_outer_color_focus )) { $shadows [] = $login_input_shadow_outer_color_focus ; }
if ( ! empty ( $shadows )) {
?>
- webkit - box - shadow : < ? php echo implode ( ',' , $shadows ); ?> ;
- moz - box - shadow : < ? php echo implode ( ',' , $shadows ); ?> ;
box - shadow : < ? php echo implode ( ',' , $shadows ); ?> ;
< ? php
}
unset ( $shadows );
?>
2017-06-13 07:09:36 +02:00
}
/* style placeholder text (for browsers that support the attribute) - note: can't stack, each must be seperate */
2023-05-13 00:50:24 +02:00
input . login ::- webkit - input - placeholder { color : < ? = $login_input_text_placeholder_color ?> ; } /* chrome/opera/safari */
input . login ::- moz - placeholder { color : < ? = $login_input_text_placeholder_color ?> ; } /* ff 19+ */
input . login :- moz - placeholder { color : < ? = $login_input_text_placeholder_color ?> ; } /* ff 18- */
input . login :- ms - input - placeholder { color : < ? = $login_input_text_placeholder_color ?> ; } /* ie 10+ */
input . login :: placeholder { color : < ? = $login_input_text_placeholder_color ?> ; } /* official standard */
2017-06-13 07:09:36 +02:00
input [ type = password ] . formfld_highlight_bad ,
input [ type = password ] . formfld_highlight_bad : hover ,
input [ type = password ] . formfld_highlight_bad : active ,
input [ type = password ] . formfld_highlight_bad : focus {
border - color : #aa2525;
- webkit - box - shadow : 0 0 3 px #aa2525 inset;
- moz - box - shadow : 0 0 3 px #aa2525 inset;
box - shadow : 0 0 3 px #aa2525 inset;
}
input [ type = password ] . formfld_highlight_good ,
input [ type = password ] . formfld_highlight_good : hover ,
input [ type = password ] . formfld_highlight_good : active ,
input [ type = password ] . formfld_highlight_good : focus {
border - color : #2fb22f;
- webkit - box - shadow : 0 0 3 px #2fb22f inset;
- moz - box - shadow : 0 0 3 px #2fb22f inset;
box - shadow : 0 0 3 px #2fb22f inset;
}
/* removes spinners (increment/decrement controls) inside input fields */
input [ type = number ] { - moz - appearance : textfield ; }
::- webkit - inner - spin - button { - webkit - appearance : none ; }
::- webkit - outer - spin - button { - webkit - appearance : none ; }
/* disables text input clear 'x' in IE 10+, slows down autosizeInput jquery script */
input [ type = text ] ::- ms - clear {
display : none ;
}
2019-10-20 00:55:46 +02:00
/* expand list search input on focus */
input [ type = text ] . list - search {
2019-10-12 09:12:59 +02:00
width : 70 px ;
min - width : 70 px ;
margin - left : 15 px ;
- webkit - transition : all . 5 s ease ;
- moz - transition : all . 5 s ease ;
transition : all . 5 s ease ;
}
2019-10-20 00:55:46 +02:00
input [ type = text ] . list - search : focus {
2019-10-12 09:12:59 +02:00
width : 150 px ;
}
2017-06-13 07:09:36 +02:00
input . fileinput {
padding : 1 px ;
display : inline ;
}
2019-10-02 22:01:27 +02:00
input [ type = checkbox ] {
margin - top : 2 px ;
}
2017-06-13 07:09:36 +02:00
label {
font - weight : normal ;
vertical - align : middle ;
}
label input [ type = checkbox ],
label input [ type = radio ] {
vertical - align : - 2 px ;
margin : 0 ;
padding : 0 ;
}
span . playback_progress_bar {
2024-02-09 21:07:19 +01:00
background - color : < ? = $audio_player_indicator_color ?> ;
< ? php if ( $audio_player_waveform_enabled === 'true' ) { ?>
width : 2 px ;
height : < ? = $audio_player_waveform_height ?> ;
margin - bottom : 0 ;
border - radius : 0 ;
< ? php } else { ?>
width : 17 px ;
height : 4 px ;
margin - bottom : 3 px ;
border - radius : 0 0 6 px 6 px ;
< ? php } ?>
2017-06-13 07:09:36 +02:00
display : block ;
- moz - border - radius : 0 0 6 px 6 px ;
- webkit - border - radius : 0 0 6 px 6 px ;
- khtml - border - radius : 0 0 6 px 6 px ;
2024-02-09 21:07:19 +01:00
- webkit - box - shadow : 0 0 3 px 0 px rgba ( < ? = hex_to_rgb ( $audio_player_indicator_color , ',' , true , 0.8 ) ?> );
- moz - box - shadow : 0 0 3 px 0 px rgba ( < ? = hex_to_rgb ( $audio_player_indicator_color , ',' , true , 0.8 ) ?> );
box - shadow : 0 0 3 px 0 px rgba ( < ? = hex_to_rgb ( $audio_player_indicator_color , ',' , true , 0.8 ) ?> );
2017-06-13 07:09:36 +02:00
}
2023-08-27 01:33:08 +02:00
td . vtable . playback_progress_bar_background ,
2019-10-22 09:57:20 +02:00
table . list tr . list - row td . playback_progress_bar_background {
2017-06-13 07:09:36 +02:00
padding : 0 ;
2024-02-09 21:07:19 +01:00
border : none ;
2019-10-22 09:57:20 +02:00
background - image : - ms - linear - gradient ( top , rgba ( 0 , 0 , 0 , 0.10 ) 0 % , transparent 100 % );
background - image : - moz - linear - gradient ( top , rgba ( 0 , 0 , 0 , 0.10 ) 0 % , transparent 100 % );
background - image : - o - linear - gradient ( top , rgba ( 0 , 0 , 0 , 0.10 ) 0 % , transparent 100 % );
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , rgba ( 0 , 0 , 0 , 0.10 )), color - stop ( 1 , transparent ));
background - image : - webkit - linear - gradient ( top , rgba ( 0 , 0 , 0 , 0.10 ) 0 % , transparent 100 % );
background - image : linear - gradient ( to bottom , rgba ( 0 , 0 , 0 , 0.10 ) 0 % , transparent 100 % );
2017-06-13 07:09:36 +02:00
overflow : hidden ;
2024-02-09 21:07:19 +01:00
< ? php if ( $audio_player_waveform_enabled === 'true' ) { ?>
padding - bottom : 3 px ;
background - size : 100 % 100 % ;
background - repeat : no - repeat ;
cursor : pointer ;
< ? php } ?>
2017-06-13 07:09:36 +02:00
}
div . pwstrength_progress {
display : none ;
}
div . pwstrength_progress > div . progress {
max - width : 200 px ;
height : 6 px ;
margin : 1 px 0 0 1 px ;
2023-05-13 00:50:24 +02:00
background : < ? = $pwstrength_background_color ?> ;
< ? php $br = format_border_radius ( $input_border_radius , '3px' ); ?>
2017-06-13 07:09:36 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
}
div . pwstrength_progress_password_reset > div . progress {
margin : 0 auto 4 px auto ;
width : 200 px ;
max - width : 200 px ;
2023-05-13 00:50:24 +02:00
background : < ? = $login_input_background_color ?> ;
border - width : < ? = $login_input_border_size ?> ;
border - color : < ? = $login_input_border_color ?> ;
2017-06-13 07:09:36 +02:00
}
2023-01-21 02:30:34 +01:00
/* TOGGLE SWITCH *******************************************************/
. switch { /* container */
position : relative ;
display : inline - block ;
width : 50 px ;
2023-05-13 00:50:24 +02:00
< ? php if ( $input_toggle_style == 'switch_square' ) { ?>
2023-01-21 02:30:34 +01:00
height : 28 px ;
< ? php } ?>
2023-05-13 00:50:24 +02:00
< ? php if ( $input_toggle_style == 'switch_round' ) { ?>
2023-01-21 02:30:34 +01:00
height : 26 px ;
< ? php } ?>
margin : 1 px ;
2023-05-13 00:50:24 +02:00
< ? php $br = format_border_radius ( $input_border_radius , '3px' ); ?>
2023-01-21 02:30:34 +01:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
}
. switch > input {
display : none ;
}
. slider {
position : absolute ;
cursor : pointer ;
top : 0 ;
left : 0 ;
right : 0 ;
bottom : 0 ;
2023-05-13 00:50:24 +02:00
background : < ? = $input_toggle_switch_background_color_false ?> ;
< ? php if ( $input_toggle_style == 'switch_square' ) { ?>
< ? php $br = format_border_radius ( $input_border_radius , '3px' ); ?>
2023-01-21 02:30:34 +01:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
< ? php } ?>
2023-05-13 00:50:24 +02:00
< ? php if ( $input_toggle_style == 'switch_round' ) { ?>
2023-01-21 02:30:34 +01:00
border - radius : 22 px ;
< ? php } ?>
- webkit - transition : . 2 s ;
transition : . 2 s ;
}
. slider : before { /* when disabled */
position : absolute ;
2023-05-13 00:50:24 +02:00
< ? php if ( $input_toggle_switch_handle_symbol === 'true' ) { ?>
2023-01-21 02:30:34 +01:00
text - align : center ;
2023-05-13 00:50:24 +02:00
< ? php if ( $input_toggle_style == 'switch_square' ) { ?>
2023-01-21 02:30:34 +01:00
padding - top : 3 px ;
2023-05-13 00:50:24 +02:00
< ? php } else if ( $input_toggle_style == 'switch_round' ) { ?>
2023-01-21 02:30:34 +01:00
padding - top : 2 px ;
< ? php } ?>
content : 'O' ;
2023-05-13 00:50:24 +02:00
color : < ? = $input_toggle_switch_background_color_false ?> ;
2023-01-21 02:30:34 +01:00
< ? php } else { ?>
content : '' ;
< ? php } ?>
2023-05-13 00:50:24 +02:00
< ? php if ( $input_toggle_style == 'switch_square' ) { ?>
2023-01-21 02:30:34 +01:00
height : 24 px ;
width : 24 px ;
< ? php } ?>
2023-05-13 00:50:24 +02:00
< ? php if ( $input_toggle_style == 'switch_round' ) { ?>
2023-01-21 02:30:34 +01:00
height : 22 px ;
width : 22 px ;
< ? php } ?>
top : 2 px ;
left : 2 px ;
bottom : 2 px ;
2023-05-13 00:50:24 +02:00
background : < ? = $input_toggle_switch_handle_color ?> ;
< ? php if ( $input_toggle_style == 'switch_square' ) { ?>
< ? php $br = format_border_radius ( $input_border_radius , '3px' ); ?>
2023-01-21 02:30:34 +01:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
< ? php } ?>
2023-05-13 00:50:24 +02:00
< ? php if ( $input_toggle_style == 'switch_round' ) { ?>
2023-01-21 02:30:34 +01:00
border - radius : 50 % ;
< ? php } ?>
- webkit - transition : . 2 s ;
transition : . 2 s ;
}
input : checked + . slider { /* when enabled */
2023-05-13 00:50:24 +02:00
background : < ? = $input_toggle_switch_background_color_true ?> ;
2023-01-21 02:30:34 +01:00
}
input : focus + . slider { /* when focused, required for switch movement */
}
input : checked + . slider : before { /* distance switch moves horizontally */
2023-05-13 00:50:24 +02:00
< ? php if ( $input_toggle_switch_handle_symbol === 'true' ) { ?>
2023-01-21 02:30:34 +01:00
text - align : center ;
2023-05-13 00:50:24 +02:00
< ? php if ( $input_toggle_style == 'switch_square' ) { ?>
2023-01-21 02:30:34 +01:00
padding - top : 2 px ;
2023-05-13 00:50:24 +02:00
< ? php } else if ( $input_toggle_style == 'switch_round' ) { ?>
2023-01-21 02:30:34 +01:00
padding - top : 1 px ;
< ? php } ?>
content : '|' ;
2023-05-13 00:50:24 +02:00
color : < ? = $input_toggle_switch_background_color_true ?> ;
2023-01-21 02:30:34 +01:00
< ? php } ?>
2023-05-13 00:50:24 +02:00
< ? php if ( $input_toggle_style == 'switch_square' ) { ?>
2023-01-21 02:30:34 +01:00
- webkit - transform : translateX ( 22 px );
- ms - transform : translateX ( 22 px );
transform : translateX ( 22 px );
< ? php } ?>
2023-05-13 00:50:24 +02:00
< ? php if ( $input_toggle_style == 'switch_round' ) { ?>
2023-01-21 02:30:34 +01:00
- webkit - transform : translateX ( 24 px );
- ms - transform : translateX ( 24 px );
transform : translateX ( 24 px );
< ? php } ?>
}
2017-06-13 07:09:36 +02:00
/* TABLES *****************************************************************/
table {
border - collapse : separate ;
border - spacing : 0 ;
}
th {
padding : 4 px 7 px 4 px 0 ;
padding : 4 px 7 px ;
text - align : left ;
2023-05-13 00:50:24 +02:00
color : < ? = $table_heading_text_color ?> ;
font - size : < ? = $table_heading_text_size ?> ;
font - family : < ? = $table_heading_text_font ?> ;
background : < ? = $table_heading_background_color ?> ;
border - bottom : 1 px solid < ? = $table_heading_border_color ?> ;
2017-06-13 07:09:36 +02:00
}
th a , th a : visited , th a : active {
2023-05-13 00:50:24 +02:00
color : < ? = $table_heading_text_color ?> ;
2017-06-13 07:09:36 +02:00
text - decoration : none ;
}
th a : hover {
2023-05-13 00:50:24 +02:00
color : < ? = $table_heading_text_color ?> ;
2020-08-01 05:44:26 +02:00
text - decoration : none ;
2017-06-13 07:09:36 +02:00
}
td {
2023-05-13 00:50:24 +02:00
color : < ? = $body_text_color ?> ;
font - size : < ? = $body_text_size ?> ;
font - family : < ? = $body_text_font ?> ;
2017-06-13 07:09:36 +02:00
}
table . tr_hover tr {
cursor : default ;
}
table . tr_hover tr : hover td ,
table . tr_hover tr : hover td a {
2023-05-13 00:50:24 +02:00
color : < ? = $text_link_color_hover ?> ;
2017-06-13 07:09:36 +02:00
cursor : pointer ;
}
table . tr_hover tr . tr_link_void : hover td {
2023-05-13 00:50:24 +02:00
color : < ? = $table_row_text_color ?> ;
2017-06-13 07:09:36 +02:00
cursor : default ;
}
table . tr_hover tr td . tr_link_void {
cursor : default ;
}
td . list_control_icons {
width : 52 px ;
padding : none ;
padding - left : 2 px ;
text - align : right ;
vertical - align : top ;
white - space : nowrap ;
}
td . list_control_icon {
width : 26 px ;
padding : none ;
padding - left : 2 px ;
text - align : right ;
vertical - align : top ;
white - space : nowrap ;
}
/* form: label/field format */
. vncell { /* form_label */
2023-05-13 00:50:24 +02:00
background : < ? = $form_table_label_background_color ?> ;
< ? php $br = format_border_radius ( $form_table_label_border_radius , '4px' ); ?>
2017-06-13 07:09:36 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2023-05-13 00:50:24 +02:00
border - right : 3 px solid < ? = $form_table_label_background_color ?> ;
border - bottom : 1 px solid < ? = $form_table_label_border_color ?> ;
padding : < ? = $form_table_label_padding ?> ;
2017-06-13 07:09:36 +02:00
text - align : right ;
2023-05-13 00:50:24 +02:00
color : < ? = $form_table_label_text_color ?> ;
font - family : < ? = $form_table_label_text_font ?> ;
font - size : < ? = $form_table_label_text_size ?> ;
2017-06-13 07:09:36 +02:00
vertical - align : top ;
}
. vncellreq { /* form_label_required */
2023-05-13 00:50:24 +02:00
background : < ? = $form_table_label_required_background_color ?> ;
< ? php $br = format_border_radius ( $form_table_label_border_radius , '4px' ); ?>
2017-06-13 07:09:36 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2023-05-13 00:50:24 +02:00
border - right : 3 px solid < ? = $form_table_label_required_border_color ?> ;
border - bottom : 1 px solid < ? = $form_table_label_border_color ?> ;
padding : < ? = $form_table_label_padding ?> ;
2017-06-13 07:09:36 +02:00
text - align : right ;
2023-05-13 00:50:24 +02:00
color : < ? = $form_table_label_required_text_color ?> ;
font - family : < ? = $form_table_label_text_font ?> ;
font - size : < ? = $form_table_label_text_size ?> ;
font - weight : < ? = $form_table_label_required_text_weight ?> ;
2017-06-13 07:09:36 +02:00
vertical - align : top ;
}
. vtable { /* form_field */
2023-05-13 00:50:24 +02:00
background : < ? = $form_table_field_background_color ?> ;
< ? php $br = format_border_radius ( $form_table_field_border_radius , '0' ); ?>
2017-06-13 07:09:36 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2023-05-13 00:50:24 +02:00
border - bottom : 1 px solid < ? = $form_table_field_border_color ?> ;
padding : < ? = $form_table_field_padding ?> ;
2017-06-13 07:09:36 +02:00
text - align : left ;
vertical - align : middle ;
2023-05-13 00:50:24 +02:00
color : < ? = $form_table_field_text_color ?> ;
font - family : < ? = $form_table_field_text_font ?> ;
font - size : < ? $form_table_field_text_size ?> ;
2017-06-13 07:09:36 +02:00
}
/* form: heading/row format */
. vncellcol { /* form_heading */
2023-05-13 00:50:24 +02:00
background : < ? = $form_table_label_background_color ?> ;
< ? php $br = format_border_radius ( $form_table_label_border_radius , '4px' ); ?>
2017-06-13 07:09:36 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2023-05-13 00:50:24 +02:00
border - bottom : 3 px solid < ? = $form_table_label_background_color ?> ;
padding : < ? = $form_table_heading_padding ?> ;
2017-06-13 07:09:36 +02:00
text - align : left ;
2023-05-13 00:50:24 +02:00
color : < ? = $form_table_label_text_color ?> ;
font - family : < ? = $form_table_label_text_font ?> ;
font - size : < ? = $form_table_label_text_size ?> ;
2017-06-13 07:09:36 +02:00
}
. vncellcolreq { /* form_heading_required */
2023-05-13 00:50:24 +02:00
background : < ? = $form_table_label_background_color ?> ;
< ? php $br = format_border_radius ( $form_table_label_border_radius , '4px' ); ?>
2017-06-13 07:09:36 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2023-05-13 00:50:24 +02:00
border - bottom : 3 px solid < ? = $form_table_label_required_border_color ?> ;
padding : < ? = $form_table_heading_padding ?> ;
2017-06-13 07:09:36 +02:00
text - align : left ;
2023-05-13 00:50:24 +02:00
color : < ? = $form_table_label_required_text_color ?> ;
font - family : < ? = $form_table_label_text_font ?> ;
font - size : < ? = $form_table_label_text_size ?> ;
font - weight : < ? = $form_table_label_required_text_weight ?> ;
2017-06-13 07:09:36 +02:00
}
. vtablerow { /* form_row */
< ? php
// determine cell height by padding
$total_vertical_padding = 6 ; //default px
2023-05-13 00:50:24 +02:00
if ( $form_table_row_padding ) {
2017-06-13 07:09:36 +02:00
$form_table_row_padding = str_replace ( 'px' , '' , $form_table_row_padding );
$form_table_row_paddings = explode ( ' ' , $form_table_row_padding );
switch ( sizeof ( $form_table_row_paddings )) {
case 4 : $total_vertical_padding = ( $form_table_row_paddings [ 0 ] + $form_table_row_paddings [ 2 ]); break ;
default : $total_vertical_padding = ( $form_table_row_paddings [ 0 ] * 2 );
}
}
?>
height : < ? php echo ( 30 + $total_vertical_padding ); ?> px;
2023-05-13 00:50:24 +02:00
background : < ? = $form_table_field_background_color ?> ;
< ? php $br = format_border_radius ( $form_table_field_border_radius , '0' ); ?>
2017-06-13 07:09:36 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2023-05-13 00:50:24 +02:00
border - bottom : 1 px solid < ? = $form_table_field_border_color ?> ;
padding : < ? = ( $form_table_row_padding ? ? ( $total_vertical_padding / 2 ) . 'px 0' ) ?> ;
2017-06-13 07:09:36 +02:00
text - align : left ;
vertical - align : middle ;
2023-05-13 00:50:24 +02:00
color : < ? = $form_table_field_text_color ?> ;
font - family : < ? = $form_table_field_text_font ?> ;
font - size : < ? = $form_table_field_text_size ?> ;
2017-06-13 07:09:36 +02:00
}
2020-03-04 18:49:32 +01:00
. vtablerow > label {
margin - left : 0.6 em ;
margin - right : 0.6 em ;
margin - bottom : 2 px ;
}
2017-06-13 07:09:36 +02:00
. row_style0 {
2023-05-13 00:50:24 +02:00
border - bottom : 1 px solid < ? = $table_row_border_color ?> ;
background : < ? = $table_row_background_color_dark ?> ;
color : < ? = $table_row_text_color ?> ;
font - family : < ? = $table_row_text_font ?> ;
font - size : < ? = $table_row_text_size ?> ;
2017-06-13 07:09:36 +02:00
text - align : left ;
padding : 4 px 7 px ;
}
. row_style1 {
2023-05-13 00:50:24 +02:00
border - bottom : 1 px solid < ? = $table_row_border_color ?> ;
background : < ? = $table_row_background_color_light ?> ;
color : < ? = $table_row_text_color ?> ;
font - family : < ? = $table_row_text_font ?> ;
font - size : < ? = $table_row_text_size ?> ;
2017-06-13 07:09:36 +02:00
text - align : left ;
padding : 4 px 7 px ;
}
. row_style_slim {
padding - top : 0 ;
padding - bottom : 0 ;
white - space : nowrap ;
}
. row_stylebg {
2023-05-13 00:50:24 +02:00
border - bottom : 1 px solid < ? = $table_row_border_color ?> ;
background : < ? = $table_row_background_color_medium ?> ;
color : < ? = $table_row_text_color ?> ;
font - family : < ? = $table_row_text_font ?> ;
font - size : < ? $table_row_text_size ?> ;
2017-06-13 07:09:36 +02:00
text - align : left ;
padding : 4 px 7 px ;
}
2018-12-12 22:52:56 +01:00
/* RESPONSE MESSAGE STACK *******************************************************/
2017-06-13 07:09:36 +02:00
#message_container {
z - index : 99998 ;
position : absolute ;
top : 0 ;
left : 0 ;
right : 0 ;
padding : 0 ;
}
. message_text {
z - index : 99999 ;
margin : 0 auto ;
2019-10-02 22:01:27 +02:00
padding : 15 px ;
2017-06-13 07:09:36 +02:00
text - align : center ;
font - family : arial , san - serif ;
font - size : 10 pt ;
display : block ;
2023-05-13 00:50:24 +02:00
color : < ? = $message_default_color ?> ;
background : < ? - $message_default_background_color ?> ;
box - shadow : inset 0 px 7 px 8 px - 10 px < ? = $message_default_color ?> ;
border - bottom : solid 1 px < ? = $message_default_color ?> ;
2018-12-12 22:52:56 +01:00
opacity : 0 ;
}
. message_mood_positive {
2023-05-13 00:50:24 +02:00
color : < ? = $message_positive_color ?> ;
background : < ? = $message_positive_background_color ?> ;
box - shadow : inset 0 px 7 px 8 px - 10 px < ? = $message_positive_color ?> ;
border - bottom : solid 1 px < ? = $message_positive_color ?> ;
2017-06-13 07:09:36 +02:00
}
. message_mood_negative {
2023-05-13 00:50:24 +02:00
color : < ? = $message_negative_color ?> ;
background : < ? = $message_negative_background_color ?> ;
box - shadow : inset 0 px 7 px 8 px - 10 px < ? = $message_negative_color ?> ;
border - bottom : solid 1 px < ? = $message_negative_color ?> ;
2017-06-13 07:09:36 +02:00
}
. message_mood_alert {
2023-05-13 00:50:24 +02:00
color : < ? = $message_alert_color ?> ;
background : < ? = $message_alert_background_color ?> ;
box - shadow : inset 0 px 7 px 8 px - 10 px < ? = $message_alert_color ?> ;
border - bottom : solid 1 px < ? = $message_alert_color ?> ;
2017-06-13 07:09:36 +02:00
}
/* OPERATOR PANEL ****************************************************************/
div . op_ext {
float : left ;
width : 235 px ;
margin : 0 px 8 px 8 px 0 px ;
padding : 0 px ;
border - style : solid ;
- moz - border - radius : 5 px ;
- webkit - border - radius : 5 px ;
border - radius : 5 px ;
2023-05-13 00:50:24 +02:00
- webkit - box - shadow : 0 0 3 px < ? = $form_table_field_background_color ?> ;
- moz - box - shadow : 0 0 3 px < ? = $form_table_field_background_color ?> ;
box - shadow : 0 0 3 px < ? = $form_table_field_background_color ?> ;
2017-06-13 07:09:36 +02:00
border - width : 1 px 3 px ;
2023-05-13 00:50:24 +02:00
border - color : < ? = $operator_panel_border_color ?> ;
background - color : < ? = $form_table_label_background_color ?> ;
2017-06-13 07:09:36 +02:00
cursor : default ;
}
2024-02-28 20:59:49 +01:00
div . ur_ext {
2020-08-27 17:14:47 +02:00
position : relative ;
float : left ;
width : 235 px ;
margin : 0 px 8 px 8 px 0 px ;
padding : 0 px ;
border - style : solid ;
- moz - border - radius : 5 px ;
- webkit - border - radius : 5 px ;
border - radius : 5 px ;
2023-05-13 00:50:24 +02:00
- webkit - box - shadow : 0 0 3 px < ? = $form_table_field_background_color ?> ;
- moz - box - shadow : 0 0 3 px < ? = $form_table_field_background_color ?> ;
box - shadow : 0 0 3 px < ? = $form_table_field_background_color ?> ;
2020-08-27 17:14:47 +02:00
border - width : 1 px 3 px ;
2023-05-13 00:50:24 +02:00
border - color : < ? = $operator_panel_border_color ?> ;
background - color : < ? = $form_table_label_background_color ?> ;
2020-08-27 17:14:47 +02:00
cursor : not - allowed ;
2021-12-14 18:38:46 +01:00
opacity : 0.5 ;
2020-08-27 17:14:47 +02:00
}
2024-02-28 20:59:49 +01:00
div . ur_ext : after {
position : absolute ;
content : " " ;
z - index : 10 ;
- moz - border - radius : 5 px ;
- webkit - border - radius : 5 px ;
border - radius : 5 px ;
display : block ;
height : 100 % ;
top : 0 ;
left : 0 ;
right : 0 ;
background : < ? = $form_table_field_background_color ?> ;
opacity : 0.5 ;
2020-08-27 17:14:47 +02:00
}
2017-06-13 07:09:36 +02:00
div . op_state_active {
background - color : #baf4bb;
border - width : 1 px 3 px ;
border - color : #77d779;
}
div . op_state_ringing {
background - color : #a8dbf0;
border - width : 1 px 3 px ;
border - color : #41b9eb;
}
2022-05-09 23:33:44 +02:00
div . op_valet_park_active {
border - width : 1 px 3 px ;
background - color : #B9A6FC;
border - color : #B9A6FC;
}
2024-02-28 20:59:49 +01:00
table . op_ext , table . ur_ext {
2017-06-13 07:09:36 +02:00
width : 100 % ;
2020-02-13 19:14:19 +01:00
height : 70 px ;
2017-06-13 07:09:36 +02:00
- moz - border - radius : 5 px ;
- webkit - border - radius : 5 px ;
border - radius : 5 px ;
2023-05-13 00:50:24 +02:00
background - color : < ? = $operator_panel_sub_background_color ?> ;
2017-06-13 07:09:36 +02:00
- moz - border - radius : 5 px ;
- webkit - border - radius : 5 px ;
border - radius : 5 px ;
}
td . op_ext_icon {
vertical - align : middle ;
- moz - border - radius : 5 px ;
- webkit - border - radius : 5 px ;
border - radius : 5 px ;
}
img . op_ext_icon {
cursor : move ;
width : 39 px ;
height : 42 px ;
border : none ;
}
td . op_ext_info {
text - align : left ;
vertical - align : top ;
font - family : arial ;
font - size : 10 px ;
overflow : auto ;
width : 100 % ;
padding : 3 px 5 px 3 px 7 px ;
- moz - border - radius : 5 px ;
- webkit - border - radius : 5 px ;
border - radius : 5 px ;
2023-05-13 00:50:24 +02:00
background - color : < ? = $operator_panel_main_background_color ?> ;
2017-06-13 07:09:36 +02:00
}
td . op_state_ringing {
background - color : #d1f1ff;
}
td . op_state_active {
background - color : #e1ffe2;
}
2022-05-09 23:33:44 +02:00
td . op_valet_park_active {
background - color : #ECE3FF;
}
table . op_valet_park_active {
background - color : #B9A6FC;
}
2017-06-13 07:09:36 +02:00
table . op_state_ringing {
background - color : #a8dbf0;
}
table . op_state_active {
background - color : #baf4bb;
}
. op_user_info {
font - family : arial ;
font - size : 10 px ;
display : inline - block ;
}
. op_user_info strong {
color : #3164AD;
}
. op_caller_info {
display : block ;
margin - top : 4 px ;
font - family : arial ;
font - size : 10 px ;
}
. op_call_info {
display : inline - block ;
padding : 0 px ;
font - family : arial ;
font - size : 10 px ;
}
#op_btn_status_available {
background - image : - moz - linear - gradient ( top , #8ec989 0%, #2d9c38 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , #8ec989), color-stop(1, #2d9c38));
background - color : #2d9c38;
border : 1 px solid #006200;
}
#op_btn_status_available_on_demand {
background - image : - moz - linear - gradient ( top , #abd0aa 0%, #629d62 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , #abd0aa), color-stop(1, #629d62));
background - color : #629d62;
border : 1 px solid #619c61;
}
#op_btn_status_on_break {
background - image : - moz - linear - gradient ( top , #ddc38b 0%, #be8e2c 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , #ddc38b), color-stop(1, #be8e2c));
background - color : #be8e2c;
border : 1 px solid #7d1b00;
}
#op_btn_status_do_not_disturb {
background - image : - moz - linear - gradient ( top , #cc8984 0%, #960d10 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , #cc8984), color-stop(1, #960d10));
background - color : #960d10;
border : 1 px solid #5b0000;
}
#op_btn_status_logged_out {
background - image : - moz - linear - gradient ( top , #cacac9 0%, #8d8d8b 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , #cacac9), color-stop(1, #8d8d8b));
background - color : #8d8d8b;
border : 1 px solid #5d5f5a;
}
/* DASHBOARD **********************************************************************/
/* login message */
div . login_message {
border : 1 px solid #bae0ba;
background - color : #eeffee;
- webkit - border - radius : 3 px ;
- moz - border - radius : 3 px ;
border - radius : 3 px ;
padding : 20 px ;
margin - bottom : 15 px ;
}
/* hud boxes */
div . hud_box {
height : auto ;
vertical - align : top ;
text - align : center ;
< ? php
2023-05-13 00:50:24 +02:00
$color_edge = $dashboard_detail_background_color_edge ;
$color_center = $dashboard_detail_background_color_center ;
2017-06-13 07:09:36 +02:00
?>
2023-05-13 00:50:24 +02:00
background : < ? = $color_center ?> ;
background - image : - ms - linear - gradient ( left , < ? = $color_edge ?> 0%, <?=$color_center?> 30%, <?=$color_center?> 70%, <?=$color_edge?> 100%);
background - image : - moz - linear - gradient ( left , < ? = $color_edge ?> 0%, <?=$color_center?> 30%, <?=$color_center?> 70%, <?=$color_edge?> 100%);
background - image : - o - linear - gradient ( left , < ? = $color_edge ?> 0%, <?=$color_center?> 30%, <?=$color_center?> 70%, <?=$color_edge?> 100%);
background - image : - webkit - gradient ( linear , left , right , color - stop ( 0 , < ? = $color_edge ?> ), color-stop(0.30, <?=$color_center?>), color-stop(0.70, <?=$color_center?>), color-stop(1, <?=$color_edge?>));
background - image : - webkit - linear - gradient ( left , < ? = $color_edge ?> 0%, <?=$color_center?> 30%, <?=$color_center?> 70%, <?=$color_edge?> 100%);
background - image : linear - gradient ( to right , < ? = $color_edge ?> 0%, <?=$color_center?> 30%, <?=$color_center?> 70%, <?=$color_edge?> 100%);
2017-06-13 07:09:36 +02:00
< ? php unset ( $color_edge , $color_center ); ?>
2023-05-13 00:50:24 +02:00
< ? php $br = format_border_radius ( $dashboard_border_radius , '5px' ); ?>
2017-06-13 07:09:36 +02:00
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2023-05-13 00:50:24 +02:00
border : 1 px solid < ? = $dashboard_border_color ?> ;
2017-06-13 07:09:36 +02:00
overflow : hidden ;
margin : - 1 px ;
}
div . hud_box : hover {
2023-05-13 00:50:24 +02:00
border : 1 px solid < ? = $dashboard_border_color_hover ?> ;
2017-06-13 07:09:36 +02:00
}
span . hud_title {
display : block ;
width : 100 % ;
2023-05-13 00:50:24 +02:00
font - family : < ? = $dashboard_heading_text_font ?> ;
text - shadow : 0 px 1 px 2 px < ? = $dashboard_heading_text_shadow_color ?> ;
2017-06-13 07:09:36 +02:00
letter - spacing : - 0.02 em ;
2023-05-13 00:50:24 +02:00
color : < ? = $dashboard_heading_text_color ?> ;
font - size : < ? = $dashboard_heading_text_size ?> ;
2017-06-13 07:09:36 +02:00
< ? php
//calculate line height based on font size
2023-05-13 00:50:24 +02:00
$font_size = strtolower ( $dashboard_heading_text_size );
$tmp = str_replace ( ' ' , '' , $font_size );
$tmp = str_replace ( 'pt' , '' , $tmp );
$tmp = str_replace ( 'px' , '' , $tmp );
$tmp = str_replace ( 'em' , '' , $tmp );
$tmp = str_replace ( '%' , '' , $tmp );
$font_size_number = $tmp ;
$line_height_number = ( int ) floor ( $font_size_number * 2.5 );
2017-06-13 07:09:36 +02:00
?>
line - height : < ? php echo ( $line_height_number > 0 ) ? str_replace ( $font_size_number , $line_height_number , $font_size ) : '26.25pt' ; ?> ;
text - align : center ;
2023-05-13 00:50:24 +02:00
background : < ? = $dashboard_heading_background_color ?> ;
border - bottom : 1 px solid < ? php echo color_adjust ( $dashboard_heading_background_color , 0.2 ); ?> ;
2017-06-13 07:09:36 +02:00
overflow : hidden ;
}
span . hud_title : hover {
2023-05-13 00:50:24 +02:00
color : < ? = $dashboard_heading_text_color_hover ?> ;
text - shadow : 0 px 1 px 2 px < ? = $dashboard_heading_text_shadow_color ?> ;
background : < ? = $dashboard_heading_background_color_hover ?> ;
2017-06-13 07:09:36 +02:00
cursor : pointer ;
}
span . hud_stat {
display : block ;
clear : both ;
text - align : center ;
2023-05-13 00:50:24 +02:00
text - shadow : 0 px 2 px 2 px < ? = $dashboard_number_text_shadow_color ?> ;
2017-06-13 07:09:36 +02:00
width : 100 % ;
2023-05-13 00:50:24 +02:00
color : < ? = $dashboard_number_text_color ?> ;
font - family : < ? = $dashboard_number_text_font ?> ;
font - size : < ? = $dashboard_number_text_size ?> ;
2017-06-13 07:09:36 +02:00
< ? php
//calculate line height based on font size
2023-05-13 00:50:24 +02:00
$font_size = strtolower ( $dashboard_number_text_size );
$tmp = str_replace ( ' ' , '' , $font_size );
$tmp = str_replace ( 'pt' , '' , $tmp );
$tmp = str_replace ( 'px' , '' , $tmp );
$tmp = str_replace ( 'em' , '' , $tmp );
$tmp = str_replace ( '%' , '' , $tmp );
$font_size_number = $tmp ;
$line_height_number = ( int ) floor ( $font_size_number * 1.28 );
2017-06-13 07:09:36 +02:00
?>
line - height : < ? php echo ( $line_height_number > 0 ) ? str_replace ( $font_size_number , $line_height_number , $font_size ) : '77pt' ; ?> ;
font - weight : normal ;
2023-05-13 00:50:24 +02:00
background : < ? = $dashboard_number_background_color ?> ;
border - top : 1 px solid < ? php echo color_adjust ( $dashboard_number_background_color , 0.2 ); ?> ;
2017-06-13 07:09:36 +02:00
overflow : hidden ;
2019-08-27 22:16:56 +02:00
< ? php
//calculate font padding
2023-05-13 00:50:24 +02:00
$font_size = strtolower ( $dashboard_heading_text_size );
$tmp = str_replace ( ' ' , '' , $font_size );
$tmp = str_replace ( 'pt' , '' , $tmp );
$tmp = str_replace ( 'px' , '' , $tmp );
$tmp = str_replace ( 'em' , '' , $tmp );
$tmp = str_replace ( '%' , '' , $tmp );
$font_size_number = $tmp ;
$padding_top_bottom = ( int ) floor (( 100 - $tmp ) * 0.25 );
2019-08-27 22:16:56 +02:00
?>
padding - top : < ? php echo $padding_top_bottom . 'px' ?> ;
padding - bottom : < ? php echo $padding_top_bottom . 'px' ?> ;
2017-06-13 07:09:36 +02:00
}
span . hud_stat : hover {
2023-05-13 00:50:24 +02:00
color : < ? = $dashboard_number_text_color_hover ?> ;
text - shadow : 0 px 2 px 2 px < ? = $dashboard_number_text_shadow_color_hover ?> ;
background : < ? = $dashboard_number_background_color_hover ?> ;
2017-06-13 07:09:36 +02:00
cursor : pointer ;
}
span . hud_stat_title {
display : block ;
clear : both ;
width : 100 % ;
height : 30 px ;
cursor : default ;
text - align : center ;
2023-05-13 00:50:24 +02:00
text - shadow : 0 px 1 px 1 px < ? = $dashboard_number_title_text_shadow_color ?> ;
color : < ? = $dashboard_number_title_text_color ?> ;
font - size : < ? = $dashboard_number_title_text_size ?> ;
2017-06-13 07:09:36 +02:00
padding - top : 4 px ;
white - space : nowrap ;
letter - spacing : - 0.02 em ;
font - weight : normal ;
2023-05-13 00:50:24 +02:00
font - family : < ? = $dashboard_number_title_text_font ?> ;
background : < ? = $dashboard_number_background_color ?> ;
border - bottom : 1 px solid < ? php echo color_adjust ( $dashboard_number_background_color , - 0.2 ); ?> ;
2017-06-13 07:09:36 +02:00
margin : 0 ;
overflow : hidden ;
}
span . hud_stat : hover + span . hud_stat_title {
2023-05-13 00:50:24 +02:00
color : < ? = $dashboard_number_text_color_hover ?> ;
text - shadow : 0 px 1 px 1 px < ? = $dashboard_number_text_shadow_color_hover ?> ;
background : < ? = $dashboard_number_background_color_hover ?> ;
2017-06-13 07:09:36 +02:00
}
div . hud_details {
2021-11-10 07:26:04 +01:00
/*
2023-05-13 00:50:24 +02:00
- moz - box - shadow : inset 0 7 px 7 px - 7 px < ? = $dashboard_detail_shadow_color ?> , inset 0 -8px 12px -10px <?=$dashboard_detail_shadow_color?>;
- webkit - box - shadow : inset 0 7 px 7 px - 7 px < ? = $dashboard_detail_shadow_color ?> , inset 0 -8px 12px -10px <?=$dashboard_detail_shadow_color?>;
box - shadow : inset 0 7 px 7 px - 7 px < ? = $dashboard_detail_shadow_color ?> , inset 0 -8px 12px -10px <?=$dashboard_detail_shadow_color?>;
2021-11-10 07:26:04 +01:00
*/
2017-06-13 07:09:36 +02:00
padding - bottom : 15 px ;
2022-02-09 04:33:44 +01:00
overflow - y : auto ;
2017-06-13 07:09:36 +02:00
}
@ media ( min - width : 0 px ) and ( max - width : 1199 px ) {
div . hud_details {
display : none ;
height : auto ;
}
}
@ media ( min - width : 1200 px ) {
div . hud_details {
height : 350 px ;
display : block ;
}
}
th . hud_heading {
text - align : left ;
2023-05-13 00:50:24 +02:00
font - size : < ? = $dashboard_detail_heading_text_size ?> ;
font - family : < ? = $table_heading_text_font ?>
color : < ? = $table_heading_text_color ?> ;
2023-01-31 01:19:09 +01:00
padding - top : 3 px ;
< ? php
2023-05-13 00:50:24 +02:00
$color_edge = $dashboard_detail_background_color_edge ;
$color_center = $dashboard_detail_background_color_center ;
2023-01-31 01:19:09 +01:00
?>
2023-05-13 00:50:24 +02:00
background : < ? = $color_center ?> ;
background - image : - ms - linear - gradient ( left , < ? = $color_edge ?> 0%, <?=$color_center?> 30%, <?=$color_center?> 70%, <?=$color_edge?> 100%);
background - image : - moz - linear - gradient ( left , < ? = $color_edge ?> 0%, <?=$color_center?> 30%, <?=$color_center?> 70%, <?=$color_edge?> 100%);
background - image : - o - linear - gradient ( left , < ? = $color_edge ?> 0%, <?=$color_center?> 30%, <?=$color_center?> 70%, <?=$color_edge?> 100%);
background - image : - webkit - gradient ( linear , left , right , color - stop ( 0 , < ? = $color_edge ?> ), color-stop(0.30, <?=$color_center?>), color-stop(0.70, <?=$color_center?>), color-stop(1, <?=$color_edge?>));
background - image : - webkit - linear - gradient ( left , < ? = $color_edge ?> 0%, <?=$color_center?> 30%, <?=$color_center?> 70%, <?=$color_edge?> 100%);
background - image : linear - gradient ( to right , < ? = $color_edge ?> 0%, <?=$color_center?> 30%, <?=$color_center?> 70%, <?=$color_edge?> 100%);
2023-01-31 01:19:09 +01:00
< ? php unset ( $color_edge , $color_center ); ?>
}
th . hud_heading : first - of - type {
2023-05-13 00:50:24 +02:00
< ? php $br = format_border_radius ( $dashboard_border_radius , '5px' ); ?>
2023-01-31 01:19:09 +01:00
- webkit - border - top - left - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> ;
- moz - border - top - left - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> ;
border - top - left - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> ;
< ? php unset ( $br ); ?>
}
th . hud_heading : first - of - type {
2023-05-13 00:50:24 +02:00
< ? php $br = format_border_radius ( $dashboard_border_radius , '5px' ); ?>
2023-01-31 01:19:09 +01:00
- webkit - border - top - left - radius : < ? php echo $br [ 'tr' ][ 'n' ] . $br [ 'tr' ][ 'u' ]; ?> ;
- moz - border - top - left - radius : < ? php echo $br [ 'tr' ][ 'n' ] . $br [ 'tr' ][ 'u' ]; ?> ;
border - top - left - radius : < ? php echo $br [ 'tr' ][ 'n' ] . $br [ 'tr' ][ 'u' ]; ?> ;
< ? php unset ( $br ); ?>
2017-06-13 07:09:36 +02:00
}
td . hud_text {
2023-05-13 00:50:24 +02:00
font - size : < ? = $dashboard_detail_row_text_size ?> ;
color : < ? = $table_row_text_color ?> ;
2017-06-13 07:09:36 +02:00
text - align : left ;
vertical - align : middle ;
}
2023-02-18 00:02:25 +01:00
td . hud_text . input {
margin : 0 ;
padding - top : 0 ;
padding - bottom : 0 ;
white - space : nowrap ;
}
2017-06-13 07:09:36 +02:00
span . hud_expander {
display : block ;
clear : both ;
2023-05-13 00:50:24 +02:00
background : < ? = $dashboard_footer_background_color ?> ;
2017-06-13 07:09:36 +02:00
padding : 4 px 0 ;
text - align : center ;
width : 100 % ;
height : 25 px ;
font - size : 13 px ;
line - height : 5 px ;
2023-05-13 00:50:24 +02:00
color : < ? = $dashboard_footer_dots_color ?> ;
border - top : 1 px solid < ? php echo color_adjust ( $dashboard_footer_background_color , 0.2 ); ?> ;
2017-06-13 07:09:36 +02:00
}
span . hud_expander : hover {
2023-05-13 00:50:24 +02:00
color : < ? = $dashboard_footer_dots_color_hover ?> ;
background : < ? = $dashboard_footer_background_color_hover ?> ;
2017-06-13 07:09:36 +02:00
cursor : pointer ;
}
/* PLUGINS ********************************************************************/
/* bootstrap colorpicker */
. colorpicker - 2 x . colorpicker - saturation {
width : 200 px ;
height : 200 px ;
}
. colorpicker - 2 x . colorpicker - hue ,
. colorpicker - 2 x . colorpicker - alpha {
width : 30 px ;
height : 200 px ;
}
. colorpicker - 2 x . colorpicker - color ,
. colorpicker - 2 x . colorpicker - color div {
height : 30 px ;
}
/* jquery ui autocomplete styles */
. ui - widget {
margin : 0 px ;
padding : 0 px ;
}
. ui - autocomplete {
cursor : default ;
position : absolute ;
max - height : 200 px ;
overflow - y : auto ;
overflow - x : hidden ;
white - space : nowrap ;
width : auto ;
border : 1 px solid #c0c0c0;
}
. ui - menu , . ui - menu . ui - menu - item {
width : 350 px ;
}
. ui - menu . ui - menu - item a {
text - decoration : none ;
cursor : pointer ;
border - color : #fff;
background - image : none ;
background - color : #fff;
white - space : nowrap ;
font - family : arial ;
font - size : 12 px ;
color : #444;
}
. ui - menu . ui - menu - item a : hover {
color : #5082ca;
border : 1 px solid white ;
background - image : none ;
background - color : #fff;
}
2019-10-02 22:01:27 +02:00
/* CSS GRID ********************************************************************/
2020-04-01 01:32:12 +02:00
div . grid {
width : 100 % ;
display : grid ;
grid - gap : 0 ;
}
div . grid > div . box . contact - details {
padding : 15 px ;
2023-05-13 00:50:24 +02:00
border : 1 px solid < ? = $table_row_border_color ?> ;
2020-04-01 01:32:12 +02:00
border - radius : 5 px ;
2023-05-13 00:50:24 +02:00
background : < ? = $table_row_background_color_dark ?> ;
2020-04-01 01:32:12 +02:00
}
div . grid . contact - details {
grid - template - columns : 50 px auto ;
}
div . grid > div . box {
padding : 0 ;
padding - bottom : 5 px ;
}
div . grid > div . box . contact - details - label {
font - size : 87 % ;
letter - spacing : - 0.03 em ;
vertical - align : middle ;
white - space : nowrap ;
}
2019-10-02 22:01:27 +02:00
div . form_grid {
width : 100 % ;
display : grid ;
grid - gap : 0 ;
grid - template - columns : repeat ( auto - fill , minmax ( 400 px , 1 fr ));
}
div . form_set {
width : 100 % ;
display : grid ;
grid_gap : 0 ;
grid - template - columns : 150 px minmax ( 200 px , 1 fr );
}
div . form_set > . label {
2023-05-13 00:50:24 +02:00
background : < ? = $form_table_label_background_color ?> ;
< ? php $br = format_border_radius ( $form_table_label_border_radius , '4px' ); ?>
2019-10-02 22:01:27 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2023-05-13 00:50:24 +02:00
border - right : 3 px solid < ? = $form_table_label_background_color ?> ;
border - bottom : 1 px solid < ? = $form_table_label_border_color ?> ;
padding : < ? = $form_table_label_padding ?> ;
2019-10-02 22:01:27 +02:00
text - align : right ;
2023-05-13 00:50:24 +02:00
color : < ? = $form_table_label_text_color ?> ;
font - family : < ? = $form_table_label_text_font ?> ;
font - size : < ? = $form_table_label_text_size ?> ;
2019-10-02 22:01:27 +02:00
white - space : nowrap ;
vertical - align : top ;
}
div . form_set > . label . required {
2023-05-13 00:50:24 +02:00
background : < ? = $form_table_label_required_background_color ?> ;
< ? php $br = format_border_radius ( $form_table_label_border_radius , '4px' ); ?>
2019-10-02 22:01:27 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2023-05-13 00:50:24 +02:00
border - right : 3 px solid < ? = $form_table_label_required_border_color ?> ;
border - bottom : 1 px solid < ? = $form_table_label_border_color ?> ;
padding : < ? = $form_table_label_padding ?> ;
2019-10-02 22:01:27 +02:00
text - align : right ;
2023-05-13 00:50:24 +02:00
color : < ? = $form_table_label_required_text_color ?> ;
font - family : < ? = $form_table_label_text_font ?> ;
font - size : < ? = $form_table_label_text_size ?> ;
font - weight : < ? = $form_table_label_required_text_weight ?> ;
2019-10-02 22:01:27 +02:00
white - space : nowrap ;
vertical - align : top ;
}
div . form_set > . field {
2023-05-13 00:50:24 +02:00
background : < ? = $form_table_field_background_color ?> ;
< ? php $br = format_border_radius ( $form_table_field_border_radius , '0' ); ?>
2019-10-02 22:01:27 +02:00
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2023-05-13 00:50:24 +02:00
border - bottom : 1 px solid < ? = $form_table_field_border_color ?> ;
padding : < ? = $form_table_field_padding ?> ;
2019-10-02 22:01:27 +02:00
text - align : left ;
vertical - align : middle ;
2023-05-13 00:50:24 +02:00
color : < ? = $form_table_field_text_color ?> ;
font - family : < ? = $form_table_field_text_font ?> ;
font - size : < ? = $form_table_field_text_size ?> ;
2019-10-02 22:01:27 +02:00
position : relative ;
}
2019-10-22 09:42:55 +02:00
div . form_set > . field . no - wrap {
2019-10-02 22:01:27 +02:00
white - space : nowrap ;
2019-10-08 02:31:11 +02:00
}
2019-10-20 00:55:46 +02:00
/* LIST ACTION BAR *************************************************************/
2019-10-08 02:31:11 +02:00
div . action_bar {
position : - webkit - sticky ;
position : sticky ;
2019-10-22 09:42:55 +02:00
z - index : 5 ;
2019-10-08 02:31:11 +02:00
< ? php
2023-05-13 00:50:24 +02:00
switch ( $menu_style ) {
2019-10-08 02:31:11 +02:00
case 'side' :
$action_bar_top = '0' ;
break ;
case 'inline' :
case 'static' :
$action_bar_top = '-1px' ;
break ;
case 'fixed' :
default :
$action_bar_top = '49px' ;
}
?>
top : < ? php echo $action_bar_top ; ?> ;
text - align : right ;
2023-05-13 00:50:24 +02:00
border - top : < ? = $action_bar_border_top ?> ;
border - right : < ? = $action_bar_border_right ?> ;
border - bottom : < ? = $action_bar_border_bottom ?> ;
border - left : < ? = $action_bar_border_left ?> ;
border - radius : < ? = $action_bar_border_radius ?> ;
background : < ? = $action_bar_background ?> ;
box - shadow : < ? = $action_bar_shadow ?> ;
2019-10-08 02:31:11 +02:00
padding : 10 px ;
margin : - 10 px - 10 px 10 px - 10 px ;
2019-10-20 01:23:58 +02:00
- webkit - transition : all . 2 s ease ;
- moz - transition : all . 2 s ease ;
transition : all . 2 s ease ;
2019-10-17 22:24:34 +02:00
}
div . action_bar . scroll {
2023-05-13 00:50:24 +02:00
border - top : < ? = $action_bar_border_top_scroll ?> ;
border - right : < ? = $action_bar_border_right_scroll ?> ;
border - bottom : < ? = $action_bar_border_bottom_scroll ?> ;
border - left : < ? = $action_bar_border_left_scroll ?> ;
border - radius : < ? = $action_bar_border_radius_scroll ?> ;
background : < ? = $action_bar_background_scroll ?> ;
box - shadow : < ? = $action_bar_shadow_scroll ?> ;
2019-10-08 02:31:11 +02:00
}
2019-10-20 00:55:46 +02:00
2019-12-04 21:49:02 +01:00
div . action_bar . sub {
position : static ;
}
2019-10-25 00:28:09 +02:00
div . action_bar > div . heading {
float : left ;
}
2019-10-25 00:31:14 +02:00
div . action_bar > div . actions {
2019-10-25 00:28:09 +02:00
float : right ;
white - space : nowrap ;
}
2020-03-28 01:09:04 +01:00
div . action_bar > div . actions > div . unsaved {
display : inline - block ;
margin - right : 30 px ;
color : #b00;
}
2020-01-24 05:22:27 +01:00
/* used primarily in contacts */
div . action_bar . shrink {
margin - bottom : 0 ;
padding - bottom : 0 ;
}
div . action_bar . shrink > div . heading > b {
font - size : 100 % ;
}
2023-04-10 17:31:16 +02:00
. warning_bar {
width : 100 % ;
text - align : center ;
border : 2 px dashed #c00;
padding : 10 px 20 px ;
margin - bottom : 16 px ;
color : #e00;
background : #fafafa;
font - size : 1.4 em ;
}
2019-10-20 00:55:46 +02:00
/* LIST ************************************************************************/
. list {
width : 100 % ;
2019-10-25 00:28:09 +02:00
empty - cells : show ;
2019-10-20 00:55:46 +02:00
}
. list tr {
cursor : default ;
}
. list tr : hover td : not ( . no - link ),
. list tr : hover td : not ( . no - link ) a {
2023-05-13 00:50:24 +02:00
color : < ? = $text_link_color_hover ?> ;
2019-10-20 00:55:46 +02:00
cursor : pointer ;
}
. list - header > th {
2023-05-13 00:50:24 +02:00
padding : < ? = $table_heading_padding ?> ;
2019-10-20 00:55:46 +02:00
text - align : left ;
2023-05-13 00:50:24 +02:00
color : < ? = $table_heading_text_color ?> ;
font - size : < ? = $table_heading_text_size ?> ;
font - family : < ? = $table_heading_text_font ?> ;
background : < ? = $table_heading_background_color ?> ;
border - bottom : 1 px solid < ? = $table_heading_border_color ?> ;
2019-10-20 00:55:46 +02:00
}
2019-10-25 02:27:48 +02:00
. list - header > th . shrink {
2019-12-13 20:52:19 +01:00
width : 1 % ;
2019-10-25 02:27:48 +02:00
}
2020-03-06 19:19:43 +01:00
. list - header > th > a . default - color {
2023-05-13 00:50:24 +02:00
color : < ? = $text_link_color ?> ;
2020-03-06 19:19:43 +01:00
}
. list - header > th > a . default - color : hover {
2023-05-13 00:50:24 +02:00
color : < ? = $text_link_color_hover ?> ;
2020-03-06 19:19:43 +01:00
}
2019-10-20 00:55:46 +02:00
. list - row : nth - child ( odd ) > : not ( . action - button ) {
2023-05-13 00:50:24 +02:00
background : < ? = $table_row_background_color_light ?> ;
2019-10-20 00:55:46 +02:00
}
. list - row : nth - child ( even ) > : not ( . action - button ) {
2023-05-13 00:50:24 +02:00
background : < ? = $table_row_background_color_dark ?> ;
2019-10-20 00:55:46 +02:00
}
. list - row > td : not ( . action - button ) {
2023-05-13 00:50:24 +02:00
border - bottom : 1 px solid < ? = $table_row_border_color ?> ;
color : < ? = $table_row_text_color ?> ;
font - family : < ? = $table_row_text_font ?> ;
font - size : < ? = $table_row_text_size ?> ;
2019-10-20 00:55:46 +02:00
text - align : left ;
2019-12-04 16:37:09 +01:00
vertical - align : middle ;
2019-10-20 00:55:46 +02:00
}
. list - row > : not ( . checkbox ) {
2023-05-13 00:50:24 +02:00
padding : < ? = $table_row_padding ?> ;
2019-10-20 00:55:46 +02:00
}
. list - row > td . description {
2023-05-13 00:50:24 +02:00
background : < ? = $table_row_background_color_medium ?> !important;
2019-10-20 00:55:46 +02:00
}
. list - header > . checkbox ,
. list - row > . checkbox {
2019-12-13 20:52:19 +01:00
width : 1 % ;
text - align : center ! important ;
2019-10-20 01:19:34 +02:00
cursor : default ! important ;
2019-10-20 00:55:46 +02:00
}
. list - row > . checkbox {
padding : 3 px 7 px 1 px 7 px ;
}
. list - row > . button {
margin : 0 ;
2019-10-22 09:42:55 +02:00
padding - top : 1 px ;
padding - bottom : 1 px ;
2019-10-20 00:55:46 +02:00
white - space : nowrap ;
}
2019-12-05 03:08:02 +01:00
. list - row > . input {
margin : 0 ;
padding - top : 0 ;
padding - bottom : 0 ;
white - space : nowrap ;
}
2019-10-20 00:55:46 +02:00
. list - row > . overflow {
max - width : 50 px ;
overflow : hidden ;
text - overflow : ellipsis ;
white - space : nowrap ;
}
. list - header > . action - button ,
. list - row > . action - button {
width : 1 px ;
white - space : nowrap ;
background : none ;
padding : 0 ;
2019-10-20 03:13:39 +02:00
}
. list - header > . center ,
. list - row > . center {
text - align : center ! important ;
}
. list - header > . right ,
. list - row > . right {
text - align : right ! important ;
2019-10-22 09:42:55 +02:00
}
2019-10-25 04:18:20 +02:00
. list - header > . middle ,
. list - row > . middle {
vertical - align : middle ! important ;
}
2019-10-22 09:42:55 +02:00
. list - header > . no - wrap ,
. list - row > . no - wrap {
white - space : nowrap ;
2019-10-28 21:40:27 +01:00
}
2019-11-02 20:40:17 +01:00
2020-02-28 02:58:44 +01:00
/* EDIT ********************************************************************************/
td . edit_delete_checkbox_all {
text - align : center ;
width : 50 px ;
}
td . edit_delete_checkbox_all input [ type = checkbox ] {
vertical - align : middle ;
margin - top : - 2 px ;
}
td . edit_delete_checkbox_all > span : nth - child ( 2 ) {
display : none ;
}
2019-11-29 23:26:10 +01:00
/* CURSORS ***********************************************************************/
. cursor - default { cursor : default ; }
. cursor - help { cursor : help ; }
. cursor - pointer { cursor : pointer ; }
. cursor - denied { cursor : not - allowed ; }
/* WIDTH HELPERS **********************************************************************/
2019-12-03 03:01:41 +01:00
. pct - 5 { width : 5 % ; }
. pct - 10 { width : 10 % ; }
. pct - 15 { width : 15 % ; }
. pct - 20 { width : 20 % ; }
. pct - 25 { width : 25 % ; }
. pct - 30 { width : 30 % ; }
. pct - 35 { width : 35 % ; }
. pct - 40 { width : 40 % ; }
. pct - 45 { width : 45 % ; }
. pct - 50 { width : 50 % ; }
. pct - 55 { width : 55 % ; }
. pct - 60 { width : 60 % ; }
. pct - 65 { width : 65 % ; }
. pct - 70 { width : 70 % ; }
. pct - 75 { width : 75 % ; }
. pct - 80 { width : 80 % ; }
. pct - 85 { width : 85 % ; }
. pct - 90 { width : 90 % ; }
. pct - 95 { width : 95 % ; }
. pct - 100 { width : 100 % ; }
2019-11-29 23:26:10 +01:00
2020-02-10 21:46:15 +01:00
/* SIDE PADDING & MARGIN HELPERS **********************************************************************/
. pl - 1 { padding - left : 1 px ! important ; } . pr - 1 { padding - right : 1 px ! important ; }
. pl - 2 { padding - left : 2 px ! important ; } . pr - 2 { padding - right : 2 px ! important ; }
. pl - 3 { padding - left : 3 px ! important ; } . pr - 3 { padding - right : 3 px ! important ; }
. pl - 4 { padding - left : 4 px ! important ; } . pr - 4 { padding - right : 4 px ! important ; }
. pl - 5 { padding - left : 5 px ! important ; } . pr - 5 { padding - right : 5 px ! important ; }
. pl - 6 { padding - left : 6 px ! important ; } . pr - 6 { padding - right : 6 px ! important ; }
. pl - 7 { padding - left : 7 px ! important ; } . pr - 7 { padding - right : 7 px ! important ; }
. pl - 8 { padding - left : 8 px ! important ; } . pr - 8 { padding - right : 8 px ! important ; }
. pl - 9 { padding - left : 9 px ! important ; } . pr - 9 { padding - right : 9 px ! important ; }
. pl - 10 { padding - left : 10 px ! important ; } . pr - 10 { padding - right : 10 px ! important ; }
. pl - 11 { padding - left : 11 px ! important ; } . pr - 11 { padding - right : 11 px ! important ; }
. pl - 12 { padding - left : 12 px ! important ; } . pr - 12 { padding - right : 12 px ! important ; }
. pl - 13 { padding - left : 13 px ! important ; } . pr - 13 { padding - right : 13 px ! important ; }
. pl - 14 { padding - left : 14 px ! important ; } . pr - 14 { padding - right : 14 px ! important ; }
. pl - 15 { padding - left : 15 px ! important ; } . pr - 15 { padding - right : 15 px ! important ; }
. pl - 20 { padding - left : 20 px ! important ; } . pr - 20 { padding - right : 20 px ! important ; }
. pl - 25 { padding - left : 25 px ! important ; } . pr - 25 { padding - right : 25 px ! important ; }
. pl - 30 { padding - left : 30 px ! important ; } . pr - 30 { padding - right : 30 px ! important ; }
. pl - 35 { padding - left : 35 px ! important ; } . pr - 35 { padding - right : 35 px ! important ; }
. pl - 40 { padding - left : 40 px ! important ; } . pr - 40 { padding - right : 40 px ! important ; }
. pl - 45 { padding - left : 45 px ! important ; } . pr - 45 { padding - right : 45 px ! important ; }
. pl - 50 { padding - left : 50 px ! important ; } . pr - 50 { padding - right : 50 px ! important ; }
. ml - 1 { margin - left : 1 px ! important ; } . mr - 1 { margin - right : 1 px ! important ; }
. ml - 2 { margin - left : 2 px ! important ; } . mr - 2 { margin - right : 2 px ! important ; }
. ml - 3 { margin - left : 3 px ! important ; } . mr - 3 { margin - right : 3 px ! important ; }
. ml - 4 { margin - left : 4 px ! important ; } . mr - 4 { margin - right : 4 px ! important ; }
. ml - 5 { margin - left : 5 px ! important ; } . mr - 5 { margin - right : 5 px ! important ; }
. ml - 6 { margin - left : 6 px ! important ; } . mr - 6 { margin - right : 6 px ! important ; }
. ml - 7 { margin - left : 7 px ! important ; } . mr - 7 { margin - right : 7 px ! important ; }
. ml - 8 { margin - left : 8 px ! important ; } . mr - 8 { margin - right : 8 px ! important ; }
. ml - 9 { margin - left : 9 px ! important ; } . mr - 9 { margin - right : 9 px ! important ; }
. ml - 10 { margin - left : 10 px ! important ; } . mr - 10 { margin - right : 10 px ! important ; }
. ml - 11 { margin - left : 11 px ! important ; } . mr - 11 { margin - right : 11 px ! important ; }
. ml - 12 { margin - left : 12 px ! important ; } . mr - 12 { margin - right : 12 px ! important ; }
. ml - 13 { margin - left : 13 px ! important ; } . mr - 13 { margin - right : 13 px ! important ; }
. ml - 14 { margin - left : 14 px ! important ; } . mr - 14 { margin - right : 14 px ! important ; }
. ml - 15 { margin - left : 15 px ! important ; } . mr - 15 { margin - right : 15 px ! important ; }
. ml - 20 { margin - left : 20 px ! important ; } . mr - 20 { margin - right : 20 px ! important ; }
. ml - 25 { margin - left : 25 px ! important ; } . mr - 25 { margin - right : 25 px ! important ; }
. ml - 30 { margin - left : 30 px ! important ; } . mr - 30 { margin - right : 30 px ! important ; }
. ml - 35 { margin - left : 35 px ! important ; } . mr - 35 { margin - right : 35 px ! important ; }
. ml - 40 { margin - left : 40 px ! important ; } . mr - 40 { margin - right : 40 px ! important ; }
. ml - 45 { margin - left : 45 px ! important ; } . mr - 45 { margin - right : 45 px ! important ; }
. ml - 50 { margin - left : 50 px ! important ; } . mr - 50 { margin - right : 50 px ! important ; }
2019-11-02 20:40:17 +01:00
/* MODAL ************************************************************************/
2020-01-24 05:22:27 +01:00
. modal - window {
z - index : 999999 ;
position : fixed ;
top : 0 ;
right : 0 ;
bottom : 0 ;
left : 0 ;
opacity : 0 ;
pointer - events : none ;
2023-05-13 00:50:24 +02:00
- webkit - transition : all < ? = $modal_transition_seconds ?> s;
- moz - transition : all < ? = $modal_transition_seconds ?> s;
transition : all < ? = $modal_transition_seconds ?> s;
background : < ? = $modal_shade_color ?> ;
2020-01-24 05:22:27 +01:00
}
. modal - window > div {
position : relative ;
2023-05-13 00:50:24 +02:00
padding : < ? = $modal_padding ?> ;
background : < ? = $modal_background_color ?> ;
2020-01-24 05:22:27 +01:00
overflow : auto ;
}
@ media ( min - width : 0 px ) and ( max - width : 699 px ) {
. modal - window > div {
width : 100 % ;
min - width : 200 px ;
margin : 50 px auto ;
border - radius : 0 ;
}
}
@ media ( min - width : 700 px ) {
. modal - window > div {
2023-05-13 00:50:24 +02:00
width : < ? = $modal_width ?> ;
2020-01-24 05:22:27 +01:00
margin : 10 % auto ;
2023-05-13 00:50:24 +02:00
border - radius : < ? = $modal_corner_radius ?> ;
box - shadow : < ? = $modal_shadow ?> ;
2020-01-24 05:22:27 +01:00
}
}
. modal - window . modal - title {
display : block ;
font - weight : bold ;
font - size : 120 % ;
2023-05-13 00:50:24 +02:00
font - family : < ? = $modal_title_font ?> ;
color : < ? = $modal_title_color ?> ;
text - align : < ? = $modal_title_alignment ?> ;
margin : < ? = $modal_title_margin ?> ;
2020-01-24 05:22:27 +01:00
}
. modal - close {
2023-05-13 00:50:24 +02:00
color : < ? = $modal_close_color ?> ;
2020-01-24 05:22:27 +01:00
line - height : 50 px ;
font - size : 150 % ;
position : absolute ;
top : 0 ;
right : 0 ;
width : 50 px ;
text - align : center ;
text - decoration : none ! important ;
2020-03-25 23:48:12 +01:00
cursor : pointer ;
2023-05-13 00:50:24 +02:00
border - radius : < ? = $modal_close_corner_radius ?> ;
background : < ? = $modal_close_background_color ?> ;
2020-01-24 05:22:27 +01:00
}
. modal - close : hover {
2023-05-13 00:50:24 +02:00
color : < ? = $modal_close_color_hover ?> ;
background : < ? = $modal_close_background_color_hover ?> ;
2020-01-24 05:22:27 +01:00
}
. modal - window . modal - message {
display : block ;
2023-05-13 00:50:24 +02:00
color : < ? = $modal_message_color ?> ;
text - align : < ? = $modal_message_alignment ?> ;
margin : < ? = $modal_message_margin ?> ;
2019-11-02 20:40:17 +01:00
}
2020-03-20 04:11:53 +01:00
2020-03-26 23:54:06 +01:00
. modal - actions {
display : block ;
text - align : left ;
}
2020-03-20 04:11:53 +01:00
2023-12-16 01:27:21 +01:00
/* ACE EDITOR *******************************************************************/
div #editor {
resize : vertical ;
overflow : auto ;
}
2024-01-24 21:46:18 +01:00
i . ace_control {
cursor : pointer ;
margin - right : 5 px ;
opacity : 0.5 ;
}
i . ace_control : hover {
opacity : 1.0 ;
}
2020-03-20 04:11:53 +01:00
< ? php
//output custom css
2023-05-13 00:50:24 +02:00
echo $custom_css_code ;
2020-03-20 04:11:53 +01:00
2023-05-14 05:28:54 +02:00
?>