jfb_admin_styles

The WP-FB-AutoConnect jfb admin styles function.

Description

jfb_admin_styles(); 

Usage

  1. if ( !function_exists( 'jfb_admin_styles' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'wp-fb-autoconnect/AdminPage.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = jfb_admin_styles(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/AdminPage.php  
  1. function jfb_admin_styles() 
  2. echo '<style type="text/css">'. 
  3. '.jfb-admin_warning {background-color: #FFEBE8; border:1px solid #C00; padding:0 .6em; margin:10px 0 15px; -khtml-border-radius:3px; -webkit-border-radius:3px; border-radius:3px;}'. 
  4. '.jfb-admin_wrapper {clear:both; background-color:#FFFEEB; border:1px solid #CCC; padding:0 8px; }'. 
  5. '.jfb-admin_wrapper dfn {border-bottom:1px dotted #0000FF; cursor:help; font-style:italic; font-size:80%;}'. 
  6. '.jfb-admin_tabs {width:100%; clear:both; float:left; margin:0 0 -0.1em 0; padding:0;}'. 
  7. '.jfb-admin_tabs li {list-style:none; float:left; margin:0; padding:0.2em 0.5em 0.2em 0.5em; }'. 
  8. '.jfb-admin_tab_selected{background-color:#FFFEEB; border-left:1px solid #CCC; border-right:1px solid #CCC; border-top:1px solid #CCC;}'. 
  9. '.jfb-greybox {width:600px; padding:5px; margin:2px 0; background-color:#EEEDDA; border:1px solid #CCC;}'. 
  10. '</style>'; 
  11. //Simple 'lightbox' for showing pop-up 'more info' descriptions. From http://stephenmcintyre.net/blog/simple-css-lightbox 
  12. echo '<style type="text/css">'. 
  13. '.wpfb-moreinfo-bg{display:none; position:fixed; top:0; left:0; width:100%; height:100%; background-color:#000; -moz-opacity:0.5; opacity:.50; filter:alpha(opacity=50); }' . 
  14. '.wpfb-moreinfo-box{display:none; position:fixed; top:100px; left:25%; width:50%; background-color:#fff; padding:5px; }'. 
  15. '.wpfb-moreinfo-lnk{text-decoration:none;font-size:80%;border-bottom: 1px dotted #0000FF;color:inherit;cursor: help;font-style: italic;}'. 
  16. '</style>';