dialog.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. /* jquery dialog */
  2. .jquery-dialog-mask-color,
  3. .jquery-dialog-mask-transparent {
  4. position: fixed;
  5. text-align: left;
  6. top: 0;
  7. left: 0;
  8. height: 100%;
  9. width: 100%;
  10. }
  11. .jquery-dialog-mask-color,
  12. .jquery-dialog-mask-transparent {
  13. background: url("mask.png");
  14. }
  15. .jquery-dialog {
  16. text-align: left;
  17. }
  18. .dialog-outer-fixed {
  19. position: fixed;
  20. }
  21. .dialog-outer-absolute {
  22. position: absolute;
  23. }
  24. .jquery-dialog-mask,
  25. .jquery-dialog {
  26. z-index: 212122000;
  27. }
  28. .jquery-dialog .dialog-top-container,
  29. .jquery-dialog .dialog-bottom-container {
  30. height: 5px;
  31. }
  32. .jquery-dialog .dialog-top-border,
  33. .jquery-dialog .dialog-bottom-border,
  34. .jquery-dialog .dialog-left-border,
  35. .jquery-dialog .dialog-right-border,
  36. .jquery-dialog .dialog-top-left-corner,
  37. .jquery-dialog .dialog-top-right-corner,
  38. .jquery-dialog .dialog-bottom-left-corner,
  39. .jquery-dialog .dialog-bottom-right-corner {
  40. opacity: 0.20;
  41. filter: alpha(opacity=20);
  42. font-size: 0;
  43. line-height: 0;
  44. float: inherit;
  45. float: left;
  46. }
  47. .jquery-dialog .dialog-top-border,
  48. .jquery-dialog .dialog-bottom-border {
  49. height: 5px;
  50. background-color: #000;
  51. }
  52. .jquery-dialog .dialog-left-border,
  53. .jquery-dialog .dialog-right-border {
  54. width: 5px;
  55. background-color: #000;
  56. }
  57. .jquery-dialog .dialog-top-left-corner,
  58. .jquery-dialog .dialog-top-right-corner,
  59. .jquery-dialog .dialog-bottom-left-corner,
  60. .jquery-dialog .dialog-bottom-right-corner {
  61. width: 5px;
  62. height: 5px;
  63. background: url("dialog.gif");
  64. }
  65. .jquery-dialog .dialog-top-left-corner {
  66. background-position: -30px 0;
  67. }
  68. .jquery-dialog .dialog-top-right-corner {
  69. background-position: -35px 0;
  70. }
  71. .jquery-dialog .dialog-bottom-left-corner {
  72. background-position: -30px -5px;
  73. }
  74. .jquery-dialog .dialog-bottom-right-corner {
  75. background-position: -35px -5px;
  76. }
  77. .jquery-dialog .dialog-inner-container {
  78. float: left;
  79. background: #fff;
  80. border: 1px solid #acacac;
  81. }
  82. .jquery-dialog .dialog-title-container {
  83. padding: 0;
  84. border-top: 1px solid #fff;
  85. border-left: 1px solid #fff;
  86. border-right: 1px solid #fff;
  87. height: 29px;
  88. background-color: #EFF4F8;
  89. overflow: hidden;
  90. }
  91. .jquery-dialog .dialog-title {
  92. float: left;
  93. height: 21px;
  94. line-height: 15px;
  95. font-weight: bold;
  96. padding: 8px 8px 0 8px;
  97. color: #333;
  98. overflow: hidden;
  99. }
  100. .jquery-dialog .dialog-button-close {
  101. float: inherit;
  102. float: right;
  103. font-size: 0;
  104. line-height: 0;
  105. margin: 7px 8px 0 0;
  106. width: 13px;
  107. height: 13px;
  108. overflow: hidden;
  109. background-image: url("dialog.gif");
  110. background-position: 0 0;
  111. cursor: pointer;
  112. }
  113. .jquery-dialog .dialog-button-close-hover {
  114. background-position: -13px 0;
  115. }
  116. .jquery-dialog .dialog-button-container {
  117. text-align: center;
  118. padding: 15px 0 20px 0;
  119. }
  120. .jquery-dialog .dialog-button-container .dialog-button-accept,
  121. .jquery-dialog .dialog-button-container .dialog-button-cancel {
  122. margin-left: 5px;
  123. margin-right: 5px;
  124. }
  125. /* below two style rules are very important */
  126. /* they can grow with children, and they can be restricted by another "width" style also */
  127. .jquery-dialog .dialog-content-container {
  128. overflow: hidden;
  129. display: inline-block;
  130. *zoom: 1; *display: inline; /* IE6/7 fake inline-block */
  131. }
  132. /* jquery inform, jquery alert, jquery confirm */
  133. .jquery-inform .dialog-content-container,
  134. .jquery-alert .dialog-content-container,
  135. .jquery-confirm .dialog-content-container {
  136. padding: 20px 20px 0 20px;
  137. font-size: 14px;
  138. font-weight: normal;
  139. color: #333;
  140. }
  141. .jquery-inform .dialog-content-container {
  142. padding-bottom: 20px;
  143. }
  144. /* inside tip style definition with jquery dialog */
  145. .jquery-tip .dialog-title-container {
  146. display: none;
  147. }
  148. .jquery-tip .dialog-tip-arrow {
  149. z-Index: 1;
  150. position: absolute;
  151. font-size: 0;
  152. background: url("dialog.gif");
  153. }
  154. .jquery-tip .dialog-tip-arrow-top,
  155. .jquery-tip .dialog-tip-arrow-bottom {
  156. width: 16px;
  157. height: 9px;
  158. }
  159. .jquery-tip .dialog-tip-arrow-left,
  160. .jquery-tip .dialog-tip-arrow-right {
  161. height: 16px;
  162. width: 9px;
  163. }
  164. .jquery-tip .dialog-tip-arrow-top {
  165. top: -3px;
  166. background-position: -40px 0;
  167. }
  168. .jquery-tip .dialog-tip-arrow-bottom {
  169. bottom: -3px;
  170. background-position: -60px 0;
  171. }
  172. .jquery-tip .dialog-tip-arrow-left {
  173. left: -3px;
  174. background-position: -80px 0;
  175. }
  176. .jquery-tip .dialog-tip-arrow-right {
  177. right: -3px;
  178. background-position: -90px 0;
  179. }