changelog_bot (changelog_bot) wrote in changelog,
changelog_bot
changelog_bot
changelog

[ljcom] r11796: Optimization of Css for new Expressive t...

Committer: ybuhvalova
Optimization of Css for new Expressive themes
U   trunk/bin/upgrading/s2layers/voxhtml/layout.s2
Modified: trunk/bin/upgrading/s2layers/voxhtml/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/voxhtml/layout.s2	2012-04-25 12:25:16 UTC (rev 11795)
+++ trunk/bin/upgrading/s2layers/voxhtml/layout.s2	2012-04-25 12:29:16 UTC (rev 11796)
@@ -79,6 +79,12 @@
     }
     set layout_type = "2CL";
 
+    property bool use_improve_layout {
+        des = "Use improve-layout.css";
+        noui = 1;
+    }
+    set use_improve_layout = false;
+
     property string{} theme_stylesheet {
         noui = 1;
     }
@@ -1708,7 +1714,10 @@
             if ($parent_css{$theme} and not $no_parent_css{$*base_theme}) {
                 $p->need_res({"args" => "media=\"screen\"" }, ["stc/voxhtml/$theme/screen.css"]);
             }
-            
+            if($*use_improve_layout){
+                $p->need_res({"args" => "media=\"screen\"" }, ["stc/voxhtml/improve-layout.css"]);
+            }
+
             println safe """<link rel="stylesheet" href="$*STATDIR/voxhtml/$*theme_stylesheet{$*base_theme}" type="text/css" />\n""";
             
         }

Tags: changelog_bot, ljcom, s2, ybuhvalova
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments