Skip to content

Instantly share code, notes, and snippets.

@psynaptic
Created July 10, 2012 11:23
Show Gist options
  • Select an option

  • Save psynaptic/3082760 to your computer and use it in GitHub Desktop.

Select an option

Save psynaptic/3082760 to your computer and use it in GitHub Desktop.
➜ clean git:(7.x-1.x) git request-pull -p 688f3d3 psynaptic@git.drupal.org:project/clean.git
The following changes since commit 688f3d31759d6115d37319ec2bbf7316f73dfe0a:
By psynaptic: Updated readme. (2012-04-17 21:54:15 +0100)
are available in the git repository at:
psynaptic@git.drupal.org:project/clean.git 7.x-1.x
for you to fetch changes up to 8ea0c85996e1aa10bf4057bafa3d65757d489176:
Issue #1057912 by psynaptic: Fixed weird border on vertical tabs in Chrome. (2012-07-10 01:45:36 +0100)
----------------------------------------------------------------
Richard Burford (2):
Issue #1327652 by lastar84, jamesbisset: Removed lines for declared but missing CSS files from the info file.
Issue #1057912 by psynaptic: Fixed weird border on vertical tabs in Chrome.
TuWebO (1):
Issue #1301382 by aguskii: Changed main and secondary menu titles to use arrays instead of strings.
clean.info | 3 +--
includes/clean.preprocess.inc | 10 ++++++++--
styles/clean.forms.css | 5 +++++
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/clean.info b/clean.info
index d09ae1f..16bf327 100644
--- a/clean.info
+++ b/clean.info
@@ -17,9 +17,8 @@ framework stylesheets[all][] = styles/clean.reset-browser.css
stylesheets[all][] = styles/clean.reset-drupal.css
stylesheets[all][] = styles/system.menus.css
-stylesheets[all][] = styles/clean.base.css
stylesheets[all][] = styles/clean.forms.css
-stylesheets[all][] = styles/clean.menus.css
stylesheets[all][] = styles/clean.layout.css
stylesheets[all][] = styles/clean.typography.css
stylesheets[all][] = styles/clean.content.css
+
diff --git a/includes/clean.preprocess.inc b/includes/clean.preprocess.inc
index e3cc72f..d67f849 100644
--- a/includes/clean.preprocess.inc
+++ b/includes/clean.preprocess.inc
@@ -96,7 +96,10 @@ function clean_preprocess_page(&$variables) {
'clearfix',
),
),
- '#heading' => t('Main menu'),
+ '#heading' => array(
+ 'text' => t('Main menu'),
+ 'level' => 'h2',
+ ),
);
$variables['page']['secondary_menu'] = array(
'#theme' => 'links__system_secondary_menu',
@@ -109,7 +112,10 @@ function clean_preprocess_page(&$variables) {
'clearfix',
),
),
- '#heading' => t('Secondary menu'),
+ '#heading' => array(
+ 'text' => t('Secondary menu'),
+ 'level' => 'h2',
+ ),
);
}
diff --git a/styles/clean.forms.css b/styles/clean.forms.css
index cd2e9b4..c076e33 100644
--- a/styles/clean.forms.css
+++ b/styles/clean.forms.css
@@ -56,3 +56,8 @@ a.fieldset-title {
.vertical-tabs fieldset.vertical-tabs-pane .fieldset-wrapper {
padding: 0;
}
+
+.vertical-tabs ul.vertical-tabs-list li a {
+ overflow: hidden;
+}
+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment