tipsy.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. .tipsy {
  2. font-size: 10px;
  3. position: absolute;
  4. padding: 5px;
  5. z-index: 100008;
  6. text-shadow:none;
  7. font-weight:500;
  8. text-transform:uppercase;
  9. font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif
  10. }
  11. .tipsy-inner {
  12. background-color: #000;
  13. color: #FFF;
  14. max-width: 200px;
  15. padding: 5px 8px 6px 8px;
  16. text-align: center;
  17. }
  18. /* Rounded corners */
  19. .tipsy-inner {
  20. /* border-radius: 2px;
  21. -moz-border-radius: 2px;
  22. -webkit-border-radius: 2px;*/
  23. }
  24. /* Uncomment for shadow */
  25. /*.tipsy-inner { box-shadow: 0 0 5px #000000; -webkit-box-shadow: 0 0 5px #000000; -moz-box-shadow: 0 0 5px #000000; }*/
  26. .tipsy-arrow {
  27. position: absolute;
  28. width: 0;
  29. height: 0;
  30. line-height: 0;
  31. border: 5px dashed #000;
  32. }
  33. /* Rules to colour arrows */
  34. .tipsy-arrow-n {
  35. border-bottom-color: #000;
  36. }
  37. .tipsy-arrow-s {
  38. border-top-color: #000;
  39. }
  40. .tipsy-arrow-e {
  41. border-left-color: #000;
  42. }
  43. .tipsy-arrow-w {
  44. border-right-color: #000;
  45. }
  46. .tipsy-n .tipsy-arrow {
  47. top: 0px;
  48. left: 50%;
  49. margin-left: -5px;
  50. border-bottom-style: solid;
  51. border-top: none;
  52. border-left-color: transparent;
  53. border-right-color: transparent;
  54. }
  55. .tipsy-nw .tipsy-arrow {
  56. top: 0;
  57. left: 10px;
  58. border-bottom-style: solid;
  59. border-top: none;
  60. border-left-color: transparent;
  61. border-right-color: transparent;
  62. }
  63. .tipsy-ne .tipsy-arrow {
  64. top: 0;
  65. right: 10px;
  66. border-bottom-style: solid;
  67. border-top: none;
  68. border-left-color: transparent;
  69. border-right-color: transparent;
  70. }
  71. .tipsy-s .tipsy-arrow {
  72. bottom: 0;
  73. left: 50%;
  74. margin-left: -5px;
  75. border-top-style: solid;
  76. border-bottom: none;
  77. border-left-color: transparent;
  78. border-right-color: transparent;
  79. }
  80. .tipsy-sw .tipsy-arrow {
  81. bottom: 0;
  82. left: 10px;
  83. border-top-style: solid;
  84. border-bottom: none;
  85. border-left-color: transparent;
  86. border-right-color: transparent;
  87. }
  88. .tipsy-se .tipsy-arrow {
  89. bottom: 0;
  90. right: 10px;
  91. border-top-style: solid;
  92. border-bottom: none;
  93. border-left-color: transparent;
  94. border-right-color: transparent;
  95. }
  96. .tipsy-e .tipsy-arrow {
  97. right: 0;
  98. top: 50%;
  99. margin-top: -5px;
  100. border-left-style: solid;
  101. border-right: none;
  102. border-top-color: transparent;
  103. border-bottom-color: transparent;
  104. }
  105. .tipsy-w .tipsy-arrow {
  106. left: 0;
  107. top: 50%;
  108. margin-top: -5px;
  109. border-right-style: solid;
  110. border-left: none;
  111. border-top-color: transparent;
  112. border-bottom-color: transparent;
  113. }