Fork of FusionPBX but with LDAP kinda working
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2913 lines
143 KiB

2 years ago
  1. <?php
  2. require_once "root.php";
  3. require_once "resources/require.php";
  4. ob_start('ob_gzhandler');
  5. header('Content-type: text/css; charset: UTF-8');
  6. header('Cache-Control: must-revalidate');
  7. header('Expires: '.gmdate('D, d M Y H:i:s',time()+3600).' GMT');
  8. //parse fonts (add surrounding single quotes to each font name)
  9. if (is_array($_SESSION['theme']) && sizeof($_SESSION['theme']) > 0) {
  10. foreach ($_SESSION['theme'] as $subcategory => $type) {
  11. if (substr_count($subcategory, '_font') > 0) {
  12. $font_string = $type['text'];
  13. if ($font_string != '') {
  14. if (substr_count($font_string, ',') > 0) {
  15. $tmp_array = explode(',', $font_string);
  16. }
  17. else {
  18. $tmp_array[] = $font_string;
  19. }
  20. foreach ($tmp_array as $font_name) {
  21. $font_name = trim($font_name, "'");
  22. $font_name = trim($font_name, '"');
  23. $font_name = trim($font_name);
  24. $fonts[] = $font_name;
  25. }
  26. if (sizeof($fonts) == 1 && strtolower($fonts[0]) != 'arial') { $fonts[] = 'Arial'; } //fall back font
  27. $_SESSION['theme'][$subcategory]['text'] = "'".implode("','", $fonts)."'";
  28. }
  29. }
  30. unset($fonts, $tmp_array);
  31. }
  32. }
  33. //determine which background image/color settings to use (login or standard)
  34. $background_images_enabled = false;
  35. if (isset($_SESSION['username']) && $_SESSION['username'] != '') {
  36. //logged in - use standard background images/colors
  37. if (isset($_SESSION['theme']) && isset($_SESSION['theme']['background_image_enabled']) && $_SESSION['theme']['background_image_enabled']['boolean'] == 'true' && is_array($_SESSION['theme']['background_image'])) {
  38. $background_images_enabled = true;
  39. $background_images = $_SESSION['theme']['background_image'];
  40. }
  41. else {
  42. $background_colors[0] = $_SESSION['theme']['background_color'][0];
  43. $background_colors[1] = $_SESSION['theme']['background_color'][1];
  44. }
  45. }
  46. else {
  47. //not logged in - try using login background images/colors
  48. if (isset($_SESSION['theme']) && $_SESSION['theme']['login_background_image_enabled']['boolean'] == 'true' && is_array($_SESSION['theme']['login_background_image'])) {
  49. $background_images_enabled = true;
  50. $background_images = $_SESSION['theme']['login_background_image'];
  51. }
  52. else if ($_SESSION['theme']['login_background_color'][0] != '' || $_SESSION['theme']['login_background_color'][1] != '') {
  53. $background_colors[0] = $_SESSION['theme']['login_background_color'][0];
  54. $background_colors[1] = $_SESSION['theme']['login_background_color'][1];
  55. }
  56. else {
  57. //otherwise, use standard background images/colors
  58. if ($_SESSION['theme']['background_image_enabled']['boolean'] == 'true' && is_array($_SESSION['theme']['background_image'])) {
  59. $background_images_enabled = true;
  60. $background_images = $_SESSION['theme']['background_image'];
  61. }
  62. else {
  63. $background_colors[0] = $_SESSION['theme']['background_color'][0];
  64. $background_colors[1] = $_SESSION['theme']['background_color'][1];
  65. }
  66. }
  67. }
  68. //check for background image
  69. if ($background_images_enabled) {
  70. //background image is enabled
  71. $image_extensions = array('jpg','jpeg','png','gif');
  72. if (count($background_images) > 0) {
  73. if ((!isset($_SESSION['background_image'])) or strlen($_SESSION['background_image']) == 0) {
  74. $_SESSION['background_image'] = $background_images[array_rand($background_images)];
  75. $background_image = $_SESSION['background_image'];
  76. }
  77. //background image(s) specified, check if source is file or folder
  78. if (in_array(strtolower(pathinfo($background_image, PATHINFO_EXTENSION)), $image_extensions)) {
  79. $image_source = 'file';
  80. }
  81. else {
  82. $image_source = 'folder';
  83. }
  84. //is source (file/folder) local or remote
  85. if (substr($background_image, 0, 4) == 'http') {
  86. $source_path = $background_image;
  87. }
  88. else if (substr($background_image, 0, 1) == '/') { //
  89. //use project path as root
  90. $source_path = PROJECT_PATH.$background_image;
  91. }
  92. else {
  93. //use theme images/backgrounds folder as root
  94. $source_path = PROJECT_PATH.'/themes/default/images/backgrounds/'.$background_image;
  95. }
  96. }
  97. else {
  98. //not set, so use default backgrounds folder and images
  99. $image_source = 'folder';
  100. $source_path = PROJECT_PATH.'/themes/default/images/backgrounds';
  101. }
  102. if ($image_source == 'folder') {
  103. if (file_exists($_SERVER["DOCUMENT_ROOT"].$source_path)) {
  104. //retrieve a random background image
  105. $dir_list = opendir($_SERVER["DOCUMENT_ROOT"].$source_path);
  106. $v_background_array = array();
  107. $x = 0;
  108. while (false !== ($file = readdir($dir_list))) {
  109. if ($file != "." AND $file != ".."){
  110. $new_path = $dir.'/'.$file;
  111. $level = explode('/',$new_path);
  112. if (in_array(strtolower(pathinfo($new_path, PATHINFO_EXTENSION)), $image_extensions)) {
  113. $v_background_array[] = $new_path;
  114. }
  115. if ($x > 100) { break; };
  116. $x++;
  117. }
  118. }
  119. if ($_SESSION['background_image'] == '' && sizeof($v_background_array) > 0) {
  120. $_SESSION['background_image'] = PROJECT_PATH.$source_path.$v_background_array[array_rand($v_background_array, 1)];
  121. }
  122. }
  123. else {
  124. $_SESSION['background_image'] = '';
  125. }
  126. }
  127. else if ($image_source == 'file') {
  128. $_SESSION['background_image'] = $source_path;
  129. }
  130. }
  131. //check for background color
  132. else if (
  133. $background_colors[0] != '' ||
  134. $background_colors[1] != ''
  135. ) { //background color 1 or 2 is enabled
  136. if ($background_colors[0] != '' && $background_colors[1] == '') { // use color 1
  137. $background_color = "background: ".$background_colors[0].";";
  138. }
  139. else if ($background_colors[0] == '' && $background_colors[1] != '') { // use color 2
  140. $background_color = "background: ".$background_colors[1].";";
  141. }
  142. else if ($background_colors[0] != '' && $background_colors[1] != '' && isset($_SESSION['theme']['background_radial_gradient']['text'])) { // radial gradient
  143. $background_color = "background: ".$background_colors[0].";\n";
  144. $background_color .= "background: -ms-radial-gradient(center, circle, ".$background_colors[0]." 0%, ".$background_colors[1]." 100%);\n";
  145. $background_color .= "background: radial-gradient(circle at center, ".$background_colors[0]." 0%, ".$background_colors[1]." 100%);\n";
  146. }
  147. else if ($background_colors[0] != '' && $background_colors[1] != '') { // vertical gradient
  148. $background_color = "background: ".$background_colors[0].";\n";
  149. $background_color .= "background: -ms-linear-gradient(top, ".$background_colors[0]." 0%, ".$background_colors[1]." 100%);\n";
  150. $background_color .= "background: -moz-linear-gradient(top, ".$background_colors[0]." 0%, ".$background_colors[1]." 100%);\n";
  151. $background_color .= "background: -o-linear-gradient(top, ".$background_colors[0]." 0%, ".$background_colors[1]." 100%);\n";
  152. $background_color .= "background: -webkit-gradient(linear, left top, left bottom, color-stop(0, ".$background_colors[0]."), color-stop(1, ".$background_colors[1]."));\n";
  153. $background_color .= "background: -webkit-linear-gradient(top, ".$background_colors[0]." 0%, ".$background_colors[1]." 100%);\n";
  154. $background_color .= "background: linear-gradient(to bottom, ".$background_colors[0]." 0%, ".$background_colors[1]." 100%);\n";
  155. }
  156. }
  157. else { //default: white
  158. $background_color = "background: #ffffff;\n";
  159. }
  160. ?>
  161. html {
  162. height: 100%;
  163. width: 100%;
  164. }
  165. body {
  166. z-index: 1;
  167. position: absolute;
  168. margin: 0;
  169. padding: 0;
  170. overflow: auto;
  171. -ms-overflow-style: scrollbar; /* stops ie10+ from displaying auto-hiding scroll bar on top of the body content (the domain selector, specifically) */
  172. top: 0;
  173. right: 0;
  174. bottom: 0;
  175. left: 0;
  176. text-align: center;
  177. <?php
  178. if ($_SESSION['background_image'] != '') {
  179. echo "background-image: url('".$_SESSION['background_image']."');\n";
  180. echo "background-size: 100% 100%;\n";
  181. echo "background-position: top;\n";
  182. }
  183. else {
  184. echo $background_color;
  185. }
  186. ?>
  187. background-repeat: no-repeat;
  188. background-attachment: fixed;
  189. webkit-background-size:cover;
  190. -moz-background-size:cover;
  191. -o-background-size:cover;
  192. background-size:cover;
  193. }
  194. pre {
  195. white-space: pre-wrap;
  196. color: <?php echo ($_SESSION['theme']['pre_text_color']['text'] != '') ? $_SESSION['theme']['pre_text_color']['text'] : '#5f5f5f'; ?>;
  197. }
  198. div#footer {
  199. display: inline-block;
  200. width: 100%;
  201. background: <?php echo ($_SESSION['theme']['footer_background_color']['text'] != '') ? $_SESSION['theme']['footer_background_color']['text'] : 'rgba(0,0,0,0.2)'; ?>;
  202. text-align: center;
  203. vertical-align: middle;
  204. margin-bottom: 60px;
  205. padding: 8px;
  206. <?php $br = format_border_radius($_SESSION['theme']['footer_border_radius']['text'], '0 0 4px 4px'); ?>
  207. -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']; ?>;
  208. -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']; ?>;
  209. -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']; ?>;
  210. 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']; ?>;
  211. <?php unset($br); ?>
  212. }
  213. div#footer_login {
  214. position: absolute;
  215. left: 0;
  216. right: 0;
  217. bottom: 0;
  218. width: 100%;
  219. background: <?php echo ($_SESSION['theme']['footer_background_color']['text'] != '') ? $_SESSION['theme']['footer_background_color']['text'] : 'rgba(0,0,0,0.2)'; ?>;
  220. text-align: center;
  221. vertical-align: middle;
  222. padding: 8px;
  223. }
  224. .footer {
  225. font-size: 11px;
  226. font-family: arial;
  227. line-height: 14px;
  228. color: <?php echo ($_SESSION['theme']['footer_color']['text'] != '') ? $_SESSION['theme']['footer_color']['text'] : 'rgba(255,255,255,0.3)'; ?>;
  229. white-space: nowrap;
  230. }
  231. .footer > a:hover {
  232. color: <?php echo ($_SESSION['theme']['footer_color']['text'] != '') ? $_SESSION['theme']['footer_color']['text'] : 'rgba(255,255,255,0.3)'; ?>;
  233. }
  234. /* MENU: BEGIN ******************************************************************/
  235. /* help bootstrap v4 menu be scrollable on mobile */
  236. @media screen and (max-width: 575px) {
  237. .navbar-collapse {
  238. max-height: calc(100vh - 60px);
  239. overflow-y: auto;
  240. }
  241. }
  242. /* main menu container */
  243. nav.navbar {
  244. <?php if ($_SESSION['theme']['menu_main_background_image']['text'] != '') { ?>
  245. background-image: url("<?php echo $_SESSION['theme']['menu_main_background_image']['text']; ?>");
  246. background-position: 0px 0px;
  247. background-repeat: repeat-x;
  248. <?php } else {?>
  249. background: <?php echo ($_SESSION['theme']['menu_main_background_color']['text'] != '') ? $_SESSION['theme']['menu_main_background_color']['text'] : 'rgba(0,0,0,0.90)'; ?>;
  250. <?php } ?>
  251. -webkit-box-shadow: <?php echo ($_SESSION['theme']['menu_main_shadow_color']['text'] != '') ? '0 0 5px '.$_SESSION['theme']['menu_main_shadow_color']['text'] : 'none';?>;
  252. -moz-box-shadow: <?php echo ($_SESSION['theme']['menu_main_shadow_color']['text'] != '') ? '0 0 5px '.$_SESSION['theme']['menu_main_shadow_color']['text'] : 'none';?>;
  253. box-shadow: <?php echo ($_SESSION['theme']['menu_main_shadow_color']['text'] != '') ? '0 0 5px '.$_SESSION['theme']['menu_main_shadow_color']['text'] : 'none';?>;
  254. <?php
  255. echo ($_SESSION['theme']['menu_main_border_color']['text'] == '' && $_SESSION['theme']['menu_main_border_size']['text'] == '') ? "border: 0;\n" : null;
  256. echo ($_SESSION['theme']['menu_main_border_color']['text'] != '') ? 'border-color: '.$_SESSION['theme']['menu_main_border_color']['text'].";\n" : null;
  257. echo ($_SESSION['theme']['menu_main_border_size']['text'] != '') ? 'border-width: '.$_SESSION['theme']['menu_main_border_size']['text'].";\n" : null;
  258. switch ($_SESSION['theme']['menu_style']['text']) {
  259. case 'inline': $default_radius = '4px'; break;
  260. case 'static': $default_radius = '0 0 4px 4px'; break;
  261. default: $default_radius = '0';
  262. }
  263. ?>
  264. -moz-border-radius: <?php echo ($_SESSION['theme']['menu_main_border_radius']['text'] != '') ? $_SESSION['theme']['menu_main_border_radius']['text'] : $default_radius; ?>;
  265. -webkit-border-radius: <?php echo ($_SESSION['theme']['menu_main_border_radius']['text'] != '') ? $_SESSION['theme']['menu_main_border_radius']['text'] : $default_radius; ?>;
  266. -khtml-border-radius: <?php echo ($_SESSION['theme']['menu_main_border_radius']['text'] != '') ? $_SESSION['theme']['menu_main_border_radius']['text'] : $default_radius; ?>;
  267. border-radius: <?php echo ($_SESSION['theme']['menu_main_border_radius']['text'] != '') ? $_SESSION['theme']['menu_main_border_radius']['text'] : $default_radius; ?>;
  268. padding: 0;
  269. }
  270. /* main menu logo */
  271. img.navbar-logo {
  272. border: none;
  273. height: 27px;
  274. width: auto;
  275. padding: 0 10px 0 7px;
  276. margin-top: -2px;
  277. cursor: pointer;
  278. }
  279. /* menu brand text */
  280. div.navbar-brand > a.navbar-brand-text {
  281. color: <?php echo ($_SESSION['theme']['menu_brand_text_color']['text'] != '') ? $_SESSION['theme']['menu_brand_text_color']['text'] : 'rgba(255,255,255,0.80)'; ?>;
  282. font-size: <?php echo ($_SESSION['theme']['menu_brand_text_size']['text'] != '') ? $_SESSION['theme']['menu_brand_text_size']['text'] : '13pt'; ?>;
  283. white-space: nowrap;
  284. }
  285. /* menu brand text hover */
  286. div.navbar-brand > a.navbar-brand-text:hover {
  287. color: <?php echo ($_SESSION['theme']['menu_brand_text_color_hover']['text'] != '') ? $_SESSION['theme']['menu_brand_text_color_hover']['text'] : 'rgba(255,255,255,1.0)'; ?>;
  288. text-decoration: none;
  289. }
  290. /* main menu item */
  291. ul.navbar-nav > li.nav-item > a.nav-link {
  292. font-family: <?php echo ($_SESSION['theme']['menu_main_text_font']['text'] != '') ? $_SESSION['theme']['menu_main_text_font']['text'] : 'arial'; ?>;
  293. font-size: <?php echo ($_SESSION['theme']['menu_main_text_size']['text'] != '') ? $_SESSION['theme']['menu_main_text_size']['text'] : '10.25pt'; ?>;
  294. color: <?php echo ($_SESSION['theme']['menu_main_text_color']['text'] != '') ? $_SESSION['theme']['menu_main_text_color']['text'] : '#fff'; ?>;
  295. padding: 15px 10px 14px 10px; !important;
  296. }
  297. ul.navbar-nav > li.nav-item:hover > a.nav-link,
  298. ul.navbar-nav > li.nav-item:focus > a.nav-link,
  299. ul.navbar-nav > li.nav-item:active > a.nav-link {
  300. color: <?php echo ($_SESSION['theme']['menu_main_text_color_hover']['text'] != '') ? $_SESSION['theme']['menu_main_text_color_hover']['text'] : '#fd9c03'; ?>;
  301. background: <?php echo ($_SESSION['theme']['menu_main_background_color_hover']['text'] != '') ? $_SESSION['theme']['menu_main_background_color_hover']['text'] : 'rgba(0,0,0,1.0)'; ?>
  302. }
  303. .navbar .navbar-nav > li > a > span.fas {
  304. margin: 1px 2px 0 0;
  305. }
  306. @media(min-width: 768px) {
  307. .dropdown:hover .dropdown-menu {
  308. display: block;
  309. }
  310. }
  311. /* sub menu container */
  312. ul.navbar-nav > li.nav-item > ul.dropdown-menu {
  313. margin-top: 0;
  314. padding-top: 0;
  315. padding-bottom: 10px;
  316. <?php
  317. echo ($_SESSION['theme']['menu_sub_border_color']['text'] == '' && $_SESSION['theme']['menu_sub_border_size']['text'] == '') ? "border: 0;\n" : null;
  318. echo ($_SESSION['theme']['menu_sub_border_color']['text'] != '') ? 'border-color: '.$_SESSION['theme']['menu_sub_border_color']['text'].";\n" : null;
  319. echo ($_SESSION['theme']['menu_sub_border_size']['text'] != '') ? 'border-width: '.$_SESSION['theme']['menu_sub_border_size']['text'].";\n" : null;
  320. ?>
  321. background: <?php echo ($_SESSION['theme']['menu_sub_background_color']['text'] != '') ? $_SESSION['theme']['menu_sub_background_color']['text'] : 'rgba(0,0,0,0.90)'; ?>;
  322. -webkit-box-shadow: <?php echo ($_SESSION['theme']['menu_sub_shadow_color']['text'] != '') ? '0 0 5px '.$_SESSION['theme']['menu_sub_shadow_color']['text'] : 'none';?>;
  323. -moz-box-shadow: <?php echo ($_SESSION['theme']['menu_sub_shadow_color']['text'] != '') ? '0 0 5px '.$_SESSION['theme']['menu_sub_shadow_color']['text'] : 'none';?>;
  324. box-shadow: <?php echo ($_SESSION['theme']['menu_sub_shadow_color']['text'] != '') ? '0 0 5px '.$_SESSION['theme']['menu_sub_shadow_color']['text'] : 'none';?>;
  325. <?php $br = format_border_radius($_SESSION['theme']['menu_sub_border_radius']['text'], '0 0 4px 4px'); ?>
  326. -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']; ?>;
  327. -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']; ?>;
  328. -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']; ?>;
  329. 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']; ?>;
  330. <?php unset($br); ?>
  331. }
  332. /* sub menu item */
  333. ul.navbar-nav > li.nav-item > ul.dropdown-menu > li.nav-item > a.nav-link {
  334. font-family: <?php echo ($_SESSION['theme']['menu_sub_text_font']['text'] != '') ? $_SESSION['theme']['menu_sub_text_font']['text'] : 'arial'; ?>;
  335. color: <?php echo ($_SESSION['theme']['menu_sub_text_color']['text'] != '') ? $_SESSION['theme']['menu_sub_text_color']['text'] : '#fff'; ?>;
  336. font-size: <?php echo ($_SESSION['theme']['menu_sub_text_size']['text'] != '') ? $_SESSION['theme']['menu_sub_text_size']['text'] : '10pt'; ?>;
  337. margin: 0;
  338. padding: 3px 14px !important;
  339. }
  340. ul.navbar-nav > li.nav-item > ul.dropdown-menu > li.nav-item > a.nav-link:hover,
  341. ul.navbar-nav > li.nav-item > ul.dropdown-menu > li.nav-item > a.nav-link:focus,
  342. ul.navbar-nav > li.nav-item > ul.dropdown-menu > li.nav-item > a.nav-link:active {
  343. color: <?php echo ($_SESSION['theme']['menu_sub_text_color_hover']['text'] != '') ? $_SESSION['theme']['menu_sub_text_color_hover']['text'] : '#fd9c03'; ?>;
  344. background: <?php echo ($_SESSION['theme']['menu_sub_background_color_hover']['text'] != '') ? $_SESSION['theme']['menu_sub_background_color_hover']['text'] : '#141414'; ?>;
  345. outline: none;
  346. }
  347. a.nav-link {
  348. text-align: left !important;
  349. }
  350. /* sub menu item icon */
  351. ul.dropdown-menu > li.nav-item > a.nav-link > span.fas {
  352. display: inline-block;
  353. font-size: 8pt;
  354. margin: 0 0 0 8px;
  355. opacity: 0.30;
  356. }
  357. /* header domain/user name */
  358. ul.navbar-nav > li.nav-item > a.header_user,
  359. ul.navbar-nav > li.nav-item > a.header_domain {
  360. font-family: <?php echo ($_SESSION['theme']['menu_main_text_font']['text'] != '') ? $_SESSION['theme']['menu_main_text_font']['text'] : 'arial'; ?>;
  361. font-size: <?php echo ($_SESSION['theme']['menu_main_text_size']['text'] != '') ? $_SESSION['theme']['menu_main_text_size']['text'] : '10.25pt'; ?>;
  362. color: <?php echo ($_SESSION['theme']['menu_main_text_color']['text'] != '') ? $_SESSION['theme']['menu_main_text_color']['text'] : '#fff'; ?>;
  363. padding: 10px;
  364. }
  365. ul.navbar-nav > li.nav-item:hover > a.header_user,
  366. ul.navbar-nav > li.nav-item:focus > a.header_user,
  367. ul.navbar-nav > li.nav-item:active > a.header_user {
  368. color: <?php echo ($_SESSION['theme']['header_user_color_hover']['text'] != '') ? $_SESSION['theme']['header_user_color_hover']['text'] : '#1892E6'; ?>;
  369. }
  370. ul.navbar-nav > li.nav-item:hover > a.header_domain,
  371. ul.navbar-nav > li.nav-item:focus > a.header_domain,
  372. ul.navbar-nav > li.nav-item:active > a.header_domain {
  373. color: <?php echo ($_SESSION['theme']['header_domain_color_hover']['text'] != '') ? $_SESSION['theme']['header_domain_color_hover']['text'] : '#1892E6'; ?>;
  374. }
  375. /* logout icon */
  376. a.logout_icon {
  377. color: <?php echo ($_SESSION['theme']['logout_icon_color']['text'] != '') ? $_SESSION['theme']['logout_icon_color']['text'] : 'rgba(255,255,255,0.8)'; ?>;
  378. padding: 14px 10px;
  379. }
  380. a.logout_icon:hover,
  381. a.logout_icon:focus,
  382. a.logout_icon:active {
  383. color: <?php echo ($_SESSION['theme']['logout_icon_color_hover']['text'] != '') ? $_SESSION['theme']['logout_icon_color_hover']['text'] : 'rgba(255,255,255,1.0)'; ?>;
  384. background: <?php echo ($_SESSION['theme']['menu_main_background_color_hover']['text'] != '') ? $_SESSION['theme']['menu_main_background_color_hover']['text'] : '#fd9c03'; ?>
  385. }
  386. a#header_logout_icon {
  387. display: inline-block;
  388. font-size: 11pt;
  389. padding-left: 5px;
  390. padding-right: 5px;
  391. margin-left: 5px;
  392. margin-right: 5px;
  393. }
  394. /* xs menu toggle button */
  395. /*
  396. .navbar-inverse .navbar-toggle {
  397. background: transparent;
  398. border: none;
  399. padding: 16px 7px 17px 20px;
  400. margin: 0 8px;
  401. }
  402. .navbar-inverse .navbar-toggle:hover,
  403. .navbar-inverse .navbar-toggle:focus,
  404. .navbar-inverse .navbar-toggle:active {
  405. background: transparent;
  406. }
  407. */
  408. button.navbar-toggler {
  409. min-height: 50px;
  410. }
  411. button.navbar-toggler > span.fas.fa-bars {
  412. color: <?php echo ($_SESSION['theme']['menu_main_toggle_color']['text'] != '') ? $_SESSION['theme']['menu_main_toggle_color']['text'] : 'rgba(255,255,255,0.8)'; ?>;
  413. }
  414. button.navbar-toggler > span.fas.fa-bars:hover {
  415. color: <?php echo ($_SESSION['theme']['menu_main_toggle_color_hover']['text'] != '') ? $_SESSION['theme']['menu_main_toggle_color_hover']['text'] : 'rgba(255,255,255,1.0)'; ?>;
  416. }
  417. /* SIDE MENU: Begin ***********************************************************/
  418. /* side menu container */
  419. div#menu_side_container {
  420. z-index: 99900;
  421. position: fixed;
  422. top: 0;
  423. left: 0;
  424. <?php
  425. if ($_SESSION['theme']['menu_side_state']['text'] == 'expanded' || $_SESSION['theme']['menu_side_state']['text'] == 'hidden') {
  426. echo "width: ".(is_numeric($_SESSION['theme']['menu_side_width_expanded']['text']) ? $_SESSION['theme']['menu_side_width_expanded']['text'] : '225')."px;\n";
  427. }
  428. else {
  429. echo "width: ".(is_numeric($_SESSION['theme']['menu_side_width_contracted']['text']) ? $_SESSION['theme']['menu_side_width_contracted']['text'] : '60')."px;\n";
  430. }
  431. ?>
  432. height: 100%;
  433. overflow: auto;
  434. <?php if ($_SESSION['theme']['menu_main_background_image']['text'] != '') { ?>
  435. background-image: url("<?php echo $_SESSION['theme']['menu_main_background_image']['text']; ?>");
  436. background-position: 0px 0px;
  437. background-repeat: repeat-y;
  438. <?php } else {?>
  439. background: <?php echo ($_SESSION['theme']['menu_main_background_color']['text'] != '') ? $_SESSION['theme']['menu_main_background_color']['text'] : 'rgba(0,0,0,0.90)'; ?>;
  440. <?php } ?>
  441. -webkit-box-shadow: <?php echo ($_SESSION['theme']['menu_main_shadow_color']['text'] != '') ? '0 0 5px '.$_SESSION['theme']['menu_main_shadow_color']['text'] : 'none';?>;
  442. -moz-box-shadow: <?php echo ($_SESSION['theme']['menu_main_shadow_color']['text'] != '') ? '0 0 5px '.$_SESSION['theme']['menu_main_shadow_color']['text'] : 'none';?>;
  443. box-shadow: <?php echo ($_SESSION['theme']['menu_main_shadow_color']['text'] != '') ? '0 0 5px '.$_SESSION['theme']['menu_main_shadow_color']['text'] : 'none';?>;
  444. <?php
  445. echo ($_SESSION['theme']['menu_main_border_color']['text'] == '' && $_SESSION['theme']['menu_main_border_size']['text'] == '') ? "border: 0;\n" : null;
  446. echo ($_SESSION['theme']['menu_main_border_color']['text'] != '') ? 'border-color: '.$_SESSION['theme']['menu_main_border_color']['text'].";\n" : null;
  447. echo ($_SESSION['theme']['menu_main_border_size']['text'] != '') ? 'border-width: '.$_SESSION['theme']['menu_main_border_size']['text'].";\n" : null;
  448. ?>
  449. -moz-border-radius: <?php echo ($_SESSION['theme']['menu_main_border_radius']['text'] != '') ? $_SESSION['theme']['menu_main_border_radius']['text'] : '0'; ?>;
  450. -webkit-border-radius: <?php echo ($_SESSION['theme']['menu_main_border_radius']['text'] != '') ? $_SESSION['theme']['menu_main_border_radius']['text'] : '0'; ?>;
  451. -khtml-border-radius: <?php echo ($_SESSION['theme']['menu_main_border_radius']['text'] != '') ? $_SESSION['theme']['menu_main_border_radius']['text'] : '0'; ?>;
  452. border-radius: <?php echo ($_SESSION['theme']['menu_main_border_radius']['text'] != '') ? $_SESSION['theme']['menu_main_border_radius']['text'] : '0'; ?>;
  453. }
  454. /* menu side logo */
  455. a.menu_brand_image {
  456. display: inline-block;
  457. text-align: center;
  458. padding: 15px 20px;
  459. }
  460. a.menu_brand_image:hover {
  461. text-decoration: none;
  462. }
  463. img#menu_brand_image_contracted {
  464. border: none;
  465. width: auto;
  466. max-height: 20px;
  467. max-width: 20px;
  468. margin-left: -1px;
  469. }
  470. img#menu_brand_image_expanded {
  471. border: none;
  472. height: auto;
  473. max-width: 145px;
  474. max-height: 35px;
  475. margin-left: -7px;
  476. }
  477. /* menu brand text */
  478. a.menu_brand_text {
  479. display: inline-block;
  480. padding: 10px 20px;
  481. color: <?php echo ($_SESSION['theme']['menu_brand_text_color']['text'] != '') ? $_SESSION['theme']['menu_brand_text_color']['text'] : 'rgba(255,255,255,0.90)'; ?>;
  482. font-weight: 600;
  483. white-space: nowrap;
  484. }
  485. a.menu_brand_text:hover {
  486. color: <?php echo ($_SESSION['theme']['menu_brand_text_color_hover']['text'] != '') ? $_SESSION['theme']['menu_brand_text_color_hover']['text'] : 'rgba(255,255,255,1.0)'; ?>;
  487. text-decoration: none;
  488. }
  489. /* menu side control container */
  490. div#menu_side_control_container {
  491. position: -webkit-sticky;
  492. position: sticky;
  493. z-index: 99901;
  494. top: 0;
  495. padding: 0;
  496. min-height: 75px;
  497. text-align: left;
  498. <?php if ($_SESSION['theme']['menu_main_background_image']['text'] != '') { ?>
  499. background-image: url("<?php echo $_SESSION['theme']['menu_main_background_image']['text']; ?>");
  500. background-position: 0px 0px;
  501. background-repeat: repeat-y;
  502. <?php } else {?>
  503. background: <?php echo ($_SESSION['theme']['menu_main_background_color']['text'] != '') ? $_SESSION['theme']['menu_main_background_color']['text'] : 'rgba(0,0,0,0.90)'; ?>;
  504. <?php } ?>
  505. <?php
  506. echo ($_SESSION['theme']['menu_main_border_color']['text'] == '' && $_SESSION['theme']['menu_main_border_size']['text'] == '') ? "border: 0;\n" : null;
  507. echo ($_SESSION['theme']['menu_main_border_color']['text'] != '') ? 'border-color: '.$_SESSION['theme']['menu_main_border_color']['text'].";\n" : null;
  508. echo ($_SESSION['theme']['menu_main_border_size']['text'] != '') ? 'border-width: '.$_SESSION['theme']['menu_main_border_size']['text'].";\n" : null;
  509. ?>
  510. -moz-border-radius: <?php echo ($_SESSION['theme']['menu_main_border_radius']['text'] != '') ? $_SESSION['theme']['menu_main_border_radius']['text'] : '0'; ?>;
  511. -webkit-border-radius: <?php echo ($_SESSION['theme']['menu_main_border_radius']['text'] != '') ? $_SESSION['theme']['menu_main_border_radius']['text'] : '0'; ?>;
  512. -khtml-border-radius: <?php echo ($_SESSION['theme']['menu_main_border_radius']['text'] != '') ? $_SESSION['theme']['menu_main_border_radius']['text'] : '0'; ?>;
  513. border-radius: <?php echo ($_SESSION['theme']['menu_main_border_radius']['text'] != '') ? $_SESSION['theme']['menu_main_border_radius']['text'] : '0'; ?>;
  514. }
  515. div#menu_side_container > a.menu_side_item_main,
  516. div#menu_side_container > div > a.menu_side_item_main,
  517. div#menu_side_container > div#menu_side_control_container a.menu_side_item_main {
  518. display: block;
  519. width: 100%;
  520. padding: 10px 20px;
  521. text-align: left;
  522. font-family: <?php echo ($_SESSION['theme']['menu_main_text_font']['text'] != '') ? $_SESSION['theme']['menu_main_text_font']['text'] : 'arial'; ?>;
  523. font-size: <?php echo ($_SESSION['theme']['menu_main_text_size']['text'] != '') ? $_SESSION['theme']['menu_main_text_size']['text'] : '10.25pt'; ?>;
  524. color: <?php echo ($_SESSION['theme']['menu_main_text_color']['text'] != '') ? $_SESSION['theme']['menu_main_text_color']['text'] : '#fff'; ?>;
  525. cursor: pointer;
  526. }
  527. div#menu_side_container > a.menu_side_item_main:hover,
  528. div#menu_side_container > a.menu_side_item_main:focus,
  529. div#menu_side_container > a.menu_side_item_main:active,
  530. div#menu_side_container > div > a.menu_side_item_main:hover,
  531. div#menu_side_container > div > a.menu_side_item_main:focus,
  532. div#menu_side_container > div > a.menu_side_item_main:active,
  533. div#menu_side_container > div#menu_side_control_container > div a.menu_side_item_main:hover,
  534. div#menu_side_container > div#menu_side_control_container > div a.menu_side_item_main:focus,
  535. div#menu_side_container > div#menu_side_control_container > div a.menu_side_item_main:active {
  536. color: <?php echo ($_SESSION['theme']['menu_main_text_color_hover']['text'] != '') ? $_SESSION['theme']['menu_main_text_color_hover']['text'] : '#fd9c03'; ?>;
  537. background: <?php echo ($_SESSION['theme']['menu_main_background_color_hover']['text'] != '') ? $_SESSION['theme']['menu_main_background_color_hover']['text'] : 'rgba(0,0,0,1.0)'; ?>;
  538. text-decoration: none;
  539. }
  540. div#menu_side_container > a.menu_side_item_main > i.menu_side_item_icon,
  541. div#menu_side_container > a.menu_side_item_main > i.menu_side_item_icon,
  542. div#menu_side_container > a.menu_side_item_main > i.menu_side_item_icon {
  543. color: <?php echo ($_SESSION['theme']['menu_main_icon_color']['text'] != '') ? $_SESSION['theme']['menu_main_icon_color']['text'] : '#fd9c03'; ?>;
  544. }
  545. div#menu_side_container > a.menu_side_item_main:hover > i.menu_side_item_icon,
  546. div#menu_side_container > a.menu_side_item_main:focus > i.menu_side_item_icon,
  547. div#menu_side_container > a.menu_side_item_main:active > i.menu_side_item_icon {
  548. color: <?php echo ($_SESSION['theme']['menu_main_icon_color_hover']['text'] != '') ? $_SESSION['theme']['menu_main_icon_color_hover']['text'] : '#fd9c03'; ?>;
  549. }
  550. a.menu_side_item_sub {
  551. display: block;
  552. width: 100%;
  553. padding: 5px 20px 5px 45px;
  554. text-align: left;
  555. background: <?php echo ($_SESSION['theme']['menu_sub_background_color']['text'] != '') ? $_SESSION['theme']['menu_sub_background_color']['text'] : 'rgba(0,0,0,0.90)'; ?>;
  556. font-family: <?php echo ($_SESSION['theme']['menu_sub_text_font']['text'] != '') ? $_SESSION['theme']['menu_sub_text_font']['text'] : 'arial'; ?>;
  557. font-size: <?php echo ($_SESSION['theme']['menu_sub_text_size']['text'] != '') ? $_SESSION['theme']['menu_sub_text_size']['text'] : '10pt'; ?>;
  558. color: <?php echo ($_SESSION['theme']['menu_sub_text_color']['text'] != '') ? $_SESSION['theme']['menu_sub_text_color']['text'] : '#fff'; ?>;
  559. cursor: pointer;
  560. }
  561. @media (max-width: 575.98px) {
  562. a.menu_side_item_sub {
  563. padding: 8px 20px 8px 45px;
  564. }
  565. }
  566. a.menu_side_item_sub:hover,
  567. a.menu_side_item_sub:focus,
  568. a.menu_side_item_sub:active {
  569. color: <?php echo ($_SESSION['theme']['menu_sub_text_color_hover']['text'] != '') ? $_SESSION['theme']['menu_sub_text_color_hover']['text'] : '#fd9c03'; ?>;
  570. background: <?php echo ($_SESSION['theme']['menu_sub_background_color_hover']['text'] != '') ? $_SESSION['theme']['menu_sub_background_color_hover']['text'] : 'rgba(0,0,0,1.0)'; ?>;
  571. text-decoration: none;
  572. }
  573. a.menu_side_toggle {
  574. padding: 10px;
  575. cursor: pointer;
  576. }
  577. div#content_container {
  578. padding: 0;
  579. padding-top: 0px;
  580. text-align: center;
  581. }
  582. @media (max-width: 575.98px) {
  583. div#content_container {
  584. width: 100%;
  585. }
  586. }
  587. @media (min-width: 576px) {
  588. div#content_container {
  589. <?php
  590. if ($_SESSION['theme']['menu_side_state']['text'] == 'expanded') {
  591. $content_container_width = is_numeric($_SESSION['theme']['menu_side_width_expanded']['text']) ? $_SESSION['theme']['menu_side_width_expanded']['text'] : '225';
  592. }
  593. else if ($_SESSION['theme']['menu_side_state']['text'] == 'hidden') {
  594. $content_container_width = 0;
  595. }
  596. else {
  597. $content_container_width = is_numeric($_SESSION['theme']['menu_side_width_contracted']['text']) ? $_SESSION['theme']['menu_side_width_contracted']['text'] : '60';
  598. }
  599. ?>
  600. width: calc(100% - <?php echo $content_container_width; ?>px);
  601. float: right;
  602. }
  603. }
  604. /* BODY/HEADER BAR *****************************************************************/
  605. <?php if ($_SESSION['theme']['menu_style']['text'] == 'side') { ?>
  606. div#body_header {
  607. padding: 10px 10px 15px 10px;
  608. height: 50px;
  609. <?php echo $_SESSION['theme']['body_header_background_color']['text'] != '' ? 'background-color: '.$_SESSION['theme']['body_header_background_color']['text'].';' : null; ?>
  610. }
  611. <?php } else { ?>
  612. div#body_header {
  613. padding: 10px;
  614. margin-top: 5px;
  615. height: 40px;
  616. }
  617. <?php } ?>
  618. div#body_header_brand_image {
  619. display: inline-block;
  620. margin-left: 10px;
  621. }
  622. div#body_header_brand_image > a:hover {
  623. text-decoration: none;
  624. }
  625. img#body_header_brand_image {
  626. border: none;
  627. margin-top: -4px;
  628. height: auto;
  629. max-width: 145px;
  630. max-height: 35px;
  631. }
  632. div#body_header_brand_text {
  633. display: inline-block;
  634. margin: 3px 0 0 10px;
  635. }
  636. div#body_header_brand_text > a {
  637. color: <?php echo ($_SESSION['theme']['body_header_brand_text_color']['text'] != '') ? $_SESSION['theme']['body_header_brand_text_color']['text'] : 'rgba(0,0,0,0.90)'; ?>;
  638. font-size: <?php echo ($_SESSION['theme']['body_header_brand_text_size']['text'] != '') ? $_SESSION['theme']['body_header_brand_text_size']['text'] : '16px'; ?>;
  639. font-weight: 600;
  640. text-decoration: none;
  641. }
  642. div#body_header_brand_text > a:hover {
  643. color: <?php echo ($_SESSION['theme']['body_header_brand_text_color_hover']['text'] != '') ? $_SESSION['theme']['body_header_brand_text_color_hover']['text'] : 'rgba(0,0,0,1.0)'; ?>;
  644. text-decoration: none;
  645. }
  646. /* BUTTONS ********************************************************************/
  647. /* buttons */
  648. input.btn,
  649. input.button,
  650. button.btn-default {
  651. height: <?php echo ($_SESSION['theme']['button_height']['text'] != '') ? $_SESSION['theme']['button_height']['text'] : '28px'; ?>;
  652. padding: <?php echo ($_SESSION['theme']['button_padding']['text'] != '') ? $_SESSION['theme']['button_padding']['text'] : '5px 8px'; ?>;
  653. border: <?php echo ($_SESSION['theme']['button_border_size']['text'] != '') ? $_SESSION['theme']['button_border_size']['text'] : '1px'; ?> solid <?php echo ($_SESSION['theme']['button_border_color']['text'] != '') ? $_SESSION['theme']['button_border_color']['text'] : '#242424'; ?>;
  654. <?php $br = format_border_radius($_SESSION['theme']['button_border_radius']['text'], '3px'); ?>
  655. -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']; ?>;
  656. -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']; ?>;
  657. -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']; ?>;
  658. 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']; ?>;
  659. <?php unset($br); ?>
  660. <?php
  661. $color_1 = ($_SESSION['theme']['button_background_color']['text'] != '') ? $_SESSION['theme']['button_background_color']['text'] : '#4f4f4f';
  662. $color_2 = ($_SESSION['theme']['button_background_color_bottom']['text'] != '') ? $_SESSION['theme']['button_background_color_bottom']['text'] : '#000000';
  663. ?>
  664. background: <?php echo $color_1; ?>;
  665. background-image: -ms-linear-gradient(top, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  666. background-image: -moz-linear-gradient(top, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  667. background-image: -o-linear-gradient(top, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  668. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, <?php echo $color_1; ?>), color-stop(1, <?php echo $color_2; ?>));
  669. background-image: -webkit-linear-gradient(top, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  670. background-image: linear-gradient(to bottom, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  671. <?php unset($color_1, $color_2); ?>
  672. font-family: <?php echo ($_SESSION['theme']['button_text_font']['text'] != '') ? $_SESSION['theme']['button_text_font']['text'] : 'Candara, Calibri, Segoe, "Segoe UI", Optima, Arial, sans-serif'; ?>;
  673. text-align: center;
  674. text-transform: uppercase;
  675. color: <?php echo ($_SESSION['theme']['button_text_color']['text'] != '') ? $_SESSION['theme']['button_text_color']['text'] : '#ffffff'; ?>;
  676. font-weight: <?php echo ($_SESSION['theme']['button_text_weight']['text'] != '') ? $_SESSION['theme']['button_text_weight']['text'] : 'bold'; ?>;
  677. font-size: <?php echo ($_SESSION['theme']['button_text_size']['text'] != '') ? $_SESSION['theme']['button_text_size']['text'] : '11px'; ?>;
  678. vertical-align: middle;
  679. white-space: nowrap;
  680. }
  681. input.btn:hover,
  682. input.btn:active,
  683. input.btn:focus,
  684. input.button:hover,
  685. input.button:active,
  686. input.button:focus,
  687. button.btn-default:hover,
  688. button.btn-default:active,
  689. button.btn-default:focus {
  690. cursor: pointer;
  691. border-color: <?php echo ($_SESSION['theme']['button_border_color_hover']['text'] != '') ? $_SESSION['theme']['button_border_color_hover']['text'] : '#000000'; ?>;
  692. <?php
  693. $color_1 = ($_SESSION['theme']['button_background_color_hover']['text'] != '') ? $_SESSION['theme']['button_background_color_hover']['text'] : '#000000';
  694. $color_2 = ($_SESSION['theme']['button_background_color_bottom_hover']['text'] != '') ? $_SESSION['theme']['button_background_color_bottom_hover']['text'] : '#000000';
  695. ?>
  696. background: <?php echo $color_1; ?>;
  697. background-image: -ms-linear-gradient(top, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  698. background-image: -moz-linear-gradient(top, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  699. background-image: -o-linear-gradient(top, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  700. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, <?php echo $color_1; ?>), color-stop(1, <?php echo $color_2; ?>));
  701. background-image: -webkit-linear-gradient(top, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  702. background-image: linear-gradient(to bottom, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  703. <?php unset($color_1, $color_2); ?>
  704. color: <?php echo ($_SESSION['theme']['button_text_color_hover']['text'] != '') ? $_SESSION['theme']['button_text_color_hover']['text'] : '#ffffff'; ?>;
  705. }
  706. /* remove (along with icons in theme/default/config.php) after transition to button class */
  707. button.btn-icon {
  708. margin: 0 2px;
  709. white-space: nowrap;
  710. }
  711. /* control icons (define after the default bootstrap btn-default class) */
  712. button.list_control_icon,
  713. button.list_control_icon_disabled {
  714. width: 24px;
  715. height: 24px;
  716. padding: 2px;
  717. margin: 1px;
  718. border: <?php echo ($_SESSION['theme']['button_border_size']['text'] != '') ? $_SESSION['theme']['button_border_size']['text'] : '1px'; ?> solid <?php echo ($_SESSION['theme']['button_border_color']['text'] != '') ? $_SESSION['theme']['button_border_color']['text'] : '#242424'; ?>;
  719. <?php $br = format_border_radius($_SESSION['theme']['button_border_radius']['text'], '3px'); ?>
  720. -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']; ?>;
  721. -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']; ?>;
  722. -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']; ?>;
  723. 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']; ?>;
  724. <?php unset($br); ?>
  725. <?php
  726. $color_1 = ($_SESSION['theme']['button_background_color']['text'] != '') ? $_SESSION['theme']['button_background_color']['text'] : '#4f4f4f';
  727. $color_2 = ($_SESSION['theme']['button_background_color_bottom']['text'] != '') ? $_SESSION['theme']['button_background_color_bottom']['text'] : '#000000';
  728. ?>
  729. background: <?php echo $color_1; ?>;
  730. background-image: -ms-linear-gradient(top, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  731. background-image: -moz-linear-gradient(top, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  732. background-image: -o-linear-gradient(top, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  733. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, <?php echo $color_1; ?>), color-stop(1, <?php echo $color_2; ?>));
  734. background-image: -webkit-linear-gradient(top, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  735. background-image: linear-gradient(to bottom, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  736. <?php unset($color_1, $color_2); ?>
  737. color: <?php echo ($_SESSION['theme']['button_text_color']['text'] != '') ? $_SESSION['theme']['button_text_color']['text'] : '#ffffff'; ?>;
  738. font-size: 10.5pt;
  739. text-align: center;
  740. -moz-opacity: 0.3;
  741. opacity: 0.3;
  742. }
  743. button.list_control_icon:hover,
  744. button.list_control_icon:active,
  745. button.list_control_icon:focus {
  746. cursor: pointer;
  747. border-color: <?php echo ($_SESSION['theme']['button_border_color_hover']['text'] != '') ? $_SESSION['theme']['button_border_color_hover']['text'] : '#000000'; ?>;
  748. <?php
  749. $color_1 = ($_SESSION['theme']['button_background_color_hover']['text'] != '') ? $_SESSION['theme']['button_background_color_hover']['text'] : '#000000';
  750. $color_2 = ($_SESSION['theme']['button_background_color_bottom_hover']['text'] != '') ? $_SESSION['theme']['button_background_color_bottom_hover']['text'] : '#000000';
  751. ?>
  752. background: <?php echo $color_1; ?>;
  753. background-image: -ms-linear-gradient(top, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  754. background-image: -moz-linear-gradient(top, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  755. background-image: -o-linear-gradient(top, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  756. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, <?php echo $color_1; ?>), color-stop(1, <?php echo $color_2; ?>));
  757. background-image: -webkit-linear-gradient(top, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  758. background-image: linear-gradient(to bottom, <?php echo $color_1; ?> 0%, <?php echo $color_2; ?> 100%);
  759. <?php unset($color_1, $color_2); ?>
  760. color: <?php echo ($_SESSION['theme']['button_text_color_hover']['text'] != '') ? $_SESSION['theme']['button_text_color_hover']['text'] : '#ffffff'; ?>;
  761. -moz-opacity: 1.0;
  762. opacity: 1.0;
  763. }
  764. <?php if ($_SESSION['theme']['button_icons']['text'] == 'always' || $_SESSION['theme']['button_icons']['text'] == 'auto' || !$_SESSION['theme']['button_icons']['text']) { ?>
  765. button:not(.btn-link) > span.button-label.pad {
  766. margin-left: 6px;
  767. }
  768. <?php } ?>
  769. a.disabled,
  770. button.btn.disabled {
  771. outline: none; /* hides the dotted outline of the anchor tag on focus/active */
  772. cursor: default;
  773. }
  774. /* DISPLAY BREAKPOINTS ****************************************************************/
  775. /* screen = extra small */
  776. @media (max-width: 575.98px) {
  777. .hide-xs,
  778. .hide-sm-dn,
  779. .hide-md-dn,
  780. .hide-lg-dn {
  781. display: none;
  782. }
  783. .show-xs,
  784. .show-xs-inline,
  785. .show-sm-dn,
  786. .show-sm-dn-inline,
  787. .show-md-dn,
  788. .show-md-dn-inline,
  789. .show-lg-dn,
  790. .show-lg-dn-inline {
  791. display: inline;
  792. }
  793. .show-xs-block,
  794. .show-sm-dn-block,
  795. .show-md-dn-block,
  796. .show-lg-dn-block {
  797. display: block;
  798. }
  799. .show-xs-inline-block,
  800. .show-sm-dn-inline-block,
  801. .show-md-dn-inline-block,
  802. .show-lg-dn-inline-block {
  803. display: inline-block;
  804. }
  805. .show-xs-table-cell,
  806. .show-sm-dn-table-cell,
  807. .show-md-dn-table-cell,
  808. .show-lg-dn-table-cell {
  809. display: table-cell;
  810. }
  811. }
  812. /* screen = small */
  813. @media (min-width: 576px) and (max-width: 767.98px) {
  814. .hide-sm,
  815. .hide-sm-dn,
  816. .hide-md-dn,
  817. .hide-lg-dn,
  818. .hide-sm-up {
  819. display: none;
  820. }
  821. .show-sm,
  822. .show-sm-dn,
  823. .show-sm-dn-inline,
  824. .show-md-dn,
  825. .show-md-dn-inline,
  826. .show-lg-dn,
  827. .show-lg-dn-inline {
  828. display: inline;
  829. }
  830. .show-sm-block,
  831. .show-sm-dn-block,
  832. .show-md-dn-block,
  833. .show-lg-dn-block {
  834. display: block;
  835. }
  836. .show-sm-inline-block,
  837. .show-sm-dn-inline-block,
  838. .show-md-dn-inline-block,
  839. .show-lg-dn-inline-block {
  840. display: inline-block;
  841. }
  842. .show-sm-table-cell,
  843. .show-sm-dn-table-cell,
  844. .show-md-dn-table-cell,
  845. .show-lg-dn-table-cell {
  846. display: table-cell;
  847. }
  848. }
  849. /* screen = medium */
  850. @media (min-width: 768px) and (max-width: 991.98px) {
  851. .hide-md,
  852. .hide-md-dn,
  853. .hide-lg-dn,
  854. .hide-md-up,
  855. .hide-sm-up {
  856. display: none;
  857. }
  858. .show-md,
  859. .show-md-dn,
  860. .show-md-dn-inline,
  861. .show-lg-dn,
  862. .show-lg-dn-inline {
  863. display: inline;
  864. }
  865. .show-md-block,
  866. .show-md-dn-block,
  867. .show-lg-dn-block {
  868. display: block;
  869. }
  870. .show-md-inline-block,
  871. .show-md-dn-inline-block,
  872. .show-lg-dn-inline-block {
  873. display: inline-block;
  874. }
  875. .show-md-table-cell,
  876. .show-md-dn-table-cell,
  877. .show-lg-dn-table-cell {
  878. display: table-cell;
  879. }
  880. }
  881. /* screen = large */
  882. @media (min-width: 992px) and (max-width: 1199.98px) {
  883. .hide-lg,
  884. .hide-lg-dn,
  885. .hide-lg-up,
  886. .hide-md-up,
  887. .hide-sm-up {
  888. display: none;
  889. }
  890. .show-lg,
  891. .show-lg-dn,
  892. .show-lg-dn-inline {
  893. display: inline;
  894. }
  895. .show-lg-block,
  896. .show-lg-dn-block {
  897. display: block;
  898. }
  899. .show-lg-inline-block,
  900. .show-lg-dn-inline-block {
  901. display: inline-block;
  902. }
  903. .show-lg-table-cell,
  904. .show-lg-dn-table-cell {
  905. display: table-cell;
  906. }
  907. }
  908. /* screen >= extra large */
  909. @media (min-width: 1200px) {
  910. .hide-xl,
  911. .hide-lg-up,
  912. .hide-md-up,
  913. .hide-sm-up {
  914. display: none;
  915. }
  916. .show-xl,
  917. .show-xl-inline {
  918. display: inline;
  919. }
  920. .show-xl-block {
  921. display: block;
  922. }
  923. .show-xl-inline-block {
  924. display: inline-block;
  925. }
  926. .show-xl-table-cell {
  927. display: table-cell;
  928. }
  929. }
  930. /* hide button labels on medium and smaller screens (only if icons present) */
  931. @media (max-width: 991.98px) {
  932. button:not(.btn-link) > span.button-label.hide-md-dn {
  933. display: none;
  934. }
  935. }
  936. /* ICONS *********************************************************************/
  937. span.icon_body {
  938. width: 16px;
  939. height: 16px;
  940. color: <?php echo ($_SESSION['theme']['body_icon_color']['text'] != '') ? $_SESSION['theme']['body_icon_color']['text'] : 'rgba(0,0,0,0.25)'; ?>;
  941. border: 0;
  942. }
  943. span.icon_body:hover {
  944. color: <?php echo ($_SESSION['theme']['body_icon_color_hover']['text'] != '') ? $_SESSION['theme']['body_icon_color_hover']['text'] : 'rgba(0,0,0,0.5)'; ?>;
  945. }
  946. /* DOMAIN SELECTOR ***********************************************************/
  947. #domains_container {
  948. z-index: 99990;
  949. position: absolute;
  950. right: 0;
  951. top: 0;
  952. bottom: 0;
  953. width: 360px;
  954. overflow: hidden;
  955. display: none;
  956. }
  957. #domains_block {
  958. position: absolute;
  959. right: -300px;
  960. top: 0;
  961. bottom: 0;
  962. width: 340px;
  963. padding: 20px 20px 100px 20px;
  964. font-family: arial, san-serif;
  965. font-size: 10pt;
  966. overflow: hidden;
  967. background: <?php echo ($_SESSION['theme']['domain_selector_background_color']['text'] != '') ? $_SESSION['theme']['domain_selector_background_color']['text'] : '#fff'; ?>;
  968. -webkit-box-shadow: <?php echo ($_SESSION['theme']['domain_selector_shadow_color']['text'] != '') ? '0 0 10px '.$_SESSION['theme']['domain_selector_shadow_color']['text'] : 'none'; ?>;
  969. -moz-box-shadow: <?php echo ($_SESSION['theme']['domain_selector_shadow_color']['text'] != '') ? '0 0 10px '.$_SESSION['theme']['domain_selector_shadow_color']['text'] : 'none'; ?>;
  970. box-shadow: <?php echo ($_SESSION['theme']['domain_selector_shadow_color']['text'] != '') ? '0 0 10px '.$_SESSION['theme']['domain_selector_shadow_color']['text'] : 'none'; ?>;
  971. }
  972. #domains_header {
  973. position: relative;
  974. width: 300px;
  975. height: 55px;
  976. margin-bottom: 20px;
  977. text-align: left;
  978. }
  979. #domains_header > a#domains_title {
  980. font-weight: 600;
  981. font-size: <?php echo ($_SESSION['theme']['heading_text_size']['text'] != '') ? $_SESSION['theme']['heading_text_size']['text'] : '15px'; ?>;
  982. font-family: <?php echo ($_SESSION['theme']['heading_text_font']['text'] != '') ? $_SESSION['theme']['heading_text_font']['text'] : 'arial'; ?>;
  983. color: <?php echo ($_SESSION['theme']['domain_selector_title_color']['text'] != '') ? $_SESSION['theme']['domain_selector_title_color']['text'] : '#000'; ?>;
  984. }
  985. #domains_header > a#domains_title:hover {
  986. text-decoration: none;
  987. color: <?php echo ($_SESSION['theme']['domain_selector_title_color_hover']['text'] != '') ? $_SESSION['theme']['domain_selector_title_color_hover']['text'] : '#5082ca'; ?>;
  988. }
  989. #domains_list {
  990. position: relative;
  991. overflow: auto;
  992. width: 300px;
  993. height: 100%;
  994. padding: 1px;
  995. background: <?php echo ($_SESSION['theme']['domain_selector_list_background_color']['text'] != '') ? $_SESSION['theme']['domain_selector_list_background_color']['text'] : '#fff'; ?>;
  996. border: 1px solid <?php echo ($_SESSION['theme']['domain_selector_list_border_color']['text'] != '') ? $_SESSION['theme']['domain_selector_list_border_color']['text'] : '#a4aebf'; ?>;
  997. }
  998. div.domains_list_item, div.domains_list_item_active, div.domains_list_item_inactive {
  999. text-align: left;
  1000. border-bottom: 1px solid <?php echo ($_SESSION['theme']['domain_selector_list_divider_color']['text'] != '') ? $_SESSION['theme']['domain_selector_list_divider_color']['text'] : '#c5d1e5'; ?>;
  1001. padding: 5px 8px 8px 8px;
  1002. overflow: hidden;
  1003. white-space: nowrap;
  1004. cursor: pointer;
  1005. }
  1006. div.domains_list_item span.domain_list_item_description,
  1007. div.domains_list_item_active span.domain_list_item_description,
  1008. div.domains_list_item_inactive span.domain_list_item_description,
  1009. div.domains_list_item_active span.domain_active_list_item_description,
  1010. div.domains_list_item_inactive span.domain_inactive_list_item_description {
  1011. font-size: 11px;
  1012. }
  1013. div.domains_list_item span.domain_list_item_description,
  1014. div.domains_list_item_active span.domain_list_item_description,
  1015. div.domains_list_item_inactive span.domain_list_item_description {
  1016. color: #999;
  1017. }
  1018. div.domains_list_item_active a {
  1019. color: <?php echo ($_SESSION['theme']['domain_active_text_color']['text'] != '') ? $_SESSION['theme']['domain_active_text_color']['text'] : '#004083'; ?>;
  1020. }
  1021. div.domains_list_item_inactive a {
  1022. color: <?php echo ($_SESSION['theme']['domain_inactive_text_color']['text'] != '') ? $_SESSION['theme']['domain_inactive_text_color']['text'] : '#004083'; ?>;
  1023. }
  1024. div.domains_list_item_active span.domain_active_list_item_description {
  1025. color: <?php echo ($_SESSION['theme']['domain_active_desc_text_color']['text'] != '') ? $_SESSION['theme']['domain_active_desc_text_color']['text'] : '#999'; ?>;
  1026. }
  1027. div.domains_list_item_inactive span.domain_inactive_list_item_description {
  1028. color: <?php echo ($_SESSION['theme']['domain_inactive_desc_text_color']['text'] != '') ? $_SESSION['theme']['domain_inactive_desc_text_color']['text'] : '#999'; ?>;
  1029. }
  1030. div.domains_list_item:hover a,
  1031. div.domains_list_item:hover span {
  1032. color: #5082ca;
  1033. }
  1034. div.domains_list_item_active:hover a,
  1035. div.domains_list_item_active:hover span {
  1036. color: <?php echo ($_SESSION['theme']['domain_active_text_color_hover']['text']); ?>;
  1037. }
  1038. div.domains_list_item_inactive:hover a,
  1039. div.domains_list_item_inactive:hover span {
  1040. color: <?php echo ($_SESSION['theme']['domain_inactive_text_color_hover']['text']); ?>;
  1041. }
  1042. /* DOMAIN SELECTOR: END ********************************************************/
  1043. #default_login {
  1044. position: fixed;
  1045. top: <?php echo ($_SESSION['theme']['login_body_top']['text'] != '') ? $_SESSION['theme']['login_body_top']['text'] : '50%'; ?>;
  1046. left: <?php echo ($_SESSION['theme']['login_body_left']['text'] != '') ? $_SESSION['theme']['login_body_left']['text'] : '50%'; ?>;
  1047. -moz-transform: translate(-50%, -50%);
  1048. -webkit-transform: translate(-50%, -50%);
  1049. -khtml-transform: translate(-50%, -50%);
  1050. transform: translate(-50%, -50%);
  1051. padding: <?php echo ($_SESSION['theme']['login_body_padding']['text'] != '') ? $_SESSION['theme']['login_body_padding']['text'] : '30px'; ?>;
  1052. <?php echo ($_SESSION['theme']['login_body_width']['text'] != '') ? 'width: '.$_SESSION['theme']['login_body_width']['text'].";\n" : null; ?>
  1053. background: <?php echo ($_SESSION['theme']['login_body_background_color']['text'] != '') ? $_SESSION['theme']['login_body_background_color']['text'] : "rgba(255,255,255,0.35)"; ?>;
  1054. <?php $br = format_border_radius($_SESSION['theme']['login_body_border_radius']['text'], '4px'); ?>
  1055. -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']; ?>;
  1056. -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']; ?>;
  1057. -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']; ?>;
  1058. 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']; ?>;
  1059. <?php unset($br); ?>
  1060. <?php if ($_SESSION['theme']['login_body_border_size']['text'] != '' || $_SESSION['theme']['login_body_border_color']['text'] != '') { echo "border-style: solid;\n"; } ?>
  1061. <?php echo ($_SESSION['theme']['login_body_border_size']['text'] != '') ? 'border-width: '.$_SESSION['theme']['login_body_border_size']['text'].";\n" : null; ?>
  1062. <?php echo ($_SESSION['theme']['login_body_border_color']['text'] != '') ? 'border-color: '.$_SESSION['theme']['login_body_border_color']['text'].";\n" : null; ?>
  1063. -webkit-box-shadow: <?php echo ($_SESSION['theme']['login_body_shadow_color']['text'] != '') ? '0 1px 20px '.$_SESSION['theme']['login_body_shadow_color']['text'] : 'none'; ?>;
  1064. -moz-box-shadow: <?php echo ($_SESSION['theme']['login_body_shadow_color']['text'] != '') ? '0 1px 20px '.$_SESSION['theme']['login_body_shadow_color']['text'] : 'none'; ?>;
  1065. box-shadow: <?php echo ($_SESSION['theme']['login_body_shadow_color']['text'] != '') ? '0 1px 20px '.$_SESSION['theme']['login_body_shadow_color']['text'] : 'none'; ?>;
  1066. }
  1067. #login_logo {
  1068. text-decoration: none;
  1069. }
  1070. a.login_link {
  1071. color: <?php echo ($_SESSION['theme']['login_link_text_color']['text'] != '') ? $_SESSION['theme']['login_link_text_color']['text'] : '#004083'; ?> !important;
  1072. font-size: <?php echo ($_SESSION['theme']['login_link_text_size']['text'] != '') ? $_SESSION['theme']['login_link_text_size']['text'] : '11px'; ?>;
  1073. font-family: <?php echo ($_SESSION['theme']['login_link_text_font']['text'] != '') ? $_SESSION['theme']['login_link_text_font']['text'] : 'Arial'; ?>;
  1074. text-decoration: none;
  1075. }
  1076. a.login_link:hover {
  1077. color: <?php echo ($_SESSION['theme']['login_link_text_color_hover']['text'] != '') ? $_SESSION['theme']['login_link_text_color_hover']['text'] : '#5082ca'; ?> !important;
  1078. cursor: pointer;
  1079. text-decoration: none;
  1080. }
  1081. <?php
  1082. //determine body padding & margins (overides on main_content style below) based on menu selection
  1083. $menu_style = ($_SESSION['theme']['menu_style']['text'] != '') ? $_SESSION['theme']['menu_style']['text'] : 'fixed';
  1084. $menu_position = ($_SESSION['theme']['menu_position']['text']) ? $_SESSION['theme']['menu_position']['text'] : 'top';
  1085. switch ($menu_style) {
  1086. case 'inline': $body_top_style = "margin-top: -8px;"; break;
  1087. case 'static': $body_top_style = "margin-top: -5px;"; break;
  1088. case 'fixed':
  1089. switch ($menu_position) {
  1090. case 'bottom': $body_top_style = "margin-top: 30px;"; break;
  1091. case 'top':
  1092. default: $body_top_style = "margin-top: 65px;"; break;
  1093. }
  1094. }
  1095. ?>
  1096. #main_content {
  1097. display: inline-block;
  1098. width: 100%;
  1099. <?php
  1100. if (isset($background_images) || $background_colors[0] != '' || $background_colors[1] != '') {
  1101. ?>
  1102. background: <?php echo ($_SESSION['theme']['body_color']['text'] != '') ? $_SESSION['theme']['body_color']['text'] : "#ffffff"; ?>;
  1103. background-attachment: fixed;
  1104. <?php $br = format_border_radius($_SESSION['theme']['body_border_radius']['text'], '4px'); ?>
  1105. -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']; ?>;
  1106. -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']; ?>;
  1107. -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']; ?>;
  1108. 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']; ?>;
  1109. <?php unset($br); ?>
  1110. -webkit-box-shadow: <?php echo ($_SESSION['theme']['body_shadow_color']['text'] != '') ? '0 1px 4px '.$_SESSION['theme']['body_shadow_color']['text'] : 'none';?>;
  1111. -moz-box-shadow: <?php echo ($_SESSION['theme']['body_shadow_color']['text'] != '') ? '0 1px 4px '.$_SESSION['theme']['body_shadow_color']['text'] : 'none';?>;
  1112. box-shadow: <?php echo ($_SESSION['theme']['body_shadow_color']['text'] != '') ? '0 1px 4px '.$_SESSION['theme']['body_shadow_color']['text'] : 'none';?>;
  1113. padding: 20px;
  1114. <?php
  1115. }
  1116. else {
  1117. ?>padding: 5px 10px 10px 10px;<?php
  1118. }
  1119. echo $body_top_style;
  1120. ?>
  1121. text-align: left;
  1122. color: <?php echo ($_SESSION['theme']['body_text_color']['text'] != '') ? $_SESSION['theme']['body_text_color']['text'] : '#5f5f5f'; ?>;
  1123. font-size: <?php echo ($_SESSION['theme']['body_text_size']['text'] != '') ? $_SESSION['theme']['body_text_size']['text'] : '12px'; ?>;
  1124. font-family: <?php echo ($_SESSION['theme']['body_text_font']['text'] != '') ? $_SESSION['theme']['body_text_font']['text'] : 'arial'; ?>;
  1125. }
  1126. /* default body padding */
  1127. .container-fluid {
  1128. width: <?php echo ($_SESSION['theme']['body_width']['text'] != '') ? $_SESSION['theme']['body_width']['text'] : '90%'; ?>;
  1129. }
  1130. /* maximize viewport usage on xs displays */
  1131. @media(min-width: 0px) and (max-width: 767px) {
  1132. .container-fluid {
  1133. width: 100%;
  1134. }
  1135. #main_content {
  1136. padding: 8px;
  1137. }
  1138. }
  1139. /* GENERAL ELEMENTS *****************************************************************/
  1140. img {
  1141. border: none;
  1142. }
  1143. .title, b {
  1144. color: <?php echo ($_SESSION['theme']['heading_text_color']['text'] != '') ? $_SESSION['theme']['heading_text_color']['text'] : '#952424'; ?>;
  1145. font-size: <?php echo ($_SESSION['theme']['heading_text_size']['text'] != '') ? $_SESSION['theme']['heading_text_size']['text'] : '15px'; ?>;
  1146. font-family: <?php echo ($_SESSION['theme']['heading_text_font']['text'] != '') ? $_SESSION['theme']['heading_text_font']['text'] : 'arial'; ?>;
  1147. font-weight: bold
  1148. }
  1149. a,
  1150. button.btn.btn-link {
  1151. color: <?php echo ($_SESSION['theme']['text_link_color']['text'] != '') ? $_SESSION['theme']['text_link_color']['text'] : '#004083'; ?>;
  1152. text-decoration: none;
  1153. }
  1154. a:hover,
  1155. button.btn.btn-link:hover {
  1156. color: <?php echo ($_SESSION['theme']['text_link_color_hover']['text'] != '') ? $_SESSION['theme']['text_link_color_hover']['text'] : '#5082ca'; ?>;
  1157. text-decoration: none;
  1158. }
  1159. button.btn {
  1160. margin-left: 2px;
  1161. margin-right: 2px;
  1162. }
  1163. button.btn.btn-link {
  1164. margin: 0;
  1165. margin-top: -2px;
  1166. padding: 0;
  1167. border: none;
  1168. font-size: inherit;
  1169. font-family: inherit;
  1170. }
  1171. button.btn > span.fas.fa-spin {
  1172. display: inline-block;
  1173. }
  1174. form {
  1175. margin: 0;
  1176. }
  1177. form.inline {
  1178. display: inline-block;
  1179. }
  1180. /* style placeholder text (for browsers that support the attribute) - note: can't stack, each must be seperate */
  1181. <?php $placeholder_color = ($_SESSION['theme']['input_text_placeholder_color']['text'] != '') ? $_SESSION['theme']['input_text_placeholder_color']['text'].';' : '#999999; opacity: 1.0;'; ?>
  1182. ::-webkit-input-placeholder { color: <?php echo $placeholder_color; ?> } /* chrome/opera/safari */
  1183. ::-moz-placeholder { color: <?php echo $placeholder_color; ?> } /* ff 19+ */
  1184. :-moz-placeholder { color: <?php echo $placeholder_color; ?> } /* ff 18- */
  1185. :-ms-input-placeholder { color: <?php echo $placeholder_color; ?> } /* ie 10+ */
  1186. ::placeholder { color: <?php echo $placeholder_color; ?> } /* official standard */
  1187. select.txt,
  1188. textarea.txt,
  1189. input[type=text].txt,
  1190. input[type=number].txt,
  1191. input[type=password].txt,
  1192. label.txt,
  1193. select.formfld,
  1194. textarea.formfld,
  1195. input[type=text].formfld,
  1196. input[type=number].formfld,
  1197. input[type=url].formfld,
  1198. input[type=password].formfld,
  1199. label.formfld {
  1200. font-family: <?php echo ($_SESSION['theme']['input_text_font']['text'] != '') ? $_SESSION['theme']['input_text_font']['text'] : 'Arial'; ?>;
  1201. font-size: <?php echo ($_SESSION['theme']['input_text_size']['text'] != '') ? $_SESSION['theme']['input_text_size']['text'] : '12px'; ?>;
  1202. color: <?php echo ($_SESSION['theme']['input_text_color']['text'] != '') ? $_SESSION['theme']['input_text_color']['text'] : '#000000'; ?>;
  1203. text-align: left;
  1204. height: 28px;
  1205. padding: 4px 6px;
  1206. margin: 1px;
  1207. border-width: <?php echo ($_SESSION['theme']['input_border_size']['text'] != '') ? $_SESSION['theme']['input_border_size']['text'] : '1px'; ?>;
  1208. border-style: solid;
  1209. border-color: <?php echo ($_SESSION['theme']['input_border_color']['text'] != '') ? $_SESSION['theme']['input_border_color']['text'] : '#c0c0c0'; ?>;
  1210. background: <?php echo ($_SESSION['theme']['input_background_color']['text'] != '') ? $_SESSION['theme']['input_background_color']['text'] : '#ffffff'; ?>;
  1211. <?php
  1212. if ($_SESSION['theme']['input_shadow_inner_color']['text'] != '') {
  1213. $inner_color = $_SESSION['theme']['input_shadow_inner_color']['text'];
  1214. $shadows[] = "0 0 3px ".$inner_color." inset";
  1215. }
  1216. if ($_SESSION['theme']['input_shadow_outer_color']['text'] != '') {
  1217. $outer_color = $_SESSION['theme']['input_shadow_outer_color']['text'];
  1218. $shadows[] = "0 0 5px ".$outer_color;
  1219. }
  1220. if (is_array($shadows) && sizeof($shadows) > 0) {
  1221. echo '-webkit-box-shadow: '.implode(', ', $shadows).";\n";
  1222. echo '-moz-box-shadow: '.implode(', ', $shadows).";\n";
  1223. echo 'box-shadow: '.implode(', ', $shadows).";\n";
  1224. }
  1225. unset($shadows);
  1226. ?>
  1227. <?php $br = format_border_radius($_SESSION['theme']['input_border_radius']['text'], '3px'); ?>
  1228. -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']; ?>;
  1229. -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']; ?>;
  1230. -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']; ?>;
  1231. 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']; ?>;
  1232. <?php unset($br); ?>
  1233. vertical-align: middle;
  1234. }
  1235. textarea.txt,
  1236. input[type=text].txt,
  1237. input[type=number].txt,
  1238. input[type=password].txt,
  1239. textarea.formfld,
  1240. input[type=text].formfld,
  1241. input[type=number].formfld,
  1242. input[type=url].formfld,
  1243. input[type=password].formfld {
  1244. transition: width 0.25s;
  1245. -moz-transition: width 0.25s;
  1246. -webkit-transition: width 0.25s;
  1247. max-width: 500px;
  1248. }
  1249. select.txt,
  1250. select.formfld {
  1251. padding: 4px 2px;
  1252. }
  1253. textarea.txt:hover,
  1254. input[type=text].txt:hover,
  1255. input[type=number].txt:hover,
  1256. input[type=password].txt:hover,
  1257. label.txt:hover,
  1258. textarea.formfld:hover,
  1259. input[type=text].formfld:hover,
  1260. input[type=number].formfld:hover,
  1261. input[type=url].formfld:hover,
  1262. input[type=password].formfld:hover,
  1263. label.formfld:hover {
  1264. border-color: <?php echo ($_SESSION['theme']['input_border_color_hover']['text'] != '') ? $_SESSION['theme']['input_border_color_hover']['text'] : '#c0c0c0'; ?>;
  1265. }
  1266. textarea.txt:focus,
  1267. input[type=text].txt:focus,
  1268. input[type=number].txt:focus,
  1269. input[type=password].txt:focus,
  1270. label.txt:focus,
  1271. textarea.formfld:focus,
  1272. input[type=text].formfld:focus,
  1273. input[type=number].formfld:focus,
  1274. input[type=url].formfld:focus,
  1275. input[type=password].formfld:focus,
  1276. label.formfld:focus {
  1277. border-color: <?php echo ($_SESSION['theme']['input_border_color_focus']['text'] != '') ? $_SESSION['theme']['input_border_color_focus']['text'] : '#c0c0c0'; ?>;
  1278. /* first clear */
  1279. -webkit-box-shadow: none;
  1280. -moz-box-shadow: none;
  1281. box-shadow: none;
  1282. <?php
  1283. /* then set */
  1284. $shadow_inset = $shadow_outset = '';
  1285. if ($_SESSION['theme']['input_shadow_inner_color_focus']['text'] != '') {
  1286. $inner_color = $_SESSION['theme']['input_shadow_inner_color_focus']['text'];
  1287. $shadow_inset = "0 0 3px ".$inner_color." inset";
  1288. }
  1289. if ($_SESSION['theme']['input_shadow_outer_color_focus']['text'] != '') {
  1290. $outer_color = $_SESSION['theme']['input_shadow_outer_color_focus']['text'];
  1291. $shadow_outset = "0 0 5px ".$outer_color;
  1292. }
  1293. ?>
  1294. <?php if ($shadow_inset != '' || $shadow_outset != '') { ?>
  1295. -webkit-box-shadow: <?php echo $shadow_inset.(($shadow_inset != '') ? ', ' : null).$shadow_outset; ?>;
  1296. -moz-box-shadow: <?php echo $shadow_inset.(($shadow_inset != '') ? ', ' : null).$shadow_outset; ?>;
  1297. box-shadow: <?php echo $shadow_inset.(($shadow_inset != '') ? ', ' : null).$shadow_outset; ?>;
  1298. <?php } ?>
  1299. }
  1300. textarea.txt,
  1301. textarea.formfld {
  1302. resize: both;
  1303. }
  1304. input.login {
  1305. font-family: <?php echo ($_SESSION['theme']['login_input_text_font']['text'] != '') ? $_SESSION['theme']['login_input_text_font']['text'] : (($_SESSION['theme']['input_text_font']['text'] != '') ? $_SESSION['theme']['input_text_font']['text'] : 'Arial'); ?>;
  1306. font-size: <?php echo ($_SESSION['theme']['login_input_text_size']['text'] != '') ? $_SESSION['theme']['login_input_text_size']['text'] : (($_SESSION['theme']['input_text_size']['text'] != '') ? $_SESSION['theme']['input_text_size']['text'] : '12px'); ?>;
  1307. color: <?php echo ($_SESSION['theme']['login_input_text_color']['text'] != '') ? $_SESSION['theme']['login_input_text_color']['text'] : (($_SESSION['theme']['input_text_color']['text'] != '') ? $_SESSION['theme']['input_text_color']['text'] : '#000000'); ?>;
  1308. border-width: <?php echo ($_SESSION['theme']['login_input_border_size']['text'] != '') ? $_SESSION['theme']['login_input_border_size']['text'] : (($_SESSION['theme']['input_border_size']['text'] != '') ? $_SESSION['theme']['input_border_size']['text'] : '1px'); ?>;
  1309. border-color: <?php echo ($_SESSION['theme']['login_input_border_color']['text'] != '') ? $_SESSION['theme']['login_input_border_color']['text'] : (($_SESSION['theme']['input_border_color']['text'] != '') ? $_SESSION['theme']['input_border_color']['text'] : '#c0c0c0'); ?>;
  1310. background: <?php echo ($_SESSION['theme']['login_input_background_color']['text'] != '') ? $_SESSION['theme']['login_input_background_color']['text'] : (($_SESSION['theme']['input_background_color']['text'] != '') ? $_SESSION['theme']['input_background_color']['text'] : '#ffffff'); ?>;
  1311. /* first clear */
  1312. -webkit-box-shadow: none;
  1313. -moz-box-shadow: none;
  1314. box-shadow: none;
  1315. <?php
  1316. /* then set */
  1317. if ($_SESSION['theme']['login_input_shadow_inner_color']['text'] != '') {
  1318. $inner_color = $_SESSION['theme']['login_input_shadow_inner_color']['text'];
  1319. $shadows[] = "0 0 3px ".$inner_color." inset";
  1320. }
  1321. else if ($_SESSION['theme']['input_shadow_inner_color']['text'] != '') {
  1322. $inner_color = $_SESSION['theme']['input_shadow_inner_color']['text'];
  1323. $shadows[] = "0 0 3px ".$inner_color." inset";
  1324. }
  1325. if ($_SESSION['theme']['login_input_shadow_outer_color']['text'] != '') {
  1326. $outer_color = $_SESSION['theme']['login_input_shadow_outer_color']['text'];
  1327. $shadows[] = "0 0 5px ".$outer_color;
  1328. }
  1329. else if ($_SESSION['theme']['input_shadow_outer_color']['text'] != '') {
  1330. $outer_color = $_SESSION['theme']['input_shadow_outer_color']['text'];
  1331. $shadows[] = "0 0 5px ".$outer_color;
  1332. }
  1333. if (is_array($shadows) && sizeof($shadows) > 0) {
  1334. echo '-webkit-box-shadow: '.implode(', ', $shadows).";\n";
  1335. echo '-moz-box-shadow: '.implode(', ', $shadows).";\n";
  1336. echo 'box-shadow: '.implode(', ', $shadows).";\n";
  1337. }
  1338. unset($shadows);
  1339. ?>
  1340. <?php
  1341. $br = ($_SESSION['theme']['login_input_border_radius']['text'] != '') ? $_SESSION['theme']['login_input_border_radius']['text'] : $_SESSION['theme']['input_border_radius']['text'];
  1342. $br = format_border_radius($br, '3px');
  1343. ?>
  1344. -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']; ?>;
  1345. -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']; ?>;
  1346. -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']; ?>;
  1347. 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']; ?>;
  1348. <?php unset($br); ?>
  1349. }
  1350. input.login:hover {
  1351. border-color: <?php echo ($_SESSION['theme']['login_input_border_color_hover']['text'] != '') ? $_SESSION['theme']['login_input_border_color_hover']['text'] : (($_SESSION['theme']['input_border_color_hover']['text'] != '') ? $_SESSION['theme']['input_border_color_hover']['text'] : '#c0c0c0'); ?>;
  1352. }
  1353. input.login:focus {
  1354. border-color: <?php echo ($_SESSION['theme']['login_input_border_color_focus']['text'] != '') ? $_SESSION['theme']['login_input_border_color_focus']['text'] : (($_SESSION['theme']['input_border_color_focus']['text'] != '') ? $_SESSION['theme']['input_border_color_focus']['text'] : '#c0c0c0'); ?>;
  1355. /* first clear */
  1356. -webkit-box-shadow: none;
  1357. -moz-box-shadow: none;
  1358. box-shadow: none;
  1359. <?php
  1360. /* then set */
  1361. $shadow_inset = $shadow_outset = '';
  1362. if ($_SESSION['theme']['login_input_shadow_inner_color_focus']['text'] != '') {
  1363. $inner_color = $_SESSION['theme']['login_input_shadow_inner_color_focus']['text'];
  1364. $shadow_inset = "0 0 3px ".$inner_color." inset";
  1365. }
  1366. else if ($_SESSION['theme']['input_shadow_inner_color_focus']['text'] != '') {
  1367. $inner_color = $_SESSION['theme']['input_shadow_inner_color_focus']['text'];
  1368. $shadow_inset = "0 0 3px ".$inner_color." inset";
  1369. }
  1370. if ($_SESSION['theme']['login_input_shadow_outer_color_focus']['text'] != '') {
  1371. $outer_color = $_SESSION['theme']['login_input_shadow_outer_color_focus']['text'];
  1372. $shadow_outset = "0 0 5px ".$outer_color;
  1373. }
  1374. else if ($_SESSION['theme']['input_shadow_outer_color_focus']['text'] != '') {
  1375. $outer_color = $_SESSION['theme']['input_shadow_outer_color_focus']['text'];
  1376. $shadow_outset = "0 0 5px ".$outer_color;
  1377. }
  1378. ?>
  1379. <?php if ($shadow_inset != '' || $shadow_outset != '') { ?>
  1380. -webkit-box-shadow: <?php echo $shadow_inset.(($shadow_inset != '') ? ', ' : null).$shadow_outset; ?>;
  1381. -moz-box-shadow: <?php echo $shadow_inset.(($shadow_inset != '') ? ', ' : null).$shadow_outset; ?>;
  1382. box-shadow: <?php echo $shadow_inset.(($shadow_inset != '') ? ', ' : null).$shadow_outset; ?>;
  1383. <?php } ?>
  1384. }
  1385. /* style placeholder text (for browsers that support the attribute) - note: can't stack, each must be seperate */
  1386. <?php $placeholder_color = ($_SESSION['theme']['login_input_text_placeholder_color']['text'] != '') ? $_SESSION['theme']['login_input_text_placeholder_color']['text'].';' : '#999999; opacity: 1.0;'; ?>
  1387. input.login::-webkit-input-placeholder { color: <?php echo $placeholder_color; ?> } /* chrome/opera/safari */
  1388. input.login::-moz-placeholder { color: <?php echo $placeholder_color; ?> } /* ff 19+ */
  1389. input.login:-moz-placeholder { color: <?php echo $placeholder_color; ?> } /* ff 18- */
  1390. input.login:-ms-input-placeholder { color: <?php echo $placeholder_color; ?> } /* ie 10+ */
  1391. input.login::placeholder { color: <?php echo $placeholder_color; ?> } /* official standard */
  1392. input[type=password].formfld_highlight_bad,
  1393. input[type=password].formfld_highlight_bad:hover,
  1394. input[type=password].formfld_highlight_bad:active,
  1395. input[type=password].formfld_highlight_bad:focus {
  1396. border-color: #aa2525;
  1397. -webkit-box-shadow: 0 0 3px #aa2525 inset;
  1398. -moz-box-shadow: 0 0 3px #aa2525 inset;
  1399. box-shadow: 0 0 3px #aa2525 inset;
  1400. }
  1401. input[type=password].formfld_highlight_good,
  1402. input[type=password].formfld_highlight_good:hover,
  1403. input[type=password].formfld_highlight_good:active,
  1404. input[type=password].formfld_highlight_good:focus {
  1405. border-color: #2fb22f;
  1406. -webkit-box-shadow: 0 0 3px #2fb22f inset;
  1407. -moz-box-shadow: 0 0 3px #2fb22f inset;
  1408. box-shadow: 0 0 3px #2fb22f inset;
  1409. }
  1410. /* removes spinners (increment/decrement controls) inside input fields */
  1411. input[type=number] { -moz-appearance: textfield; }
  1412. ::-webkit-inner-spin-button { -webkit-appearance: none; }
  1413. ::-webkit-outer-spin-button { -webkit-appearance: none; }
  1414. /* disables text input clear 'x' in IE 10+, slows down autosizeInput jquery script */
  1415. input[type=text]::-ms-clear {
  1416. display: none;
  1417. }
  1418. /* expand list search input on focus */
  1419. input[type=text].list-search {
  1420. width: 70px;
  1421. min-width: 70px;
  1422. margin-left: 15px;
  1423. -webkit-transition: all .5s ease;
  1424. -moz-transition: all .5s ease;
  1425. transition: all .5s ease;
  1426. }
  1427. input[type=text].list-search:focus {
  1428. width: 150px;
  1429. }
  1430. input.fileinput {
  1431. padding: 1px;
  1432. display: inline;
  1433. }
  1434. input[type=checkbox] {
  1435. margin-top: 2px;
  1436. }
  1437. label {
  1438. font-weight: normal;
  1439. vertical-align: middle;
  1440. }
  1441. label input[type=checkbox],
  1442. label input[type=radio] {
  1443. vertical-align: -2px;
  1444. margin: 0;
  1445. padding: 0;
  1446. }
  1447. span.playback_progress_bar {
  1448. background-color: #b90004;
  1449. width: 17px;
  1450. height: 4px;
  1451. margin-bottom: 3px;
  1452. display: block;
  1453. -moz-border-radius: 0 0 6px 6px;
  1454. -webkit-border-radius: 0 0 6px 6px;
  1455. -khtml-border-radius: 0 0 6px 6px;
  1456. border-radius: 0 0 6px 6px;
  1457. -webkit-box-shadow: 0 0 3px 0px rgba(255,0,0,0.9);
  1458. -moz-box-shadow: 0 0 3px 0px rgba(255,0,0,0.9);
  1459. box-shadow: 0 0 3px 0px rgba(255,0,0,0.9);
  1460. }
  1461. table.list tr.list-row td.playback_progress_bar_background {
  1462. padding: 0;
  1463. border-bottom: none;
  1464. background-image: -ms-linear-gradient(top, rgba(0,0,0,0.10) 0%, transparent 100%);
  1465. background-image: -moz-linear-gradient(top, rgba(0,0,0,0.10) 0%, transparent 100%);
  1466. background-image: -o-linear-gradient(top, rgba(0,0,0,0.10) 0%, transparent 100%);
  1467. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(0,0,0,0.10)), color-stop(1, transparent));
  1468. background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.10) 0%, transparent 100%);
  1469. background-image: linear-gradient(to bottom, rgba(0,0,0,0.10) 0%, transparent 100%);
  1470. overflow: hidden;
  1471. }
  1472. div.pwstrength_progress {
  1473. display: none;
  1474. }
  1475. div.pwstrength_progress > div.progress {
  1476. max-width: 200px;
  1477. height: 6px;
  1478. margin: 1px 0 0 1px;
  1479. background: <?php echo ($_SESSION['theme']['input_background_color']['text'] != '') ? $_SESSION['theme']['input_background_color']['text'] : 'rgb(245, 245, 245)'; ?>;
  1480. <?php $br = format_border_radius($_SESSION['theme']['input_border_radius']['text'], '3px'); ?>
  1481. -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']; ?>;
  1482. -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']; ?>;
  1483. -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']; ?>;
  1484. 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']; ?>;
  1485. <?php unset($br); ?>
  1486. }
  1487. div.pwstrength_progress_password_reset > div.progress {
  1488. margin: 0 auto 4px auto;
  1489. width: 200px;
  1490. max-width: 200px;
  1491. background: <?php echo ($_SESSION['theme']['login_input_background_color']['text'] != '') ? $_SESSION['theme']['login_input_background_color']['text'] : (($_SESSION['theme']['input_background_color']['text'] != '') ? $_SESSION['theme']['input_background_color']['text'] : '#ffffff'); ?>;
  1492. border-width: <?php echo ($_SESSION['theme']['login_input_border_size']['text'] != '') ? $_SESSION['theme']['login_input_border_size']['text'] : (($_SESSION['theme']['input_border_size']['text'] != '') ? $_SESSION['theme']['input_border_size']['text'] : '1px'); ?>;
  1493. border-color: <?php echo ($_SESSION['theme']['login_input_border_color']['text'] != '') ? $_SESSION['theme']['login_input_border_color']['text'] : (($_SESSION['theme']['input_border_color']['text'] != '') ? $_SESSION['theme']['input_border_color']['text'] : '#c0c0c0'); ?>;
  1494. }
  1495. /* TABLES *****************************************************************/
  1496. table {
  1497. border-collapse: separate;
  1498. border-spacing: 0;
  1499. }
  1500. th {
  1501. padding: 4px 7px 4px 0;
  1502. padding: 4px 7px;
  1503. text-align: left;
  1504. color: <?php echo ($_SESSION['theme']['table_heading_text_color']['text'] != '') ? $_SESSION['theme']['table_heading_text_color']['text'] : '#3164ad'; ?>;
  1505. font-size: <?php echo ($_SESSION['theme']['table_heading_text_size']['text'] != '') ? $_SESSION['theme']['table_heading_text_size']['text'] : '12px'; ?>;
  1506. font-family: <?php echo ($_SESSION['theme']['table_heading_text_font']['text'] != '') ? $_SESSION['theme']['table_heading_text_font']['text'] : 'arial'; ?>;
  1507. background: <?php echo ($_SESSION['theme']['table_heading_background_color']['text'] != '') ? $_SESSION['theme']['table_heading_background_color']['text'] : 'none'; ?>;
  1508. border-bottom: 1px solid <?php echo ($_SESSION['theme']['table_heading_border_color']['text'] != '') ? $_SESSION['theme']['table_heading_border_color']['text'] : '#a4aebf'; ?>;
  1509. }
  1510. th a, th a:visited, th a:active {
  1511. color: <?php echo ($_SESSION['theme']['table_heading_text_color']['text'] != '') ? $_SESSION['theme']['table_heading_text_color']['text'] : '#3164ad'; ?>;
  1512. text-decoration: none;
  1513. }
  1514. th a:hover {
  1515. color: <?php echo ($_SESSION['theme']['table_heading_text_color']['text'] != '') ? $_SESSION['theme']['table_heading_text_color']['text'] : '#3164ad'; ?>;
  1516. text-decoration: none;
  1517. }
  1518. td {
  1519. color: <?php echo ($_SESSION['theme']['body_text_color']['text'] != '') ? $_SESSION['theme']['body_text_color']['text'] : '#5f5f5f'; ?>;
  1520. font-size: <?php echo ($_SESSION['theme']['body_text_size']['text'] != '') ? $_SESSION['theme']['body_text_size']['text'] : '12px'; ?>;
  1521. font-family: <?php echo ($_SESSION['theme']['body_text_font']['text'] != '') ? $_SESSION['theme']['body_text_font']['text'] : 'arial'; ?>;
  1522. }
  1523. table.tr_hover tr {
  1524. cursor: default;
  1525. }
  1526. table.tr_hover tr:hover td,
  1527. table.tr_hover tr:hover td a {
  1528. color: <?php echo ($_SESSION['theme']['text_link_color_hover']['text'] != '') ? $_SESSION['theme']['text_link_color_hover']['text'] : '#5082ca'; ?>;
  1529. cursor: pointer;
  1530. }
  1531. table.tr_hover tr.tr_link_void:hover td {
  1532. color: <?php echo ($_SESSION['theme']['table_row_text_color']['text'] != '') ? $_SESSION['theme']['table_row_text_color']['text'] : '#000'; ?>;
  1533. cursor: default;
  1534. }
  1535. table.tr_hover tr td.tr_link_void {
  1536. cursor: default;
  1537. }
  1538. td.list_control_icons {
  1539. width: 52px;
  1540. padding: none;
  1541. padding-left: 2px;
  1542. text-align: right;
  1543. vertical-align: top;
  1544. white-space: nowrap;
  1545. }
  1546. td.list_control_icon {
  1547. width: 26px;
  1548. padding: none;
  1549. padding-left: 2px;
  1550. text-align: right;
  1551. vertical-align: top;
  1552. white-space: nowrap;
  1553. }
  1554. /* form: label/field format */
  1555. .vncell { /* form_label */
  1556. background: <?php echo ($_SESSION['theme']['form_table_label_background_color']['text'] != '') ? $_SESSION['theme']['form_table_label_background_color']['text'] : '#e5e9f0'; ?>;
  1557. <?php $br = format_border_radius($_SESSION['theme']['form_table_label_border_radius']['text'], '4px'); ?>
  1558. -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']; ?>;
  1559. -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']; ?>;
  1560. -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']; ?>;
  1561. 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']; ?>;
  1562. <?php unset($br); ?>
  1563. border-right: 3px solid <?php echo ($_SESSION['theme']['form_table_label_background_color']['text'] != '') ? $_SESSION['theme']['form_table_label_background_color']['text'] : '#e5e9f0'; ?>;
  1564. border-bottom: 1px solid <?php echo ($_SESSION['theme']['form_table_label_border_color']['text'] != '') ? $_SESSION['theme']['form_table_label_border_color']['text'] : '#ffffff'; ?>;
  1565. padding: <?php echo ($_SESSION['theme']['form_table_label_padding']['text'] != '') ? $_SESSION['theme']['form_table_label_padding']['text'] : '7px 8px'; ?>;
  1566. text-align: right;
  1567. color: <?php echo ($_SESSION['theme']['form_table_label_text_color']['text'] != '') ? $_SESSION['theme']['form_table_label_text_color']['text'] : '#000000'; ?>;
  1568. font-family: <?php echo ($_SESSION['theme']['form_table_label_text_font']['text'] != '') ? $_SESSION['theme']['form_table_label_text_font']['text'] : 'Arial'; ?>;
  1569. font-size: <?php echo ($_SESSION['theme']['form_table_label_text_size']['text'] != '') ? $_SESSION['theme']['form_table_label_text_size']['text'] : '9pt'; ?>;
  1570. vertical-align: top;
  1571. }
  1572. .vncellreq { /* form_label_required */
  1573. background: <?php echo ($_SESSION['theme']['form_table_label_required_background_color']['text'] != '') ? $_SESSION['theme']['form_table_label_required_background_color']['text'] : '#e5e9f0'; ?>;
  1574. <?php $br = format_border_radius($_SESSION['theme']['form_table_label_border_radius']['text'], '4px'); ?>
  1575. -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']; ?>;
  1576. -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']; ?>;
  1577. -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']; ?>;
  1578. 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']; ?>;
  1579. <?php unset($br); ?>
  1580. border-right: 3px solid <?php echo ($_SESSION['theme']['form_table_label_required_border_color']['text'] != '') ? $_SESSION['theme']['form_table_label_required_border_color']['text'] : '#cbcfd5'; ?>;
  1581. border-bottom: 1px solid <?php echo ($_SESSION['theme']['form_table_label_border_color']['text'] != '') ? $_SESSION['theme']['form_table_label_border_color']['text'] : '#ffffff'; ?>;
  1582. padding: <?php echo ($_SESSION['theme']['form_table_label_padding']['text'] != '') ? $_SESSION['theme']['form_table_label_padding']['text'] : '7px 8px'; ?>;
  1583. text-align: right;
  1584. color: <?php echo ($_SESSION['theme']['form_table_label_required_text_color']['text'] != '') ? $_SESSION['theme']['form_table_label_required_text_color']['text'] : '#000000'; ?>;
  1585. font-family: <?php echo ($_SESSION['theme']['form_table_label_text_font']['text'] != '') ? $_SESSION['theme']['form_table_label_text_font']['text'] : 'Arial'; ?>;
  1586. font-size: <?php echo ($_SESSION['theme']['form_table_label_text_size']['text'] != '') ? $_SESSION['theme']['form_table_label_text_size']['text'] : '9pt'; ?>;
  1587. font-weight: <?php echo ($_SESSION['theme']['form_table_label_required_text_weight']['text'] != '') ? $_SESSION['theme']['form_table_label_required_text_weight']['text'] : 'bold'; ?>;
  1588. vertical-align: top;
  1589. }
  1590. .vtable { /* form_field */
  1591. background: <?php echo ($_SESSION['theme']['form_table_field_background_color']['text'] != '') ? $_SESSION['theme']['form_table_field_background_color']['text'] : '#ffffff'; ?>;
  1592. <?php $br = format_border_radius($_SESSION['theme']['form_table_field_border_radius']['text'], '0'); ?>
  1593. -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']; ?>;
  1594. -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']; ?>;
  1595. -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']; ?>;
  1596. 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']; ?>;
  1597. <?php unset($br); ?>
  1598. border-bottom: 1px solid <?php echo ($_SESSION['theme']['form_table_field_border_color']['text'] != '') ? $_SESSION['theme']['form_table_field_border_color']['text'] : '#e5e9f0'; ?>;
  1599. padding: <?php echo ($_SESSION['theme']['form_table_field_padding']['text'] != '') ? $_SESSION['theme']['form_table_field_padding']['text'] : '6px'; ?>;
  1600. text-align: left;
  1601. vertical-align: middle;
  1602. color: <?php echo ($_SESSION['theme']['form_table_field_text_color']['text'] != '') ? $_SESSION['theme']['form_table_field_text_color']['text'] : '#666666'; ?>;
  1603. font-family: <?php echo ($_SESSION['theme']['form_table_field_text_font']['text'] != '') ? $_SESSION['theme']['form_table_field_text_font']['text'] : 'Arial'; ?>;
  1604. font-size: <?php echo ($_SESSION['theme']['form_table_field_text_size']['text'] != '') ? $_SESSION['theme']['form_table_field_text_size']['text'] : '8pt'; ?>;
  1605. }
  1606. /* form: heading/row format */
  1607. .vncellcol { /* form_heading */
  1608. background: <?php echo ($_SESSION['theme']['form_table_label_background_color']['text'] != '') ? $_SESSION['theme']['form_table_label_background_color']['text'] : '#e5e9f0'; ?>;
  1609. <?php $br = format_border_radius($_SESSION['theme']['form_table_label_border_radius']['text'], '4px'); ?>
  1610. -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']; ?>;
  1611. -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']; ?>;
  1612. -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']; ?>;
  1613. 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']; ?>;
  1614. <?php unset($br); ?>
  1615. border-bottom: 3px solid <?php echo ($_SESSION['theme']['form_table_label_background_color']['text'] != '') ? $_SESSION['theme']['form_table_label_background_color']['text'] : '#e5e9f0'; ?>;
  1616. padding: <?php echo ($_SESSION['theme']['form_table_heading_padding']['text'] != '') ? $_SESSION['theme']['form_table_heading_padding']['text'] : '8px 8px 4px 8px'; ?>;
  1617. text-align: left;
  1618. color: <?php echo ($_SESSION['theme']['form_table_label_text_color']['text'] != '') ? $_SESSION['theme']['form_table_label_text_color']['text'] : '#000000'; ?>;
  1619. font-family: <?php echo ($_SESSION['theme']['form_table_label_text_font']['text'] != '') ? $_SESSION['theme']['form_table_label_text_font']['text'] : 'Arial'; ?>;
  1620. font-size: <?php echo ($_SESSION['theme']['form_table_label_text_size']['text'] != '') ? $_SESSION['theme']['form_table_label_text_size']['text'] : '9pt'; ?>;
  1621. }
  1622. .vncellcolreq { /* form_heading_required */
  1623. background: <?php echo ($_SESSION['theme']['form_table_label_background_color']['text'] != '') ? $_SESSION['theme']['form_table_label_background_color']['text'] : '#e5e9f0'; ?>;
  1624. <?php $br = format_border_radius($_SESSION['theme']['form_table_label_border_radius']['text'], '4px'); ?>
  1625. -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']; ?>;
  1626. -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']; ?>;
  1627. -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']; ?>;
  1628. 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']; ?>;
  1629. <?php unset($br); ?>
  1630. border-bottom: 3px solid <?php echo ($_SESSION['theme']['form_table_label_required_border_color']['text'] != '') ? $_SESSION['theme']['form_table_label_required_border_color']['text'] : '#cbcfd5'; ?>;
  1631. padding: <?php echo ($_SESSION['theme']['form_table_heading_padding']['text'] != '') ? $_SESSION['theme']['form_table_heading_padding']['text'] : '8px 8px 4px 8px'; ?>;
  1632. text-align: left;
  1633. color: <?php echo ($_SESSION['theme']['form_table_label_required_text_color']['text'] != '') ? $_SESSION['theme']['form_table_label_required_text_color']['text'] : '#000000'; ?>;
  1634. font-family: <?php echo ($_SESSION['theme']['form_table_label_text_font']['text'] != '') ? $_SESSION['theme']['form_table_label_text_font']['text'] : 'Arial'; ?>;
  1635. font-size: <?php echo ($_SESSION['theme']['form_table_label_text_size']['text'] != '') ? $_SESSION['theme']['form_table_label_text_size']['text'] : '9pt'; ?>;
  1636. font-weight: <?php echo ($_SESSION['theme']['form_table_label_required_text_weight']['text'] != '') ? $_SESSION['theme']['form_table_label_required_text_weight']['text'] : 'bold'; ?>;
  1637. }
  1638. .vtablerow { /* form_row */
  1639. <?php
  1640. // determine cell height by padding
  1641. $total_vertical_padding = 6; //default px
  1642. if ($_SESSION['theme']['form_table_row_padding']['text'] != '') {
  1643. $form_table_row_padding = $_SESSION['theme']['form_table_row_padding']['text'];
  1644. $form_table_row_padding = str_replace('px', '', $form_table_row_padding);
  1645. $form_table_row_paddings = explode(' ', $form_table_row_padding);
  1646. switch (sizeof($form_table_row_paddings)) {
  1647. case 4: $total_vertical_padding = ($form_table_row_paddings[0] + $form_table_row_paddings[2]); break;
  1648. default: $total_vertical_padding = ($form_table_row_paddings[0] * 2);
  1649. }
  1650. }
  1651. ?>
  1652. height: <?php echo (30 + $total_vertical_padding); ?>px;
  1653. background: <?php echo ($_SESSION['theme']['form_table_field_background_color']['text'] != '') ? $_SESSION['theme']['form_table_field_background_color']['text'] : '#ffffff'; ?>;
  1654. <?php $br = format_border_radius($_SESSION['theme']['form_table_field_border_radius']['text'], '0'); ?>
  1655. -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']; ?>;
  1656. -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']; ?>;
  1657. -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']; ?>;
  1658. 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']; ?>;
  1659. <?php unset($br); ?>
  1660. border-bottom: 1px solid <?php echo ($_SESSION['theme']['form_table_field_border_color']['text'] != '') ? $_SESSION['theme']['form_table_field_border_color']['text'] : '#e5e9f0'; ?>;
  1661. padding: <?php echo ($_SESSION['theme']['form_table_row_padding']['text'] != '') ? $_SESSION['theme']['form_table_row_padding']['text'] : ($total_vertical_padding/2).'px 0'; ?>;
  1662. text-align: left;
  1663. vertical-align: middle;
  1664. color: <?php echo ($_SESSION['theme']['form_table_field_text_color']['text'] != '') ? $_SESSION['theme']['form_table_field_text_color']['text'] : '#666666'; ?>;
  1665. font-family: <?php echo ($_SESSION['theme']['form_table_field_text_font']['text'] != '') ? $_SESSION['theme']['form_table_field_text_font']['text'] : 'Arial'; ?>;
  1666. font-size: <?php echo ($_SESSION['theme']['form_table_row_text_size']['text'] != '') ? $_SESSION['theme']['form_table_row_text_size']['text'] : '9pt'; ?>;
  1667. }
  1668. .vtablerow > label {
  1669. margin-left: 0.6em;
  1670. margin-right: 0.6em;
  1671. margin-bottom: 2px;
  1672. }
  1673. .row_style0 {
  1674. border-bottom: 1px solid <?php echo ($_SESSION['theme']['table_row_border_color']['text'] != '') ? $_SESSION['theme']['table_row_border_color']['text'] : '#c5d1e5'; ?>;
  1675. background: <?php echo ($_SESSION['theme']['table_row_background_color_dark']['text'] != '') ? $_SESSION['theme']['table_row_background_color_dark']['text'] : '#e5e9f0'; ?>;
  1676. color: <?php echo ($_SESSION['theme']['table_row_text_color']['text'] != '') ? $_SESSION['theme']['table_row_text_color']['text'] : '#000'; ?>;
  1677. font-family: <?php echo ($_SESSION['theme']['table_row_text_font']['text'] != '') ? $_SESSION['theme']['table_row_text_font']['text'] : 'arial'; ?>;
  1678. font-size: <?php echo ($_SESSION['theme']['table_row_text_size']['text'] != '') ? $_SESSION['theme']['table_row_text_size']['text'] : '12px'; ?>;
  1679. text-align: left;
  1680. padding: 4px 7px;
  1681. }
  1682. .row_style1 {
  1683. border-bottom: 1px solid <?php echo ($_SESSION['theme']['table_row_border_color']['text'] != '') ? $_SESSION['theme']['table_row_border_color']['text'] : '#c5d1e5'; ?>;
  1684. background: <?php echo ($_SESSION['theme']['table_row_background_color_light']['text'] != '') ? $_SESSION['theme']['table_row_background_color_light']['text'] : '#fff'; ?>;
  1685. color: <?php echo ($_SESSION['theme']['table_row_text_color']['text'] != '') ? $_SESSION['theme']['table_row_text_color']['text'] : '#000'; ?>;
  1686. font-family: <?php echo ($_SESSION['theme']['table_row_text_font']['text'] != '') ? $_SESSION['theme']['table_row_text_font']['text'] : 'arial'; ?>;
  1687. font-size: <?php echo ($_SESSION['theme']['table_row_text_size']['text'] != '') ? $_SESSION['theme']['table_row_text_size']['text'] : '12px'; ?>;
  1688. text-align: left;
  1689. padding: 4px 7px;
  1690. }
  1691. .row_style_slim {
  1692. padding-top: 0;
  1693. padding-bottom: 0;
  1694. white-space: nowrap;
  1695. }
  1696. .row_stylebg {
  1697. border-bottom: 1px solid <?php echo ($_SESSION['theme']['table_row_border_color']['text'] != '') ? $_SESSION['theme']['table_row_border_color']['text'] : '#c5d1e5'; ?>;
  1698. background: <?php echo ($_SESSION['theme']['table_row_background_color_medium']['text'] != '') ? $_SESSION['theme']['table_row_background_color_medium']['text'] : '#f0f2f6'; ?>;
  1699. color: <?php echo ($_SESSION['theme']['table_row_text_color']['text'] != '') ? $_SESSION['theme']['table_row_text_color']['text'] : '#000'; ?>;
  1700. font-family: <?php echo ($_SESSION['theme']['table_row_text_font']['text'] != '') ? $_SESSION['theme']['table_row_text_font']['text'] : 'arial'; ?>;
  1701. font-size: <?php echo ($_SESSION['theme']['table_row_text_size']['text'] != '') ? $_SESSION['theme']['table_row_text_size']['text'] : '12px'; ?>;
  1702. text-align: left;
  1703. padding: 4px 7px;
  1704. }
  1705. /* RESPONSE MESSAGE STACK *******************************************************/
  1706. #message_container {
  1707. z-index: 99998;
  1708. position: absolute;
  1709. top: 0;
  1710. left: 0;
  1711. right: 0;
  1712. padding: 0;
  1713. }
  1714. .message_text {
  1715. z-index: 99999;
  1716. margin: 0 auto;
  1717. padding: 15px;
  1718. text-align: center;
  1719. font-family: arial, san-serif;
  1720. font-size: 10pt;
  1721. display: block;
  1722. color: <?php echo $_SESSION['theme']['message_default_color']['text']; ?>;
  1723. background: <?php echo $_SESSION['theme']['message_default_background_color']['text']; ?>;
  1724. box-shadow: inset 0px 7px 8px -10px <?php echo $_SESSION['theme']['message_default_color']['text']; ?>;
  1725. border-bottom: solid 1px <?php echo $_SESSION['theme']['message_default_color']['text']; ?>;
  1726. opacity: 0;
  1727. }
  1728. .message_mood_positive {
  1729. color: <?php echo $_SESSION['theme']['message_positive_color']['text']; ?>;
  1730. background: <?php echo $_SESSION['theme']['message_positive_background_color']['text']; ?>;
  1731. box-shadow: inset 0px 7px 8px -10px <?php echo $_SESSION['theme']['message_positive_color']['text']; ?>;
  1732. border-bottom: solid 1px <?php echo $_SESSION['theme']['message_positive_color']['text']; ?>;
  1733. }
  1734. .message_mood_negative {
  1735. color: <?php echo $_SESSION['theme']['message_negative_color']['text']; ?>;
  1736. background: <?php echo $_SESSION['theme']['message_negative_background_color']['text']; ?>;
  1737. box-shadow: inset 0px 7px 8px -10px <?php echo $_SESSION['theme']['message_negative_color']['text']; ?>;
  1738. border-bottom: solid 1px <?php echo $_SESSION['theme']['message_negative_color']['text']; ?>;
  1739. }
  1740. .message_mood_alert {
  1741. color: <?php echo $_SESSION['theme']['message_alert_color']['text']; ?>;
  1742. background: <?php echo $_SESSION['theme']['message_alert_background_color']['text']; ?>;
  1743. box-shadow: inset 0px 7px 8px -10px <?php echo $_SESSION['theme']['message_alert_color']['text']; ?>;
  1744. border-bottom: solid 1px <?php echo $_SESSION['theme']['message_alert_color']['text']; ?>;
  1745. }
  1746. /* OPERATOR PANEL ****************************************************************/
  1747. div.op_ext {
  1748. float: left;
  1749. width: 235px;
  1750. margin: 0px 8px 8px 0px;
  1751. padding: 0px;
  1752. border-style: solid;
  1753. -moz-border-radius: 5px;
  1754. -webkit-border-radius: 5px;
  1755. border-radius: 5px;
  1756. -webkit-box-shadow: 0 0 3px <?php echo $_SESSION['theme']['form_table_field_background_color']['text']; ?>;
  1757. -moz-box-shadow: 0 0 3px <?php echo $_SESSION['theme']['form_table_field_background_color']['text']; ?>;
  1758. box-shadow: 0 0 3px <?php echo $_SESSION['theme']['form_table_field_background_color']['text']; ?>;
  1759. border-width: 1px 3px;
  1760. border-color: <?php echo $_SESSION['theme']['operator_panel_border_color']['text']; ?>;
  1761. background-color: <?php echo $_SESSION['theme']['form_table_label_background_color']['text']; ?>;
  1762. cursor: default;
  1763. }
  1764. div.off_ext {
  1765. position: relative;
  1766. float: left;
  1767. width: 235px;
  1768. margin: 0px 8px 8px 0px;
  1769. padding: 0px;
  1770. border-style: solid;
  1771. -moz-border-radius: 5px;
  1772. -webkit-border-radius: 5px;
  1773. border-radius: 5px;
  1774. -webkit-box-shadow: 0 0 3px <?php echo $_SESSION['theme']['form_table_field_background_color']['text']; ?>;
  1775. -moz-box-shadow: 0 0 3px <?php echo $_SESSION['theme']['form_table_field_background_color']['text']; ?>;
  1776. box-shadow: 0 0 3px <?php echo $_SESSION['theme']['form_table_field_background_color']['text']; ?>;
  1777. border-width: 1px 3px;
  1778. border-color: <?php echo $_SESSION['theme']['operator_panel_border_color']['text']; ?>;
  1779. background-color: <?php echo $_SESSION['theme']['form_table_label_background_color']['text']; ?>;
  1780. cursor: not-allowed;
  1781. opacity: 0.5;
  1782. }
  1783. div.off_ext:after {
  1784. position: absolute;
  1785. content: "";
  1786. z-index: 10;
  1787. -moz-border-radius: 5px;
  1788. -webkit-border-radius: 5px;
  1789. border-radius: 5px;
  1790. display: block;
  1791. height: 100%;
  1792. top: 0;
  1793. left: 0;
  1794. right: 0;
  1795. background: <?php echo $_SESSION['theme']['form_table_field_background_color']['text']; ?>;
  1796. opacity: 0.5;
  1797. }
  1798. div.op_state_active {
  1799. background-color: #baf4bb;
  1800. border-width: 1px 3px;
  1801. border-color: #77d779;
  1802. }
  1803. div.op_state_ringing {
  1804. background-color: #a8dbf0;
  1805. border-width: 1px 3px;
  1806. border-color: #41b9eb;
  1807. }
  1808. div.op_valet_park_active {
  1809. border-width: 1px 3px;
  1810. background-color: #B9A6FC;
  1811. border-color: #B9A6FC;
  1812. }
  1813. table.op_ext, table.off_ext {
  1814. width: 100%;
  1815. height: 70px;
  1816. -moz-border-radius: 5px;
  1817. -webkit-border-radius: 5px;
  1818. border-radius: 5px;
  1819. background-color: <?php echo $_SESSION['theme']['operator_panel_sub_background_color']['text']; ?>;
  1820. -moz-border-radius: 5px;
  1821. -webkit-border-radius: 5px;
  1822. border-radius: 5px;
  1823. }
  1824. td.op_ext_icon {
  1825. vertical-align: middle;
  1826. -moz-border-radius: 5px;
  1827. -webkit-border-radius: 5px;
  1828. border-radius: 5px;
  1829. }
  1830. img.op_ext_icon {
  1831. cursor: move;
  1832. width: 39px;
  1833. height: 42px;
  1834. border: none;
  1835. }
  1836. td.op_ext_info {
  1837. text-align: left;
  1838. vertical-align: top;
  1839. font-family: arial;
  1840. font-size: 10px;
  1841. overflow: auto;
  1842. width: 100%;
  1843. padding: 3px 5px 3px 7px;
  1844. -moz-border-radius: 5px;
  1845. -webkit-border-radius: 5px;
  1846. border-radius: 5px;
  1847. background-color: <?php echo $_SESSION['theme']['operator_panel_main_background_color']['text']; ?>;
  1848. }
  1849. td.op_state_ringing {
  1850. background-color: #d1f1ff;
  1851. }
  1852. td.op_state_active {
  1853. background-color: #e1ffe2;
  1854. }
  1855. td.op_valet_park_active {
  1856. background-color: #ECE3FF;
  1857. }
  1858. table.op_valet_park_active {
  1859. background-color: #B9A6FC;
  1860. }
  1861. table.op_state_ringing {
  1862. background-color: #a8dbf0;
  1863. }
  1864. table.op_state_active {
  1865. background-color: #baf4bb;
  1866. }
  1867. .op_user_info {
  1868. font-family: arial;
  1869. font-size: 10px;
  1870. display: inline-block;
  1871. }
  1872. .op_user_info strong {
  1873. color: #3164AD;
  1874. }
  1875. .op_caller_info {
  1876. display: block;
  1877. margin-top: 4px;
  1878. font-family: arial;
  1879. font-size: 10px;
  1880. }
  1881. .op_call_info {
  1882. display: inline-block;
  1883. padding: 0px;
  1884. font-family: arial;
  1885. font-size: 10px;
  1886. }
  1887. #op_btn_status_available {
  1888. background-image: -moz-linear-gradient(top, #8ec989 0%, #2d9c38 100%);
  1889. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #8ec989), color-stop(1, #2d9c38));
  1890. background-color: #2d9c38;
  1891. border: 1px solid #006200;
  1892. }
  1893. #op_btn_status_available_on_demand {
  1894. background-image: -moz-linear-gradient(top, #abd0aa 0%, #629d62 100%);
  1895. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #abd0aa), color-stop(1, #629d62));
  1896. background-color: #629d62;
  1897. border: 1px solid #619c61;
  1898. }
  1899. #op_btn_status_on_break {
  1900. background-image: -moz-linear-gradient(top, #ddc38b 0%, #be8e2c 100%);
  1901. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ddc38b), color-stop(1, #be8e2c));
  1902. background-color: #be8e2c;
  1903. border: 1px solid #7d1b00;
  1904. }
  1905. #op_btn_status_do_not_disturb {
  1906. background-image: -moz-linear-gradient(top, #cc8984 0%, #960d10 100%);
  1907. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #cc8984), color-stop(1, #960d10));
  1908. background-color: #960d10;
  1909. border: 1px solid #5b0000;
  1910. }
  1911. #op_btn_status_logged_out {
  1912. background-image: -moz-linear-gradient(top, #cacac9 0%, #8d8d8b 100%);
  1913. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #cacac9), color-stop(1, #8d8d8b));
  1914. background-color: #8d8d8b;
  1915. border: 1px solid #5d5f5a;
  1916. }
  1917. /* DASHBOARD **********************************************************************/
  1918. /* login message */
  1919. div.login_message {
  1920. border: 1px solid #bae0ba;
  1921. background-color: #eeffee;
  1922. -webkit-border-radius: 3px;
  1923. -moz-border-radius: 3px;
  1924. border-radius: 3px;
  1925. padding: 20px;
  1926. margin-bottom: 15px;
  1927. }
  1928. /* hud boxes */
  1929. div.hud_box {
  1930. height: auto;
  1931. vertical-align: top;
  1932. text-align: center;
  1933. <?php
  1934. $color_edge = ($_SESSION['theme']['dashboard_detail_background_color_edge']['text'] != '') ? $_SESSION['theme']['dashboard_detail_background_color_edge']['text'] : '#edf1f7';
  1935. $color_center = ($_SESSION['theme']['dashboard_detail_background_color_center']['text'] != '') ? $_SESSION['theme']['dashboard_detail_background_color_center']['text'] : '#f9fbfe';
  1936. ?>
  1937. background: <?php echo $color_center; ?>;
  1938. background-image: -ms-linear-gradient(left, <?php echo $color_edge; ?> 0%, <?php echo $color_center; ?> 30%, <?php echo $color_center; ?> 70%, <?php echo $color_edge; ?> 100%);
  1939. background-image: -moz-linear-gradient(left, <?php echo $color_edge; ?> 0%, <?php echo $color_center; ?> 30%, <?php echo $color_center; ?> 70%, <?php echo $color_edge; ?> 100%);
  1940. background-image: -o-linear-gradient(left, <?php echo $color_edge; ?> 0%, <?php echo $color_center; ?> 30%, <?php echo $color_center; ?> 70%, <?php echo $color_edge; ?> 100%);
  1941. background-image: -webkit-gradient(linear, left, right, color-stop(0, <?php echo $color_edge; ?>), color-stop(0.30, <?php echo $color_center; ?>), color-stop(0.70, <?php echo $color_center; ?>), color-stop(1, <?php echo $color_edge; ?>));
  1942. background-image: -webkit-linear-gradient(left, <?php echo $color_edge; ?> 0%, <?php echo $color_center; ?> 30%, <?php echo $color_center; ?> 70%, <?php echo $color_edge; ?> 100%);
  1943. background-image: linear-gradient(to right, <?php echo $color_edge; ?> 0%, <?php echo $color_center; ?> 30%, <?php echo $color_center; ?> 70%, <?php echo $color_edge; ?> 100%);
  1944. <?php unset($color_edge, $color_center); ?>
  1945. <?php $br = format_border_radius($_SESSION['theme']['dashboard_border_radius']['text'], '5px'); ?>
  1946. -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']; ?>;
  1947. -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']; ?>;
  1948. 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']; ?>;
  1949. <?php unset($br); ?>
  1950. border: 1px solid <?php echo ($_SESSION['theme']['dashboard_border_color']['text'] != '') ? $_SESSION['theme']['dashboard_border_color']['text'] : '#dbe0ea'; ?>;
  1951. overflow: hidden;
  1952. margin: -1px;
  1953. }
  1954. div.hud_box:hover {
  1955. border: 1px solid <?php echo ($_SESSION['theme']['dashboard_border_color_hover']['text'] != '') ? $_SESSION['theme']['dashboard_border_color_hover']['text'] : '#cbd3e1'; ?>;
  1956. }
  1957. span.hud_title {
  1958. display: block;
  1959. width: 100%;
  1960. font-family: <?php echo ($_SESSION['theme']['dashboard_heading_text_font']['text'] != '') ? $_SESSION['theme']['dashboard_heading_text_font']['text'] : 'Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif'; ?>;
  1961. text-shadow: 0px 1px 2px <?php echo ($_SESSION['theme']['dashboard_heading_text_shadow_color']['text'] != '') ? $_SESSION['theme']['dashboard_heading_text_shadow_color']['text'] : '#000'; ?>;
  1962. letter-spacing: -0.02em;
  1963. color: <?php echo ($_SESSION['theme']['dashboard_heading_text_color']['text'] != '') ? $_SESSION['theme']['dashboard_heading_text_color']['text'] : '#fff'; ?>;
  1964. font-size: <?php echo ($_SESSION['theme']['dashboard_heading_text_size']['text'] != '') ? $_SESSION['theme']['dashboard_heading_text_size']['text'] : '12pt'; ?>;
  1965. <?php
  1966. //calculate line height based on font size
  1967. if ($_SESSION['theme']['dashboard_heading_text_size']['text'] != '') {
  1968. $font_size = strtolower($_SESSION['theme']['dashboard_heading_text_size']['text']);
  1969. $tmp = str_replace(' ', '', $font_size);
  1970. $tmp = str_replace('pt', '', $tmp);
  1971. $tmp = str_replace('px', '', $tmp);
  1972. $tmp = str_replace('em', '', $tmp);
  1973. $tmp = str_replace('%', '', $tmp);
  1974. $font_size_number = $tmp;
  1975. $line_height_number = (int) floor($font_size_number * 2.5);
  1976. }
  1977. ?>
  1978. line-height: <?php echo ($line_height_number > 0) ? str_replace($font_size_number, $line_height_number, $font_size) : '26.25pt'; ?>;
  1979. text-align: center;
  1980. background: <?php echo ($_SESSION['theme']['dashboard_heading_background_color']['text'] != '') ? $_SESSION['theme']['dashboard_heading_background_color']['text'] : '#8e96a5'; ?>;
  1981. border-bottom: 1px solid <?php echo ($_SESSION['theme']['dashboard_heading_background_color']['text'] != '') ? color_adjust($_SESSION['theme']['dashboard_heading_background_color']['text'], 0.2) : '#737983'; ?>;
  1982. overflow: hidden;
  1983. }
  1984. span.hud_title:hover {
  1985. color: <?php echo ($_SESSION['theme']['dashboard_heading_text_color_hover']['text'] != '') ? $_SESSION['theme']['dashboard_heading_text_color_hover']['text'] : '#fff'; ?>;
  1986. text-shadow: 0px 1px 2px <?php echo ($_SESSION['theme']['dashboard_heading_text_shadow_color_hover']['text'] != '') ? $_SESSION['theme']['dashboard_heading_text_shadow_color_hover']['text'] : '#000'; ?>;
  1987. background: <?php echo ($_SESSION['theme']['dashboard_heading_background_color_hover']['text'] != '') ? $_SESSION['theme']['dashboard_heading_background_color_hover']['text'] : (($_SESSION['theme']['dashboard_heading_background_color']['text'] != '') ? color_adjust($_SESSION['theme']['dashboard_heading_background_color']['text'], 0.03) : '#969dab'); ?>;
  1988. cursor: pointer;
  1989. }
  1990. span.hud_stat {
  1991. display: block;
  1992. clear: both;
  1993. text-align: center;
  1994. text-shadow: 0px 2px 2px <?php echo ($_SESSION['theme']['dashboard_number_text_shadow_color']['text'] != '') ? $_SESSION['theme']['dashboard_number_text_shadow_color']['text'] : '#737983'; ?>;
  1995. width: 100%;
  1996. color: <?php echo ($_SESSION['theme']['dashboard_number_text_color']['text'] != '') ? $_SESSION['theme']['dashboard_number_text_color']['text'] : '#fff'; ?>;
  1997. font-family: <?php echo ($_SESSION['theme']['dashboard_number_text_font']['text'] != '') ? $_SESSION['theme']['dashboard_number_text_font']['text'] : 'Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif'; ?>;
  1998. font-size: <?php echo ($_SESSION['theme']['dashboard_number_text_size']['text'] != '') ? $_SESSION['theme']['dashboard_number_text_size']['text'] : '60pt'; ?>;
  1999. <?php
  2000. //calculate line height based on font size
  2001. if ($_SESSION['theme']['dashboard_number_text_size']['text'] != '') {
  2002. $font_size = strtolower($_SESSION['theme']['dashboard_number_text_size']['text']);
  2003. $tmp = str_replace(' ', '', $font_size);
  2004. $tmp = str_replace('pt', '', $tmp);
  2005. $tmp = str_replace('px', '', $tmp);
  2006. $tmp = str_replace('em', '', $tmp);
  2007. $tmp = str_replace('%', '', $tmp);
  2008. $font_size_number = $tmp;
  2009. $line_height_number = (int) floor($font_size_number * 1.28);
  2010. }
  2011. ?>
  2012. line-height: <?php echo ($line_height_number > 0) ? str_replace($font_size_number, $line_height_number, $font_size) : '77pt'; ?>;
  2013. font-weight: normal;
  2014. background: <?php echo ($_SESSION['theme']['dashboard_number_background_color']['text'] != '') ? $_SESSION['theme']['dashboard_number_background_color']['text'] : '#a4aebf'; ?>;
  2015. border-top: 1px solid <?php echo ($_SESSION['theme']['dashboard_number_background_color']['text'] != '') ? color_adjust($_SESSION['theme']['dashboard_number_background_color']['text'], 0.2) : '#c5d1e5'; ?>;
  2016. overflow: hidden;
  2017. <?php
  2018. //calculate font padding
  2019. if ($_SESSION['theme']['dashboard_heading_text_size']['text'] != '') {
  2020. $font_size = strtolower($_SESSION['theme']['dashboard_heading_text_size']['text']);
  2021. $tmp = str_replace(' ', '', $font_size);
  2022. $tmp = str_replace('pt', '', $tmp);
  2023. $tmp = str_replace('px', '', $tmp);
  2024. $tmp = str_replace('em', '', $tmp);
  2025. $tmp = str_replace('%', '', $tmp);
  2026. $font_size_number = $tmp;
  2027. $padding_top_bottom = (int) floor((100-$tmp) * 0.25);
  2028. }
  2029. ?>
  2030. padding-top: <?php echo $padding_top_bottom.'px' ?>;
  2031. padding-bottom: <?php echo $padding_top_bottom.'px' ?>;
  2032. }
  2033. span.hud_stat:hover {
  2034. color: <?php echo ($_SESSION['theme']['dashboard_number_text_color_hover']['text'] != '') ? $_SESSION['theme']['dashboard_number_text_color_hover']['text'] : '#fff'; ?>;
  2035. text-shadow: 0px 2px 2px <?php echo ($_SESSION['theme']['dashboard_number_text_shadow_color_hover']['text'] != '') ? $_SESSION['theme']['dashboard_number_text_shadow_color_hover']['text'] : '#737983'; ?>;
  2036. background: <?php echo ($_SESSION['theme']['dashboard_number_background_color_hover']['text'] != '') ? $_SESSION['theme']['dashboard_number_background_color_hover']['text'] : (($_SESSION['theme']['dashboard_number_background_color']['text'] != '') ? color_adjust($_SESSION['theme']['dashboard_number_background_color']['text'], 0.03) : '#aeb7c5'); ?>;
  2037. cursor: pointer;
  2038. }
  2039. span.hud_stat_title {
  2040. display: block;
  2041. clear: both;
  2042. width: 100%;
  2043. height: 30px;
  2044. cursor: default;
  2045. text-align: center;
  2046. text-shadow: 0px 1px 1px <?php echo ($_SESSION['theme']['dashboard_number_title_text_shadow_color']['text'] != '') ? $_SESSION['theme']['dashboard_number_title_text_shadow_color']['text'] : '#737983'; ?>;
  2047. color: <?php echo ($_SESSION['theme']['dashboard_number_title_text_color']['text'] != '') ? $_SESSION['theme']['dashboard_number_title_text_color']['text'] : '#fff'; ?>;
  2048. font-size: <?php echo ($_SESSION['theme']['dashboard_number_title_text_size']['text'] != '') ? $_SESSION['theme']['dashboard_number_title_text_size']['text'] : '14px'; ?>;
  2049. padding-top: 4px;
  2050. white-space: nowrap;
  2051. letter-spacing: -0.02em;
  2052. font-weight: normal;
  2053. font-family: <?php echo ($_SESSION['theme']['dashboard_number_title_text_font']['text'] != '') ? $_SESSION['theme']['dashboard_number_title_text_font']['text'] : 'Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif'; ?>;
  2054. background: <?php echo ($_SESSION['theme']['dashboard_number_background_color']['text'] != '') ? $_SESSION['theme']['dashboard_number_background_color']['text'] : '#a4aebf'; ?>;
  2055. border-bottom: 1px solid <?php echo ($_SESSION['theme']['dashboard_number_background_color']['text'] != '') ? color_adjust($_SESSION['theme']['dashboard_number_background_color']['text'], -0.2) : '#909aa8'; ?>;
  2056. margin: 0;
  2057. overflow: hidden;
  2058. }
  2059. span.hud_stat:hover + span.hud_stat_title {
  2060. color: <?php echo ($_SESSION['theme']['dashboard_number_text_color_hover']['text'] != '') ? $_SESSION['theme']['dashboard_number_text_color_hover']['text'] : '#fff'; ?>;
  2061. text-shadow: 0px 1px 1px <?php echo ($_SESSION['theme']['dashboard_number_text_shadow_color_hover']['text'] != '') ? $_SESSION['theme']['dashboard_number_text_shadow_color_hover']['text'] : '#737983'; ?>;
  2062. background: <?php echo ($_SESSION['theme']['dashboard_number_background_color_hover']['text'] != '') ? $_SESSION['theme']['dashboard_number_background_color_hover']['text'] : color_adjust(($_SESSION['theme']['dashboard_number_background_color']['text'] != '') ? $_SESSION['theme']['dashboard_number_background_color']['text'] : '#a4aebf', 0.03); ?>;
  2063. }
  2064. div.hud_details {
  2065. /*
  2066. -moz-box-shadow: inset 0 7px 7px -7px <?php echo ($_SESSION['theme']['dashboard_detail_shadow_color']['text'] != '') ? $_SESSION['theme']['dashboard_detail_shadow_color']['text'] : '#737983'; ?>, inset 0 -8px 12px -10px <?php echo ($_SESSION['theme']['dashboard_detail_shadow_color']['text'] != '') ? $_SESSION['theme']['dashboard_detail_shadow_color']['text'] : '#737983'; ?>;
  2067. -webkit-box-shadow: inset 0 7px 7px -7px <?php echo ($_SESSION['theme']['dashboard_detail_shadow_color']['text'] != '') ? $_SESSION['theme']['dashboard_detail_shadow_color']['text'] : '#737983'; ?>, inset 0 -8px 12px -10px <?php echo ($_SESSION['theme']['dashboard_detail_shadow_color']['text'] != '') ? $_SESSION['theme']['dashboard_detail_shadow_color']['text'] : '#737983'; ?>;
  2068. box-shadow: inset 0 7px 7px -7px <?php echo ($_SESSION['theme']['dashboard_detail_shadow_color']['text'] != '') ? $_SESSION['theme']['dashboard_detail_shadow_color']['text'] : '#737983'; ?>, inset 0 -8px 12px -10px <?php echo ($_SESSION['theme']['dashboard_detail_shadow_color']['text'] != '') ? $_SESSION['theme']['dashboard_detail_shadow_color']['text'] : '#737983'; ?>;
  2069. */
  2070. padding-top: 3px;
  2071. padding-bottom: 15px;
  2072. overflow-y: auto;
  2073. }
  2074. @media(min-width: 0px) and (max-width: 1199px) {
  2075. div.hud_details {
  2076. display: none;
  2077. height: auto;
  2078. }
  2079. }
  2080. @media(min-width: 1200px) {
  2081. div.hud_details {
  2082. height: 350px;
  2083. display: block;
  2084. }
  2085. }
  2086. th.hud_heading {
  2087. text-align: left;
  2088. font-size: <?php echo ($_SESSION['theme']['dashboard_detail_heading_text_size']['text'] != '') ? $_SESSION['theme']['dashboard_detail_heading_text_size']['text'] : '11px'; ?>;
  2089. font-family: <?php echo ($_SESSION['theme']['table_heading_text_font']['text'] != '') ? $_SESSION['theme']['table_heading_text_font']['text'] : 'arial'; ?>
  2090. color: <?php echo ($_SESSION['theme']['table_heading_text_color']['text'] != '') ? $_SESSION['theme']['table_heading_text_color']['text'] : '#3164ad'; ?>;
  2091. }
  2092. td.hud_text {
  2093. font-size: <?php echo ($_SESSION['theme']['dashboard_detail_row_text_size']['text'] != '') ? $_SESSION['theme']['dashboard_detail_row_text_size']['text'] : '11px'; ?>;
  2094. color: <?php echo ($_SESSION['theme']['table_row_text_color']['text'] != '') ? $_SESSION['theme']['table_row_text_color']['text'] : '#000'; ?>;
  2095. text-align: left;
  2096. vertical-align: middle;
  2097. }
  2098. span.hud_expander {
  2099. display: block;
  2100. clear: both;
  2101. background: <?php echo ($_SESSION['theme']['dashboard_footer_background_color']['text'] != '') ? $_SESSION['theme']['dashboard_footer_background_color']['text'] : '#e5e9f0'; ?>;
  2102. padding: 4px 0;
  2103. text-align: center;
  2104. width: 100%;
  2105. height: 25px;
  2106. font-size: 13px;
  2107. line-height: 5px;
  2108. color: <?php echo ($_SESSION['theme']['dashboard_footer_dots_color']['text'] != '') ? $_SESSION['theme']['dashboard_footer_dots_color']['text'] : '#a4aebf'; ?>;
  2109. border-top: 1px solid <?php echo ($_SESSION['theme']['dashboard_footer_background_color']['text'] != '') ? color_adjust($_SESSION['theme']['dashboard_footer_background_color']['text'], 0.2) : '#fff'; ?>;
  2110. }
  2111. span.hud_expander:hover {
  2112. color: <?php echo ($_SESSION['theme']['dashboard_footer_dots_color_hover']['text'] != '') ? $_SESSION['theme']['dashboard_footer_dots_color_hover']['text'] : (($_SESSION['theme']['dashboard_footer_dots_color']['text'] != '') ? $_SESSION['theme']['dashboard_footer_dots_color']['text'] : '#a4aebf'); ?>;
  2113. background: <?php echo ($_SESSION['theme']['dashboard_footer_background_color_hover']['text'] != '') ? $_SESSION['theme']['dashboard_footer_background_color_hover']['text'] : (($_SESSION['theme']['dashboard_footer_background_color']['text'] != '') ? color_adjust($_SESSION['theme']['dashboard_footer_background_color']['text'], 0.02) : '#ebeef3'); ?>;
  2114. cursor: pointer;
  2115. }
  2116. /* PLUGINS ********************************************************************/
  2117. /* bootstrap colorpicker */
  2118. .colorpicker-2x .colorpicker-saturation {
  2119. width: 200px;
  2120. height: 200px;
  2121. }
  2122. .colorpicker-2x .colorpicker-hue,
  2123. .colorpicker-2x .colorpicker-alpha {
  2124. width: 30px;
  2125. height: 200px;
  2126. }
  2127. .colorpicker-2x .colorpicker-color,
  2128. .colorpicker-2x .colorpicker-color div{
  2129. height: 30px;
  2130. }
  2131. /* jquery ui autocomplete styles */
  2132. .ui-widget {
  2133. margin: 0px;
  2134. padding: 0px;
  2135. }
  2136. .ui-autocomplete {
  2137. cursor: default;
  2138. position: absolute;
  2139. max-height: 200px;
  2140. overflow-y: auto;
  2141. overflow-x: hidden;
  2142. white-space: nowrap;
  2143. width: auto;
  2144. border: 1px solid #c0c0c0;
  2145. }
  2146. .ui-menu, .ui-menu .ui-menu-item {
  2147. width: 350px;
  2148. }
  2149. .ui-menu .ui-menu-item a {
  2150. text-decoration: none;
  2151. cursor: pointer;
  2152. border-color: #fff;
  2153. background-image: none;
  2154. background-color: #fff;
  2155. white-space: nowrap;
  2156. font-family: arial;
  2157. font-size: 12px;
  2158. color: #444;
  2159. }
  2160. .ui-menu .ui-menu-item a:hover {
  2161. color: #5082ca;
  2162. border: 1px solid white;
  2163. background-image: none;
  2164. background-color: #fff;
  2165. }
  2166. /* CSS GRID ********************************************************************/
  2167. div.grid {
  2168. width: 100%;
  2169. display: grid;
  2170. grid-gap: 0;
  2171. }
  2172. div.grid > div.box.contact-details {
  2173. padding: 15px;
  2174. border: 1px solid <?php echo ($_SESSION['theme']['table_row_border_color']['text'] != '') ? $_SESSION['theme']['table_row_border_color']['text'] : '#c5d1e5'; ?>;
  2175. border-radius: 5px;
  2176. background: <?php echo ($_SESSION['theme']['table_row_background_color_dark']['text'] != '') ? $_SESSION['theme']['table_row_background_color_dark']['text'] : '#e5e9f0'; ?>;
  2177. }
  2178. div.grid.contact-details {
  2179. grid-template-columns: 50px auto;
  2180. }
  2181. div.grid > div.box {
  2182. padding: 0;
  2183. padding-bottom: 5px;
  2184. }
  2185. div.grid > div.box.contact-details-label {
  2186. font-size: 87%;
  2187. letter-spacing: -0.03em;
  2188. vertical-align: middle;
  2189. white-space: nowrap;
  2190. }
  2191. div.form_grid {
  2192. width: 100%;
  2193. display: grid;
  2194. grid-gap: 0;
  2195. grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  2196. }
  2197. div.form_set {
  2198. width: 100%;
  2199. display: grid;
  2200. grid_gap: 0;
  2201. grid-template-columns: 150px minmax(200px, 1fr);
  2202. }
  2203. div.form_set > .label {
  2204. background: <?php echo ($_SESSION['theme']['form_table_label_background_color']['text'] != '') ? $_SESSION['theme']['form_table_label_background_color']['text'] : '#e5e9f0'; ?>;
  2205. <?php $br = format_border_radius($_SESSION['theme']['form_table_label_border_radius']['text'], '4px'); ?>
  2206. -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']; ?>;
  2207. -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']; ?>;
  2208. -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']; ?>;
  2209. 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']; ?>;
  2210. <?php unset($br); ?>
  2211. border-right: 3px solid <?php echo ($_SESSION['theme']['form_table_label_background_color']['text'] != '') ? $_SESSION['theme']['form_table_label_background_color']['text'] : '#e5e9f0'; ?>;
  2212. border-bottom: 1px solid <?php echo ($_SESSION['theme']['form_table_label_border_color']['text'] != '') ? $_SESSION['theme']['form_table_label_border_color']['text'] : '#ffffff'; ?>;
  2213. padding: <?php echo ($_SESSION['theme']['form_table_label_padding']['text'] != '') ? $_SESSION['theme']['form_table_label_padding']['text'] : '7px 8px'; ?>;
  2214. text-align: right;
  2215. color: <?php echo ($_SESSION['theme']['form_table_label_text_color']['text'] != '') ? $_SESSION['theme']['form_table_label_text_color']['text'] : '#000000'; ?>;
  2216. font-family: <?php echo ($_SESSION['theme']['form_table_label_text_font']['text'] != '') ? $_SESSION['theme']['form_table_label_text_font']['text'] : 'Arial'; ?>;
  2217. font-size: <?php echo ($_SESSION['theme']['form_table_label_text_size']['text'] != '') ? $_SESSION['theme']['form_table_label_text_size']['text'] : '9pt'; ?>;
  2218. white-space: nowrap;
  2219. vertical-align: top;
  2220. }
  2221. div.form_set > .label.required {
  2222. background: <?php echo ($_SESSION['theme']['form_table_label_required_background_color']['text'] != '') ? $_SESSION['theme']['form_table_label_required_background_color']['text'] : '#e5e9f0'; ?>;
  2223. <?php $br = format_border_radius($_SESSION['theme']['form_table_label_border_radius']['text'], '4px'); ?>
  2224. -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']; ?>;
  2225. -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']; ?>;
  2226. -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']; ?>;
  2227. 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']; ?>;
  2228. <?php unset($br); ?>
  2229. border-right: 3px solid <?php echo ($_SESSION['theme']['form_table_label_required_border_color']['text'] != '') ? $_SESSION['theme']['form_table_label_required_border_color']['text'] : '#cbcfd5'; ?>;
  2230. border-bottom: 1px solid <?php echo ($_SESSION['theme']['form_table_label_border_color']['text'] != '') ? $_SESSION['theme']['form_table_label_border_color']['text'] : '#ffffff'; ?>;
  2231. padding: <?php echo ($_SESSION['theme']['form_table_label_padding']['text'] != '') ? $_SESSION['theme']['form_table_label_padding']['text'] : '7px 8px'; ?>;
  2232. text-align: right;
  2233. color: <?php echo ($_SESSION['theme']['form_table_label_required_text_color']['text'] != '') ? $_SESSION['theme']['form_table_label_required_text_color']['text'] : '#000000'; ?>;
  2234. font-family: <?php echo ($_SESSION['theme']['form_table_label_text_font']['text'] != '') ? $_SESSION['theme']['form_table_label_text_font']['text'] : 'Arial'; ?>;
  2235. font-size: <?php echo ($_SESSION['theme']['form_table_label_text_size']['text'] != '') ? $_SESSION['theme']['form_table_label_text_size']['text'] : '9pt'; ?>;
  2236. font-weight: <?php echo ($_SESSION['theme']['form_table_label_required_text_weight']['text'] != '') ? $_SESSION['theme']['form_table_label_required_text_weight']['text'] : 'bold'; ?>;
  2237. white-space: nowrap;
  2238. vertical-align: top;
  2239. }
  2240. div.form_set > .field {
  2241. background: <?php echo ($_SESSION['theme']['form_table_field_background_color']['text'] != '') ? $_SESSION['theme']['form_table_field_background_color']['text'] : '#ffffff'; ?>;
  2242. <?php $br = format_border_radius($_SESSION['theme']['form_table_field_border_radius']['text'], '0'); ?>
  2243. -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']; ?>;
  2244. -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']; ?>;
  2245. -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']; ?>;
  2246. 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']; ?>;
  2247. <?php unset($br); ?>
  2248. border-bottom: 1px solid <?php echo ($_SESSION['theme']['form_table_field_border_color']['text'] != '') ? $_SESSION['theme']['form_table_field_border_color']['text'] : '#e5e9f0'; ?>;
  2249. padding: <?php echo ($_SESSION['theme']['form_table_field_padding']['text'] != '') ? $_SESSION['theme']['form_table_field_padding']['text'] : '6px'; ?>;
  2250. text-align: left;
  2251. vertical-align: middle;
  2252. color: <?php echo ($_SESSION['theme']['form_table_field_text_color']['text'] != '') ? $_SESSION['theme']['form_table_field_text_color']['text'] : '#666666'; ?>;
  2253. font-family: <?php echo ($_SESSION['theme']['form_table_field_text_font']['text'] != '') ? $_SESSION['theme']['form_table_field_text_font']['text'] : 'Arial'; ?>;
  2254. font-size: <?php echo ($_SESSION['theme']['form_table_field_text_size']['text'] != '') ? $_SESSION['theme']['form_table_field_text_size']['text'] : '8pt'; ?>;
  2255. position: relative;
  2256. }
  2257. div.form_set > .field.no-wrap {
  2258. white-space: nowrap;
  2259. }
  2260. /* LIST ACTION BAR *************************************************************/
  2261. div.action_bar {
  2262. position: -webkit-sticky;
  2263. position: sticky;
  2264. z-index: 5;
  2265. <?php
  2266. switch ($_SESSION['theme']['menu_style']['text']) {
  2267. case 'side':
  2268. $action_bar_top = '0';
  2269. break;
  2270. case 'inline':
  2271. case 'static':
  2272. $action_bar_top = '-1px';
  2273. break;
  2274. case 'fixed':
  2275. default:
  2276. $action_bar_top = '49px';
  2277. }
  2278. ?>
  2279. top: <?php echo $action_bar_top; ?>;
  2280. text-align: right;
  2281. border-top: <?php echo ($_SESSION['theme']['action_bar_border_top']['text'] != '') ? $_SESSION['theme']['action_bar_border_top']['text'] : '0'; ?>;
  2282. border-right: <?php echo ($_SESSION['theme']['action_bar_border_right']['text'] != '') ? $_SESSION['theme']['action_bar_border_right']['text'] : '0'; ?>;
  2283. border-bottom: <?php echo ($_SESSION['theme']['action_bar_border_bottom']['text'] != '') ? $_SESSION['theme']['action_bar_border_bottom']['text'] : '0'; ?>;
  2284. border-left: <?php echo ($_SESSION['theme']['action_bar_border_left']['text'] != '') ? $_SESSION['theme']['action_bar_border_left']['text'] : '0'; ?>;
  2285. border-radius: <?php echo ($_SESSION['theme']['action_bar_border_radius']['text'] != '') ? $_SESSION['theme']['action_bar_border_radius']['text'] : '0'; ?>;
  2286. background: <?php echo ($_SESSION['theme']['action_bar_background']['text'] != '') ? $_SESSION['theme']['action_bar_background']['text'] : 'none'; ?>;
  2287. box-shadow: <?php echo ($_SESSION['theme']['action_bar_shadow']['text'] != '') ? $_SESSION['theme']['action_bar_shadow']['text'] : 'none'; ?>;
  2288. padding: 10px;
  2289. margin: -10px -10px 10px -10px;
  2290. -webkit-transition: all .2s ease;
  2291. -moz-transition: all .2s ease;
  2292. transition: all .2s ease;
  2293. }
  2294. div.action_bar.scroll {
  2295. border-top: <?php echo ($_SESSION['theme']['action_bar_border_top_scroll']['text'] != '') ? $_SESSION['theme']['action_bar_border_top_scroll']['text'] : 'initial'; ?>;
  2296. border-right: <?php echo ($_SESSION['theme']['action_bar_border_right_scroll']['text'] != '') ? $_SESSION['theme']['action_bar_border_right_scroll']['text'] : 'initial'; ?>;
  2297. border-bottom: <?php echo ($_SESSION['theme']['action_bar_border_bottom_scroll']['text'] != '') ? $_SESSION['theme']['action_bar_border_bottom_scroll']['text'] : 'initial'; ?>;
  2298. border-left: <?php echo ($_SESSION['theme']['action_bar_border_left_scroll']['text'] != '') ? $_SESSION['theme']['action_bar_border_left_scroll']['text'] : 'initial'; ?>;
  2299. border-radius: <?php echo ($_SESSION['theme']['action_bar_border_radius_scroll']['text'] != '') ? $_SESSION['theme']['action_bar_border_radius_scroll']['text'] : 'initial'; ?>;
  2300. background: <?php echo ($_SESSION['theme']['action_bar_background_scroll']['text'] != '') ? $_SESSION['theme']['action_bar_background_scroll']['text'] : 'rgba(255,255,255,0.9)'; ?>;
  2301. box-shadow: <?php echo ($_SESSION['theme']['action_bar_shadow_scroll']['text'] != '') ? $_SESSION['theme']['action_bar_shadow_scroll']['text'] : '0 3px 3px 0 rgba(0,0,0,0.2)'; ?>;
  2302. }
  2303. div.action_bar.sub {
  2304. position: static;
  2305. }
  2306. div.action_bar > div.heading {
  2307. float: left;
  2308. }
  2309. div.action_bar > div.actions {
  2310. float: right;
  2311. white-space: nowrap;
  2312. }
  2313. div.action_bar > div.actions > div.unsaved {
  2314. display: inline-block;
  2315. margin-right: 30px;
  2316. color: #b00;
  2317. }
  2318. /* used primarily in contacts */
  2319. div.action_bar.shrink {
  2320. margin-bottom: 0;
  2321. padding-bottom: 0;
  2322. }
  2323. div.action_bar.shrink > div.heading > b {
  2324. font-size: 100%;
  2325. }
  2326. /* LIST ************************************************************************/
  2327. .list {
  2328. width: 100%;
  2329. empty-cells: show;
  2330. }
  2331. .list tr {
  2332. cursor: default;
  2333. }
  2334. .list tr:hover td:not(.no-link),
  2335. .list tr:hover td:not(.no-link) a {
  2336. color: <?php echo ($_SESSION['theme']['text_link_color_hover']['text'] != '') ? $_SESSION['theme']['text_link_color_hover']['text'] : '#5082ca'; ?>;
  2337. cursor: pointer;
  2338. }
  2339. .list-header > th {
  2340. padding: <?php echo ($_SESSION['theme']['table_heading_padding']['text'] != '') ? $_SESSION['theme']['table_heading_padding']['text'] : '4px 7px'; ?>;
  2341. text-align: left;
  2342. color: <?php echo ($_SESSION['theme']['table_heading_text_color']['text'] != '') ? $_SESSION['theme']['table_heading_text_color']['text'] : '#3164ad'; ?>;
  2343. font-size: <?php echo ($_SESSION['theme']['table_heading_text_size']['text'] != '') ? $_SESSION['theme']['table_heading_text_size']['text'] : '12px'; ?>;
  2344. font-family: <?php echo ($_SESSION['theme']['table_heading_text_font']['text'] != '') ? $_SESSION['theme']['table_heading_text_font']['text'] : 'arial'; ?>;
  2345. background: <?php echo ($_SESSION['theme']['table_heading_background_color']['text'] != '') ? $_SESSION['theme']['table_heading_background_color']['text'] : 'none'; ?>;
  2346. border-bottom: 1px solid <?php echo ($_SESSION['theme']['table_heading_border_color']['text'] != '') ? $_SESSION['theme']['table_heading_border_color']['text'] : '#a4aebf'; ?>;
  2347. }
  2348. .list-header > th.shrink {
  2349. width: 1%;
  2350. }
  2351. .list-header > th > a.default-color {
  2352. color: <?php echo ($_SESSION['theme']['text_link_color']['text'] != '') ? $_SESSION['theme']['text_link_color']['text'] : '#004083'; ?>;
  2353. }
  2354. .list-header > th > a.default-color:hover {
  2355. color: <?php echo ($_SESSION['theme']['text_link_color_hover']['text'] != '') ? $_SESSION['theme']['text_link_color_hover']['text'] : '#5082ca'; ?>;
  2356. }
  2357. .list-row:nth-child(odd) > :not(.action-button) {
  2358. background: <?php echo ($_SESSION['theme']['table_row_background_color_light']['text'] != '') ? $_SESSION['theme']['table_row_background_color_light']['text'] : '#ffffff'; ?>;
  2359. }
  2360. .list-row:nth-child(even) > :not(.action-button) {
  2361. background: <?php echo ($_SESSION['theme']['table_row_background_color_dark']['text'] != '') ? $_SESSION['theme']['table_row_background_color_dark']['text'] : '#e5e9f0'; ?>;
  2362. }
  2363. .list-row > td:not(.action-button) {
  2364. border-bottom: 1px solid <?php echo ($_SESSION['theme']['table_row_border_color']['text'] != '') ? $_SESSION['theme']['table_row_border_color']['text'] : '#c5d1e5'; ?>;
  2365. color: <?php echo ($_SESSION['theme']['table_row_text_color']['text'] != '') ? $_SESSION['theme']['table_row_text_color']['text'] : '#000'; ?>;
  2366. font-family: <?php echo ($_SESSION['theme']['table_row_text_font']['text'] != '') ? $_SESSION['theme']['table_row_text_font']['text'] : 'arial'; ?>;
  2367. font-size: <?php echo ($_SESSION['theme']['table_row_text_size']['text'] != '') ? $_SESSION['theme']['table_row_text_size']['text'] : '12px'; ?>;
  2368. text-align: left;
  2369. vertical-align: middle;
  2370. }
  2371. .list-row > :not(.checkbox) {
  2372. padding: <?php echo ($_SESSION['theme']['table_row_padding']['text'] != '') ? $_SESSION['theme']['table_row_padding']['text'] : '4px 7px'; ?>;
  2373. }
  2374. .list-row > td.description {
  2375. background: <?php echo ($_SESSION['theme']['table_row_background_color_medium']['text'] != '') ? $_SESSION['theme']['table_row_background_color_medium']['text'] : '#f0f2f6'; ?> !important;
  2376. }
  2377. .list-header > .checkbox,
  2378. .list-row > .checkbox {
  2379. width: 1%;
  2380. text-align: center !important;
  2381. cursor: default !important;
  2382. }
  2383. .list-row > .checkbox {
  2384. padding: 3px 7px 1px 7px;
  2385. }
  2386. .list-row > .button {
  2387. margin: 0;
  2388. padding-top: 1px;
  2389. padding-bottom: 1px;
  2390. white-space: nowrap;
  2391. }
  2392. .list-row > .input {
  2393. margin: 0;
  2394. padding-top: 0;
  2395. padding-bottom: 0;
  2396. white-space: nowrap;
  2397. }
  2398. .list-row > .overflow {
  2399. max-width: 50px;
  2400. overflow: hidden;
  2401. text-overflow: ellipsis;
  2402. white-space: nowrap;
  2403. }
  2404. .list-header > .action-button,
  2405. .list-row > .action-button {
  2406. width: 1px;
  2407. white-space: nowrap;
  2408. background: none;
  2409. padding: 0;
  2410. }
  2411. .list-header > .center,
  2412. .list-row > .center {
  2413. text-align: center !important;
  2414. }
  2415. .list-header > .right,
  2416. .list-row > .right {
  2417. text-align: right !important;
  2418. }
  2419. .list-header > .middle,
  2420. .list-row > .middle {
  2421. vertical-align: middle !important;
  2422. }
  2423. .list-header > .no-wrap,
  2424. .list-row > .no-wrap {
  2425. white-space: nowrap;
  2426. }
  2427. /* EDIT ********************************************************************************/
  2428. td.edit_delete_checkbox_all {
  2429. text-align: center;
  2430. width: 50px;
  2431. }
  2432. td.edit_delete_checkbox_all input[type=checkbox] {
  2433. vertical-align: middle;
  2434. margin-top: -2px;
  2435. }
  2436. td.edit_delete_checkbox_all > span:nth-child(2) {
  2437. display: none;
  2438. }
  2439. /* CURSORS ***********************************************************************/
  2440. .cursor-default { cursor: default; }
  2441. .cursor-help { cursor: help; }
  2442. .cursor-pointer { cursor: pointer; }
  2443. .cursor-denied { cursor: not-allowed; }
  2444. /* WIDTH HELPERS **********************************************************************/
  2445. .pct-5 { width: 5%; }
  2446. .pct-10 { width: 10%; }
  2447. .pct-15 { width: 15%; }
  2448. .pct-20 { width: 20%; }
  2449. .pct-25 { width: 25%; }
  2450. .pct-30 { width: 30%; }
  2451. .pct-35 { width: 35%; }
  2452. .pct-40 { width: 40%; }
  2453. .pct-45 { width: 45%; }
  2454. .pct-50 { width: 50%; }
  2455. .pct-55 { width: 55%; }
  2456. .pct-60 { width: 60%; }
  2457. .pct-65 { width: 65%; }
  2458. .pct-70 { width: 70%; }
  2459. .pct-75 { width: 75%; }
  2460. .pct-80 { width: 80%; }
  2461. .pct-85 { width: 85%; }
  2462. .pct-90 { width: 90%; }
  2463. .pct-95 { width: 95%; }
  2464. .pct-100 { width: 100%; }
  2465. /* SIDE PADDING & MARGIN HELPERS **********************************************************************/
  2466. .pl-1 { padding-left: 1px !important; } .pr-1 { padding-right: 1px !important; }
  2467. .pl-2 { padding-left: 2px !important; } .pr-2 { padding-right: 2px !important; }
  2468. .pl-3 { padding-left: 3px !important; } .pr-3 { padding-right: 3px !important; }
  2469. .pl-4 { padding-left: 4px !important; } .pr-4 { padding-right: 4px !important; }
  2470. .pl-5 { padding-left: 5px !important; } .pr-5 { padding-right: 5px !important; }
  2471. .pl-6 { padding-left: 6px !important; } .pr-6 { padding-right: 6px !important; }
  2472. .pl-7 { padding-left: 7px !important; } .pr-7 { padding-right: 7px !important; }
  2473. .pl-8 { padding-left: 8px !important; } .pr-8 { padding-right: 8px !important; }
  2474. .pl-9 { padding-left: 9px !important; } .pr-9 { padding-right: 9px !important; }
  2475. .pl-10 { padding-left: 10px !important; } .pr-10 { padding-right: 10px !important; }
  2476. .pl-11 { padding-left: 11px !important; } .pr-11 { padding-right: 11px !important; }
  2477. .pl-12 { padding-left: 12px !important; } .pr-12 { padding-right: 12px !important; }
  2478. .pl-13 { padding-left: 13px !important; } .pr-13 { padding-right: 13px !important; }
  2479. .pl-14 { padding-left: 14px !important; } .pr-14 { padding-right: 14px !important; }
  2480. .pl-15 { padding-left: 15px !important; } .pr-15 { padding-right: 15px !important; }
  2481. .pl-20 { padding-left: 20px !important; } .pr-20 { padding-right: 20px !important; }
  2482. .pl-25 { padding-left: 25px !important; } .pr-25 { padding-right: 25px !important; }
  2483. .pl-30 { padding-left: 30px !important; } .pr-30 { padding-right: 30px !important; }
  2484. .pl-35 { padding-left: 35px !important; } .pr-35 { padding-right: 35px !important; }
  2485. .pl-40 { padding-left: 40px !important; } .pr-40 { padding-right: 40px !important; }
  2486. .pl-45 { padding-left: 45px !important; } .pr-45 { padding-right: 45px !important; }
  2487. .pl-50 { padding-left: 50px !important; } .pr-50 { padding-right: 50px !important; }
  2488. .ml-1 { margin-left: 1px !important; } .mr-1 { margin-right: 1px !important; }
  2489. .ml-2 { margin-left: 2px !important; } .mr-2 { margin-right: 2px !important; }
  2490. .ml-3 { margin-left: 3px !important; } .mr-3 { margin-right: 3px !important; }
  2491. .ml-4 { margin-left: 4px !important; } .mr-4 { margin-right: 4px !important; }
  2492. .ml-5 { margin-left: 5px !important; } .mr-5 { margin-right: 5px !important; }
  2493. .ml-6 { margin-left: 6px !important; } .mr-6 { margin-right: 6px !important; }
  2494. .ml-7 { margin-left: 7px !important; } .mr-7 { margin-right: 7px !important; }
  2495. .ml-8 { margin-left: 8px !important; } .mr-8 { margin-right: 8px !important; }
  2496. .ml-9 { margin-left: 9px !important; } .mr-9 { margin-right: 9px !important; }
  2497. .ml-10 { margin-left: 10px !important; } .mr-10 { margin-right: 10px !important; }
  2498. .ml-11 { margin-left: 11px !important; } .mr-11 { margin-right: 11px !important; }
  2499. .ml-12 { margin-left: 12px !important; } .mr-12 { margin-right: 12px !important; }
  2500. .ml-13 { margin-left: 13px !important; } .mr-13 { margin-right: 13px !important; }
  2501. .ml-14 { margin-left: 14px !important; } .mr-14 { margin-right: 14px !important; }
  2502. .ml-15 { margin-left: 15px !important; } .mr-15 { margin-right: 15px !important; }
  2503. .ml-20 { margin-left: 20px !important; } .mr-20 { margin-right: 20px !important; }
  2504. .ml-25 { margin-left: 25px !important; } .mr-25 { margin-right: 25px !important; }
  2505. .ml-30 { margin-left: 30px !important; } .mr-30 { margin-right: 30px !important; }
  2506. .ml-35 { margin-left: 35px !important; } .mr-35 { margin-right: 35px !important; }
  2507. .ml-40 { margin-left: 40px !important; } .mr-40 { margin-right: 40px !important; }
  2508. .ml-45 { margin-left: 45px !important; } .mr-45 { margin-right: 45px !important; }
  2509. .ml-50 { margin-left: 50px !important; } .mr-50 { margin-right: 50px !important; }
  2510. /* MODAL ************************************************************************/
  2511. .modal-window {
  2512. z-index: 999999;
  2513. position: fixed;
  2514. top: 0;
  2515. right: 0;
  2516. bottom: 0;
  2517. left: 0;
  2518. opacity: 0;
  2519. pointer-events: none;
  2520. -webkit-transition: all <?php echo $_SESSION['theme']['modal_transition_seconds']['text'] != '' ? $_SESSION['theme']['modal_transition_seconds']['text'] : '0.3'; ?>s;
  2521. -moz-transition: all <?php echo $_SESSION['theme']['modal_transition_seconds']['text'] != '' ? $_SESSION['theme']['modal_transition_seconds']['text'] : '0.3'; ?>s;
  2522. transition: all <?php echo $_SESSION['theme']['modal_transition_seconds']['text'] != '' ? $_SESSION['theme']['modal_transition_seconds']['text'] : '0.3'; ?>s;
  2523. background: <?php echo $_SESSION['theme']['modal_shade_color']['text'] != '' ? $_SESSION['theme']['modal_shade_color']['text'] : 'rgba(0, 0, 0, 0.3)'; ?>;
  2524. }
  2525. .modal-window > div {
  2526. position: relative;
  2527. padding: <?php echo $_SESSION['theme']['modal_padding']['text'] != '' ? $_SESSION['theme']['modal_padding']['text'] : '15px 20px 20px 20px'; ?>;
  2528. background: <?php echo $_SESSION['theme']['modal_background_color']['text'] != '' ? $_SESSION['theme']['modal_background_color']['text'] : '#fff'; ?>;
  2529. overflow: auto;
  2530. }
  2531. @media(min-width: 0px) and (max-width: 699px) {
  2532. .modal-window > div {
  2533. width: 100%;
  2534. min-width: 200px;
  2535. margin: 50px auto;
  2536. border-radius: 0;
  2537. }
  2538. }
  2539. @media(min-width: 700px) {
  2540. .modal-window > div {
  2541. width: <?php echo $_SESSION['theme']['modal_width']['text'] != '' ? $_SESSION['theme']['modal_width']['text'] : '500px'; ?>;
  2542. margin: 10% auto;
  2543. border-radius: <?php echo $_SESSION['theme']['modal_corner_radius']['text'] != '' ? $_SESSION['theme']['modal_corner_radius']['text'] : '5px'; ?>;
  2544. box-shadow: <?php echo $_SESSION['theme']['modal_shadow']['text'] != '' ? $_SESSION['theme']['modal_shadow']['text'] : '0 0 40px rgba(0,0,0,0.25)'; ?>;
  2545. }
  2546. }
  2547. .modal-window .modal-title {
  2548. display: block;
  2549. font-weight: bold;
  2550. font-size: 120%;
  2551. font-family: <?php echo $_SESSION['theme']['modal_title_font']['text'] != '' ? $_SESSION['theme']['modal_title_font']['text'] : ($_SESSION['theme']['heading_text_font']['text'] != '' ? $_SESSION['theme']['heading_text_font']['text'] : 'arial'); ?>;
  2552. color: <?php echo $_SESSION['theme']['modal_title_color']['text'] != '' ? $_SESSION['theme']['modal_title_color']['text'] : ($_SESSION['theme']['heading_text_color']['text'] != '' ? $_SESSION['theme']['heading_text_color']['text'] : '#952424'); ?>;
  2553. text-align: <?php echo $_SESSION['theme']['modal_title_alignment']['text'] != '' ? $_SESSION['theme']['modal_title_alignment']['text'] : 'left'; ?>;
  2554. margin: <?php echo $_SESSION['theme']['modal_title_margin']['text'] != '' ? $_SESSION['theme']['modal_title_margin']['text'] : '0 0 15px 0'; ?>;
  2555. }
  2556. .modal-close {
  2557. color: <?php echo $_SESSION['theme']['modal_close_color']['text'] != '' ? $_SESSION['theme']['modal_close_color']['text'] : '#aaa'; ?>;
  2558. line-height: 50px;
  2559. font-size: 150%;
  2560. position: absolute;
  2561. top: 0;
  2562. right: 0;
  2563. width: 50px;
  2564. text-align: center;
  2565. text-decoration: none !important;
  2566. cursor: pointer;
  2567. border-radius: <?php echo $_SESSION['theme']['modal_close_corner_radius']['text'] != '' ? $_SESSION['theme']['modal_close_corner_radius']['text'] : '0 0 0 5px'; ?>;
  2568. background: <?php echo $_SESSION['theme']['modal_close_background_color']['text'] != '' ? $_SESSION['theme']['modal_close_background_color']['text'] : '#fff'; ?>;
  2569. }
  2570. .modal-close:hover {
  2571. color: <?php echo $_SESSION['theme']['modal_close_color_hover']['text'] != '' ? $_SESSION['theme']['modal_close_color_hover']['text'] : '#000'; ?>;
  2572. background: <?php echo $_SESSION['theme']['modal_close_background_color_hover']['text'] != '' ? $_SESSION['theme']['modal_close_background_color_hover']['text'] : '#fff'; ?>;
  2573. }
  2574. .modal-window .modal-message {
  2575. display: block;
  2576. color: <?php echo $_SESSION['theme']['modal_message_color']['text'] != '' ? $_SESSION['theme']['modal_message_color']['text'] : '#444'; ?>;
  2577. text-align: <?php echo $_SESSION['theme']['modal_message_alignment']['text'] != '' ? $_SESSION['theme']['modal_message_alignment']['text'] : 'left'; ?>;
  2578. margin: <?php echo $_SESSION['theme']['modal_message_margin']['text'] != '' ? $_SESSION['theme']['modal_message_margin']['text'] : '0 0 20px 0'; ?>;
  2579. }
  2580. .modal-actions {
  2581. display: block;
  2582. text-align: left;
  2583. }
  2584. <?php
  2585. //output custom css
  2586. if ($_SESSION['theme']['custom_css_code']['text'] != '') {
  2587. echo $_SESSION['theme']['custom_css_code']['text'];
  2588. }
  2589. ?>