perazhog (perazhog) wrote in changelog,
perazhog
perazhog
changelog

[livejournal] r21185: LJSUP-11031: <lj-spoiler> tag

Committer: egeraskin
LJSUP-11031: <lj-spoiler> tag
U   trunk/htdocs/js/ck/contents.css
U   trunk/htdocs/js/ck/skins/v2/editor.css
Modified: trunk/htdocs/js/ck/contents.css
===================================================================
--- trunk/htdocs/js/ck/contents.css	2012-02-14 14:02:16 UTC (rev 21184)
+++ trunk/htdocs/js/ck/contents.css	2012-02-14 14:06:10 UTC (rev 21185)
@@ -37,6 +37,7 @@
 	height:100%;
 	}
 .lj-cut-wrap,
+.lj-spoiler-wrap,
 .lj-map-wrap,
 .lj-embed-wrap,
 .lj-poll-wrap,
@@ -46,6 +47,7 @@
 	width: 100%;
 	}
 .lj-cut,
+.lj-spoiler,
 .lj-map,
 .lj-embed,
 .lj-poll,
@@ -54,7 +56,7 @@
 .lj-iframe {
 	margin: 0;
 	}
-.lj-cut-wrap {
+.lj-cut-wrap, .lj-spoiler-wrap {
 	height: 9px!important;
 	}
 .lj-cut {
@@ -71,6 +73,21 @@
 	border-width: 1px 0 0;
 	background-position: 0 -27px;
 	}
+.lj-spoiler {
+    height: 7px!important;
+    background-color: #FFF;
+    border: 0 dashed #BCBCBC;
+    background: url(/js/ck/images/lj-spoiler.png) no-repeat 0 0;
+    }
+.lj-spoiler-open {
+    border-width: 0 0 1px;
+    background-position: 50% 0;
+    }
+.lj-spoiler-close {
+    border-width: 1px 0 0;
+    background-position: 50% -23px;
+    }
+
 .lj-map-wrap,
 .lj-iframe-wrap,
 .lj-embed-wrap {
@@ -151,7 +168,7 @@
 	display: block;
 	}
 
-lj|cut {
+/*lj|cut {
 	display: block;
 	border: #000 1px dotted;
 	background-color: #d2d2d2;
@@ -165,7 +182,7 @@
 	min-height: 14px;
 	}
 
-/* fix inline behavior, for no IE */
+*//* fix inline behavior, for no IE *//*
 .lj|cut ul, .lj|cut ol {
 	background-color: #d2d2d2;
 	border: #000 1px dotted;
@@ -174,7 +191,7 @@
 .lj\:cut ul, .lj\:cut ol {
 	background-color: #d2d2d2;
 	border: #000 1px dotted;
-	}
+	}*/
 
 .ljuser {
 	white-space: nowrap;

Modified: trunk/htdocs/js/ck/skins/v2/editor.css
===================================================================
--- trunk/htdocs/js/ck/skins/v2/editor.css	2012-02-14 14:02:16 UTC (rev 21184)
+++ trunk/htdocs/js/ck/skins/v2/editor.css	2012-02-14 14:06:10 UTC (rev 21185)
@@ -1320,7 +1320,8 @@
 .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_LJLike .cke_icon {
+.cke_skin_v2 .cke_button_LJLike .cke_icon,
+.cke_skin_v2 .cke_button_LJSpoiler .cke_icon {
 	background: url(icons-new.png?v=2) no-repeat 0 0;
 	}
 .cke_skin_v2 .cke_button_LJUserLink .cke_icon {
@@ -1348,6 +1349,9 @@
 .cke_skin_v2 .cke_button_LJLike .cke_icon {
 	background-position: 0 -140px;
 	}
+.cke_skin_v2 .cke_button_LJSpoiler .cke_icon {
+    background-position: 0 -325px;
+    }
 
 #entry-tabs A {
 	text-decoration:none !important;

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