jquery.gritter.css 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /* the norm */
  2. #gritter-notice-wrapper {
  3. position:fixed;
  4. top:50px;
  5. right:10px;
  6. width:301px;
  7. z-index:989;
  8. }
  9. #gritter-notice-wrapper.top-left {
  10. left: 20px;
  11. right: auto;
  12. }
  13. #gritter-notice-wrapper.bottom-right {
  14. top: auto;
  15. left: auto;
  16. bottom: 20px;
  17. right: 20px;
  18. }
  19. #gritter-notice-wrapper.bottom-left {
  20. top: auto;
  21. right: auto;
  22. bottom: 20px;
  23. left: 20px;
  24. }
  25. .gritter-item-wrapper {
  26. position:relative;
  27. margin:0 0 10px 0;
  28. }
  29. .gritter-top, .gritter-bottom {
  30. height: 0;
  31. }
  32. .gritter-item {
  33. display:block;
  34. background: #f74d4d; /* Old browsers */
  35. color:#2b2b2b; box-shadow:3px 3px 20px #000;
  36. padding:7px 10px 10px;
  37. font-size: 11px; color:#fff;
  38. font-family:verdana;
  39. }
  40. .hover .gritter-item {
  41. }
  42. .gritter-item p {
  43. padding:0;
  44. margin:0;
  45. word-wrap:break-word;
  46. font-size: 10px;
  47. line-height: 14px;
  48. }
  49. .gritter-close {
  50. display:none;
  51. position:absolute;
  52. top:-7px;
  53. right:-9px;
  54. background:url(../img/gritter.png) no-repeat left top;
  55. cursor:pointer;
  56. width:30px;
  57. height:30px;
  58. }
  59. .gritter-title {
  60. font-size:12px;
  61. font-weight:bold;
  62. padding:0 0 7px 0;
  63. display:block;
  64. }
  65. .gritter-image {
  66. width:32px;
  67. height:32px;
  68. float:left;
  69. margin: 5px;
  70. }
  71. .gritter-with-image,
  72. .gritter-without-image {
  73. padding:0;
  74. }
  75. .gritter-with-image {
  76. width:220px;
  77. float:right;
  78. }
  79. /* for the light (white) version of the gritter notice */
  80. .gritter-light .gritter-item,
  81. .gritter-light .gritter-bottom,
  82. .gritter-light .gritter-top,
  83. .gritter-light .gritter-close {
  84. background-image: url(../img/gritter-light.png);
  85. color: #222;
  86. }
  87. .gritter-light .gritter-title {
  88. text-shadow: none;
  89. }