aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/theme
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2005-12-03 17:33:38 +0000
committerchrisaga <chrisaga@piwigo.org>2005-12-03 17:33:38 +0000
commitdc3c040399475f7b68497919c39c90adcca4caa5 (patch)
tree3ccb0c670035f5cf94c6d849b78cb6a926fb2478 /template/yoga/theme
parent9731fc4ba5593b972aeac5d7f751253c3e82f840 (diff)
improve template : split theme from template itself
rest of the job : template (yoga), themes (clear dark), and php to handle them git-svn-id: http://piwigo.org/svn/trunk@960 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/theme')
-rw-r--r--template/yoga/theme/clear/theme.css78
-rw-r--r--template/yoga/theme/clear/themeconf.inc.php9
-rw-r--r--template/yoga/theme/dark/images/tableh1_bg.pngbin0 -> 271 bytes
-rw-r--r--template/yoga/theme/dark/images/tableh2_bg.pngbin0 -> 307 bytes
-rw-r--r--template/yoga/theme/dark/theme.css109
-rw-r--r--template/yoga/theme/dark/themeconf.inc.php9
6 files changed, 205 insertions, 0 deletions
diff --git a/template/yoga/theme/clear/theme.css b/template/yoga/theme/clear/theme.css
new file mode 100644
index 000000000..1489ae26c
--- /dev/null
+++ b/template/yoga/theme/clear/theme.css
@@ -0,0 +1,78 @@
+/* $Id$ */
+
+/* text color */
+BODY, H1, H2, H3, DT {
+ color:#696969; /* dimgray */
+}
+
+/* backgrounds */
+BODY, H3, .throw {
+ background-color: #ffffff; /* white */
+}
+
+H2, #menubar DT, #imageHeaderBar, #imageToolBar A:hover {
+ background-color: #d3d3d3;
+}
+
+#menubar DL, #content, #imageToolBar {
+ background-color: #eeeeee;
+}
+
+/* borders */
+#menubar DL, #content, #imageToolBar, #theImage IMG,
+#comments DIV.comment BLOCKQUOTE {
+ border: 1px solid #d3d3d3;
+}
+
+#theImage IMG {
+ border-width: 3px;
+}
+
+#content UL.thumbnail IMG {
+ border: 1px solid #a0a0a0;
+}
+
+FIELDSET, INPUT, SELECT, TEXTAREA,
+#content DIV.comment A.illustration IMG, #infos {
+ border: 1px solid gray;
+}
+
+#comments DIV.comment BLOCKQUOTE {
+ border-left: 2px solid #696969;
+}
+
+#content UL.thumbnails SPAN.wrap2 {
+ border: 1px solid #aaaaaa; /* thumbnails border color and style */
+ -moz-border-radius: 4px; /* round corners with Geko */
+ border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */
+}
+#content UL.thumbnails SPAN.wrap2:hover {
+ border-color: yellow; /* thumbnails border color when mouse cursor is over it */
+}
+
+/* links */
+A {
+ color: #005e89;
+ background: transparent;
+}
+
+A:hover {
+ color: #858460;
+}
+
+#imageToolBar A, #imageToolBar A:hover {
+ border-bottom: none;
+}
+
+A.navThumb, A.navThumb:hover {
+ border-bottom: none;
+}
+
+/* others */
+.pleaseNote {
+ background: #9c9c9c;
+ color: #ffff99;
+ padding: 1ex;
+ font-weight: bold;
+}
+
diff --git a/template/yoga/theme/clear/themeconf.inc.php b/template/yoga/theme/clear/themeconf.inc.php
new file mode 100644
index 000000000..0a96b94aa
--- /dev/null
+++ b/template/yoga/theme/clear/themeconf.inc.php
@@ -0,0 +1,9 @@
+<?php
+$themeconf = array(
+ 'template' => 'yoga',
+ 'theme' => 'clear',
+ 'icon_dir' => PHPWG_ROOT_PATH.'template/yoga/icon',
+ 'admin_icon_dir' => PHPWG_ROOT_PATH.'template/yoga/icon/admin',
+ 'mime_icon_dir' => PHPWG_ROOT_PATH.'template/yoga/icon/mymetypes'
+);
+?>
diff --git a/template/yoga/theme/dark/images/tableh1_bg.png b/template/yoga/theme/dark/images/tableh1_bg.png
new file mode 100644
index 000000000..c7785d0f6
--- /dev/null
+++ b/template/yoga/theme/dark/images/tableh1_bg.png
Binary files differ
diff --git a/template/yoga/theme/dark/images/tableh2_bg.png b/template/yoga/theme/dark/images/tableh2_bg.png
new file mode 100644
index 000000000..d8c29f93d
--- /dev/null
+++ b/template/yoga/theme/dark/images/tableh2_bg.png
Binary files differ
diff --git a/template/yoga/theme/dark/theme.css b/template/yoga/theme/dark/theme.css
new file mode 100644
index 000000000..c3c9f6a45
--- /dev/null
+++ b/template/yoga/theme/dark/theme.css
@@ -0,0 +1,109 @@
+/* $Id$ */
+
+/* text color */
+BODY, H1, H3, DT {
+ color:#e0e0e0;
+}
+
+H2, #menubar DT, .throw {
+ color: #fff48e;
+}
+
+#content .navigationBar {
+ color: #aaaaaa;
+}
+#content .pageNumberSelected {
+ color: #000000;
+}
+
+/* backgrounds */
+BODY {
+ background-color: #000000;
+}
+
+H2, H3, #menubar DT, #imageHeaderBar, #imageToolBar A:hover, .throw {
+ background-color: #3f3f3f;
+}
+
+#menubar DL, #content, #imageToolBar {
+ background-color: #5f5f5f;
+}
+
+H2, #menubar DT, .throw {
+ background-image: url(images/tableh1_bg.png);
+}
+
+#imageHeaderBar {
+ background-image: url(images/tableh2_bg.png);
+ background-repeat: repeat-x;
+ background-position: center;
+}
+
+/* borders */
+#menubar DL, #content, #imageToolBar, #theImage IMG,
+#comments DIV.comment BLOCKQUOTE {
+ border: 1px solid #000000;
+}
+
+#theImage IMG {
+ border-width: 3px;
+}
+
+#content UL.thumbnail IMG {
+ border: 1px solid #a0a0a0;
+}
+
+FIELDSET, INPUT, SELECT, TEXTAREA,
+#content DIV.comment A.illustration IMG, #infos {
+ border: 1px solid gray;
+}
+
+#comments DIV.comment BLOCKQUOTE {
+ border-left: 2px solid #696969;
+}
+
+#content UL.thumbnails SPAN.wrap2 {
+ border: 1px solid #aaaaaa; /* thumbnails border color and style */
+ -moz-border-radius: 4px; /* round corners with Geko */
+ border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */
+}
+#content UL.thumbnails SPAN.wrap2:hover {
+ border-color: yellow; /* thumbnails border color when mouse cursor is over it */
+}
+
+H2, #menubar DT, #imageHeaderBar {
+ border-bottom: 1px solid #000000;
+}
+
+/* links */
+A {
+ color: #FFFFFF;
+}
+
+A:hover {
+ color: #FFF48E;
+}
+
+#imageToolBar A, #imageToolBar A:hover {
+ border-bottom: none;
+}
+
+A.navThumb, A.navThumb:hover {
+ border-bottom: none;
+}
+
+/* others */
+.pleaseNote {
+ background: #9c9c9c;
+ color: #ffff99;
+ padding: 1ex;
+ font-weight: bold;
+}
+#the_page {
+ border: 1px solid #e0e0e0;
+ padding-top: 5px;
+ padding-bottom:30px;
+ text-align:center;
+ display:block;
+ background:#3f3f3f;
+}
diff --git a/template/yoga/theme/dark/themeconf.inc.php b/template/yoga/theme/dark/themeconf.inc.php
new file mode 100644
index 000000000..1d2fb319e
--- /dev/null
+++ b/template/yoga/theme/dark/themeconf.inc.php
@@ -0,0 +1,9 @@
+<?php
+$themeconf = array(
+ 'template' => 'yoga',
+ 'theme' => 'dark',
+ 'icon_dir' => PHPWG_ROOT_PATH.'template/yoga/icon',
+ 'admin_icon_dir' => PHPWG_ROOT_PATH.'template/yoga/icon/admin',
+ 'mime_icon_dir' => PHPWG_ROOT_PATH.'template/yoga/icon/mymetypes'
+);
+?>