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

[livejournal] r19020: LJSUP-8746: Google Identity

Committer: esavintcev
LJSUP-8746: Google Identity
U   trunk/htdocs/login.bml
U   trunk/htdocs/login.bml.text
U   trunk/htdocs/stc/ie.css
U   trunk/htdocs/stc/lj_base.css
Modified: trunk/htdocs/login.bml
===================================================================
--- trunk/htdocs/login.bml	2011-05-04 08:07:59 UTC (rev 19019)
+++ trunk/htdocs/login.bml	2011-05-04 08:17:18 UTC (rev 19020)
@@ -223,6 +223,7 @@
             $body .= "<a href=\"<?siteroot?>/identity/login.bml?type=openid\"><img src=\"$LJ::IMGPREFIX/icons/openid-32.gif?v=1\" width=\"32\" height=\"32\" alt=\"$ML{'.connect.openid'}\" title=\"$ML{'.connect.openid'}\" /></a>";
             $body .= " <a href=\"<?siteroot?>/identity/login.bml?type=facebook\"><img src=\"$LJ::IMGPREFIX/icons/facebook-32.gif?v=1\" width=\"32\" height=\"32\" alt=\"$ML{'.connect.facebook'}\" title=\"$ML{'.connect.facebook'}\" /></a>";
             $body .= " <a href=\"<?siteroot?>/identity/login.bml?type=twitter\"><img src=\"$LJ::IMGPREFIX/icons/twitter-32.gif?v=2\" width=\"32\" height=\"32\" alt=\"$ML{'.connect.twitter'}\" title=\"$ML{'.connect.twitter'}\" /></a>";
+            $body .= " <a href=\"<?siteroot?>/identity/login.bml?type=google\"><img src=\"$LJ::IMGPREFIX/icons/google-32.png?v=1\" width=\"32\" height=\"32\" alt=\"$ML{'.connect.google'}\" title=\"$ML{'.connect.google'}\" /></a>";
             $body .= " <a href=\"<?siteroot?>/identity/login.bml?type=mailru\"><img src=\"$LJ::IMGPREFIX/icons/mailru-32.gif?v=2\" width=\"32\" height=\"32\" alt=\"$ML{'.connect.mailru'}\" title=\"$ML{'.connect.mailru'}\" /></a>";
             $body .= " <a href=\"<?siteroot?>/identity/login.bml?type=vkontakte\"><img src=\"$LJ::IMGPREFIX/icons/vkontakte-32.gif?v=2\" width=\"32\" height=\"32\" alt=\"$ML{'.connect.vkontakte'}\" title=\"$ML{'.connect.vkontakte'}\" /></a>";
             $body .= "</p>\n";

Modified: trunk/htdocs/login.bml.text
===================================================================
--- trunk/htdocs/login.bml.text	2011-05-04 08:07:59 UTC (rev 19019)
+++ trunk/htdocs/login.bml.text	2011-05-04 08:17:18 UTC (rev 19020)
@@ -5,6 +5,8 @@
 
 .bindip.yes=Yes (safer)
 
+.connect.google=Login with Google
+
 .connect.facebook=Login with Facebook
 
 .connect.mailru=Login with Mail.ru

Modified: trunk/htdocs/stc/ie.css
===================================================================
--- trunk/htdocs/stc/ie.css	2011-05-04 08:07:59 UTC (rev 19019)
+++ trunk/htdocs/stc/ie.css	2011-05-04 08:17:18 UTC (rev 19020)
@@ -168,7 +168,10 @@
 	zoom: 1;
 	}
 .b-facebookbtn,
-.b-twitterbtn {
+.b-twitterbtn,
+.b-googlebtn,
+.b-mailrubtn,
+.b-vkontaktebtn {
 	overflow: visible;
 	}
 * HTML .m-auth-item {

Modified: trunk/htdocs/stc/lj_base.css
===================================================================
--- trunk/htdocs/stc/lj_base.css	2011-05-04 08:07:59 UTC (rev 19019)
+++ trunk/htdocs/stc/lj_base.css	2011-05-04 08:17:18 UTC (rev 19020)
@@ -771,6 +771,9 @@
 		.m-auth-twitter A {
 			background: url(/img/icons/twitter-16.gif?v=3) no-repeat 20px 50%;
 			}
+		.m-auth-google A {
+			background: url(/img/icons/google-16.png?v=1) no-repeat 20px 50%;
+			}
 		.m-auth-mailru A {
 			background: url(/img/icons/mailru-16.gif?v=3) no-repeat 20px 50%;
 			}
@@ -890,6 +893,7 @@
 
 .b-facebookbtn,
 .b-twitterbtn,
+.b-googlebtn,
 .b-mailrubtn,
 .b-vkontaktebtn {
 	position: relative;
@@ -903,12 +907,17 @@
 	}
 .b-auth .b-facebookbtn,
 .b-auth .b-twitterbtn,
+.b-auth .b-googlebtn,
 .b-auth .b-mailrubtn,
 .b-auth .b-vkontaktebtn {
 	float: left;
 	}
+.b-auth .b-googlebtn {
+	font: bold 13px Arial,sans-serif;
+	}
 	.b-facebookbtn SPAN,
 	.b-twitterbtn SPAN,
+	.b-googlebtn SPAN,
 	.b-mailrubtn SPAN,
 	.b-vkontaktebtn SPAN {
 		position: relative;
@@ -932,6 +941,16 @@
 		white-space: nowrap;
 		background: #FFF url(/img/buttons/twitter-login-wide.gif?v=2) no-repeat 0 0;
 		}
+	.b-googlebtn SPAN {
+		height: 21px;
+		border: none;
+		line-height: 21px;
+		padding: 0 8px 0 32px;
+		color: #FFF;
+		text-shadow: 0 1px 1px rgba(0,0,0,0.3);
+		white-space: nowrap;
+		background: #5B98EF url(/img/buttons/google-login-wide.png?v=1) no-repeat 0 0;
+		}
 	.b-mailrubtn SPAN {
 		height: 18px;
 		padding: 0 65px 0 8px;
@@ -964,6 +983,14 @@
 			width: 2px;
 			background: url(/img/buttons/twitter-login-wide.gif?v=2) no-repeat 100% 0;
 			}
+		.b-googlebtn SPAN I{
+			position: absolute;
+			right: 0;
+			top: 0;
+			height: 21px;
+			width: 2px;
+			background: url(/img/buttons/google-login-wide.png?v=1) no-repeat 100% 0;
+			}
 		.b-mailrubtn SPAN I{
 			position: absolute;
 			left: 0;

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