wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[ljcom] r10073: LJSUP-7829. Landing pages. Additional de...

Committer: gprochaev
LJSUP-7829. Landing pages. Additional development

U   trunk/cgi-bin/LJ/Nav.pm
U   trunk/htdocs/stc/catalogue/catalogue.css
U   trunk/htdocs/stc/widgets/featuredcomms.css
U   trunk/htdocs/stc/widgets/featuredposts.css
U   trunk/htdocs/stc/widgets/widget-layout.css
Modified: trunk/cgi-bin/LJ/Nav.pm
===================================================================
--- trunk/cgi-bin/LJ/Nav.pm	2011-02-18 05:30:45 UTC (rev 10072)
+++ trunk/cgi-bin/LJ/Nav.pm	2011-02-18 07:48:29 UTC (rev 10073)
@@ -295,7 +295,7 @@
         if (LJ::run_hook("remote_should_see_vertical_nav")) {
             push @nav, { name => BML::ml('horizon.barenav.explore'), url => "$siteroot/explore/" };
 
-            my @verticals = LJ::Vertical->load_for_nav;
+            my @verticals = LJ::Vertical->load_all;
             foreach my $vert (@verticals) {
                 push @nav, {
                     name => $vert->{display_name},
@@ -467,7 +467,7 @@
 
     } elsif (LJ::run_hook("remote_should_see_vertical_nav")) {
         my @find_links;
-        my @verticals = LJ::Vertical->load_for_nav;
+        my @verticals = LJ::Vertical->load_all;
         foreach my $vert (@verticals) {
             push @find_links, {
                 url => $vert->{url},
@@ -540,7 +540,7 @@
         if (LJ::run_hook("remote_should_see_vertical_nav")) {
             push @nav, { name => BML::ml('horizon.barenav.explore'), url => "$siteroot/explore/" };
 
-            my @verticals = LJ::Vertical->load_for_nav;
+            my @verticals = LJ::Vertical->load_all;
             foreach my $vert (@verticals) {
                 push @nav, {
                     name => $vert->{display_name},
@@ -710,7 +710,7 @@
 
     } elsif (LJ::run_hook("remote_should_see_vertical_nav")) {
         my @find_links;
-        my @verticals = LJ::Vertical->load_for_nav;
+        my @verticals = LJ::Vertical->load_all;
         foreach my $vert (@verticals) {
             push @find_links, {
                 url => $vert->{url},

Modified: trunk/htdocs/stc/catalogue/catalogue.css
===================================================================
--- trunk/htdocs/stc/catalogue/catalogue.css	2011-02-18 05:30:45 UTC (rev 10072)
+++ trunk/htdocs/stc/catalogue/catalogue.css	2011-02-18 07:48:29 UTC (rev 10073)
@@ -265,6 +265,10 @@
 			min-height:100px;
 			margin:0 0 0 110px;
 			}
+			.appwidget-browse .b-catalogue-item DT.b-catalogue-item-subject {
+				font-size:1.2em;
+				line-height:1.4em;
+				}
 			.appwidget-browse .b-catalogue-item DT.b-catalogue-item-name {
 				font-size:12px;
 				padding:0 0 10px;
@@ -364,11 +368,25 @@
 .appwidget-browse .lj_embedcontent {
 	display:none;
 	}
+.appwidget-browse-header-wrapper {
+	width:940px;
+	margin:0 auto
+	}
+.appwidget-browse-back {
+	font-size:14px;
+	vertical-align:middle;
+	margin:0 0 0 10px;
+	}
+.appwidget-browse-back:hover {
+	text-decoration:none;
+	}
 A.appwidget-browse-header:link,
 A.appwidget-browse-header:visited,
 A.appwidget-browse-header:hover,
 A.appwidget-browse-header:active {
 	color:#036;
+	vertical-align:middle;
+	font-size:x-large;
 	text-decoration:none;
 	font-weight:bold;
 	}

Modified: trunk/htdocs/stc/widgets/featuredcomms.css
===================================================================
--- trunk/htdocs/stc/widgets/featuredcomms.css	2011-02-18 05:30:45 UTC (rev 10072)
+++ trunk/htdocs/stc/widgets/featuredcomms.css	2011-02-18 07:48:29 UTC (rev 10073)
@@ -11,16 +11,16 @@
 	padding:0;
 	}
 .appwidget-featuredcomms .b-posts LI {
-	padding:0 5px;
+	padding:0 10px;
 	list-style:none;
 	}
-	.appwidget-featuredcomms .b-catalogue-item-action li {
+	.appwidget-featuredcomms .b-catalogue-item-action LI {
 		float:left;
 		padding:0 5px 0 0;
 		}
 	.appwidget-featuredcomms .b-posts DL {
 		position:relative;
-		padding:5px;
+		padding:5px 0;
 		overflow:hidden;
 		border-bottom:1px dotted #CCC;
 		}
@@ -29,17 +29,23 @@
 		}
 		.appwidget-featuredcomms .b-posts DT {
 			float:left;
-			margin:7px 0 0 0;
 			}
 			.appwidget-featuredcomms .b-posts DT IMG {
 				width:60px;
 				height:60px;
+				display:block;
 				}
 		.appwidget-featuredcomms .b-posts DD {
 			padding:0 0 0 70px;
 			margin:0;
 			}
+			.appwidget-featuredcomms .b-posts-head,
+			.appwidget-featuredcomms .b-posts-data {
+				margin:6px 0;
+				}
 			.appwidget-featuredcomms .b-posts-head {
+				position:relative;
+				margin:-2px 0 6px;
 				font-size:12px;
 				font-style:normal;
 				font-weight:normal;
@@ -48,11 +54,6 @@
 				min-height:5px;
 				font-size:11px;
 				}
-			.appwidget-featuredcomms .b-posts-head,
-			.appwidget-featuredcomms .b-posts-data {
-				margin:6px 0;
-				}
-				min-height:5px;
 				.appwidget-featuredcomms .b-posts I {
 					font-style:normal;
 					}

Modified: trunk/htdocs/stc/widgets/featuredposts.css
===================================================================
--- trunk/htdocs/stc/widgets/featuredposts.css	2011-02-18 05:30:45 UTC (rev 10072)
+++ trunk/htdocs/stc/widgets/featuredposts.css	2011-02-18 07:48:29 UTC (rev 10073)
@@ -6,12 +6,13 @@
 	padding:0;
 	}
 .appwidget-featuredposts .b-posts LI {
-	padding:0 5px;
+	padding:0 10px;
 	list-style:none;
 	}
 	.appwidget-featuredposts .b-posts DL {
 		position:relative;
-		padding:5px;
+		padding:5px 0;
+		overflow:hidden;
 		border-bottom:1px dotted #CCC;
 		}
 	.appwidget-featuredposts .b-posts .last DL {
@@ -19,23 +20,26 @@
 		}
 		.appwidget-featuredposts .b-posts DT {
 			float:left;
-			margin:7px 0 0 0;
 			}
 			.appwidget-featuredposts .b-posts DT IMG {
 				width:60px;
 				height:60px;
+				display:block;
 				}
 		.appwidget-featuredposts .b-posts DD {
 			padding:0 0 0 70px;
 			margin:0;
 			}
 			.appwidget-featuredposts .b-posts-head {
-				min-height:40px;
+				margin:-2px 0 0;
+				position:relative;
+				min-height:45px;
 				font-size:12px;
 				font-style:normal;
 				font-weight:normal;
 				}
 			.appwidget-featuredposts .b-posts-data {
+				margin:0;
 				font-size:11px;
 				}
 				.appwidget-featuredposts .b-posts I {

Modified: trunk/htdocs/stc/widgets/widget-layout.css
===================================================================
--- trunk/htdocs/stc/widgets/widget-layout.css	2011-02-18 05:30:45 UTC (rev 10072)
+++ trunk/htdocs/stc/widgets/widget-layout.css	2011-02-18 07:48:29 UTC (rev 10073)
@@ -63,6 +63,6 @@
 	background:#F6F6F6;
 	}
 .appwidget-browse .w-content {
-	padding:7px 0;
+	padding:10px 0;
 	}
 

Tags: css, ljcom, pm, wisest-owl
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