Remover ou sobreescrever os css(s) dos modulos ou do sistema do Drupal

Remover ou sobreescrever os css(s) dos modulos ou do sistema do Drupal

Minha duvida era "Como vou fazer pra esse css ali desaparecer.. eu nao uso ele!!"..

Entao acabei achando essa saida.. gostei e tah ai pra sempre lembrar.

Coloque esse codigo na funcao seutemplate_preprocess_page no arquivo template.php

<?php
// get all the current css information into an array
$css = drupal_add_css();

// copy stuff you want to keep from these files into your theme's style.css
// or maybe make a separate file for that and @import it into that file

// now we can ditch unwanted core css files from the array and they won't be included
unset($css['all']['module']['modules/user/user.css']);
unset(
$css['all']['module']['modules/node/node.css']);

// and now, removing the css files of some contributed modules
// I'm putting them into an array to save space and code repetition
$rm[] = drupal_get_path('module','content').'/content.css';
$rm[] = drupal_get_path('module','devel').'/devel.css';
$rm[] = drupal_get_path('module','gotcha').'/gotcha.css';

// now we can remove the contribs from the array
foreach ($rm as $key => $value) {
  unset(
$css['all']['module'][$value]);
}

// now place the remaining css files back into the template variable for rendering
$vars['styles'] = drupal_get_css($css);
?>