Brak opisu

um-modal.css 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. .um-popup-overlay {
  2. background: rgba(0,0,0, 0.7);
  3. width: 100%;
  4. height: 100%;
  5. position: fixed;
  6. top: 0;
  7. left: 0;
  8. z-index: 1999992;
  9. }
  10. .um-popup * {
  11. -webkit-font-smoothing: antialiased !important;
  12. -moz-osx-font-smoothing: grayscale !important;
  13. }
  14. .um-popup {
  15. -moz-border-radius: 3px;
  16. -webkit-border-radius: 3px;
  17. border-radius: 3px;
  18. position: fixed;
  19. left: 50%;
  20. top: 10%;
  21. margin-left: -250px;
  22. width: 500px;
  23. background: #fff;
  24. box-shadow: 0 1px 3px #111;
  25. z-index: 1999993;
  26. box-sizing: border-box;
  27. overflow: auto;
  28. color: #888;
  29. padding: 0 !important;
  30. -webkit-font-smoothing: antialiased !important;
  31. -moz-osx-font-smoothing: grayscale !important;
  32. }
  33. .um-popup.loading {
  34. background: #fff url(../img/loading.gif) no-repeat center;
  35. min-height: 100px;
  36. }
  37. .um-popup a {
  38. outline: none !important;
  39. }
  40. /*
  41. - Overlay
  42. */
  43. .um-modal-overlay {
  44. background: rgba(0,0,0, 0.85);
  45. width: 100%;
  46. height: 100%;
  47. position: fixed;
  48. top: 0;
  49. left: 0;
  50. z-index: 999999;
  51. }
  52. /*
  53. - modal
  54. */
  55. .um-modal * {
  56. -webkit-font-smoothing: antialiased !important;
  57. -moz-osx-font-smoothing: grayscale !important;
  58. }
  59. .um-modal-hidden-content {
  60. display: none;
  61. }
  62. .um-modal-close {
  63. display: block;
  64. position: fixed;
  65. right: 0;
  66. top: 0;
  67. font-size: 24px;
  68. text-decoration: none !important;
  69. color: #fff !important;
  70. padding: 0 10px;
  71. }
  72. .um-modal {
  73. -moz-border-radius: 3px;
  74. -webkit-border-radius: 3px;
  75. border-radius: 3px;
  76. position: fixed;
  77. left: 50%;
  78. display: none;
  79. z-index: 1999993;
  80. box-sizing: border-box;
  81. bottom: -50px;
  82. }
  83. .um-modal.normal {width: 500px;margin-left: -250px;}
  84. .um-modal.large {width: 730px;margin-left: -365px;}
  85. .um-modal.small {width: 400px;margin-left: -200px;}
  86. .um-modal-body {
  87. min-height: 3px;
  88. padding: 20px;
  89. box-sizing: border-box;
  90. width: 100%;
  91. background: #fff;
  92. -moz-border-radius: 0 0 3px 3px;
  93. -webkit-border-radius: 0 0 3px 3px;
  94. border-radius: 0 0 3px 3px;
  95. }
  96. .um-modal-body.photo {
  97. -moz-border-radius: 3px;
  98. -webkit-border-radius: 3px;
  99. border-radius: 3px;
  100. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1), 0px 0px 0px 1px rgba(255, 255, 255, 0.12) inset;
  101. background: #888;
  102. padding: 0;
  103. }
  104. .um-modal-body.photo img {
  105. -moz-border-radius: 3px;
  106. -webkit-border-radius: 3px;
  107. border-radius: 3px;
  108. display: block;
  109. overflow: hidden;
  110. opacity: 0;
  111. }
  112. .um-modal.loading .um-modal-body {
  113. background: #fff url(../img/loading.gif) no-repeat center;
  114. min-height: 150px;
  115. }
  116. .um-modal div.um {
  117. margin-bottom: 20px !important;
  118. }
  119. .um-modal-header {
  120. -moz-border-radius: 3px 3px 0 0;
  121. -webkit-border-radius: 3px 3px 0 0;
  122. border-radius: 3px 3px 0 0;
  123. height: 44px;
  124. line-height: 44px;
  125. color: #fff;
  126. padding: 0 20px;
  127. box-sizing: border-box;
  128. font-size: 17px;
  129. }
  130. .um-modal-footer {
  131. margin-top: 20px;
  132. }
  133. .um-modal-left {
  134. float: left;
  135. }
  136. .um-modal-right {
  137. float: right;
  138. }
  139. .um-modal-btn.disabled,
  140. .um-modal-btn.disabled:hover {
  141. opacity: 0.5;
  142. cursor: default !important;
  143. }
  144. .um-modal-btn {
  145. cursor: pointer !important;
  146. line-height: 34px !important;
  147. height: 34px;
  148. display: inline-block;
  149. -moz-border-radius: 3px;
  150. -webkit-border-radius: 3px;
  151. border-radius: 3px;
  152. padding: 0 20px;
  153. text-align: center;
  154. color: #fff;
  155. vertical-align: middle;
  156. font-size: 14px;
  157. box-sizing: border-box;
  158. transition: 0.2s;
  159. text-decoration: none !important;
  160. }
  161. a.um-modal-btn:visited {
  162. color: #fff;
  163. }
  164. .um-modal-btn:hover {
  165. background: #44b0ec;
  166. color: #fff;
  167. }
  168. .um-modal-btn.alt {
  169. color: #666;
  170. background: #eee;
  171. }
  172. .um-modal-btn.alt:hover {
  173. background: #e5e5e5;
  174. }
  175. .um-modal .um-single-image-preview.crop img{
  176. float:left;
  177. }