Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[livejournal] r19841: LJSUP-8857: Updating commenting form

Committer: esavintcev
LJSUP-8857: Updating commenting form
U   trunk/htdocs/stc/lj_base.css
U   trunk/templates/CommentForm/Form.tmpl
Modified: trunk/htdocs/stc/lj_base.css
===================================================================
--- trunk/htdocs/stc/lj_base.css	2011-08-25 08:30:45 UTC (rev 19840)
+++ trunk/htdocs/stc/lj_base.css	2011-08-25 08:59:01 UTC (rev 19841)
@@ -1452,6 +1452,7 @@
 	}
 
 /* not a friend/member */
+.b-postform-authtype-anonymous.b-postform-user-friendonly .b-postform-alert-notafriend,
 .b-postform-authtype-anonymous.b-postform-user-notafriend .b-postform-alert-notafriend,
 .b-postform-realauth-cookieuser.b-postform-authtype-cookieuser.b-postform-user-notafriend .b-postform-alert-notafriend,
 .b-postform-realauth-facebook_cookie.b-postform-authtype-facebook_cookie.b-postform-user-notafriend .b-postform-alert-notafriend,
@@ -1866,6 +1867,25 @@
 			#js .b-postform-login-opts {
 				display:block;
 				}
+	.replyform TABLE .b-postform-preload {
+		padding: 0 0.4em 10px 0;
+		vertical-align: bottom;
+		text-align: right;
+		}
+		.b-postform-preloader {
+			overflow: hidden;
+			visibility: hidden;
+			position: static;
+			display: block;
+			width: 11px;
+			height: 3px;
+			margin: 0 0 0 auto;
+			padding: 0;
+			background: url(/img/preloader-s.gif?v=1) no-repeat 0 0;
+			}
+		.b-postform-preload-active .b-postform-preloader {
+			visibility: visible;
+			}
 
 
 

Modified: trunk/templates/CommentForm/Form.tmpl
===================================================================
--- trunk/templates/CommentForm/Form.tmpl	2011-08-25 08:30:45 UTC (rev 19840)
+++ trunk/templates/CommentForm/Form.tmpl	2011-08-25 08:59:01 UTC (rev 19841)
@@ -108,7 +108,7 @@
             <TMPL_VAR extra_rows>
 
             <tr class="b-postform-submitbox">
-                <td>&nbsp;</td>
+                <td class="b-postform-preload"><i class="b-postform-preloader"></i></td>
                 <td>
                     <TMPL_IF captcha_html>
                         <TMPL_VAR captcha_html>

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