Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. /*
  2. * Toastr
  3. * Copyright 2012-2014 John Papa and Hans Fjällemark.
  4. * All Rights Reserved.
  5. * Use, reproduction, distribution, and modification of this code is subject to the terms and
  6. * conditions of the MIT license, available at http://www.opensource.org/licenses/mit-license.php
  7. *
  8. * Author: John Papa and Hans Fjällemark
  9. * Project: https://github.com/CodeSeven/toastr
  10. */
  11. .toast-title {
  12. font-weight: bold;
  13. }
  14. .toast-message {
  15. -ms-word-wrap: break-word;
  16. word-wrap: break-word;
  17. }
  18. .toast-message a,
  19. .toast-message label {
  20. color: #ffffff;
  21. }
  22. .toast-message a:hover {
  23. color: #cccccc;
  24. text-decoration: none;
  25. }
  26. .toast-close-button {
  27. position: relative;
  28. right: -0.3em;
  29. top: -0.3em;
  30. float: right;
  31. font-size: 20px;
  32. font-weight: bold;
  33. color: #ffffff;
  34. -webkit-text-shadow: 0 1px 0 #ffffff;
  35. text-shadow: 0 1px 0 #ffffff;
  36. opacity: 0.8;
  37. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  38. filter: alpha(opacity=80);
  39. }
  40. .toast-close-button:hover,
  41. .toast-close-button:focus {
  42. color: #000000;
  43. text-decoration: none;
  44. cursor: pointer;
  45. opacity: 0.4;
  46. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
  47. filter: alpha(opacity=40);
  48. }
  49. /*Additional properties for button version
  50. iOS requires the button element instead of an anchor tag.
  51. If you want the anchor version, it requires `href="#"`.*/
  52. button.toast-close-button {
  53. padding: 0;
  54. cursor: pointer;
  55. background: transparent;
  56. border: 0;
  57. -webkit-appearance: none;
  58. }
  59. .toast-top-full-width {
  60. top: 0;
  61. right: 0;
  62. width: 100%;
  63. }
  64. .toast-bottom-full-width {
  65. bottom: 0;
  66. right: 0;
  67. width: 100%;
  68. }
  69. .toast-top-left {
  70. top: 12px;
  71. left: 12px;
  72. }
  73. .toast-top-right {
  74. top: 12px;
  75. right: 12px;
  76. }
  77. .toast-bottom-right {
  78. right: 12px;
  79. bottom: 12px;
  80. }
  81. .toast-bottom-left {
  82. bottom: 12px;
  83. left: 12px;
  84. }
  85. #toast-container {
  86. position: fixed;
  87. z-index: 1012;
  88. /*overrides*/
  89. }
  90. #toast-container * {
  91. -moz-box-sizing: border-box;
  92. -webkit-box-sizing: border-box;
  93. box-sizing: border-box;
  94. }
  95. #toast-container > div {
  96. margin: 0 0 6px;
  97. padding: 15px 15px 15px 15px;
  98. width: 300px;
  99. -moz-border-radius: 3px 3px 3px 3px;
  100. -webkit-border-radius: 3px 3px 3px 3px;
  101. border-radius: 3px 3px 3px 3px;
  102. background-position: 15px center;
  103. background-repeat: no-repeat;
  104. -moz-box-shadow: 0 0 12px #999999;
  105. -webkit-box-shadow: 0 0 12px #999999;
  106. box-shadow: 0 0 12px #999999;
  107. color: #ffffff;
  108. opacity: 0.8;
  109. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  110. filter: alpha(opacity=80);
  111. }
  112. #toast-container > :hover {
  113. -moz-box-shadow: 0 0 12px #000000;
  114. -webkit-box-shadow: 0 0 12px #000000;
  115. box-shadow: 0 0 12px #000000;
  116. opacity: 1;
  117. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  118. filter: alpha(opacity=100);
  119. cursor: pointer;
  120. }
  121. #toast-container .toast-info,
  122. #toast-container .toast-success,
  123. #toast-container .toast-error,
  124. #toast-container .toast-warning
  125. {
  126. padding: 10px 10px 10px 10px !important;
  127. }
  128. #toast-container.toast-top-full-width > div,
  129. #toast-container.toast-bottom-full-width > div {
  130. width: 100%;
  131. margin: auto;
  132. }
  133. .toast {
  134. background-color: #030303;
  135. }
  136. .toast-success {
  137. background-color: #51a351;
  138. }
  139. .toast-error {
  140. background-color: #bd362f;
  141. }
  142. .toast-info {
  143. background-color: #2f96b4;
  144. }
  145. .toast-warning {
  146. background-color: #f89406;
  147. }
  148. /*Responsive Design*/
  149. @media all and (max-width: 240px) {
  150. #toast-container > div {
  151. padding: 8px 8px 8px 8px;
  152. width: 11em;
  153. }
  154. #toast-container .toast-close-button {
  155. right: -0.2em;
  156. top: -0.2em;
  157. }
  158. }
  159. @media all and (min-width: 241px) and (max-width: 480px) {
  160. #toast-container > div {
  161. padding: 8px 8px 8px 8px;
  162. width: 18em;
  163. }
  164. #toast-container .toast-close-button {
  165. right: -0.2em;
  166. top: -0.2em;
  167. }
  168. }
  169. @media all and (min-width: 481px) and (max-width: 768px) {
  170. #toast-container > div {
  171. padding: 15px 15px 15px 15px;
  172. width: 25em;
  173. }
  174. }