Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[livejournal] r17667: LJSUP-7052: styles foe autocomplete; pos...

Committer: mchervonniy
LJSUP-7052: styles foe autocomplete; post's time replaced by username
U   trunk/htdocs/stc/widgets/search.css
U   trunk/templates/Browse/search.tmpl
U   trunk/templates/Browse/top_posts.tmpl
Modified: trunk/htdocs/stc/widgets/search.css
===================================================================
--- trunk/htdocs/stc/widgets/search.css	2010-11-11 05:43:48 UTC (rev 17666)
+++ trunk/htdocs/stc/widgets/search.css	2010-11-11 07:47:47 UTC (rev 17667)
@@ -54,24 +54,34 @@
 			text-decoration:none;
 			}
 		.b-search-tags A:hover {
-			border-bottom:1px dotted #4C6AA4;
+			text-decoration:underline;
 			}
 
-.b-hint-popup {
+.b-hint-popup,
+.ui-autocomplete {
 	position:absolute;
 	width:234px;
 	top:68px;
 	left:11px;
+	padding:0;
 	border:1px solid #E6E6E6;
 	background:#FFF;
 	}
-	.b-hint-popup A,
-	.b-hint-popup SPAN {
-		display:block;
-		padding:.2em 4px;
-		text-decoration:none;
+	.ui-autocomplete LI {
+		list-style-type:none;
 		}
-	.b-hint-popup A:hover {
-		background:#F6F6F6;
-		}
+		.ui-autocomplete A,
+		.ui-autocomplete SPAN,
+		.b-hint-popup A,
+		.b-hint-popup SPAN {
+			display:block;
+			padding:.2em 4px;
+			text-decoration:none;
+			cursor:pointer;
+			}
+		.ui-state-hover,
+		.ui-autocomplete A:hover,
+		.b-hint-popup A:hover {
+			background:#F6F6F6;
+			}
 

Modified: trunk/templates/Browse/search.tmpl
===================================================================
--- trunk/templates/Browse/search.tmpl	2010-11-11 05:43:48 UTC (rev 17666)
+++ trunk/templates/Browse/search.tmpl	2010-11-11 07:47:47 UTC (rev 17667)
@@ -13,12 +13,9 @@
 			<fieldset>
 				<p>
 					<label for="search_text" id="search_text_label">Find</label>
-					<input class="type-text" id="search_text" name="search_text" type="text" value="" />
+					<input class="type-text" id="search_text" name="search_text" type="text" value="" autocomplete="off" />
 					<input type="submit" id="do_search" name="do_search" value="Go"/>
 				</p>
-				<ul class="b-hint-popup" id="search_text_hint">
-					<!--<li><a href="javascript:void(0);">TAG</a></li>-->
-				</ul>
 				<ul class="b-search-tags">
 				<tmpl_loop tags>
 					<li<tmpl_if __last__> class="last"</tmpl_if>><a href="<tmpl_var search_url>/<tmpl_var tag><tmpl_if view>?view=<tmpl_var view></tmpl_if>"><tmpl_var tag></a></li>

Modified: trunk/templates/Browse/top_posts.tmpl
===================================================================
--- trunk/templates/Browse/top_posts.tmpl	2010-11-11 05:43:48 UTC (rev 17666)
+++ trunk/templates/Browse/top_posts.tmpl	2010-11-11 07:47:47 UTC (rev 17667)
@@ -16,7 +16,7 @@
 					<dt><img src="<tmpl_var userpic>"></dt>
 					<dd>
 						<h3 class="b-posts-head"><a href="<tmpl_var url_to_post>"><tmpl_var subject></a></h3>
-						<p class="b-posts-data"><i class="i-posts-time">Posted <tmpl_var updated_ago> |</i> <i class="i-posts-comments"><a href="<tmpl_var url_to_post>"><tmpl_var comments_count> comments</a></i></p>
+						<p class="b-posts-data"><tmpl_var ljuser><i class="i-posts-delimiter"> | </i><i class="i-posts-comments"><a href="<tmpl_var url_to_post>"><tmpl_var comments_count> comments</a></i></p>
 					</dd>
 				</dl>
 			</li>

Tags: css, fiskus_boulder, livejournal, 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