jqModal.css 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* jqModal base Styling courtesy of;
  2. Brice Burgess <bhb@iceburg.net> */
  3. /* The Window's CSS z-index value is respected (takes priority). If none is supplied,
  4. the Window's z-index value will be set to 3000 by default (in jqModal.js). You
  5. can change this value by either;
  6. a) supplying one via CSS
  7. b) passing the "zIndex" parameter. E.g. (window).jqm({zIndex: 500}); */
  8. .jqmWindow {
  9. display: none;
  10. position: fixed;
  11. top: 10%;
  12. left: 20%;
  13. margin-left: -100px;
  14. width: 800px;
  15. background-color: #FFF;
  16. color: #333;
  17. border: 1px solid black;
  18. padding: 12px;
  19. }
  20. .jqmOverlay { background-color: #333; }
  21. /* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
  22. * removed.iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
  23. width: expression(this.parentNode.offsetWidth+'px');
  24. height: expression(this.parentNode.offsetHeight+'px');
  25. }
  26. /* Fixed posistioning emulation for IE6
  27. Star selector used to hide definition from browsers other than IE6
  28. For valid CSS, use a conditional include instead */
  29. * removed.html .jqmWindow {
  30. position: absolute;
  31. top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
  32. }