summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-06-20 20:04:28 +0000
committerDries Buytaert <dries@buytaert.net>2004-06-20 20:04:28 +0000
commitb713e3d489864d91bdb409fc4791cff404356fc2 (patch)
treef2cfc19680e3f0427a6d8f9bcb6f704aaa84551b /themes
parentc2d7419f23dd2929e7178e2f09f327e08faa348b (diff)
downloadbrdo-b713e3d489864d91bdb409fc4791cff404356fc2.tar.gz
brdo-b713e3d489864d91bdb409fc4791cff404356fc2.tar.bz2
- Patch #8617 by TDobes: changes all gifs to pngs for better consistency (and
to get of proprietary formats). - Added forum-sticky.png. Made by Steven.
Diffstat (limited to 'themes')
-rw-r--r--themes/chameleon/pure/chameleon.css2
-rw-r--r--themes/xtemplate/pushbutton/xtemplate.css20
-rw-r--r--themes/xtemplate/pushbutton/xtemplate.xtmpl2
-rw-r--r--themes/xtemplate/xtemplate.theme4
4 files changed, 14 insertions, 14 deletions
diff --git a/themes/chameleon/pure/chameleon.css b/themes/chameleon/pure/chameleon.css
index a7ab2ac76..c399944ab 100644
--- a/themes/chameleon/pure/chameleon.css
+++ b/themes/chameleon/pure/chameleon.css
@@ -11,7 +11,7 @@ a:visited {
}
body {
padding: 5em 0 0 3em;
- background-image: url(background.gif);
+ background-image: url(background.png);
background-repeat: repeat-x;
font-family: trebuchet ms, tahoma, verdana, arial, helvetica;
border-top: 10px solid gray;
diff --git a/themes/xtemplate/pushbutton/xtemplate.css b/themes/xtemplate/pushbutton/xtemplate.css
index 9c82bff5d..a78cb095f 100644
--- a/themes/xtemplate/pushbutton/xtemplate.css
+++ b/themes/xtemplate/pushbutton/xtemplate.css
@@ -165,7 +165,7 @@ td#home a:hover img {
#main {
/* padding in px not ex because IE messes up 100% width tables otherwise */
padding: 30px 35px 50px 35px;
- background: transparent url(background.gif) center center no-repeat;
+ background: transparent url(background.png) center center no-repeat;
}
#mission, .node .content, .comment .content {
line-height: 1.4;
@@ -303,7 +303,7 @@ table#footer-menu {
font-weight: bold;
padding: 10px 5px 10px 30px;
margin-bottom: .25em;
- background: transparent url(icon-block.gif) left center no-repeat;
+ background: transparent url(icon-block.png) left center no-repeat;
}
.block .content {
padding: 5px 5px 5px 5px;
@@ -338,7 +338,7 @@ table#footer-menu {
.comment .title {
font-size: 1em;
padding: 10px 0px 12px 19px;
- background: transparent url(icon-comment.gif) left center no-repeat;
+ background: transparent url(icon-comment.png) left center no-repeat;
}
.comment .new {
font-weight: bold;
@@ -367,27 +367,27 @@ table#footer-menu {
}
.nav .links .next a:link {
padding: 15px 20px 16px 0;
- background: transparent url(arrow-next.gif) right center no-repeat;
+ background: transparent url(arrow-next.png) right center no-repeat;
}
.nav .links .next a:hover {
padding: 15px 20px 16px 0;
- background: transparent url(arrow-next-hover.gif) right center no-repeat;
+ background: transparent url(arrow-next-hover.png) right center no-repeat;
}
.nav .links .prev a:link {
padding: 15px 0 16px 20px;
- background: transparent url(arrow-prev.gif) left center no-repeat;
+ background: transparent url(arrow-prev.png) left center no-repeat;
}
.nav .links .prev a:hover {
padding: 15px 0 16px 20px;
- background: transparent url(arrow-prev-hover.gif) left center no-repeat;
+ background: transparent url(arrow-prev-hover.png) left center no-repeat;
}
.nav .links .up a:link {
padding: 12px 0 20px 0;
- background: transparent url(arrow-up.gif) center top no-repeat;
+ background: transparent url(arrow-up.png) center top no-repeat;
}
.nav .links .up a:hover {
padding: 12px 0 20px 0;
- background: transparent url(arrow-up-hover.gif) center top no-repeat;
+ background: transparent url(arrow-up-hover.png) center top no-repeat;
}
/*
@@ -470,7 +470,7 @@ table#footer-menu {
#forum td.container a {
color: #e4e9eb;
padding: 20px 0 20px 35px;
- background: transparent url(forum-link.gif) left center no-repeat;
+ background: transparent url(forum-link.png) left center no-repeat;
}
#forum td.container a:visited {
color: #e4e9eb;
diff --git a/themes/xtemplate/pushbutton/xtemplate.xtmpl b/themes/xtemplate/pushbutton/xtemplate.xtmpl
index bb4887830..f847c51c3 100644
--- a/themes/xtemplate/pushbutton/xtemplate.xtmpl
+++ b/themes/xtemplate/pushbutton/xtemplate.xtmpl
@@ -12,7 +12,7 @@
<table id="primary-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
- <td id="home" width="10%"><a href="./" title="Home"><img src="{directory}/logo.gif" alt="Home" width="144" height="63" border="0" /></a></td>
+ <td id="home" width="10%"><a href="./" title="Home"><img src="{directory}/logo.png" alt="Home" width="144" height="63" border="0" /></a></td>
<td class="primary-links" width="90%" align="center" valign="middle">{primary_links}</td>
</tr>
</table>
diff --git a/themes/xtemplate/xtemplate.theme b/themes/xtemplate/xtemplate.theme
index 7efc2e8e9..7d4bceffd 100644
--- a/themes/xtemplate/xtemplate.theme
+++ b/themes/xtemplate/xtemplate.theme
@@ -25,7 +25,7 @@ function xtemplate_settings() {
$group = form_select(t('Template'), 'xtemplate_template', variable_get('xtemplate_template', 'default'), $files, t('Selecting a different template will change the look and feel of your site. To create a new template, create a new directory under <code>themes/xtemplate</code> and copy the contents of an existing template (e.g. <code>themes/xtemplate/default</code>) into it. The new template will automatically become available in the selection menu and will be identified by its directory name.'));
$output = form_group(t('Template selection'), $group);
- $group = form_textarea(t('Logo'), 'xtemplate_logo', variable_get('xtemplate_logo', "<img src=\"themes/xtemplate/$template_directory/logo.gif\" alt=\"Logo\" />"), 70, 4, t('The HTML code for displaying the logo.'));
+ $group = form_textarea(t('Logo'), 'xtemplate_logo', variable_get('xtemplate_logo', "<img src=\"themes/xtemplate/$template_directory/logo.png\" alt=\"Logo\" />"), 70, 4, t('The HTML code for displaying the logo.'));
$group .= form_textarea(t('Primary links'), 'xtemplate_primary_links', variable_get('xtemplate_primary_links', l('edit primary links', 'admin/themes/xtemplate')), 70, 8, t('The HTML code for the primary links.'));
$group .= form_textarea(t('Secondary links'), 'xtemplate_secondary_links', variable_get('xtemplate_secondary_links', l('edit secondary links', 'admin/themes/xtemplate')), 70, 8, t('The HTML code for the secondary links.'));
$group .= form_textarea(t('Message on front page'), 'xtemplate_mission', variable_get('xtemplate_mission', 'edit mission'), 70, 6, t('This text will be displayed on the front page. It can be used to display a mission statement, announcement or site description..'));
@@ -143,7 +143,7 @@ function xtemplate_page($content, $title = NULL, $breadcrumb = NULL) {
"head" => drupal_get_html_head(),
"directory" => "themes/xtemplate/$template_directory",
"onload_attributes" => theme_onload_attribute(),
- "logo" => variable_get('xtemplate_logo', "<img src=\"themes/xtemplate/$template_directory/logo.gif\" alt=\"Logo\" />"),
+ "logo" => variable_get('xtemplate_logo', "<img src=\"themes/xtemplate/$template_directory/logo.png\" alt=\"Logo\" />"),
"primary_links" => variable_get("xtemplate_primary_links", l("edit primary links", "admin/themes/xtemplate")),
"secondary_links" => variable_get("xtemplate_secondary_links", l("edit secondary links", "admin/themes/xtemplate"))
));