tooltip.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. .twipsy {
  2. display: block;
  3. position: absolute;
  4. visibility: visible;
  5. max-width: 200px;
  6. min-width: 100px;
  7. padding: 5px;
  8. font-size: 11px;
  9. z-index: 1000;
  10. opacity: 0.8;
  11. -khtml-opacity: 0.8;
  12. -moz-opacity: 0.8;
  13. filter: alpha(opacity=80);
  14. }
  15. .twipsy.left .twipsy-arrow {
  16. top: 50%;
  17. right: 0;
  18. margin-top: -5px;
  19. border-top: 5px solid transparent;
  20. border-bottom: 5px solid transparent;
  21. border-left: 5px solid #000000;
  22. }
  23. .twipsy.right .twipsy-arrow {
  24. top: 50%;
  25. left: 0;
  26. margin-top: -5px;
  27. border-top: 5px solid transparent;
  28. border-bottom: 5px solid transparent;
  29. border-right: 5px solid #000000;
  30. }
  31. .twipsy-inner {
  32. padding: 3px 8px;
  33. background-color: #000000;
  34. color: white;
  35. text-align: center;
  36. max-width: 200px;
  37. text-decoration: none;
  38. -webkit-border-radius: 4px;
  39. -moz-border-radius: 4px;
  40. border-radius: 4px;
  41. }
  42. .twipsy-arrow {
  43. position: absolute;
  44. width: 0;
  45. height: 0;
  46. }
  47. /*
  48. css rules for the draw helper components
  49. */
  50. .toolbar {
  51. margin: 0px;
  52. padding: 0px;
  53. background: white;
  54. }
  55. .toolbar > .button {
  56. margin: 5px;
  57. padding: 5px;
  58. border: 1px solid #eee;
  59. cursor: pointer;
  60. }
  61. .toolbar > .button:hover {
  62. background: #eee;
  63. }
  64. /*
  65. css rules for the infowindow
  66. */
  67. .infoWindow {
  68. position: absolute;
  69. min-width: 100px;
  70. max-width: 300px;
  71. }
  72. .infoWindow #frame {
  73. padding: 10px;
  74. border: 1px solid black;
  75. background: white;
  76. }
  77. .infoWindow #close {
  78. float: right;
  79. margin: 5px 2px;
  80. font-size: small;
  81. color: gray;
  82. cursor: pointer;
  83. }
  84. .infoWindow #arrow {
  85. position: absolute;
  86. bottom: -8px;
  87. left: 50%;
  88. margin-left: -10px;
  89. border-right: 10px solid transparent;
  90. border-left: 10px solid transparent;
  91. border-top: 10px solid white;
  92. }