You are here

jqModal.css in Ubercart AJAX Cart 6

/* jqModal base Styling courtesy of;
  Brice Burgess <bhb@iceburg.net> */

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
  the Window's z-index value will be set to 3000 by default (in jqModal.js). You
  can change this value by either;
    a) supplying one via CSS
    b) passing the "zIndex" parameter. E.g.  (window).jqm({zIndex: 500}); */
  
.jqmWindow {
    display: none;
    
    position: fixed;
    top: 17%;
    left: 50%;
    
    margin-left: -300px;
    width: 600px;
    
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
}

.jqmOverlay { background-color: #000; }

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

File

css/jqModal.css
View source
  1. /* jqModal base Styling courtesy of;
  2. Brice Burgess */
  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: 17%;
  12. left: 50%;
  13. margin-left: -300px;
  14. width: 600px;
  15. background-color: #EEE;
  16. color: #333;
  17. border: 1px solid black;
  18. padding: 12px;
  19. }
  20. .jqmOverlay { background-color: #000; }
  21. /* Fixed posistioning emulation for IE6
  22. Star selector used to hide definition from browsers other than IE6
  23. For valid CSS, use a conditional include instead */
  24. * html .jqmWindow {
  25. position: absolute;
  26. top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
  27. }