Commit be7b9152 authored by yched's avatar yched

#155416 - limit non standard CSS (transparency) to the field overview page

parent 7c67ac9f
/* $Id$ */
table.content-field-overview, table.content-field-overview fieldset table {
width:100%;
}
table.content-field-overview td {
width:14%;
}
.content-field-overview .content-field-overview-disabled {
filter:alpha(opacity=50);
-moz-opacity: .50;
opacity: .50;
}
.content-field-overview-empty {
text-align:center;
}
\ No newline at end of file
......@@ -391,11 +391,14 @@ function content_admin_field_overview_form($type_name) {
* Theme the field overview table by iterating through the form and rendering form elements in table cells
*/
function theme_content_admin_field_overview_form($form) {
if (!$form['#table']) {
return;
}
// The css for this form contains non-validating styles,
// so we use a separate file, included only on the relevant page.
theme_add_style(drupal_get_path('module', 'content') .'/content_admin.css');
$disabled = unserialize($form['disabled']['#value']);
if (module_exist('fieldgroup')) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment