Снорк (nely_snork) wrote in changelog,
Снорк
nely_snork
changelog

[ljcom] r11212: LJSUP-10271: Add new blocks to non-cyr h...

Committer: narefieva
LJSUP-10271: Add new blocks to non-cyr homepages and remove two widgets
A   trunk/htdocs/stc/widgets/charity.css
A   trunk/htdocs/stc/widgets/featuredcommunities.css
A   trunk/htdocs/stc/widgets/ljtoday.css
A   trunk/htdocs/stc/widgets/waves.css
U   trunk/htdocs/stc/widgets/widget-layout.css
U   trunk/templates/Homepage/index_en.tmpl
U   trunk/templates/Homepage/index_ru.tmpl
Added: trunk/htdocs/stc/widgets/charity.css
===================================================================
--- trunk/htdocs/stc/widgets/charity.css	                        (rev 0)
+++ trunk/htdocs/stc/widgets/charity.css	2011-11-26 13:56:24 UTC (rev 11212)
@@ -0,0 +1,23 @@
+.appwidget-charity .w-body:after {
+	content: " ";
+	display: block;
+	clear: both;
+	visibility: hidden;
+	height: 0;
+	line-height: 0;
+	}
+	.appwidget-charity .w-body H3 {
+	    margin: 0 0 10px;
+	    font-style: normal;
+	    font-weight: normal;
+	    }
+    .appwidget-charity .w-body IMG.w-pic {
+    	float: left;
+    	max-width:75px;
+    	max-height:75px;
+    	margin: 3px 10px 10px 0;
+    	} 
+    .appwidget-charity .w-body P {
+    	overflow: hidden;
+    	margin: 0;
+    	}

Added: trunk/htdocs/stc/widgets/featuredcommunities.css
===================================================================
--- trunk/htdocs/stc/widgets/featuredcommunities.css	                        (rev 0)
+++ trunk/htdocs/stc/widgets/featuredcommunities.css	2011-11-26 13:56:24 UTC (rev 11212)
@@ -0,0 +1,27 @@
+.w-body {
+    padding: 10px 0 0;
+    font-size: 12px;
+    }
+/* Small reset for widgets */
+.w-body UL,
+.w-body OL,
+.w-body LI {
+    list-style: none;
+	margin: 0;
+	padding: 0;
+	}
+
+
+.appwidget-featuredcommunities IMG.w-pic {
+    max-width: 100%;
+    }
+
+.appwidget-featuredcommunities H3 {
+    margin: 0 0 5px;
+    font-style: normal;
+    font-weight: normal;
+    }
+.appwidget-featuredcommunities P {
+    margin: 0 0 10px;
+    }
+

Added: trunk/htdocs/stc/widgets/ljtoday.css
===================================================================
--- trunk/htdocs/stc/widgets/ljtoday.css	                        (rev 0)
+++ trunk/htdocs/stc/widgets/ljtoday.css	2011-11-26 13:56:24 UTC (rev 11212)
@@ -0,0 +1,13 @@
+.w-body {
+    padding: 10px 0 0;
+    font-size: 12px;
+    }
+/* Small reset for widgets */
+.w-body UL,
+.w-body OL,
+.w-body LI {
+    list-style: none;
+	margin: 0;
+	padding: 0;
+	}
+

Added: trunk/htdocs/stc/widgets/waves.css
===================================================================
--- trunk/htdocs/stc/widgets/waves.css	                        (rev 0)
+++ trunk/htdocs/stc/widgets/waves.css	2011-11-26 13:56:24 UTC (rev 11212)
@@ -0,0 +1,56 @@
+.w-waves {
+    position: relative;
+    height: 280px;
+    }
+.w-wave {
+    min-height: 60px;
+    margin: 0 0 10px;
+    }
+    .w-wave-crest {
+        position: relative;
+        min-height: 60px;
+        margin: 0 0 10px 50%;
+        border: 1px solid #FFF;
+        }
+        .w-wave-crest IMG.w-wave-img {
+            float: left;
+            max-width: 60px;
+            max-height: 60px;
+            margin: 0 10px 0 0;
+            } 
+        .w-wave-crest .w-wave-meta {
+            position: absolute;
+            bottom: 0;
+            left: 70px;
+            }
+        .w-wave-crest H3 {
+            margin-top: -3px 0 0;
+            }
+        .w-wave H3 {
+            font-style: normal;
+            font-weight: normal;
+            margin: 0;
+            }
+    .w-wave-trough {
+        background: #FFF;
+        display: none;
+        position: absolute;
+        top: 0;
+        left: 0;
+        width: 300px;
+        height: 280px;
+        }
+        .w-wave-trough IMG.w-wave-img {
+            max-width: 100%;
+            margin: 0 0 10px;
+            }
+    .w-wave-up .w-wave-trough {
+        display: block;
+        }
+    .w-wave:hover .w-wave-trough {
+        display: block;
+        }
+    .w-wave:hover .w-wave-crest {
+        background: #C7E0F6;
+        border-color: #C7E0F6;
+        }    
\ No newline at end of file

