toastr.min.css 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. /*
  2. * Note that this is toastr v2.1.3, the "latest" version in url has no more maintenance,
  3. * please go to https://cdnjs.com/libraries/toastr.js and pick a certain version you want to use,
  4. * make sure you copy the url from the website since the url may change between versions.
  5. * */
  6. .toast-title {
  7. font-weight: 700;
  8. }
  9. .toast-message {
  10. -ms-word-wrap: break-word;
  11. word-wrap: break-word;
  12. }
  13. .toast-message a,
  14. .toast-message label {
  15. color: #fff;
  16. }
  17. .toast-message a:hover {
  18. color: #ccc;
  19. text-decoration: none;
  20. }
  21. .toast-close-button {
  22. position: relative;
  23. right: -0.3em;
  24. top: -0.3em;
  25. float: right;
  26. font-size: 20px;
  27. font-weight: 700;
  28. color: #fff;
  29. -webkit-text-shadow: 0 1px 0 #fff;
  30. text-shadow: 0 1px 0 #fff;
  31. opacity: 0.8;
  32. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  33. filter: alpha(opacity=80);
  34. line-height: 1;
  35. }
  36. .toast-close-button:focus,
  37. .toast-close-button:hover {
  38. color: #000;
  39. text-decoration: none;
  40. cursor: pointer;
  41. opacity: 0.4;
  42. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
  43. filter: alpha(opacity=40);
  44. }
  45. .rtl .toast-close-button {
  46. left: -0.3em;
  47. float: left;
  48. right: 0.3em;
  49. }
  50. button.toast-close-button {
  51. padding: 0;
  52. cursor: pointer;
  53. background: 0 0;
  54. border: 0;
  55. -webkit-appearance: none;
  56. }
  57. .toast-top-center {
  58. top: 0;
  59. right: 0;
  60. width: 100%;
  61. }
  62. .toast-bottom-center {
  63. bottom: 0;
  64. right: 0;
  65. width: 100%;
  66. }
  67. .toast-top-full-width {
  68. top: 0;
  69. right: 0;
  70. width: 100%;
  71. }
  72. .toast-bottom-full-width {
  73. bottom: 0;
  74. right: 0;
  75. width: 100%;
  76. }
  77. .toast-top-left {
  78. top: 12px;
  79. left: 12px;
  80. }
  81. .toast-top-right {
  82. top: 12px;
  83. right: 12px;
  84. }
  85. .toast-bottom-right {
  86. right: 12px;
  87. bottom: 12px;
  88. }
  89. .toast-bottom-left {
  90. bottom: 12px;
  91. left: 12px;
  92. }
  93. #toast-container {
  94. position: fixed;
  95. z-index: 999999;
  96. pointer-events: none;
  97. }
  98. #toast-container * {
  99. -moz-box-sizing: border-box;
  100. -webkit-box-sizing: border-box;
  101. box-sizing: border-box;
  102. }
  103. #toast-container > div {
  104. position: relative;
  105. pointer-events: auto;
  106. overflow: hidden;
  107. margin: 0 0 6px;
  108. padding: 15px 15px 15px 50px;
  109. width: 300px;
  110. -moz-border-radius: 3px;
  111. -webkit-border-radius: 3px;
  112. border-radius: 3px;
  113. background-position: 15px center;
  114. background-repeat: no-repeat;
  115. -moz-box-shadow: 0 0 12px #999;
  116. -webkit-box-shadow: 0 0 12px #999;
  117. box-shadow: 0 0 12px #999;
  118. color: #fff;
  119. opacity: 0.8;
  120. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  121. filter: alpha(opacity=80);
  122. }
  123. #toast-container > div.rtl {
  124. direction: rtl;
  125. padding: 15px 50px 15px 15px;
  126. background-position: right 15px center;
  127. }
  128. #toast-container > div:hover {
  129. -moz-box-shadow: 0 0 12px #000;
  130. -webkit-box-shadow: 0 0 12px #000;
  131. box-shadow: 0 0 12px #000;
  132. opacity: 1;
  133. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  134. filter: alpha(opacity=100);
  135. cursor: pointer;
  136. }
  137. #toast-container > .toast-info {
  138. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=) !important;
  139. }
  140. #toast-container > .toast-error {
  141. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=) !important;
  142. }
  143. #toast-container > .toast-success {
  144. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==) !important;
  145. }
  146. #toast-container > .toast-warning {
  147. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=) !important;
  148. }
  149. #toast-container.toast-bottom-center > div,
  150. #toast-container.toast-top-center > div {
  151. width: 300px;
  152. margin-left: auto;
  153. margin-right: auto;
  154. }
  155. #toast-container.toast-bottom-full-width > div,
  156. #toast-container.toast-top-full-width > div {
  157. width: 96%;
  158. margin-left: auto;
  159. margin-right: auto;
  160. }
  161. .toast {
  162. background-color: #030303;
  163. }
  164. .toast-success {
  165. background-color: #000000;
  166. }
  167. .toast-error {
  168. background-color: #bd362f;
  169. }
  170. .toast-info {
  171. background-color: #2f96b4;
  172. }
  173. .toast-warning {
  174. background-color: #f89406;
  175. }
  176. .toast-progress {
  177. position: absolute;
  178. left: 0;
  179. bottom: 0;
  180. height: 4px;
  181. background-color: #000;
  182. opacity: 0.4;
  183. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
  184. filter: alpha(opacity=40);
  185. }
  186. @media all and (max-width: 240px) {
  187. #toast-container > div {
  188. padding: 8px 8px 8px 50px;
  189. width: 11em;
  190. }
  191. #toast-container > div.rtl {
  192. padding: 8px 50px 8px 8px;
  193. }
  194. #toast-container .toast-close-button {
  195. right: -0.2em;
  196. top: -0.2em;
  197. }
  198. #toast-container .rtl .toast-close-button {
  199. left: -0.2em;
  200. right: 0.2em;
  201. }
  202. }
  203. @media all and (min-width: 241px) and (max-width: 480px) {
  204. #toast-container > div {
  205. padding: 8px 8px 8px 50px;
  206. width: 18em;
  207. }
  208. #toast-container > div.rtl {
  209. padding: 8px 50px 8px 8px;
  210. }
  211. #toast-container .toast-close-button {
  212. right: -0.2em;
  213. top: -0.2em;
  214. }
  215. #toast-container .rtl .toast-close-button {
  216. left: -0.2em;
  217. right: 0.2em;
  218. }
  219. }
  220. @media all and (min-width: 481px) and (max-width: 768px) {
  221. #toast-container > div {
  222. padding: 15px 15px 15px 50px;
  223. width: 25em;
  224. }
  225. #toast-container > div.rtl {
  226. padding: 15px 50px 15px 15px;
  227. }
  228. }