You are here

function override_css_preview_css in Override css 7

1 string reference to 'override_css_preview_css'
override_css_menu in ./override_css.module
Implements hook_menu().

File

./override_css.admin.inc, line 518

Code

function override_css_preview_css() {
  ctools_include('css');
  $css = ctools_css_disassemble(override_css_generate_css());
  return empty($css) ? 'Er is geen css ingegeven.' : '<div style="border: 1px solid #000; background-color: #eee; padding: 5px;"><pre>' . ctools_css_assemble($css) . '</pre></div>';
}