Modified: trunk/htdocs/stc/widgets/widget-layout.css
===================================================================
--- trunk/htdocs/stc/widgets/widget-layout.css	2011-11-25 15:47:58 UTC (rev 11211)
+++ trunk/htdocs/stc/widgets/widget-layout.css	2011-11-26 13:56:24 UTC (rev 11212)
@@ -1,3 +1,6 @@
+.w {
+    margin: 0 0 20px;
+    }
 .w-head {
     position: relative;
     background: #C7E0F6 !important;

Modified: trunk/templates/Homepage/index_en.tmpl
===================================================================
--- trunk/templates/Homepage/index_en.tmpl	2011-11-25 15:47:58 UTC (rev 11211)
+++ trunk/templates/Homepage/index_en.tmpl	2011-11-26 13:56:24 UTC (rev 11212)
@@ -21,13 +21,18 @@
             <div class='homepage-minipromo pkg'>
                 <tmpl_var widget_promotext>
             </div>
-            <TMPL_IF 0><tmpl_var widget_gamelist></TMPL_IF>
+
+			<!-- #LJ Today -->
+			<tmpl_var widget_ljtoday>
+            
+			<TMPL_IF 0><tmpl_var widget_gamelist></TMPL_IF>
+			
             <!-- #Old Spotlight -->
             <tmpl_var widget_journalspotlight>
             <tmpl_var widget_recentcomments>
             <tmpl_var widget_searchjournals>
 
-            <!-- #New & Cool features widgets -->
+            <TMPL_IF 0><!-- #New & Cool features widgets -->
             <div class="l-wrap l-col2-50">
                 <div class="l-col-1">
                     <tmpl_var widget_news>
@@ -35,7 +40,8 @@
                 <div class="l-col-2">
                     <tmpl_var widget_marqueefeatures>
                 </div>
-            </div>
+            </div></TMPL_IF>
+
             <!-- #Photos2Homepage & PollOfTheDay -->
             <div class="l-wrap l-col2-50">
                 <div class="l-col-1">
@@ -45,23 +51,24 @@
                     <tmpl_var widget_polloftheday>
                 </div>
             </div>
-            <tmpl_var widget_ljtoday>
-            <tmpl_include expr="facebooksearchus">
-            <tmpl_include expr="followusontwitter">
-            <tmpl_var widget_charity>
-            <tmpl_var widget_featured_communities>
         </div>
 
         <div style="float: left; position: relative; width: 300px; padding-left: 20px; margin-right: -320px;">
-            <tmpl_var ad>
+            <div class="homepage-ad"> 
+				<tmpl_var ad>
+			</div>
             <tmpl_var uk_block>
             <tmpl_var info_box>
             <tmpl_var widget_trynbuy>
             <tmpl_var widget_vgifts>
  			<tmpl_include expr="voteforus">
             <tmpl_var widget_updatesforuser>
-            <tmpl_var widget_featuredstyles>
-        </div>
+			<tmpl_var widget_charity>
+			<TMPL_IF 0><tmpl_var widget_featuredstyles></TMPL_IF>
+			<tmpl_var widget_featured_communities>
+			<tmpl_include expr="facebooksearchus">
+			<tmpl_include expr="followusontwitter">
+			       
     </div><!-- end .homepage-loggedin  -->
 
 <tmpl_else>
@@ -95,14 +102,17 @@
 
                 <!-- #Sign UP button -->
                 <p class="b-signup"><a href="<tmpl_var siteroot>/create.bml"><span><tmpl_var expr="ml('.loggedout.signup')"></span></a></p>
-
+				
+				<!-- #LJ Today -->
+				<tmpl_var widget_ljtoday>
+				
                 <!-- #Old spotlight -->
                 <tmpl_var widget_journalspotlight>
 
                 <!-- #Search Journals widget -->
                 <tmpl_var widget_searchjournals>
 
-                <!-- #New & Cool features widgets -->
+                 <TMPL_IF 0><!-- #New & Cool features widgets -->
                 <div class="l-wrap l-col2-50">
                     <div class="l-col-1">
                         <tmpl_var widget_news>
@@ -110,7 +120,18 @@
                     <div class="l-col-2">
                         <tmpl_var widget_marqueefeatures>
                     </div>
-                </div>
+                </div></TMPL_IF>
+
+				<!-- #Photos2Homepage & PollOfTheDay -->
+	            <div class="l-wrap l-col2-50">
+	                <div class="l-col-1">
+	                    <tmpl_var widget_photos2homepage>
+	                </div>
+	                <div class="l-col-2">
+	                    <tmpl_var widget_polloftheday>
+	                </div>
+	            </div>
+
             </div><!-- end .l-content -->
 
             <div class="l-sidebar">
@@ -148,9 +169,11 @@
                 </div><!-- end .homepage-stats -->
 
                 <tmpl_var widget_trynbuy>
+	            <tmpl_var widget_charity>
+				<tmpl_var widget_featured_communities>
+				<tmpl_include expr="facebooksearchus">
+	            <tmpl_include expr="followusontwitter">
 
-                <tmpl_var widget_photos2homepage>
-                <tmpl_var widget_polloftheday>
             </div><!-- end .l-sidebar -->
 
         </div><!-- end .l-body -->

Modified: trunk/templates/Homepage/index_ru.tmpl
===================================================================
--- trunk/templates/Homepage/index_ru.tmpl	2011-11-25 15:47:58 UTC (rev 11211)
+++ trunk/templates/Homepage/index_ru.tmpl	2011-11-26 13:56:24 UTC (rev 11212)
@@ -49,7 +49,7 @@
 
             <tmpl_var widget_vgifts>
 
-            <tmpl_var widget_featuredstyles>
+            <tmpl_var widget_featured_communities>
 
             <tmpl_var widget_friendupdates>
 

Tags: css, ljcom, narefieva, nely_snork, tmpl
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