aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-04-09 13:38:37 +0000
committerrub <rub@piwigo.org>2006-04-09 13:38:37 +0000
commitb64c5176dd7ee2fbfb2d9714f2570b4d5506d42d (patch)
tree8d932a2866d25ff923b73a6eb81b09c9add8ee81 /template
parentba711b68b38f8b8aad7f7c4158b9479df7e6a44f (diff)
Issue ID 310:
o Fix css file order o Add example git-svn-id: http://piwigo.org/svn/trunk@1138 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/yoga/default-layout.css11
-rw-r--r--template/yoga/header.tpl2
-rw-r--r--template/yoga/layout.css13
3 files changed, 14 insertions, 12 deletions
diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css
index bcbfe81f2..f42cfc1a7 100644
--- a/template/yoga/default-layout.css
+++ b/template/yoga/default-layout.css
@@ -1,14 +1,3 @@
-
-/* template css */
-@import "menubar.css";
-@import "content.css";
-@import "image.css";
-@import "popuphelp.css";
-/* Override properties with import local file */
-@import "local-layout.css";
-/* common css */
-@import "../../template-common/default-layout.css";
-
/* $Id$ */
/* * { padding: 0 !important; margin: 0 !important; } */
diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl
index 4a34929b3..48b187e6d 100644
--- a/template/yoga/header.tpl
+++ b/template/yoga/header.tpl
@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CONTENT_ENCODING}">
<link rel="shortcut icon" type="image/x-icon" href="{pwg_root}template-common/favicon.ico">
-<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/default-layout.css">
+<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/layout.css">
<!-- the next css is used to fix khtml (Konqueror/Safari) issue
the "text/nonsense" prevents gecko based browsers to load it -->
<link rel="stylesheet" type="text/nonsense" href="{pwg_root}template/{themeconf:template}/fix-khtml.css">
diff --git a/template/yoga/layout.css b/template/yoga/layout.css
new file mode 100644
index 000000000..79cb2911f
--- /dev/null
+++ b/template/yoga/layout.css
@@ -0,0 +1,13 @@
+/* $Id: layout.css 1131 2006-04-06 02:23:54Z rvelices $ */
+
+/* template css */
+@import "menubar.css";
+@import "content.css";
+@import "image.css";
+@import "popuphelp.css";
+@import "default-layout.css";
+/* Override properties with import local file */
+@import "local-layout.css";
+/* common css */
+@import "../../template-common/layout.css";
+