Commit 6c295dbb authored by merlinofchaos's avatar merlinofchaos
Browse files

A couple more minor adjustments

parent 4a5bb1b7
......@@ -209,7 +209,6 @@ function advanced_help_index_page($module = '') {
$breadcrumb = array_merge(drupal_get_breadcrumb(), array_reverse($breadcrumb));
drupal_set_breadcrumb($breadcrumb);
$output .= t('This is a demo link to the popup: ') . theme('advanced_help_topic', 'advanced_help', 'using-advanced-help');
return $output;
}
......@@ -362,6 +361,7 @@ function advanced_help_topic_page($module, $topic) {
return;
}
drupal_add_css(drupal_get_path('module', 'advanced_help') . '/help.css');
$breadcrumb[] = l('Home', '');
drupal_set_breadcrumb(array_reverse($breadcrumb));
return $output;
......@@ -456,7 +456,7 @@ function advanced_help_view_topic($module, $topic, $popup = FALSE) {
$output = preg_replace('/href="path:([^"]+)"/', 'href="/' . $info['path'] . '/$1"', $output);
$output = preg_replace('/src="path:([^"]+)"/', 'src="/' . $info['path'] . '/$1"', $output);
return $output;
return '<div class="advanced-help-topic">' . $output . '</div>';
}
}
......@@ -646,7 +646,7 @@ function template_preprocess_advanced_help_popup(&$variables) {
}
}
drupal_add_css(drupal_get_path('module', 'advanced_help') . '/help.css');
drupal_add_css(drupal_get_path('module', 'advanced_help') . '/help-popup.css');
$variables['head_title'] = implode(' | ', $head_title);
$variables['base_path'] = base_path();
......
/* $Id$ */
.advanced-help-link {
width: 16px;
height: 16px;
......
/* $Id */
/* $Id$ */
body {
margin: 0;
padding: 0;
background: #edf5fa;
font: 12px/170% Verdana, sans-serif;
color: #494949;
}
input {
font: 12px/100% Verdana, sans-serif;
color: #494949;
}
textarea, select {
font: 12px/160% Verdana, sans-serif;
color: #494949;
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
padding: 0;
font-weight: normal;
font-family: Helvetica, Arial, sans-serif;
}
h1 {
font-size: 170%;
}
h2 {
font-size: 160%;
line-height: 130%;
}
h3 {
font-size: 140%;
}
h4 {
font-size: 130%;
}
h5 {
font-size: 120%;
}
h6 {
font-size: 110%;
}
ul, quote, code, fieldset {
margin: .5em 0;
}
p {
margin: 0.6em 0 1.2em;
padding: 0;
}
a:link, a:visited {
color: #027AC6;
text-decoration: none;
}
a:hover {
color: #0062A0;
text-decoration: underline;
}
a:active, a.active {
color: #5895be;
}
hr {
margin: 0;
padding: 0;
border: none;
height: 1px;
background: #5294c1;
}
ul {
margin: 0.5em 0 1em;
padding: 0;
}
ol {
margin: 0.75em 0 1.25em;
padding: 0;
}
ol li, ul li {
margin: 0.4em 0 0.4em .5em; /* LTR */
}
#content {
margin: .5em 1em 1em 1em;
}
#content #page-title {
padding-bottom: .5em;
}
div#breadcrumb {
padding-left: 1em;
background-color: white;
border-bottom: 1px solid #ccc;
height: 2em;
}
div#breadcrumb .breadcrumb {
padding: 0;
margin: 0;
}
code, pre {
.advanced-help-topic code, .advanced-help-topic pre {
border: 1px solid #444;
background: #f1f1f1;
margin: 1em;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment