Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
89586bac
Commit
89586bac
authored
15 years ago
by
Angie Byron
Browse files
Options
Downloads
Patches
Plain Diff
#672130
by Rob Loach: Only include Seven's vertical-tabs.css when vertical tabs are shown.
parent
c2ccd28f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
themes/seven/seven.info
+0
-1
0 additions, 1 deletion
themes/seven/seven.info
themes/seven/template.php
+10
-0
10 additions, 0 deletions
themes/seven/template.php
with
10 additions
and
1 deletion
themes/seven/seven.info
+
0
−
1
View file @
89586bac
...
...
@@ -7,7 +7,6 @@ core = 7.x
engine = phptemplate
stylesheets[screen][] = reset.css
stylesheets[screen][] = style.css
stylesheets[all][] = vertical-tabs.css
regions[content] = Content
regions[help] = Help
regions[page_top] = Page top
...
...
This diff is collapsed.
Click to expand it.
themes/seven/template.php
+
10
−
0
View file @
89586bac
...
...
@@ -92,3 +92,13 @@ function seven_fieldset($variables) {
$output
.
=
"</fieldset>
\n
"
;
return
$output
;
}
/**
* Implements hook_css_alter().
*/
function
seven_css_alter
(
&
$css
)
{
// Use Seven's vertical tabs style instead of the default one.
if
(
isset
(
$css
[
'misc/vertical-tabs.css'
]))
{
$css
[
'misc/vertical-tabs.css'
][
'data'
]
=
drupal_get_path
(
'theme'
,
'seven'
)
.
'/vertical-tabs.css'
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment