summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Miles2013-01-30 23:25:13 (GMT)
committer Earl Miles2013-01-30 23:25:13 (GMT)
commitd7e5b38d827c433b3ea616eeb6327e2f09c54fd9 (patch)
tree7c4b71b6d166324b83eacd3adfba4ee32ae633c8
parentc19eee8bbaa1aa5a338ba3dcd7db8a88532bbef2 (diff)
Issue #1728518 by OnkelTem: More specificity on flexible generated CSS.
-rw-r--r--plugins/layouts/flexible/flexible.inc20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/layouts/flexible/flexible.inc b/plugins/layouts/flexible/flexible.inc
index 93a7c93..f49886b 100644
--- a/plugins/layouts/flexible/flexible.inc
+++ b/plugins/layouts/flexible/flexible.inc
@@ -747,47 +747,47 @@ function panels_flexible_render_css_group($renderer, $list, $owner_id, $type, $i
$css = array();
// Start off with some generic CSS to properly pad regions
- $css['.' . $renderer->item_class['region']] = array(
+ $css[$owner_id . ' .' . $renderer->item_class['region']] = array(
'padding' => '0',
);
- $css['.' . $renderer->item_class['region'] . '-inside'] = array(
+ $css[$owner_id . ' .' . $renderer->item_class['region'] . '-inside'] = array(
'padding-right' => $renderer->region_separation,
'padding-left' => $renderer->region_separation,
);
- $css['.' . $renderer->item_class['region'] . '-inside-first'] = array(
+ $css[$owner_id . ' .' . $renderer->item_class['region'] . '-inside-first'] = array(
'padding-left' => '0',
);
- $css['.' . $renderer->item_class['region'] . '-inside-last'] = array(
+ $css[$owner_id . ' .' . $renderer->item_class['region'] . '-inside-last'] = array(
'padding-right' => '0',
);
- $css['.' . $renderer->item_class['column']] = array(
+ $css[$owner_id . ' .' . $renderer->item_class['column']] = array(
'padding' => '0',
);
- $css['.' . $renderer->item_class['column'] . '-inside'] = array(
+ $css[$owner_id . ' .' . $renderer->item_class['column'] . '-inside'] = array(
'padding-right' => $renderer->column_separation,
'padding-left' => $renderer->column_separation,
);
- $css['.' . $renderer->item_class['column'] . '-inside-first'] = array(
+ $css[$owner_id . ' .' . $renderer->item_class['column'] . '-inside-first'] = array(
'padding-left' => '0',
);
- $css['.' . $renderer->item_class['column'] . '-inside-last'] = array(
+ $css[$owner_id . ' .' . $renderer->item_class['column'] . '-inside-last'] = array(
'padding-right' => '0',
);
// And properly pad rows too
- $css['.' . $renderer->item_class['row']] = array(
+ $css[$owner_id . ' .' . $renderer->item_class['row']] = array(
'padding' => '0 0 ' . $renderer->row_separation . ' 0',
'margin' => '0',
);
- $css['.' . $renderer->item_class['row'] . '-last'] = array(
+ $css[$owner_id . ' .' . $renderer->item_class['row'] . '-last'] = array(
'padding-bottom' => '0',
);