You are here

function panels_pane_plain_box_style_base_build in Panels 6.3

Same name and namespace in other branches
  1. 7.3 plugins/style_bases/pane/pane_plain_box/pane_plain_box.inc \panels_pane_plain_box_style_base_build()
1 string reference to 'panels_pane_plain_box_style_base_build'
pane_plain_box.inc in plugins/style_bases/pane/pane_plain_box/pane_plain_box.inc

File

plugins/style_bases/pane/pane_plain_box/pane_plain_box.inc, line 85

Code

function panels_pane_plain_box_style_base_build($plugin, $settings, &$css, $replacements) {
  ctools_stylizer_font_apply_style($css, '%style', $settings['font']);
  ctools_stylizer_border_apply_style($css, '%style', $settings['border'], '%border');
  ctools_stylizer_font_apply_style($css, '%style .pane-title', $settings['header_font']);
  ctools_stylizer_border_apply_style($css, '%style .pane-title', $settings['header_border'], '%header-border', 'bottom');
  ctools_stylizer_padding_apply_style($css, '%style .pane-title, %style .pane-content', $settings['padding']);
}