nyroModal.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. .nyroModalBg {
  2. position: fixed;
  3. overflow: hidden;
  4. z-index:997;
  5. top: 0;
  6. left: 0;
  7. height: 100%;
  8. width: 100%;
  9. background: #000;
  10. opacity: 0.7;
  11. }
  12. .nmReposition {
  13. position: absolute;
  14. z-index: 999;
  15. }
  16. .nyroModalCloseButton {
  17. top: -9px;
  18. right: -9px;
  19. width: 18px;
  20. height: 18px;
  21. text-indent: -9999em;
  22. background: url(../img/close.png);
  23. }
  24. .nyroModalTitle {
  25. top: -26px;
  26. left: 0;
  27. margin: 0;
  28. font-size: 1.1em;
  29. line-height: 24px;
  30. color: #EEE;
  31. text-shadow: 1px 1px 1px rgba(0,0,0,0.90);
  32. }
  33. .nyroModalCont {
  34. background-color: #FFF;
  35. padding: 4px;
  36. position: absolute;
  37. z-index:998;
  38. border: 1px solid #000;
  39. margin: 25px;
  40. background: #fff;
  41. box-shadow: 0 0 5px rgba(0,0,0,0.9);
  42. }
  43. .nyroModalCont iframe {
  44. width: 600px;
  45. height: 400px;
  46. }
  47. .nyroModalError {
  48. border: 4px solid red;
  49. color: red;
  50. width: 250px;
  51. height: 250px;
  52. }
  53. .nyroModalError div {
  54. min-width: 0;
  55. min-height: 0;
  56. padding: 10px;
  57. }
  58. .nyroModalLink, .nyroModalDom, .nyroModalForm, .nyroModalFormFile {
  59. position: relative;
  60. padding: 10px;
  61. min-height: 250px;
  62. min-width: 250px;
  63. max-width: 1000px;
  64. }
  65. .nyroModalImage, .nyroModalSwf, .nyroModalIframe, .nyroModalIframeForm {
  66. position: relative;
  67. overflow: hidden;
  68. }
  69. .nyroModalImage img {
  70. vertical-align: top;
  71. }
  72. .nyroModalHidden {
  73. left: -9999em;
  74. top: -9999em;
  75. }
  76. .nyroModalLoad {
  77. position: absolute;
  78. width: 100px;
  79. height: 100px;
  80. background: #fff url(../img/ajaxLoader.gif) no-repeat center;
  81. padding: 0;
  82. }
  83. .nyroModalPrev, .nyroModalNext {
  84. outline: none;
  85. position: absolute;
  86. top: 0;
  87. height: 60%;
  88. width: 150px;
  89. min-height: 50px;
  90. max-height: 300px;
  91. cursor: pointer;
  92. text-indent: -9999em;
  93. background: transparent url('data:image/gif;base64,AAAA') left 20% no-repeat;
  94. }
  95. .nyroModalImage .nyroModalPrev, .nyroModalImage .nyroModalNext {
  96. height: 100%;
  97. width: 40%;
  98. max-height: none;
  99. }
  100. .nyroModalPrev {
  101. left: 0;
  102. }
  103. .nyroModalPrev:hover {
  104. background-image: url(../img/prev.gif);
  105. }
  106. .nyroModalNext {
  107. right: 0;
  108. background-position: right 20%;
  109. }
  110. .nyroModalNext:hover {
  111. background-position: right 20%;
  112. background-image: url(../img/next.gif);
  113. }