Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

_toastr.scss 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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. * Last updated: October 13, 2016
  12. */
  13. .toast-title,
  14. .toast-message .nickname {
  15. font-weight: bold;
  16. margin: 0 0 3px;
  17. @include text-truncate;
  18. }
  19. .toast-message {
  20. -ms-word-wrap: break-word;
  21. word-wrap: break-word;
  22. }
  23. .toast-message a,
  24. .toast-message label,
  25. .toast-message .connected,
  26. .toast-message .disconnected {
  27. color: $notificationLinkColor;
  28. text-decoration: none;
  29. }
  30. .toast-message a:hover {
  31. text-decoration: underline;
  32. }
  33. .toast-message br {
  34. display: none;
  35. }
  36. // close button
  37. .toast-close-button {
  38. color: $notificationColor;
  39. background: transparent;
  40. font-size: 15px;
  41. line-height: 1.2;
  42. height: 20px;
  43. width: 20px;
  44. padding: 0;
  45. border: 0;
  46. margin: -6px -10px 0 0;
  47. float: right;
  48. cursor: pointer;
  49. @include opacity(0.4);
  50. /* Additional properties for button version
  51. iOS requires the button element instead of an anchor tag.
  52. If you want the anchor version, it requires `href="#"`. */
  53. -webkit-appearance: none;
  54. }
  55. .toast-close-button:hover,
  56. .toast-close-button:focus {
  57. @include opacity(1);
  58. }
  59. .toast {
  60. color: $notificationColor;
  61. background-color: $notificationBackground;
  62. font-size: $notificationFontSize;
  63. padding: $notificationPadding;
  64. border: 1px solid lighten($notificationBackground, 10%);
  65. @include border-radius($notificationBorderRadius);
  66. @include box-shadow(1px, 1px, 2px, rgba(0,0,0,0.3));
  67. @include opacity($notificationOpacity);
  68. }
  69. .toast:hover {
  70. @include opacity(1);
  71. }
  72. #toast-container {
  73. position: fixed;
  74. z-index: $notificationZ;
  75. }
  76. #toast-container.notification-bottom-right {
  77. $videoOffset: 2 * ($thumbnailVideoMargin + $thumbnailsBorder) + $thumbnailVideoBorder;
  78. bottom: 135px;
  79. right: $filmstripToggleButtonWidth + $videoOffset;
  80. }
  81. #toast-container * {
  82. @include box-sizing(border-box);
  83. }
  84. #toast-container .toast {
  85. width: $notificationWidth;
  86. margin: 0 0 8px;
  87. }