[dw-free] New Style: Abstractia by chiming
[commit: http://hg.dwscoalition.org/dw-free/rev/d016e56edd35]
http://bugs.dwscoalition.org/show_bug.cgi?id=4289
New theme for Abstractia: Bubble Gum.
Patch by
chiming.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=4289
New theme for Abstractia: Bubble Gum.
Patch by
Files modified:
- bin/upgrading/s2layers/abstractia/themes.s2
- htdocs/img/customize/previews/abstractia/bubblegum.png
- htdocs/stc/abstractia/bubblegum-archive-calendar.png
- htdocs/stc/abstractia/bubblegum-calendar-and-form.png
- htdocs/stc/abstractia/bubblegum-content-header.png
- htdocs/stc/abstractia/bubblegum-content.png
- htdocs/stc/abstractia/bubblegum-page.jpg
- htdocs/stc/abstractia/bubblegum-sidebar.png
- htdocs/stc/abstractia/bubblegum-userpic.png
--------------------------------------------------------------------------------
diff -r 063d97887e11 -r d016e56edd35 bin/upgrading/s2layers/abstractia/themes.s2
--- a/bin/upgrading/s2layers/abstractia/themes.s2 Tue Mar 20 15:23:18 2012 +0800
+++ b/bin/upgrading/s2layers/abstractia/themes.s2 Tue Mar 20 17:59:48 2012 +0800
@@ -854,6 +854,116 @@
set image_background_calendar_and_form_repeat = "repeat";
set image_background_calendar_and_form_url = "abstractia/aulait-calendar-and-form.png";
+##===============================
+## Edit for dark-on-light styles
+##===============================
+
+function Page::print_theme_stylesheet () {
+
+var string calendar_and_form_image = generate_background_css ($*image_background_calendar_and_form_url, $*image_background_calendar_and_form_repeat, $*image_background_calendar_and_form_position, $*color_calendar_and_form_background);
+
+ """
+ .module-navlinks .current { $calendar_and_form_image }
+ """;
+}
+
+
+#NEWLAYER: abstractia/bubblegum
+layerinfo "type" = "theme";
+layerinfo "name" = "Bubble Gum";
+layerinfo author_name = "chiming";
+layerinfo "redist_uniq" = "abstractia/bubblegum";
+
+set theme_authors = [ { "name" => "chiming", "type" => "user" } ];
+
+#VARIABLES
+
+##===============================
+## Page Colors
+##===============================
+
+set color_page_background = "#fff";
+set color_page_border = "#bb667d";
+set color_page_link = "#700421";
+set color_page_link_active = "#501103";
+set color_page_link_visited = "#4f0317";
+set color_page_link_hover = "#700421";
+set color_page_text = "#360c17";
+set color_page_title = "#701d33";
+
+##===============================
+## Entry Colors
+##===============================
+
+set color_entry_interaction_links = "#700421";
+set color_entry_link = "#700421";
+set color_entry_link_active = "#4f0317";
+set color_entry_link_hover = "#4f0317";
+set color_entry_link_visited = "#5c0018";
+set color_entry_text = "#360c17";
+set color_entry_title = "#700421";
+
+##===============================
+## Comment Colors
+##===============================
+
+set color_comment_title = "#700421";
+
+##===============================
+## Footer Colors
+##===============================
+
+set color_footer_link = "#700421";
+set color_footer_link_active = "#4f0317";
+set color_footer_link_hover = "#4f0317";
+set color_footer_link_visited = "#700421";
+
+##===============================
+## Module Colors
+##===============================
+
+set color_module_link = "#700421";
+set color_module_link_active = "#4f0317";
+set color_module_link_hover = "#4f0317";
+set color_module_link_visited = "#700421";
+set color_module_text = "#360c17";
+set color_module_title = "#360c17";
+
+##===============================
+## Images
+##===============================
+
+### For most themes, only change the background image
+
+set image_background_page_position = "top center";
+set image_background_page_repeat = "no-repeat";
+set image_background_page_url = "abstractia/bubblegum-page.jpg";
+set image_background_content_header_position = "top left";
+set image_background_content_header_repeat = "repeat";
+set image_background_content_header_url = "abstractia/bubblegum-content-header.png";
+set image_background_content_position = "top left";
+set image_background_content_repeat = "repeat";
+set image_background_content_url = "abstractia/bubblegum-content.png";
+set image_background_content_footer_position = "top left";
+set image_background_content_footer_repeat = "repeat";
+set image_background_content_footer_url = "abstractia/content-footer.png";
+set image_background_userpic_position = "top left";
+set image_background_userpic_repeat = "repeat";
+set image_background_userpic_url = "abstractia/bubblegum-userpic.png";
+set image_background_sidebar_position = "top left";
+set image_background_sidebar_repeat = "repeat";
+set image_background_sidebar_url = "abstractia/bubblegum-sidebar.png";
+set image_background_archive_calendar_position = "top left";
+set image_background_archive_calendar_repeat = "repeat";
+set image_background_archive_calendar_url = "abstractia/bubblegum-archive-calendar.png";
+set image_background_calendar_and_form_position = "top left";
+set image_background_calendar_and_form_repeat = "repeat";
+set image_background_calendar_and_form_url = "abstractia/bubblegum-calendar-and-form.png";
+
+##===============================
+## Edit for dark-on-light styles
+##===============================
+
function Page::print_theme_stylesheet () {
var string calendar_and_form_image = generate_background_css ($*image_background_calendar_and_form_url, $*image_background_calendar_and_form_repeat, $*image_background_calendar_and_form_position, $*color_calendar_and_form_background);
@@ -956,6 +1066,10 @@
set image_background_calendar_and_form_repeat = "repeat";
set image_background_calendar_and_form_url = "abstractia/sky-calendar-and-form.png";
+##===============================
+## Edit for dark-on-light styles
+##===============================
+
function Page::print_theme_stylesheet () {
var string calendar_and_form_image = generate_background_css ($*image_background_calendar_and_form_url, $*image_background_calendar_and_form_repeat, $*image_background_calendar_and_form_position, $*color_calendar_and_form_background);
diff -r 063d97887e11 -r d016e56edd35 htdocs/img/customize/previews/abstractia/bubblegum.png
Binary file htdocs/img/customize/previews/abstractia/bubblegum.png has changed
diff -r 063d97887e11 -r d016e56edd35 htdocs/stc/abstractia/bubblegum-archive-calendar.png
Binary file htdocs/stc/abstractia/bubblegum-archive-calendar.png has changed
diff -r 063d97887e11 -r d016e56edd35 htdocs/stc/abstractia/bubblegum-calendar-and-form.png
Binary file htdocs/stc/abstractia/bubblegum-calendar-and-form.png has changed
diff -r 063d97887e11 -r d016e56edd35 htdocs/stc/abstractia/bubblegum-content-header.png
Binary file htdocs/stc/abstractia/bubblegum-content-header.png has changed
diff -r 063d97887e11 -r d016e56edd35 htdocs/stc/abstractia/bubblegum-content.png
Binary file htdocs/stc/abstractia/bubblegum-content.png has changed
diff -r 063d97887e11 -r d016e56edd35 htdocs/stc/abstractia/bubblegum-page.jpg
Binary file htdocs/stc/abstractia/bubblegum-page.jpg has changed
diff -r 063d97887e11 -r d016e56edd35 htdocs/stc/abstractia/bubblegum-sidebar.png
Binary file htdocs/stc/abstractia/bubblegum-sidebar.png has changed
diff -r 063d97887e11 -r d016e56edd35 htdocs/stc/abstractia/bubblegum-userpic.png
Binary file htdocs/stc/abstractia/bubblegum-userpic.png has changed
--------------------------------------------------------------------------------
