Название вашего журнала (quwiero) wrote in changelog,
Название вашего журнала
quwiero
changelog

[livejournal] r22877: LJSUP-13574: Public beta

Committer: sboronchiev
LJSUP-13574: Public beta
U   trunk/htdocs/stc/profile.css
U   trunk/htdocs/userinfo.bml
Modified: trunk/htdocs/stc/profile.css
===================================================================
--- trunk/htdocs/stc/profile.css	2012-09-12 11:46:58 UTC (rev 22876)
+++ trunk/htdocs/stc/profile.css	2012-09-12 13:18:58 UTC (rev 22877)
@@ -703,3 +703,38 @@
 			font-size: 10px;
 			color: #999;
 			}
+
+/* switcher new version */
+.b-profile-switchver {
+	position: relative;
+	top: 0;
+	left: 0;
+	margin: 0;
+	padding: 5px 0 5px 0;
+	font: 14px/1.3 Arial,sans-serif;
+	}
+	.b-profile-switchver-button {
+		overflow: visible;
+		margin: 0;
+		padding: 0;
+		border: 0;
+		background: transparent;
+		font: 14px/1.3 Arial,sans-serif;
+		color: #000;
+		cursor: pointer;
+		}
+		.b-profile-switchver-inner {
+			margin: 0;
+			padding: 0;
+			}
+		.s-horizon .b-profile-switchver-inner {
+			color: #00C;
+			text-decoration: underline;
+			}
+		.s-lanzelot .b-profile-switchver-inner {
+			color: #3F5F9E;
+			border-bottom: 1px solid #CCC;
+			}
+		.s-lanzelot .b-profile-switchver-button:hover .b-profile-switchver-inner {
+			border-bottom: 1px solid #3F5F9E;
+			}

Modified: trunk/htdocs/userinfo.bml
===================================================================
--- trunk/htdocs/userinfo.bml	2012-09-12 11:46:58 UTC (rev 22876)
+++ trunk/htdocs/userinfo.bml	2012-09-12 13:18:58 UTC (rev 22877)
@@ -355,7 +355,7 @@
     my $url = LJ::Request->uri();
     # Page version switcher
     if ($remote && !$remote->prop('profile_ver_noswitch')) {
-        $body .= "<form method='POST'><input type='submit' name='new_version' value='".LJ::Lang::ml('profile.switch.to.new.version')."' ></form>";
+        $body .= "<form class='b-profile-switchver' method='POST'><button class='b-profile-switchver-button' type='submit' name='new_version' value='1' ><span class='b-profile-switchver-inner'>".LJ::Lang::ml('profile.switch.to.new.version')."</span></button> " .LJ::Lang::ml('profile.switch.to.version.post'). "</form>";
         if (LJ::did_post() && LJ::Request->post_param('new_version')) {
             $remote->set_prop('profile_ver', 2);
             return LJ::Request->redirect($url, LJ::Request::HTTP_MOVED_TEMPORARILY);

Tags: bml, css, livejournal, quwiero, sboronchiev
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