web: modified some theme css settings to properly display pages

This commit is contained in:
Bart Van Der Meerssche 2009-10-01 10:00:27 +00:00
parent f40851ab3d
commit ba303a2c1d
2 changed files with 12 additions and 4 deletions

View File

@ -31,7 +31,7 @@ body {
p {
margin: 1em 0;
padding: 0em 2.6em;
padding: 1.5em 2.6em;
}
h1, h2, h3, h4, h5, h6 {
@ -267,7 +267,7 @@ h3.searchresult a:hover {
}
.node .content p {
margin: 2em 0;
margin: 0 0;
letter-spacing: 1px;
}
@ -367,6 +367,11 @@ br.clear {
text-align: center;
}
#footer p {
margin: 1em 0;
padding: 0em 2.6em;
}
/* icons */
a.read-more,
.icon-print,

View File

@ -145,6 +145,7 @@ function phptemplate_image_body($node, $size) {
'editable' => user_access('administer image annotations') || user_access('create image annotations'),
));
module_load_include('module', 'jquery_ui');
// Load all the JS and CSS magic
drupal_add_js(array('imageAnnotate' => $settings), 'setting');
jquery_ui_add(array('ui.resizable', 'ui.draggable'));
@ -204,7 +205,8 @@ function phptemplate_img_assist_inline($node, $size, $attributes) {
'top' => $note->position_top,
'left' => $note->position_left,
'text' => $text,
'editable' => $editable,
// notes should be added when residing on the image page
'editable' => FALSE,
);
}
@ -216,6 +218,7 @@ function phptemplate_img_assist_inline($node, $size, $attributes) {
'editable' => user_access('administer image annotations') || user_access('create image annotations'),
));
module_load_include('module', 'jquery_ui');
// Load all the JS and CSS magic
drupal_add_js(array('imageAnnotate' => $settings), 'setting');
jquery_ui_add(array('ui.resizable', 'ui.draggable'));