aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-02-14 21:38:41 +0000
committerrvelices <rv-github@modusoptimus.com>2012-02-14 21:38:41 +0000
commit45fbfcf5049d300b0f34bab185ea7372852af203 (patch)
tree59a250cc5a39388e1288976b465ba71df3bf6fdf
parent53e9acff6bf0b91c7bb957b9c62beb55074b070d (diff)
- added 2 missing embellish_url
- fix css (admin bakground not existing; public IE image border) git-svn-id: http://piwigo.org/svn/trunk@13167 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/themes/clear/theme.css14
-rw-r--r--include/template.class.php4
-rw-r--r--themes/default/theme.css8
3 files changed, 20 insertions, 6 deletions
diff --git a/admin/themes/clear/theme.css b/admin/themes/clear/theme.css
index 13a43fe41..d031694a6 100644
--- a/admin/themes/clear/theme.css
+++ b/admin/themes/clear/theme.css
@@ -16,7 +16,7 @@
*/
/* text color */
-body, h3, dt, h2, .throw, .content, label , LEGEND {
+body, h3, dt, h2, .throw, .content, label , LEGEND {
color:#777;
}
@@ -129,9 +129,15 @@ a { color:#005E89; border-width: 0; }
a:hover, a:active { color: #d54e21; border-bottom: 1px dotted #d54e21; cursor: pointer; }
.content .navigationBar {color:#999;}
ul.actions, .content form#waiting {text-align:center;}
-.header_msgs { background:transparent url(images/header_msgs-bg.gif) repeat scroll right top;
-border:0; color:#ccc; font-size:24px; height:30px; margin:0; padding:10px 0 0;
-text-align:center; width:100%; }
+
+.header_msgs {
+ border:0;
+ color:#ccc;
+ font-size:24px;
+ height:30px;
+ margin:0; padding:10px 0 0;
+ text-align:center; width:100%;
+}
/* tabsheets are often used in admin pages => No specific css files */
#tabsheet { width:auto; margin:-1px; margin-right:-6px; padding:0;
diff --git a/include/template.class.php b/include/template.class.php
index 5596c2ec9..12fc9d10d 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -453,7 +453,7 @@ class Template {
$content = array();
foreach( $css as $file_ver )
{
- $href = get_root_url() . $file_ver[0];
+ $href = embellish_url(get_root_url().$file_ver[0]);
if ($file_ver[1] !== false)
$href .= '?v' . ($file_ver[1] ? $file_ver[1] : PHPWG_VERSION);
// trigger the event for eventual use of a cdn
@@ -683,7 +683,7 @@ var s,after = document.getElementsByTagName(\'script\')[document.getElementsByTa
$ret = $script->path;
else
{
- $ret = get_root_url().$script->path;
+ $ret = embellish_url(get_root_url().$script->path);
if ($script->version!==false)
{
$ret.= '?v'. ($script->version ? $script->version : PHPWG_VERSION);
diff --git a/themes/default/theme.css b/themes/default/theme.css
index 853180af5..f7a56f9e2 100644
--- a/themes/default/theme.css
+++ b/themes/default/theme.css
@@ -54,6 +54,10 @@
font-style: italic;
}
+#mbCategories IMG {
+ vertical-align: bottom; /*otherwise line height changes*/
+}
+
#menubar INPUT {
text-indent: 2px;
}
@@ -429,6 +433,10 @@ BODY {
min-width: 60em; /* ~ 3* #menubar width; width of the page before getting a scrollbar; IE6 doesn't get that*/
}
+IMG {
+ border: 0; /*IE<=9 adds border for linked images*/
+}
+
#thePopuphelpPage {
min-width: 0; /*reset the min width*/
}