/2.2/htdocs/css/jquery.gritter.css

https://bitbucket.org/ov3rwatch/djadmin · CSS · 105 lines · 101 code · 0 blank · 4 comment · 0 complexity · b37bc6131e3ec116cd08d67ab2f18949 MD5 · raw file

  1. /* the norm */
  2. #gritter-notice-wrapper {
  3. position:fixed;
  4. top:20px;
  5. right:20px;
  6. width:301px;
  7. z-index:9999;
  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. background:url('../img/ie-spacer.gif'); /* ie7/8 fix */
  29. background-color:#444;
  30. -webkit-border-radius: 3px;
  31. -moz-border-radius: 3px;
  32. border-radius: 3px;
  33. border:2px solid #999;
  34. box-shadow:0 1px 3px rgba(0, 0, 0, 0.4);
  35. }
  36. .gritter-top {
  37. /*background:url(../img/gritter.png) no-repeat left -30px;*/
  38. height:10px;
  39. }
  40. .hover .gritter-top {
  41. background-position:right -30px;
  42. }
  43. .gritter-bottom {
  44. /*background:url(../img/gritter.png) no-repeat left bottom;*/
  45. height:8px;
  46. margin:0;
  47. }
  48. .hover .gritter-bottom {
  49. background-position: bottom right;
  50. }
  51. .gritter-item {
  52. display:block;
  53. color:#fff;
  54. padding:2px 10px 2px 10px;
  55. font-size: 11px;
  56. text-shadow:1px 1px 0 #000; /* Not supported by IE :( */
  57. }
  58. .hover .gritter-item {
  59. background-position:right -40px;
  60. }
  61. .gritter-item p {
  62. padding:0;
  63. margin:0;
  64. }
  65. .gritter-close {
  66. display:none;
  67. position:absolute;
  68. top:3px;
  69. right:3px;
  70. background:url(../img/close.png) no-repeat left top;
  71. cursor:pointer;
  72. width:30px;
  73. height:30px;
  74. }
  75. .gritter-title {
  76. font-size:12px;
  77. font-weight:bold;
  78. padding:0 0 7px 0;
  79. display:block;
  80. text-shadow:1px 1px 0 #000; /* Not supported by IE :( */
  81. }
  82. .gritter-image {
  83. width:48px;
  84. height:48px;
  85. float:left;
  86. }
  87. .gritter-with-image,
  88. .gritter-without-image {
  89. padding:0 0 5px 0;
  90. }
  91. .gritter-with-image {
  92. width:220px;
  93. float:right;
  94. }
  95. /* for the light (white) version of the gritter notice */
  96. .gritter-light .gritter-item,
  97. .gritter-light .gritter-bottom,
  98. .gritter-light .gritter-top,
  99. .gritter-close {
  100. background-image: url(../img/close.png);
  101. color: #222;
  102. }
  103. .gritter-light .gritter-title {
  104. text-shadow: none;
  105. }