Oracle (ex_ioracle) wrote in changelog,
Oracle
ex_ioracle
changelog

[livejournal] r19516: LJSUP-8974: RTE: Ability to add and disp...

Committer: skomarov
LJSUP-8974: RTE: Ability to add and display lj-like buttons
U   trunk/htdocs/js/ck/contents.css
U   trunk/htdocs/js/ck/skins/v2/editor.css
U   trunk/htdocs/js/ck/skins/v2/lj_strip.png
Modified: trunk/htdocs/js/ck/contents.css
===================================================================
--- trunk/htdocs/js/ck/contents.css	2011-07-22 09:08:46 UTC (rev 19515)
+++ trunk/htdocs/js/ck/contents.css	2011-07-25 06:10:42 UTC (rev 19516)
@@ -82,17 +82,59 @@
 	font-style: italic;
 }
 
+/* LJ Like buttons */
 .lj-like {
-	margin:12px 0!important;
+	padding: 13px 20px;
+	margin-top: 20px;
+	background: #D2D2D2;
+	border: 1px dotted #000;
 	}
-	.lj-like-item {
-		display:inline-block!important;
-		vertical-align:middle!important;
-		margin:12px 12px 12px 0!important;
+	.lj-like .lj-like-item {
+		display: inline-block;
+		margin-right: 15px;
+		background: url(/js/ck/images/lj-like-buttons.png) no-repeat;
+		vertical-align: middle;
+		text-indent: -3333px;
+		cursor: pointer;
 		}
-	.lj-like-gag {
-		border:1px dashed #999;
-		border-radius:6px;
-		padding:6px 8px;
+	.lj-like .fb {
+		width: 93px;
+		height: 20px;
+		background-position: 0 0;
 		}
+	.lj-like .tw {
+		width: 55px;
+		height: 20px;
+		background-position: 0 -46px;
+		}
+	.lj-like .go {
+		width: 32px;
+		height: 20px;
+		background-position: 0 -90px;
+		}
+	.lj-like .vk {
+		width: 40px;
+		height: 22px;
+		background-position: 0 -67px;
+		}
+	.lj-like .lj {
+		width: 67px;
+		height: 24px;
+		background-position: 0 -21px;
+		}
 
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Modified: trunk/htdocs/js/ck/skins/v2/editor.css
===================================================================
--- trunk/htdocs/js/ck/skins/v2/editor.css	2011-07-22 09:08:46 UTC (rev 19515)
+++ trunk/htdocs/js/ck/skins/v2/editor.css	2011-07-25 06:10:42 UTC (rev 19516)
@@ -1311,15 +1311,13 @@
 	html.cke_skin_v2_container {
 	visibility:visible;
 	}
-	
-	
 /* LJ Buttons */
 .cke_skin_v2 .cke_button_LJUserLink .cke_icon,
 .cke_skin_v2 .cke_button_LJEmbedLink .cke_icon,
 .cke_skin_v2 .cke_button_LJPollLink .cke_icon,
 .cke_skin_v2 .cke_button_LJCut .cke_icon,
 .cke_skin_v2 .cke_button_LJLikeCommand .cke_icon {
-	background:url(lj_strip.png) no-repeat 0 0;
+	background:url(lj_strip.png?v=2) no-repeat 0 0;
 	}
 .cke_skin_v2 .cke_button_LJUserLink .cke_icon {
 	background-position:0 -16px;
@@ -1341,4 +1339,65 @@
 	color:#3F5F9E !important;
 	text-decoration:none;
 	}
+/* LJ Like buttons */
+.likes {
+	padding: 0;
+	margin: 0;
+	list-style: none;
+	}
+	.likes LI {
+		padding: 0;
+		margin: 0 0 10px 0;
+		background: url(/js/ck/images/lj-like-buttons.png) no-repeat;
+		text-indent: -3333px;
+		cursor: pointer;
+		}
+	.likes .like-facebook {
+		width: 93px;
+		height: 20px;
+		background-position: 0 0;
+		}
+	.likes .like-twitter {
+		width: 55px;
+		height: 20px;
+		background-position: 0 -46px;
+		}
+	.likes .like-google {
+		width: 32px;
+		height: 20px;
+		background-position: 0 -90px;
+		}
+	.likes .like-vkontakte {
+		width: 40px;
+		height: 22px;
+		background-position: 0 -67px;
+		}
+	.likes .like-10give {
+		width: 67px;
+		height: 24px;
+		background-position: 0 -21px;
+		}
 
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Modified: trunk/htdocs/js/ck/skins/v2/lj_strip.png
===================================================================
(Binary files differ)

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