kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2009-11-21 10:30 pm

[dw-free] Theme: Soft Blues (Drifting)

[commit: http://hg.dwscoalition.org/dw-free/rev/50f2238642d9]

http://bugs.dwscoalition.org/show_bug.cgi?id=2074

New theme, Soft Blues, for Drifting layout.

Theme and image by [personal profile] ambrya. Patch and preview by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/drifting/themes.s2
  • cgi-bin/LJ/S2Theme/drifting.pm
  • htdocs/img/customize/previews/drifting/softblues.png
  • htdocs/stc/drifting/softblues-hdr_right.jpg
--------------------------------------------------------------------------------
diff -r 66b307e6815a -r 50f2238642d9 bin/upgrading/s2layers/drifting/themes.s2
--- a/bin/upgrading/s2layers/drifting/themes.s2	Sat Nov 21 16:16:46 2009 -0600
+++ b/bin/upgrading/s2layers/drifting/themes.s2	Sat Nov 21 16:30:14 2009 -0600
@@ -110,3 +110,53 @@ set color_page_border = "#ffffff";
 set color_page_border = "#ffffff";
 set color_page_subtitle = "#666666";
 set color_entry_background = "#000000";
+
+#NEWLAYER: drifting/softblues
+layerinfo type = "theme";
+layerinfo name = "Soft Blues";
+layerinfo redist_uniq = "drifting/softblues";
+layerinfo author_name = "ambrya";
+ 
+set layout_authors = [ { "name" => "ambrya", "type" => "user" } ];
+
+set color_page_background = "#a59fd7";
+set color_page_text = "#1b1551";
+set color_page_link = "#295d97";
+set color_page_link_visited = "#295d97";
+set color_page_border = "#1b3f6b";
+
+set color_header_background = "#a59fd7";
+
+set color_module_border = "#1b3f6b";
+
+set color_entry_border = "#1b3f6b";
+set color_entry_background = "#928ad7";
+set color_entry_title = "#2300a3";
+
+set color_page_subtitle = "#295d97";
+
+set image_header_right = "drifting/softblues-hdr_right.jpg";
+
+
+function Page::print_theme_stylesheet() {
+    """
+    #header h1#title {
+        margin-left: 10px;
+    }
+
+    #header h2#subtitle {
+        margin-left: 110px;
+    }
+
+    #header,
+    .header-right {
+        height: 5.813em;
+    }
+
+    .header-right {
+        background-position: top right;
+        background-repeat: no-repeat;
+        width: 250px;
+    }
+    """;
+}
diff -r 66b307e6815a -r 50f2238642d9 cgi-bin/LJ/S2Theme/drifting.pm
--- a/cgi-bin/LJ/S2Theme/drifting.pm	Sat Nov 21 16:16:46 2009 -0600
+++ b/cgi-bin/LJ/S2Theme/drifting.pm	Sat Nov 21 16:30:14 2009 -0600
@@ -24,4 +24,10 @@ use base qw( LJ::S2Theme::drifting );
 
 sub cats { qw( ) }
 sub designer { "cesy" }
+
+package LJ::S2Theme::drifting::softblues;
+use base qw( LJ::S2Theme::drifting );
+sub cats { qw( ) }
+sub designer { "ambrya" }
+
 1;
diff -r 66b307e6815a -r 50f2238642d9 htdocs/img/customize/previews/drifting/softblues.png
Binary file htdocs/img/customize/previews/drifting/softblues.png has changed
diff -r 66b307e6815a -r 50f2238642d9 htdocs/stc/drifting/softblues-hdr_right.jpg
Binary file htdocs/stc/drifting/softblues-hdr_right.jpg has changed
--------------------------------------------------------------------------------