advmceconf_style

The Advanced TinyMCE Configuration advmceconf style function.

Description

advmceconf_style(); 

Usage

  1. if ( !function_exists( 'advmceconf_style' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'advanced-tinymce-configuration/adv-mce-config.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = advmceconf_style(); 
  7.  

Defined (1)

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

/adv-mce-config.php  
  1. function advmceconf_style() { 
  2. ?> 
  3. <style type="text/css"> 
  4. .advmceconf-wrap { 
  5. border: 1px solid #ddd; 
  6. border-radius: 3px; 
  7. background-color: #f8f8f8; 
  8. padding: 0 12px; 
  9. margin: 16px 0; 
  10.  
  11. .advmceconf-wrap img { 
  12. border: 1px solid #bbb; 
  13.  
  14. .advmceconf-table { 
  15. table-layout: fixed; 
  16. border-collapse: collapse; 
  17. margin: 8px 0; 
  18. width: 100%; 
  19. clear: both; 
  20.  
  21. #advmceconf-defaults { 
  22. white-space: -moz-pre-wrap !important; 
  23. word-wrap: break-word; 
  24. white-space: pre-wrap; 
  25.  
  26. .advmceconf-table td { 
  27. padding: 7px 4px; 
  28. line-height: 20px; 
  29. vertical-align: top; 
  30.  
  31. #advmceconf-defaults td { 
  32. border-bottom: 1px solid #ddd; 
  33.  
  34. .advmceconf-table th { 
  35. font-weight: bold; 
  36. text-shadow: rgba(255, 255, 255, 1) 0 1px 0; 
  37. padding: 10px 4px; 
  38. border-bottom: 1px solid #ddd; 
  39. text-align: left; 
  40.  
  41. .advmceconf-table td.names input { 
  42. width: 100%; 
  43.  
  44. .advmceconf-table textarea { 
  45. width: 99%; 
  46. min-height: 80px; 
  47.  
  48. .advmceconf-table th.names { 
  49. width: 220px; 
  50.  
  51. #advmceconf-set th.names { 
  52. width: 250px; 
  53.  
  54. #advmceconf-defaults .names { 
  55. text-align: right; 
  56.  
  57. .advmceconf-table .sep { 
  58. width: 10px; 
  59. text-align: center; 
  60.  
  61. .advmceconf-table .actions { 
  62. width: 100px; 
  63. text-align: center; 
  64.  
  65. .advmceconf-table td.actions { 
  66. vertical-align: middle; 
  67.  
  68. .advmceconf-highlight td { 
  69. background: #fee; 
  70. </style> 
  71. <?php