tipTip.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /* TipTip CSS - Version 1.2 */
  2. #tiptip_holder {
  3. display: none;
  4. position: absolute;
  5. top: 0;
  6. left: 0;
  7. z-index: 99999;
  8. }
  9. #tiptip_holder.tip_top {
  10. padding-bottom: 5px;
  11. }
  12. #tiptip_holder.tip_bottom {
  13. padding-top: 5px;
  14. }
  15. #tiptip_holder.tip_right {
  16. padding-left: 5px;
  17. }
  18. #tiptip_holder.tip_left {
  19. padding-right: 5px;
  20. }
  21. #tiptip_content {
  22. font-size: 10px;
  23. color: #fff;
  24. text-shadow: 0 0 2px #000;
  25. padding: 4px 8px;
  26. background-color: rgb(25,25,25);
  27. background-color: rgba(25,25,25,0.8);
  28. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));
  29. border-radius: 2px;
  30. }
  31. #tiptip_arrow, #tiptip_arrow_inner {
  32. position: absolute;
  33. border-color: transparent;
  34. border-style: solid;
  35. border-width: 6px;
  36. height: 0;
  37. width: 0;
  38. }
  39. #tiptip_holder.tip_top #tiptip_arrow_inner {
  40. margin-top: -7px;
  41. margin-left: -6px;
  42. border-top-color: rgb(25,25,25);
  43. border-top-color: rgba(25,25,25,0.92);
  44. }
  45. #tiptip_holder.tip_bottom #tiptip_arrow_inner {
  46. margin-top: -5px;
  47. margin-left: -6px;
  48. border-bottom-color: rgb(25,25,25);
  49. border-bottom-color: rgba(25,25,25,0.92);
  50. }
  51. #tiptip_holder.tip_right #tiptip_arrow_inner {
  52. margin-top: -6px;
  53. margin-left: -5px;
  54. border-right-color: rgb(25,25,25);
  55. border-right-color: rgba(25,25,25,0.92);
  56. }
  57. #tiptip_holder.tip_left #tiptip_arrow_inner {
  58. margin-top: -6px;
  59. margin-left: -7px;
  60. border-left-color: rgb(25,25,25);
  61. border-left-color: rgba(25,25,25,0.92);
  62. }
  63. /* Webkit Hacks */
  64. @media screen and (-webkit-min-device-pixel-ratio:0) {
  65. #tiptip_content {
  66. padding: 4px 8px 5px 8px;
  67. background-color: rgba(45,45,45,0.88);
  68. }
  69. #tiptip_holder.tip_bottom #tiptip_arrow_inner {
  70. border-bottom-color: rgba(45,45,45,0.88);
  71. }
  72. #tiptip_holder.tip_top #tiptip_arrow_inner {
  73. border-top-color: rgba(20,20,20,0.92);
  74. }
  75. }