mBoxTooltip.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. /* Tooltip-Theme: default */
  2. .mBox.Tooltip {
  3. font-size: 11px;
  4. line-height: normal;
  5. }
  6. .mBox.Tooltip .mBoxContainer {
  7. background: #fff;
  8. border: 1px solid #d6d6d6;
  9. box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  10. border-radius: 5px;
  11. }
  12. .mBox.Tooltip .mBoxContent {
  13. background: #fff;
  14. color: #353535;
  15. padding: 5px 8px;
  16. border-radius: 5px;
  17. }
  18. .mBox.Tooltip.hasTitle .mBoxContent {
  19. border-top-left-radius: 0;
  20. border-top-right-radius: 0;
  21. }
  22. .mBox.Tooltip .mBoxTitleContainer {
  23. position: relative;
  24. }
  25. .mBox.Tooltip .mBoxTitle {
  26. position: relative;
  27. color: #505050;
  28. text-shadow: 0 1px 0 #fff;
  29. padding: 5px 8px;
  30. font-weight: bold;
  31. border-bottom: 1px solid #d6d6d6;
  32. background-color: #f8f8f8;
  33. background-image: -webkit-linear-gradient(top,#fdfdfd,#f4f4f4);
  34. background-image: -moz-linear-gradient(top,#fdfdfd,#f4f4f4);
  35. background-image: -ms-linear-gradient(top,#fdfdfd,#f4f4f4);
  36. background-image: -o-linear-gradient(top,#fdfdfd,#f4f4f4);
  37. background-image: linear-gradient(top,#fdfdfd,#f4f4f4);
  38. filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#fdfdfd,EndColorStr=#f4f4f4);
  39. box-shadow:inset 0 -1px 1px rgba(255, 255, 255, 0.8);
  40. border-radius: 5px 5px 0 0;
  41. }
  42. .mBox.Tooltip .mBoxClose {
  43. display: block;
  44. cursor: pointer;
  45. width: 13px;
  46. height: 13px;
  47. position: absolute;
  48. top: 5px;
  49. right: 8px;
  50. }
  51. .mBox.Tooltip .mBoxClose > div {
  52. opacity: 0.65;
  53. width: 7px;
  54. height: 7px;
  55. position: absolute;
  56. top: 3px;
  57. left: 3px;
  58. background: 0 0 no-repeat url(data:image/gif;base64,R0lGODlhBwAHAJEDAMjIyLCwsLy8vP///yH5BAEAAAMALAAAAAAHAAcAAAIPDIZgNnoqGIoCtRAfc/IWADs=);
  59. }
  60. .mBox.Tooltip .mBoxClose:hover > div {
  61. opacity: 1;
  62. }
  63. .mBox.Tooltip .mBoxPointer {
  64. background: no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAlCAYAAACgc9J8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAP9JREFUeNq01oENhCAMBdCWuIgTuP8WOoGj9GhSDaeUfjiuCSEm+iKFVllESGNdVzrPk55xHIfewHnItm1MrVDMG/u+i0aeyWZp3R9CJRaBIWRB5YUHItAL80AEqmI1EIFcrAQ1rwjUxEoQgULsAue+2ayc/W83p5+z6RXggOO1WQGhrsFXP/Oip58tAaQTZ4QMbEbyEB2GCKEBdtpmru4NsC4aHg8PLJ/3lim2xDv02jYDz1kNQsGEQgiYeqAQBPuZQF1jFKqBYTn1RLK1D4+v3E3NGfgNkJlfdKi0XrUZgc1OWyt0Dwz/z37tGhA20s+WR4t+1iBbzTJyaD8CDAB7WgNSzh/AnwAAAABJRU5ErkJggg==);
  65. }
  66. .mBox.Tooltip .mBoxPointerTop {
  67. width: 17px;
  68. height: 9px;
  69. background-position: 0px -18px;
  70. }
  71. .mBox.Tooltip .mBoxPointerBottom {
  72. width: 17px;
  73. height: 9px;
  74. background-position: 0px -28px;
  75. }
  76. .mBox.Tooltip .mBoxPointerRight {
  77. width: 9px;
  78. height: 17px;
  79. background-position: -10px 0px;
  80. }
  81. .mBox.Tooltip .mBoxPointerLeft {
  82. width: 9px;
  83. height: 17px;
  84. background-position: 0px 0px;
  85. }
  86. /* Tooltip-Theme: Black */
  87. .mBox.Tooltip-Black {
  88. font-size: 11px;
  89. line-height: normal;
  90. }
  91. .mBox.Tooltip-Black .mBoxContainer {
  92. background-color: #000;
  93. border-radius: 3px;
  94. }
  95. .mBox.Tooltip-Black .mBoxContent {
  96. color: #fff;
  97. padding: 5px 8px;
  98. }
  99. .mBox.Tooltip-Black .mBoxTitle {
  100. color: #fff;
  101. font-weight: bold;
  102. padding: 4px 8px 2px;
  103. }
  104. .mBox.Tooltip-Black .mBoxPointer {
  105. background: no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAVCAYAAACQcBTNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIZJREFUeNqUUkEOwCAIo2b//3I3iBp1MFgvxlCKtog8ICkLeJxWPziTwF7g2qBojqInsJEj4tbQCsTZoGSUmCTGM7IGnB/EF1FxOYXV300Antl/wCg1RAF4f0CSILwLM9uqCY7FMuvgrGk4gpWoH0irRm1v7uPTqI2s8oGvL4FoN9w1uAUYAJb2PwK9FWu9AAAAAElFTkSuQmCC);
  106. }
  107. .mBox.Tooltip-Black .mBoxPointerTop {
  108. width: 7px;
  109. height: 4px;
  110. background-position: -1px -10px;
  111. }
  112. .mBox.Tooltip-Black .mBoxPointerBottom {
  113. width: 7px;
  114. height: 4px;
  115. background-position: -1px -17px;
  116. }
  117. .mBox.Tooltip-Black .mBoxPointerRight {
  118. width: 4px;
  119. height: 7px;
  120. background-position: -7px -1px;
  121. }
  122. .mBox.Tooltip-Black .mBoxPointerLeft {
  123. width: 4px;
  124. height: 7px;
  125. background-position: 0px -1px;
  126. }
  127. /* Tooltip-Theme: BlackGradient */
  128. .mBox.Tooltip-BlackGradient {
  129. font-size: 12px;
  130. line-height: normal;
  131. }
  132. .mBox.Tooltip-BlackGradient .mBoxContainer {
  133. background-color: #252525;
  134. background-image: -webkit-linear-gradient(top,#505050,#000000);
  135. background-image: -moz-linear-gradient(top,#505050,#000000);
  136. background-image: -ms-linear-gradient(top,#505050,#000000);
  137. background-image: -o-linear-gradient(top,#505050,#000000);
  138. background-image: linear-gradient(top,#505050,#000000);
  139. filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#505050,EndColorStr=#000000);
  140. border-radius: 4px;
  141. }
  142. .mBox.Tooltip-BlackGradient .mBoxContent {
  143. color: #fff;
  144. text-shadow: 0px -1px 1px #000000;
  145. padding: 8px 15px;
  146. }
  147. .mBox.Tooltip-BlackGradient .mBoxTitle {
  148. color: #fff;
  149. font-weight: bold;
  150. padding: 4px 8px 2px;
  151. }
  152. .mBox.Tooltip-BlackGradient .mBoxPointer {
  153. background: no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAVCAYAAACQcBTNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIZJREFUeNqUUkEOwCAIo2b//3I3iBp1MFgvxlCKtog8ICkLeJxWPziTwF7g2qBojqInsJEj4tbQCsTZoGSUmCTGM7IGnB/EF1FxOYXV300Antl/wCg1RAF4f0CSILwLM9uqCY7FMuvgrGk4gpWoH0irRm1v7uPTqI2s8oGvL4FoN9w1uAUYAJb2PwK9FWu9AAAAAElFTkSuQmCC);
  154. }
  155. .mBox.Tooltip-BlackGradient .mBoxPointerTop {
  156. width: 7px;
  157. height: 4px;
  158. background-position: -1px -10px;
  159. }
  160. .mBox.Tooltip-BlackGradient .mBoxPointerBottom {
  161. width: 7px;
  162. height: 4px;
  163. background-position: -1px -17px;
  164. }
  165. .mBox.Tooltip-BlackGradient .mBoxPointerRight {
  166. width: 4px;
  167. height: 7px;
  168. background-position: -7px -1px;
  169. }
  170. .mBox.Tooltip-BlackGradient .mBoxPointerLeft {
  171. width: 4px;
  172. height: 7px;
  173. background-position: 0px -1px;
  174. }