css.php 130 KB

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