fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2012-05-13 02:46 pm

[dw-free] Style journal views and enable style=site as an option in settings, and add it to the navi

[commit: http://hg.dwscoalition.org/dw-free/rev/559c2a7636fe]

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

Remove tropo-specific styling; should be in dw-nonfree.

Patch by [personal profile] foxfirefey.

Files modified:
  • bin/upgrading/s2layers/siteviews/themes.s2
  • htdocs/stc/siteviews/tropo-purple.css
  • htdocs/stc/siteviews/tropo-red.css
--------------------------------------------------------------------------------
diff -r 3fecf266967c -r 559c2a7636fe bin/upgrading/s2layers/siteviews/themes.s2
--- a/bin/upgrading/s2layers/siteviews/themes.s2	Sun May 13 18:04:55 2012 +0800
+++ b/bin/upgrading/s2layers/siteviews/themes.s2	Sun May 13 22:47:28 2012 +0800
@@ -7,26 +7,6 @@
     # Do not actually *print* any stylesheets here, but you can $*SITEVIEWS->need_res(...); here to pull in anything.
 }
 
-#NEWLAYER: siteviews/tropo-red
-layerinfo type = "theme";
-layerinfo name = "Tropospherical Red";
-layerinfo redist_uniq = "siteviews/tropo-red";
-
-function Page::print_theme_stylesheet() {
-    # Do not actually *print* any stylesheets here, but you can $*SITEVIEWS->need_res(...); here to pull in anything.
-    $*SITEVIEWS->need_res( "stc/siteviews/tropo-red.css" );
-}
-
-#NEWLAYER: siteviews/tropo-purple
-layerinfo type = "theme";
-layerinfo name = "Tropospherical Purple";
-layerinfo redist_uniq = "siteviews/tropo-purple";
-
-function Page::print_theme_stylesheet() {
-    # Do not actually *print* any stylesheets here, but you can $*SITEVIEWS->need_res(...); here to pull in anything.
-    $*SITEVIEWS->need_res( "stc/siteviews/tropo-purple.css" );
-}
-
 #NEWLAYER: siteviews/celerity
 layerinfo type = "theme";
 layerinfo name = "Celerity";
diff -r 3fecf266967c -r 559c2a7636fe htdocs/stc/siteviews/tropo-purple.css
--- a/htdocs/stc/siteviews/tropo-purple.css	Sun May 13 18:04:55 2012 +0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-.month-wrapper table.month td.day span.label {
-    border-right: 1px solid #999;
-    border-bottom: 1px solid #999;
-    color: #555;
-}
-
-.month-wrapper table.month th { color: #555; }
-
-.month-wrapper table.month td, .month-wrapper table.month th { border: 1px solid #999; }
-
-.month .footer a, .tags-container .manage-link a {
-    background-color: #999;
-    color: white;
-}
-
-.month .footer a:hover, .tags-container .manage-link a:hover { color: #F3D2FC; }
-
-.navigation li.active {
-    color: #999;
-    background-color: #DDDDDD;
-}
-
-.navigation a:hover { color: #F3D2FC; }
diff -r 3fecf266967c -r 559c2a7636fe htdocs/stc/siteviews/tropo-red.css
--- a/htdocs/stc/siteviews/tropo-red.css	Sun May 13 18:04:55 2012 +0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-.month-wrapper table.month td.day span.label {
-    border-right: 1px solid #999;
-    border-bottom: 1px solid #999;
-    color: #555;
-}
-
-.month-wrapper table.month th { color: #555; }
-
-.month-wrapper table.month td, .month-wrapper table.month th { border: 1px solid #999; }
-
-.month .footer a {
-    background-color: #999;
-    color: white;
-}
-
-.month .footer a:hover { color: #FFD8D8; }
-
-.month-wrapper table.month td.day span.label {
-    border-right: 1px solid #999;
-    border-bottom: 1px solid #999;
-    color: #555;
-}
-
-.month .footer a , .tags-container .manage-link a {
-    background-color: #999;
-    color: white;
-}
-
-.month .footer a:hover, .tags-container .manage-link a:hover { color: #FFD8D8; }
-
-.navigation a, .navigation li.active {
-    background-color: #999999;
-    color: white;
-}
-
-.navigation a:hover { color: #FFD8D8; }
-
--------------------------------------------------------------------------------