diff --git a/panels_mini/panels_mini.css b/panels_mini/panels_mini.css new file mode 100644 index 0000000..246921c --- /dev/null +++ b/panels_mini/panels_mini.css @@ -0,0 +1,12 @@ +/** + * @file + * Custom CSS for the Mini Panels module. + */ + +/** + * Customize the CTools wizard trail / breadcrumb used on the edit pages for + * Mini Panels as a stop-gap measure until the UX can be completely re-done. + */ +.wizard-trail { + text-align: right; +} diff --git a/panels_mini/panels_mini.module b/panels_mini/panels_mini.module index a0aa662..e63641d 100644 --- a/panels_mini/panels_mini.module +++ b/panels_mini/panels_mini.module @@ -479,3 +479,14 @@ function panels_mini_panels_dashboard_blocks(&$vars) { ); } + +/** + * Implements template_preprocess_ctools_wizard_trail(). + * + * Customize the divider used in the CTools wizard to build the edit pages for + * Mini Panels as a stop-gap measure until the UX can be completely re-done. + */ +function panels_mini_preprocess_ctools_wizard_trail(&$variables) { + $variables['divider'] = ' | '; + drupal_add_css(drupal_get_path('module', 'panels_mini') . '/panels_mini.css'); +}