tooltip.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. .tooltip {
  2. position: absolute;
  3. display: none;
  4. z-index: 9900000;
  5. outline: none;
  6. opacity: 1;
  7. filter: alpha(opacity=100);
  8. padding: 5px;
  9. border-width: 1px;
  10. border-style: solid;
  11. border-radius: 5px;
  12. -moz-border-radius: 4px 4px 4px 4px;
  13. -webkit-border-radius: 4px 4px 4px 4px;
  14. border-radius: 4px 4px 4px 4px;
  15. }
  16. .tooltip-content {
  17. font-size: 14px;
  18. }
  19. .tooltip-arrow-outer,
  20. .tooltip-arrow {
  21. position: absolute;
  22. width: 0;
  23. height: 0;
  24. line-height: 0;
  25. font-size: 0;
  26. border-style: solid;
  27. border-width: 6px;
  28. border-color: transparent;
  29. _border-color: tomato;
  30. _filter: chroma(color=tomato);
  31. }
  32. .tooltip-arrow {
  33. display: none \9;
  34. }
  35. .tooltip-right .tooltip-arrow-outer {
  36. left: 0;
  37. top: 50%;
  38. margin: -6px 0 0 -13px;
  39. }
  40. .tooltip-right .tooltip-arrow {
  41. left: 0;
  42. top: 50%;
  43. margin: -6px 0 0 -12px;
  44. }
  45. .tooltip-left .tooltip-arrow-outer {
  46. right: 0;
  47. top: 50%;
  48. margin: -6px -13px 0 0;
  49. }
  50. .tooltip-left .tooltip-arrow {
  51. right: 0;
  52. top: 50%;
  53. margin: -6px -12px 0 0;
  54. }
  55. .tooltip-top .tooltip-arrow-outer {
  56. bottom: 0;
  57. left: 50%;
  58. margin: 0 0 -13px -6px;
  59. }
  60. .tooltip-top .tooltip-arrow {
  61. bottom: 0;
  62. left: 50%;
  63. margin: 0 0 -12px -6px;
  64. }
  65. .tooltip-bottom .tooltip-arrow-outer {
  66. top: 0;
  67. left: 50%;
  68. margin: -13px 0 0 -6px;
  69. }
  70. .tooltip-bottom .tooltip-arrow {
  71. top: 0;
  72. left: 50%;
  73. margin: -12px 0 0 -6px;
  74. }
  75. .tooltip {
  76. background-color: #ffffff;
  77. border-color: #ddd;
  78. color: #404040;
  79. }
  80. .tooltip-right .tooltip-arrow-outer {
  81. border-right-color: #ddd;
  82. }
  83. .tooltip-right .tooltip-arrow {
  84. border-right-color: #ffffff;
  85. }
  86. .tooltip-left .tooltip-arrow-outer {
  87. border-left-color: #ddd;
  88. }
  89. .tooltip-left .tooltip-arrow {
  90. border-left-color: #ffffff;
  91. }
  92. .tooltip-top .tooltip-arrow-outer {
  93. border-top-color: #ddd;
  94. }
  95. .tooltip-top .tooltip-arrow {
  96. border-top-color: #ffffff;
  97. }
  98. .tooltip-bottom .tooltip-arrow-outer {
  99. border-bottom-color: #ddd;
  100. }
  101. .tooltip-bottom .tooltip-arrow {
  102. border-bottom-color: #ffffff;
  103. }