1 template.php | seven_css_alter(&$css) |
Implements hook_css_alter().
File
- core/
themes/ seven/ template.php, line 105 - Preprocess functions and theme function overrides for the Seven theme.
Code
function seven_css_alter(&$css) {
// Use Seven's vertical tabs style instead of the default one.
if (isset($css['core/misc/vertical-tabs.css'])) {
$css['core/misc/vertical-tabs.css']['data'] = backdrop_get_path('theme', 'seven') . '/css/vertical-tabs.css';
$css['core/misc/vertical-tabs.css']['type'] = 'file';
}
// Use Seven's jQuery UI theme style instead of the default one.
if (isset($css['core/misc/ui/jquery.ui.theme.css'])) {
$css['core/misc/ui/jquery.ui.theme.css']['data'] = backdrop_get_path('theme', 'seven') . '/css/jquery.ui.theme.css';
$css['core/misc/ui/jquery.ui.theme.css']['type'] = 'file';
$css['core/misc/ui/jquery.ui.theme.css']['weight'] = 10;
}
}