[dw-nonfree] Themes: Basic Boxes, ColorSide, Stepping Stones, Modish
[commit: http://hg.dwscoalition.org/dw-nonfree/rev/9b4c7c22d6cc]
http://bugs.dwscoalition.org/show_bug.cgi?id=1661
Modish themes: Lotus, Teal
Patch by
branchandroot, screenshots by
piranha.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1661
Modish themes: Lotus, Teal
Patch by
Files modified:
- bin/upgrading/s2layers/modish/themes-local.s2
- cgi-bin/LJ/S2Theme/modish_local.pm
- htdocs/img/customize/previews/modish/lotus.png
- htdocs/img/customize/previews/modish/teal.png
- htdocs/stc/modish/bluestrip.jpg
- htdocs/stc/modish/lotus.jpg
- htdocs/stc/modish/whtleaves.jpg
--------------------------------------------------------------------------------
diff -r 741eb8ad4c0a -r 9b4c7c22d6cc bin/upgrading/s2layers/modish/themes-local.s2
--- a/bin/upgrading/s2layers/modish/themes-local.s2 Sun Aug 30 03:11:55 2009 +0000
+++ b/bin/upgrading/s2layers/modish/themes-local.s2 Wed Sep 02 17:41:11 2009 +0000
@@ -1,3 +1,49 @@
+#NEWLAYER: modish/lotus
+layerinfo "type" = "theme";
+layerinfo "name" = "Lotus";
+layerinfo redist_uniq = "modish/lotus";
+layerinfo author_name = "branchandroot";
+
+set layout_resources = [ { "name" => "Stock.XCHNG", "url" => "http://www.sxc.hu" } ];
+
+##===============================
+## Page Colors
+##===============================
+
+set color_page_background = "#262512";
+set color_page_text = "#EDE8E2";
+set color_page_link = "#8E8D31";
+set color_page_link_active = "#57561E";
+set color_page_link_visited = "#737329";
+set color_page_title = "#ffffff";
+
+set color_header_background = "#737329";
+set color_footer_background = "#737329";
+
+##===============================
+## Entry Colors
+##===============================
+
+set color_entry_title = "#EDE8E2";
+set color_entry_title_background = "";
+set color_entry_border = "#8E8D31";
+
+##===============================
+## Module Colors
+##===============================
+
+set color_module_title = "#EDE8E2";
+set color_module_border = "#8E8D31";
+
+#=================
+# Images
+#=================
+
+set image_background_header_url = "modish/lotus.jpg";
+set image_background_header_repeat = "no-repeat";
+set image_background_header_position = "bottom right";
+
+
#NEWLAYER: modish/scarlet
layerinfo "type" = "theme";
layerinfo "name" = "Modish Scarlet";
@@ -43,3 +89,68 @@ set image_background_header_repeat = "no
set image_background_header_repeat = "no-repeat";
set image_background_header_position = "bottom right";
set image_background_header_height = 100;
+
+
+#NEWLAYER: modish/teal
+layerinfo "type" = "theme";
+layerinfo "name" = "Teal";
+layerinfo redist_uniq = "modish/teal";
+layerinfo author_name = "branchandroot";
+
+set layout_resources = [ { "name" => "Stock.XCHNG", "url" => "http://www.sxc.hu" } ];
+
+##===============================
+## Page Colors
+##===============================
+
+set color_page_background = "#222222";
+set color_page_text = "#eeeeee";
+set color_page_link = "#59a4c4";
+set color_page_link_active = "#155671";
+set color_page_link_visited = "#3984A4";
+set color_page_title = "#ffffff";
+
+set color_header_background = "#4f98b8";
+set color_footer_background = "#4f98b8";
+
+##===============================
+## Entry Colors
+##===============================
+
+set color_entry_title = "#eee";
+set color_entry_title_background = "";
+set color_entry_border = "#3984A4";
+
+##===============================
+## Module Colors
+##===============================
+
+set color_module_title = "#eee";
+set color_module_border = "#3984A4";
+
+#=================
+# Images
+#=================
+
+set image_background_header_url = "modish/bluestrip.jpg";
+set image_background_header_repeat = "repeat-x";
+set image_background_header_position = "top right";
+
+
+#to add second header background image
+function Page::print_custom_head() {
+
+ if ($*image_background_header_url == "$*STATDIR/modish/bluestrip.jpg") {
+ print safe """
+ <style>
+ #header .inner { background: url('$*STATDIR/modish/whtleaves.jpg') top right no-repeat;
+ margin-right: -200px;
+ padding-right: 200px;
+ padding-top: 1px; }
+ </style>
+ """;
+ }
+
+}
+
+
diff -r 741eb8ad4c0a -r 9b4c7c22d6cc cgi-bin/LJ/S2Theme/modish_local.pm
--- a/cgi-bin/LJ/S2Theme/modish_local.pm Sun Aug 30 03:11:55 2009 +0000
+++ b/cgi-bin/LJ/S2Theme/modish_local.pm Wed Sep 02 17:41:11 2009 +0000
@@ -1,5 +1,13 @@ package LJ::S2Theme::modish::scarlet;
+package LJ::S2Theme::modish::lotus;
+use base qw( LJ::S2Theme::modish );
+sub cats { qw() }
+
package LJ::S2Theme::modish::scarlet;
use base qw( LJ::S2Theme::modish );
sub cats { qw( featured ) }
+package LJ::S2Theme::modish::teal;
+use base qw( LJ::S2Theme::modish );
+sub cats { qw() }
+
1;
diff -r 741eb8ad4c0a -r 9b4c7c22d6cc htdocs/img/customize/previews/modish/lotus.png
Binary file htdocs/img/customize/previews/modish/lotus.png has changed
diff -r 741eb8ad4c0a -r 9b4c7c22d6cc htdocs/img/customize/previews/modish/teal.png
Binary file htdocs/img/customize/previews/modish/teal.png has changed
diff -r 741eb8ad4c0a -r 9b4c7c22d6cc htdocs/stc/modish/bluestrip.jpg
Binary file htdocs/stc/modish/bluestrip.jpg has changed
diff -r 741eb8ad4c0a -r 9b4c7c22d6cc htdocs/stc/modish/lotus.jpg
Binary file htdocs/stc/modish/lotus.jpg has changed
diff -r 741eb8ad4c0a -r 9b4c7c22d6cc htdocs/stc/modish/whtleaves.jpg
Binary file htdocs/stc/modish/whtleaves.jpg has changed
--------------------------------------------------------------------------------
