toastr.min.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. .toast-title {
  2. font-weight: 700
  3. }
  4. .toast-message {
  5. -ms-word-wrap: break-word;
  6. word-wrap: break-word
  7. }
  8. .toast-message a, .toast-message label {
  9. color: #fff
  10. }
  11. .toast-message a:hover {
  12. color: #ccc;
  13. text-decoration: none
  14. }
  15. .toast-close-button {
  16. position: relative;
  17. right: -.3em;
  18. top: -.3em;
  19. float: right;
  20. font-size: 20px;
  21. font-weight: 700;
  22. color: #fff;
  23. -webkit-text-shadow: 0 1px 0 #fff;
  24. text-shadow: 0 1px 0 #fff;
  25. opacity: .8;
  26. -ms-filter: alpha(Opacity=80);
  27. filter: alpha(opacity=80)
  28. }
  29. .toast-close-button:focus, .toast-close-button:hover {
  30. color: #000;
  31. text-decoration: none;
  32. cursor: pointer;
  33. opacity: .4;
  34. -ms-filter: alpha(Opacity=40);
  35. filter: alpha(opacity=40)
  36. }
  37. button.toast-close-button {
  38. padding: 0;
  39. cursor: pointer;
  40. background: 0 0;
  41. border: 0;
  42. -webkit-appearance: none
  43. }
  44. .toast-top-center {
  45. top: 0;
  46. right: 0;
  47. width: 100%
  48. }
  49. .toast-bottom-center {
  50. bottom: 0;
  51. right: 0;
  52. width: 100%
  53. }
  54. .toast-top-full-width {
  55. top: 0;
  56. right: 0;
  57. width: 100%
  58. }
  59. .toast-bottom-full-width {
  60. bottom: 0;
  61. right: 0;
  62. width: 100%
  63. }
  64. .toast-top-left {
  65. top: 12px;
  66. left: 12px
  67. }
  68. .toast-top-right {
  69. top: 12px;
  70. right: 12px
  71. }
  72. .toast-bottom-right {
  73. right: 12px;
  74. bottom: 12px
  75. }
  76. .toast-bottom-left {
  77. bottom: 12px;
  78. left: 12px
  79. }
  80. #toast-container {
  81. position: fixed;
  82. z-index: 999999
  83. }
  84. #toast-container * {
  85. -moz-box-sizing: border-box;
  86. -webkit-box-sizing: border-box;
  87. box-sizing: border-box
  88. }
  89. #toast-container > div {
  90. position: relative;
  91. overflow: hidden;
  92. margin: 0 0 6px;
  93. padding: 15px 15px 15px 50px;
  94. width: 300px;
  95. -moz-border-radius: 3px;
  96. -webkit-border-radius: 3px;
  97. border-radius: 3px;
  98. background-position: 15px center;
  99. background-repeat: no-repeat;
  100. -moz-box-shadow: 0 0 12px #999;
  101. -webkit-box-shadow: 0 0 12px #999;
  102. box-shadow: 0 0 12px #999;
  103. color: #fff;
  104. opacity: .8;
  105. -ms-filter: alpha(Opacity=80);
  106. filter: alpha(opacity=80)
  107. }
  108. #toast-container > :hover {
  109. -moz-box-shadow: 0 0 12px #000;
  110. -webkit-box-shadow: 0 0 12px #000;
  111. box-shadow: 0 0 12px #000;
  112. opacity: 1;
  113. -ms-filter: alpha(Opacity=100);
  114. filter: alpha(opacity=100);
  115. cursor: pointer
  116. }
  117. #toast-container > .toast-info {
  118. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=) !important
  119. }
  120. #toast-container > .toast-error {
  121. 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
  122. }
  123. #toast-container > .toast-success {
  124. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==) !important
  125. }
  126. #toast-container > .toast-warning {
  127. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=) !important
  128. }
  129. #toast-container.toast-bottom-center > div, #toast-container.toast-top-center > div {
  130. width: 300px;
  131. margin: auto
  132. }
  133. #toast-container.toast-bottom-full-width > div, #toast-container.toast-top-full-width > div {
  134. width: 96%;
  135. margin: auto
  136. }
  137. .toast {
  138. background-color: #030303
  139. }
  140. .toast-success {
  141. background-color: #51a351
  142. }
  143. .toast-error {
  144. background-color: #bd362f
  145. }
  146. .toast-info {
  147. background-color: #2f96b4
  148. }
  149. .toast-warning {
  150. background-color: #f89406
  151. }
  152. .toast-progress {
  153. position: absolute;
  154. left: 0;
  155. bottom: 0;
  156. height: 4px;
  157. background-color: #000;
  158. opacity: .4;
  159. -ms-filter: alpha(Opacity=40);
  160. filter: alpha(opacity=40)
  161. }
  162. @media all and (max-width: 240px) {
  163. #toast-container > div {
  164. padding: 8px 8px 8px 50px;
  165. width: 11em
  166. }
  167. #toast-container .toast-close-button {
  168. right: -.2em;
  169. top: -.2em
  170. }
  171. }
  172. @media all and (min-width: 241px) and (max-width: 480px) {
  173. #toast-container > div {
  174. padding: 8px 8px 8px 50px;
  175. width: 18em
  176. }
  177. #toast-container .toast-close-button {
  178. right: -.2em;
  179. top: -.2em
  180. }
  181. }
  182. @media all and (min-width: 481px) and (max-width: 768px) {
  183. #toast-container > div {
  184. padding: 15px 15px 15px 50px;
  185. width: 25em
  186. }
  187. }