Oracle (ex_ioracle) wrote in changelog,
Oracle
ex_ioracle
changelog

[livejournal] r18282: LJSUP-7908: Link to mobile

Committer: skomarov
LJSUP-7908: Link to mobile
U   trunk/htdocs/stc/lj_base.css
U   trunk/templates/ControlStrip/main.tmpl
Modified: trunk/htdocs/stc/lj_base.css
===================================================================
--- trunk/htdocs/stc/lj_base.css	2011-02-11 10:09:27 UTC (rev 18281)
+++ trunk/htdocs/stc/lj_base.css	2011-02-11 10:32:38 UTC (rev 18282)
@@ -693,6 +693,43 @@
 	top: 0;
 	}
 
+/* Mobile version message */
+.b-message-mobile {
+	position: absolute;
+	top: 45px;
+	left: 0;
+	width: 100%;
+	height: 23px;
+	padding: 0;
+	margin: 0;
+	background: #1C2F5D;
+	font: 11px/13px 'Arial', 'Helvetica', sans-serif;
+	color: #FFF;
+	}
+	.b-message-mobile .b-message-mobile-wrapper {
+		padding: 5px 15px;
+		margin: 0;
+		}
+	.b-message-mobile A:link,
+	.b-message-mobile A:visited,
+	.b-message-mobile A:hover,
+	.b-message-mobile A:active {
+		padding: 0 0 0 12px;
+		margin: 0;
+		background: url(/img/message-mobile-pic.gif?ver) no-repeat;
+		border: 0;
+		text-decoration: none !important;
+		font: 11px/13px 'Arial', 'Helvetica', sans-serif !important;
+		color: #FFF !important;
+		}
+.b-message-mobile-theme {
+	top: 0;
+	}
+	.mobile-msg #navigation,
+	.mobile-msg #header {
+		top: 23px;
+		}
+
 /* Facebook & Twitter authorization
 --------------------------- */
 /* Must be removed after implementation of Framework! */

Modified: trunk/templates/ControlStrip/main.tmpl
===================================================================
--- trunk/templates/ControlStrip/main.tmpl	2011-02-11 10:09:27 UTC (rev 18281)
+++ trunk/templates/ControlStrip/main.tmpl	2011-02-11 10:32:38 UTC (rev 18282)
@@ -1,4 +1,4 @@
-<TMPL_VAR link_mobile>
+<TMPL_IF link_mobile><div class="b-message-mobile"><div class="b-message-mobile-wrapper"><TMPL_VAR link_mobile></div></div></TMPL_IF>
 <TMPL_IF remote_is_logged_in>
 <TMPL_INCLUDE name="user.tmpl">
 <TMPL_ELSE>

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