kizu (ki_zu) wrote in changelog,
kizu
ki_zu
changelog

[ljcom] r7566: LJSUP-4703: adding Blocker element

Committer: rkomarov
LJSUP-4703: adding Blocker element

U   trunk/htdocs/stc/framework/modules.css
U   trunk/htdocs/stc/lanzelot/css/ie.css
Modified: trunk/htdocs/stc/framework/modules.css
===================================================================
--- trunk/htdocs/stc/framework/modules.css	2009-08-13 07:38:26 UTC (rev 7565)
+++ trunk/htdocs/stc/framework/modules.css	2009-08-13 09:02:50 UTC (rev 7566)
@@ -190,9 +190,15 @@
 	.b-blocker-over { /* class for moving blocker over other z-indexed elements */
 		z-index:1000000000;
 		}
-	.b-blocker-gray {
-		-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
-		filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
-		opacity:.5;
-		background:#808080;
-		}
+    .b-blocker-white {
+        background:#FFF;
+        }
+    .b-blocker-gray {
+        background:#808080;
+        }
+    .b-blocker-gray,
+    .b-blocker-white {
+        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
+        filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
+        opacity:.5;
+        }

Modified: trunk/htdocs/stc/lanzelot/css/ie.css
===================================================================
--- trunk/htdocs/stc/lanzelot/css/ie.css	2009-08-13 07:38:26 UTC (rev 7565)
+++ trunk/htdocs/stc/lanzelot/css/ie.css	2009-08-13 09:02:50 UTC (rev 7566)
@@ -233,3 +233,53 @@
     }
 
 #content-wrapper { height:1%; }
+
+/* Disabled block
+--------------------------- */
+/* Must be removed after implementation of Framework! */
+.st-disabled {
+    zoom:1;
+    }
+.b-blocker {
+    zoom:expression(
+        function(t){
+            t.runtimeStyle.zoom = 1;
+            t.insertAdjacentHTML('beforeBegin','<iframe class="b-blocker-iframe" src="about:blank"></iframe>')
+        }(this)
+    );
+    stretch:expression(
+        function(t){
+            var h = t.parentNode.offsetHeight;
+            if (t.h != h) {
+                t.style.height = t.h = h;
+            }           
+        }(this)
+    );
+    }
+.b-blocker-iframe {
+    position:absolute;
+    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
+    filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
+    display:none;
+    padding:0;
+    margin:0;
+    border:0;
+    opacity:0;
+    expression:expression(
+        function(t){
+            var L = t.nextSibling.offsetLeft;
+            var T = t.nextSibling.offsetTop;
+            var W = t.nextSibling.offsetWidth;
+            var H = t.nextSibling.offsetHeight;
+            if (t.L != L || t.T != T || t.W != W || t.H != H) {
+                t.runtimeStyle.left = t.L = L;
+                t.runtimeStyle.top = t.T = T;
+                t.runtimeStyle.width = t.W = W;
+                t.runtimeStyle.height = t.H = H;
+            }
+        }(this)
+    );
+    }
+    .st-disabled .b-blocker-iframe {
+        display:block;
+        }

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