tooltip.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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: 5px 5px 5px 5px;
  13. -webkit-border-radius: 5px 5px 5px 5px;
  14. border-radius: 5px 5px 5px 5px;
  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. }
  30. .tooltip-arrow {
  31. display: none \9;
  32. }
  33. .tooltip-right .tooltip-arrow-outer {
  34. left: 0;
  35. top: 50%;
  36. margin: -6px 0 0 -13px;
  37. }
  38. .tooltip-right .tooltip-arrow {
  39. left: 0;
  40. top: 50%;
  41. margin: -6px 0 0 -12px;
  42. }
  43. .tooltip-left .tooltip-arrow-outer {
  44. right: 0;
  45. top: 50%;
  46. margin: -6px -13px 0 0;
  47. }
  48. .tooltip-left .tooltip-arrow {
  49. right: 0;
  50. top: 50%;
  51. margin: -6px -12px 0 0;
  52. }
  53. .tooltip-top .tooltip-arrow-outer {
  54. bottom: 0;
  55. left: 50%;
  56. margin: 0 0 -13px -6px;
  57. }
  58. .tooltip-top .tooltip-arrow {
  59. bottom: 0;
  60. left: 50%;
  61. margin: 0 0 -12px -6px;
  62. }
  63. .tooltip-bottom .tooltip-arrow-outer {
  64. top: 0;
  65. left: 50%;
  66. margin: -13px 0 0 -6px;
  67. }
  68. .tooltip-bottom .tooltip-arrow {
  69. top: 0;
  70. left: 50%;
  71. margin: -12px 0 0 -6px;
  72. }
  73. .tooltip {
  74. background-color: #feeebd;
  75. border-color: #494437;
  76. color: #000000;
  77. }
  78. .tooltip-right .tooltip-arrow-outer {
  79. border-right-color: #494437;
  80. }
  81. .tooltip-right .tooltip-arrow {
  82. border-right-color: #feeebd;
  83. }
  84. .tooltip-left .tooltip-arrow-outer {
  85. border-left-color: #494437;
  86. }
  87. .tooltip-left .tooltip-arrow {
  88. border-left-color: #feeebd;
  89. }
  90. .tooltip-top .tooltip-arrow-outer {
  91. border-top-color: #494437;
  92. }
  93. .tooltip-top .tooltip-arrow {
  94. border-top-color: #feeebd;
  95. }
  96. .tooltip-bottom .tooltip-arrow-outer {
  97. border-bottom-color: #494437;
  98. }
  99. .tooltip-bottom .tooltip-arrow {
  100. border-bottom-color: #feeebd;
  101. }