Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

CSS code review changes + remove IE7 conditional code from JS

  • Loading branch information...
commit eca5a1138c6a68db379dc97218733037c2d6e768 1 parent 44acdda
@tuff-ghost authored
View
8 public/javascripts/ibox/ibox.js
@@ -244,14 +244,6 @@ showIbox = function(url,title,params) {
ibox.onclick = null;getElem("ibox_close_a").onclick = function() {hideIbox();}
} else {ibox.onclick = hideIbox;getElem("ibox_close_a").onclick = null;}
- // adjust content height for IE7, which cannot inherit height
- /*@cc_on
- @if (@_jscript_version == 5.7)
- var wrapper = new getElementSize(getElem("ibox_wrapper"));
- getElem("ibox_content").style.height = (wrapper.height - 60) +"px";
- @end
- @*/
-
shown = true;
return true;
}
View
26 public/stylesheets/site/2.0/07-interactions.css
@@ -282,28 +282,25 @@ qTip2 Copyright 2009-2010 Craig Michael Thompson - http://craigsworks.com*/
word-wrap: break-word;
}
-/* WIDGET: IBOX (called by help links todo: REPLACE WITH KBD LIGHTBOX)*/
+/* WIDGET: IBOX (called by help links)*/
#ibox_w {
position: fixed;
top: 0;
- right: 0;
- bottom: 0;
left: 0;
z-index: 100;
width: 100%;
height: 100%;
background: #000;
- opacity: 0;
- filter: Alpha(Opacity=60); /* IE7 and under */
- -ms-filter: Alpha(Opacity=60); /* IE8 */
+ opacity: 0;
+ filter: alpha(opacity=60);
}
#ibox_w, #ibox_wrapper {
- transition: opacity 400ms ease-out;
- -moz-transition: opacity 400ms ease-out;
+ transition: opacity 400ms ease-out;
+ -moz-transition: opacity 400ms ease-out;
-webkit-transition: opacity 400ms ease-out;
- -o-transition: opacity 400ms ease-out;
+ -o-transition: opacity 400ms ease-out;
}
#ibox_progress {
@@ -324,15 +321,14 @@ qTip2 Copyright 2009-2010 Craig Michael Thompson - http://craigsworks.com*/
#ibox_content {
font-size: 0.875em;
background: #fff;
- width: 100%; width: inherit;
- height: 100%; height: inherit;
+ width: auto;
+ height: auto;
overflow: auto;
- margin-bottom: 2px;
- padding: 4px 0 0 8px;
+ padding: 0.643em;
position: absolute;
top: 0;
right: 0;
- bottom: 30px;
+ bottom: 2.8em;
left: 0;
border-bottom: 1px solid #ccc;
}
@@ -345,7 +341,7 @@ qTip2 Copyright 2009-2010 Craig Michael Thompson - http://craigsworks.com*/
#ibox_footer {
position: absolute;
- bottom:8px;
+ bottom: 0.786em;
}
/*MODE: DYNAMIC is in early dev and so currently sharing styles with toggled */
Please sign in to comment.
Something went wrong with that request. Please try again.