diff options
author | rub <rub@piwigo.org> | 2006-04-09 13:38:37 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2006-04-09 13:38:37 +0000 |
commit | b64c5176dd7ee2fbfb2d9714f2570b4d5506d42d (patch) | |
tree | 8d932a2866d25ff923b73a6eb81b09c9add8ee81 | |
parent | ba711b68b38f8b8aad7f7c4158b9479df7e6a44f (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
-rw-r--r-- | template-common/default-layout.css | 3 | ||||
-rw-r--r-- | template-common/layout.css | 7 | ||||
-rw-r--r-- | template/yoga/default-layout.css | 11 | ||||
-rw-r--r-- | template/yoga/header.tpl | 2 | ||||
-rw-r--r-- | template/yoga/layout.css | 13 | ||||
-rw-r--r-- | tools/local-layout.css | 4 |
6 files changed, 25 insertions, 15 deletions
diff --git a/template-common/default-layout.css b/template-common/default-layout.css index 87ef74fb2..8f284e6eb 100644 --- a/template-common/default-layout.css +++ b/template-common/default-layout.css @@ -40,6 +40,3 @@ BODY#theAdminPage #content { #content UL.thumbnails SPAN.thumbLegend { display: block; /* display: none; if you don't want legend */ } - -/* Override properties with import local file */ -@import "local-layout.css"; diff --git a/template-common/layout.css b/template-common/layout.css new file mode 100644 index 000000000..02eaf2946 --- /dev/null +++ b/template-common/layout.css @@ -0,0 +1,7 @@ +/* $Id: layout.css 1131 2006-04-06 02:23:54Z rvelices $ */ + +/* template css */ +@import "default-layout.css"; +/* Override properties with import local file */ +@import "local-layout.css"; + 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"; + diff --git a/tools/local-layout.css b/tools/local-layout.css index 2471e13de..16dcf14d7 100644 --- a/tools/local-layout.css +++ b/tools/local-layout.css @@ -4,3 +4,7 @@ BODY { background-attachment:fixed; } +#content UL.thumbnails SPAN.wrap2 { + height: 200px; /* max thumbnail height + 2px */ +} + |