You are here

function vartheme2_css_alter in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 7.2

Same name and namespace in other branches
  1. 7 themes/vartheme2/includes/alter.inc \vartheme2_css_alter()

Implements hook_css_alter().

File

themes/vartheme2/includes/alter.inc, line 5

Code

function vartheme2_css_alter(&$css) {
  $user_module_path = drupal_get_path('module', 'user');
  $theme_path = drupal_get_path('theme', 'vartheme2');

  // Add user theme.
  $user_css = $user_module_path . '/user.css';
  $css[$user_css] = array(
    'data' => $user_css,
    'type' => 'file',
    'every_page' => TRUE,
    'media' => 'all',
    'preprocess' => TRUE,
    'group' => CSS_THEME,
    'browsers' => array(
      'IE' => TRUE,
      '!IE' => TRUE,
    ),
    'weight' => 0,
  );
}