jquery.notify.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. .notify-container {
  2. width: auto;
  3. z-index: 9999;
  4. }
  5. * html .notify-container {
  6. position: absolute;
  7. }
  8. .notify-item {
  9. height: auto;
  10. background: #333;
  11. opacity: 0.9;
  12. border-radius: 10px;
  13. -moz-border-radius: 10px;
  14. -webkit-border-radius: 10px;
  15. color: #eee;
  16. padding-top: 10px;
  17. padding-bottom: 10px;
  18. padding-left: 6px;
  19. padding-right: 6px;
  20. font-family: lucida Grande;
  21. font-size: 14px;
  22. border: 2px solid #999;
  23. display: block;
  24. position: relative;
  25. margin: 0 0 12px 0;
  26. box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  27. }
  28. .notify-item p {
  29. text-align: left;
  30. margin-left: 50px;
  31. margin-right: 40px;
  32. padding-top:10px;
  33. }
  34. .notify-item-close {
  35. background:url(../img/close.gif);
  36. width:22px;
  37. height:22px;
  38. position: absolute;
  39. top:7px;
  40. right:7px;
  41. }
  42. .notify-item-image {
  43. width:32px;
  44. height: 32px;
  45. position: absolute;
  46. top: 50%;
  47. margin-top: -16px;
  48. left: 10px;
  49. }
  50. .notify-item-image-notice {
  51. background:url(../img/notice.png);
  52. }
  53. .notify-item-image-success {
  54. background:url(../img/success.png);
  55. }
  56. .notify-item-image-warning {
  57. background:url(../img/warning.png);
  58. }
  59. .notify-item-image-error {
  60. background:url(../img/error.png);
  61. }
  62. /**
  63. * notify types
  64. *
  65. * pattern: notify-type-[value]
  66. * where 'value' is the real value of the plugin option 'type'
  67. *
  68. */
  69. .notify-type-notice {
  70. color: white;
  71. }
  72. .notify-type-success {
  73. color: white;
  74. }
  75. .notify-type-warning {
  76. color: white;
  77. border-color: #FCBD57;
  78. }
  79. .notify-type-error {
  80. color: white;
  81. border-color: #B32B2B;
  82. }
  83. /**
  84. * positions
  85. *
  86. * pattern: notify-position-[value]
  87. * where 'value' is the real value of the plugin option 'position'
  88. *
  89. */
  90. .notify-position-top-left {
  91. position: fixed;
  92. left: 20px;
  93. top: 20px;
  94. }
  95. .notify-position-top-center {
  96. position: fixed;
  97. top: 20px;
  98. left: 50%;
  99. margin-left: -140px;
  100. }
  101. .notify-position-top-right {
  102. position: fixed;
  103. top: 20px;
  104. right: 20px;
  105. }
  106. .notify-position-middle-left {
  107. position: fixed;
  108. left: 20px;
  109. top: 50%;
  110. margin-top: -40px;
  111. }
  112. .notify-position-middle-center {
  113. position: fixed;
  114. left: 50%;
  115. margin-left: -140px;
  116. margin-top: -40px;
  117. top: 50%;
  118. }
  119. .notify-position-middle-right {
  120. position: fixed;
  121. right: 20px;
  122. margin-left: -140px;
  123. margin-top: -40px;
  124. top: 50%;
  125. }