perazhog (perazhog) wrote in changelog,
perazhog
perazhog
changelog

[livejournal] r21326: LJSUP-11385: Add pics beta promo

Committer: egeraskin
LJSUP-11385: Add pics beta promo
U   trunk/htdocs/imgupload.bml.text
U   trunk/htdocs/js/ck/plugins/image/dialogs/image.js
U   trunk/htdocs/js/ck/skins/v2/dialog.css
Modified: trunk/htdocs/imgupload.bml.text
===================================================================
--- trunk/htdocs/imgupload.bml.text	2012-03-07 14:07:30 UTC (rev 21325)
+++ trunk/htdocs/imgupload.bml.text	2012-03-07 14:38:46 UTC (rev 21326)
@@ -5,6 +5,8 @@
 
 .msg.unavailable|staleness=1
 .msg.unavailable=This service is temporarily unavailable.
+.msg.newalbums=Try new PhotoAlbums.
+.msg.newalbums.organise=Organise your photos and images with LiveJournal PhotoAlbums.
 
 .size=When uploading from file or from a gallery, the image will display as 320 x 240 (medium) and will link to the image in the gallery.
 

Modified: trunk/htdocs/js/ck/plugins/image/dialogs/image.js
===================================================================
--- trunk/htdocs/js/ck/plugins/image/dialogs/image.js	2012-03-07 14:07:30 UTC (rev 21325)
+++ trunk/htdocs/js/ck/plugins/image/dialogs/image.js	2012-03-07 14:38:46 UTC (rev 21326)
@@ -468,8 +468,8 @@
 										'<i class="b-pics-promo-box"></i>' +
 										'<a target="_blank" href="' + Site.siteroot + '/472.html" class="b-pics-promo-link">' +
 											'<span class="b-pics-promo-arrow"></span>' +
-											'<span class="b-pics-promo-content b-pics-promo-content-header">Try new PhotoAlbums.</span>' +
-											'<span class="b-pics-promo-content">Organise your photos and images with LiveJournal PhotoAlbums.</span>' +
+											'<span class="b-pics-promo-content b-pics-promo-content-header">' + Site.ml_text['.msg.newalbums'] + '</span>' +
+											'<span class="b-pics-promo-content">' + Site.ml_text['.msg.newalbums.organise'] + '</span>' +
 										'</a>' +
 										'</div>' : ''
 							},

Modified: trunk/htdocs/js/ck/skins/v2/dialog.css
===================================================================
--- trunk/htdocs/js/ck/skins/v2/dialog.css	2012-03-07 14:07:30 UTC (rev 21325)
+++ trunk/htdocs/js/ck/skins/v2/dialog.css	2012-03-07 14:38:46 UTC (rev 21326)
@@ -603,13 +603,14 @@
 	
 /* Fotki promo */ 
 
-.b-pics-promo-wrapper {
+.cke_dialog_ui_vbox_child .b-pics-promo-wrapper {
 	position: relative;
-	margin: 0 15px 20px 15px;
+	margin: 20px 0;
 	border-radius: 6px;
+	cursor: pointer;
 	background-color: #4e92c1;
 	}
-	.b-pics-promo-wrapper .b-pics-promo-box {
+	.cke_dialog_ui_vbox_child .b-pics-promo-wrapper .b-pics-promo-box {
 		display: block;
 		position: absolute;
 		top: 50%;
@@ -619,24 +620,28 @@
 		margin-top: -39px;
 		background: url(/img/pics/pics-promo-box.png?ver=1) 0 0 no-repeat;
 		}
-	.b-pics-promo-wrapper .b-pics-promo-link {
+	.cke_dialog_ui_vbox_child .b-pics-promo-wrapper .b-pics-promo-link {
 		position: relative;
 		display: block;
 		height: auto;
 		padding: 10px 50px 10px 130px;
+		cursor: pointer;
 		outline: none;
 		background: none;
 		}
-		.b-pics-promo-content {
+		.cke_dialog_ui_vbox_child .b-pics-promo-wrapper .b-pics-promo-link SPAN {
+			cursor: pointer;
+			}
+		.cke_dialog_ui_vbox_child .b-pics-promo-content {
 			display: block;
 			font-size: 12px;
 			text-shadow: #000 1px 1px 1px;
 			color: #FFF;
 			}
-		.b-pics-promo-content-header {
+		.cke_dialog_ui_vbox_child .b-pics-promo-content-header {
 			font-size: 15px;
 			}
-		.b-pics-promo-link .b-pics-promo-arrow {
+		.cke_dialog_ui_vbox_child .b-pics-promo-link .b-pics-promo-arrow {
 			display: block;
 			position: absolute;
 			top: 50%;

Tags: css, egeraskin, js, livejournal, perazhog, 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