Aucune description
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

toastr.css 6.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. .toast-title {
  2. font-weight: bold;
  3. }
  4. .toast-message {
  5. -ms-word-wrap: break-word;
  6. word-wrap: break-word;
  7. }
  8. .toast-message a,
  9. .toast-message label {
  10. color: #FFFFFF;
  11. }
  12. .toast-message a:hover {
  13. color: #CCCCCC;
  14. text-decoration: none;
  15. }
  16. .toast-close-button {
  17. position: relative;
  18. right: -0.3em;
  19. top: -0.3em;
  20. float: right;
  21. font-size: 20px;
  22. font-weight: bold;
  23. color: #000000;
  24. -webkit-text-shadow: 0 1px 0 #000000;
  25. text-shadow: 0 1px 0 #000000;
  26. opacity: 0.8;
  27. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  28. filter: alpha(opacity=80);
  29. line-height: 1;
  30. }
  31. .toast-close-button:hover,
  32. .toast-close-button:focus {
  33. color: #000000;
  34. text-decoration: none;
  35. cursor: pointer;
  36. opacity: 0.4;
  37. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
  38. filter: alpha(opacity=40);
  39. }
  40. .rtl .toast-close-button {
  41. left: -0.3em;
  42. float: left;
  43. right: 0.3em;
  44. }
  45. /*Additional properties for button version
  46. iOS requires the button element instead of an anchor tag.
  47. If you want the anchor version, it requires `href="#"`.*/
  48. button.toast-close-button {
  49. padding: 0;
  50. cursor: pointer;
  51. background: transparent;
  52. border: 0;
  53. -webkit-appearance: none;
  54. }
  55. .toast-top-center {
  56. top: 0;
  57. right: 0;
  58. width: 100%;
  59. }
  60. .toast-bottom-center {
  61. bottom: 0;
  62. right: 0;
  63. width: 100%;
  64. }
  65. .toast-top-full-width {
  66. top: 0;
  67. right: 0;
  68. width: 100%;
  69. }
  70. .toast-bottom-full-width {
  71. bottom: 0;
  72. right: 0;
  73. width: 100%;
  74. }
  75. .toast-top-left {
  76. top: 12px;
  77. left: 12px;
  78. }
  79. .toast-top-right {
  80. top: 12px;
  81. right: 12px;
  82. }
  83. .toast-bottom-right {
  84. right: 12px;
  85. bottom: 12px;
  86. }
  87. .toast-bottom-left {
  88. bottom: 12px;
  89. left: 12px;
  90. }
  91. #toast-container {
  92. position: fixed;
  93. z-index: 999999;
  94. pointer-events: none;
  95. /*overrides*/
  96. }
  97. #toast-container * {
  98. -moz-box-sizing: border-box;
  99. -webkit-box-sizing: border-box;
  100. box-sizing: border-box;
  101. }
  102. #toast-container > div {
  103. position: relative;
  104. pointer-events: auto;
  105. overflow: hidden;
  106. margin: 0 0 6px;
  107. padding: 15px 15px 15px 50px;
  108. width: 300px;
  109. -moz-border-radius: 3px 3px 3px 3px;
  110. -webkit-border-radius: 3px 3px 3px 3px;
  111. border-radius: 3px 3px 3px 3px;
  112. background-position: 15px center;
  113. background-repeat: no-repeat;
  114. -moz-box-shadow:0 0.313rem 1.563rem rgba(0,0,0,.1);
  115. -webkit-box-shadow: 0 0.313rem 1.563rem rgba(0,0,0,.1);
  116. border-radius: 0.25em;
  117. box-shadow: 0 0.313rem 1.563rem rgba(0,0,0,.1);
  118. color: #FFFFFF;
  119. transition: transform 300ms ease-in-out;
  120. }
  121. #toast-container > div.rtl {
  122. direction: rtl;
  123. padding: 15px 50px 15px 15px;
  124. background-position: right 15px center;
  125. }
  126. #toast-container > div:hover {
  127. -moz-box-shadow:0 0.313rem 1.563rem rgba(0,0,0,.1);
  128. -webkit-box-shadow: 0 0.313rem 1.563rem rgba(0,0,0,.1);
  129. box-shadow:0 0.313rem 1.563rem rgba(0,0,0,.1);
  130. opacity: 1;
  131. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  132. filter: alpha(opacity=100);
  133. cursor: pointer;
  134. }
  135. #toast-container > .toast-info {
  136. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=") !important;
  137. }
  138. #toast-container > .toast-error {
  139. background-image: url("../assets/imgs/remove.png") !important;
  140. }
  141. #toast-container > .toast-success {
  142. background-image: url("../assets/imgs/checked.png") !important;
  143. }
  144. #toast-container > .toast-warning {
  145. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=") !important;
  146. }
  147. #toast-container.toast-top-center > div,
  148. #toast-container.toast-bottom-center > div {
  149. width: 300px;
  150. margin-left: auto;
  151. margin-right: auto;
  152. }
  153. #toast-container.toast-top-full-width > div,
  154. #toast-container.toast-bottom-full-width > div {
  155. width: 96%;
  156. margin-left: auto;
  157. margin-right: auto;
  158. }
  159. .toast {
  160. background-color: #030303;
  161. }
  162. .toast-success {
  163. background-color: #ffffff;
  164. font-weight: 500;
  165. }
  166. .toast-error {
  167. background-color: #ffffff;
  168. font-weight: 500;
  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. }
  182. .toast-error .toast-progress {
  183. background-color: #FF3055;
  184. }
  185. .toast-success .toast-progress {
  186. background-color: #32BEA6;
  187. }
  188. /*Responsive Design*/
  189. @media all and (max-width: 240px) {
  190. #toast-container > div {
  191. padding: 8px 8px 8px 50px;
  192. width: 11em;
  193. }
  194. #toast-container > div.rtl {
  195. padding: 8px 50px 8px 8px;
  196. }
  197. #toast-container .toast-close-button {
  198. right: -0.2em;
  199. top: -0.2em;
  200. }
  201. #toast-container .rtl .toast-close-button {
  202. left: -0.2em;
  203. right: 0.2em;
  204. }
  205. }
  206. @media all and (min-width: 241px) and (max-width: 480px) {
  207. #toast-container > div {
  208. padding: 8px 8px 8px 50px;
  209. width: 18em;
  210. }
  211. #toast-container > div.rtl {
  212. padding: 8px 50px 8px 8px;
  213. }
  214. #toast-container .toast-close-button {
  215. right: -0.2em;
  216. top: -0.2em;
  217. }
  218. #toast-container .rtl .toast-close-button {
  219. left: -0.2em;
  220. right: 0.2em;
  221. }
  222. }
  223. @media all and (min-width: 481px) and (max-width: 768px) {
  224. #toast-container > div {
  225. padding: 15px 15px 15px 50px;
  226. width: 25em;
  227. }
  228. #toast-container > div.rtl {
  229. padding: 15px 50px 15px 15px;
  230. }
  231. }