Theme Inspinia
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

jquery.gritter.css 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. /* the norm */
  2. #gritter-notice-wrapper {
  3. position:fixed;
  4. top:40px;
  5. right:20px;
  6. width:301px;
  7. z-index:9999;
  8. -webkit-animation-duration: 1s;
  9. animation-duration: 1s;
  10. -webkit-animation-fill-mode: both;
  11. animation-fill-mode: both;
  12. -webkit-animation-name: bounceIn;
  13. animation-name: bounceIn;
  14. }
  15. @keyframes bounceIn {
  16. 0% {
  17. opacity: 0;
  18. -webkit-transform: scale(.3);
  19. -ms-transform: scale(.3);
  20. transform: scale(.3);
  21. }
  22. 50% {
  23. opacity: 1;
  24. -webkit-transform: scale(1.05);
  25. -ms-transform: scale(1.05);
  26. transform: scale(1.05);
  27. }
  28. 70% {
  29. -webkit-transform: scale(.9);
  30. -ms-transform: scale(.9);
  31. transform: scale(.9);
  32. }
  33. 100% {
  34. opacity: 1;
  35. -webkit-transform: scale(1);
  36. -ms-transform: scale(1);
  37. transform: scale(1);
  38. }
  39. }
  40. #gritter-notice-wrapper.top-left {
  41. left: 20px;
  42. right: auto;
  43. }
  44. #gritter-notice-wrapper.bottom-right {
  45. top: auto;
  46. left: auto;
  47. bottom: 20px;
  48. right: 20px;
  49. }
  50. #gritter-notice-wrapper.bottom-left {
  51. top: auto;
  52. right: auto;
  53. bottom: 20px;
  54. left: 20px;
  55. }
  56. .gritter-item-wrapper {
  57. position:relative;
  58. margin:0 0 10px 0;
  59. background:url('images/ie-spacer.gif'); /* ie7/8 fix */
  60. }
  61. .hover .gritter-top {
  62. /*background-position:right -30px;*/
  63. }
  64. .gritter-bottom {
  65. height:8px;
  66. margin:0;
  67. }
  68. .gritter-item {
  69. display:block;
  70. background-color: rgba(39,58,75,0.8);
  71. border-radius: 4px;
  72. color:#eee;
  73. padding:10px 11px 10px 11px;
  74. font-size: 11px;
  75. }
  76. .hover .gritter-item {
  77. background-position:right -40px;
  78. }
  79. .gritter-item p {
  80. padding:0;
  81. margin:0;
  82. word-wrap:break-word;
  83. }
  84. .gritter-item a:hover {
  85. color: #f8ac59;
  86. text-decoration: underline;
  87. }
  88. .gritter-close {
  89. display:none;
  90. position:absolute;
  91. top:5px;
  92. right:3px;
  93. background:url(images/gritter.png) no-repeat left top;
  94. cursor:pointer;
  95. width:30px;
  96. height:30px;
  97. text-indent:-9999em;
  98. }
  99. .gritter-title {
  100. font-size:12px;
  101. font-weight:bold;
  102. padding:0 0 7px 0;
  103. display:block;
  104. text-transform: uppercase;
  105. }
  106. .gritter-image {
  107. width:48px;
  108. height:48px;
  109. float:left;
  110. }
  111. .gritter-with-image,
  112. .gritter-without-image {
  113. padding:0;
  114. }
  115. .gritter-with-image {
  116. width:220px;
  117. float:right;
  118. }
  119. /* for the light (white) version of the gritter notice */
  120. .gritter-light .gritter-item,
  121. .gritter-light .gritter-bottom,
  122. .gritter-light .gritter-top,
  123. .gritter-light .gritter-close {
  124. background-image: url(images/gritter-light.png);
  125. color: #222;
  126. }
  127. .gritter-light .gritter-title {
  128. text-shadow: none;
  129. }