You are here

tipTip.css in Image Hotspots 8

/* TipTip CSS - Version 1.2 */

#tiptip_holder {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99999;
}

#tiptip_holder.tip_top {
	padding-bottom: 5px;
}

#tiptip_holder.tip_bottom {
	padding-top: 5px;
}

#tiptip_holder.tip_right {
	padding-left: 5px;
}

#tiptip_holder.tip_left {
	padding-right: 5px;
}

#tiptip_content {
	font-size: 11px;
	color: #fff;
	text-shadow: 0 0 2px #000;
	padding: 4px 8px;
	border: 1px solid rgba(255,255,255,0.25);
	background-color: rgb(25,25,25);
	background-color: rgba(25,25,25,0.92);
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	box-shadow: 0 0 3px #555;
	-webkit-box-shadow: 0 0 3px #555;
	-moz-box-shadow: 0 0 3px #555;
}

#tiptip_arrow, #tiptip_arrow_inner {
	position: absolute;
	border-color: transparent;
	border-style: solid;
	border-width: 6px;
	height: 0;
	width: 0;
}

#tiptip_holder.tip_top #tiptip_arrow {
	border-top-color: #fff;
	border-top-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_bottom #tiptip_arrow {
	border-bottom-color: #fff;
	border-bottom-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_right #tiptip_arrow {
	border-right-color: #fff;
	border-right-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_left #tiptip_arrow {
	border-left-color: #fff;
	border-left-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_top #tiptip_arrow_inner {
	margin-top: -7px;
	margin-left: -6px;
	border-top-color: rgb(25,25,25);
	border-top-color: rgba(25,25,25,0.92);
}

#tiptip_holder.tip_bottom #tiptip_arrow_inner {
	margin-top: -5px;
	margin-left: -6px;
	border-bottom-color: rgb(25,25,25);
	border-bottom-color: rgba(25,25,25,0.92);
}

#tiptip_holder.tip_right #tiptip_arrow_inner {
	margin-top: -6px;
	margin-left: -5px;
	border-right-color: rgb(25,25,25);
	border-right-color: rgba(25,25,25,0.92);
}

#tiptip_holder.tip_left #tiptip_arrow_inner {
	margin-top: -6px;
	margin-left: -7px;
	border-left-color: rgb(25,25,25);
	border-left-color: rgba(25,25,25,0.92);
}

/* Webkit Hacks  */
@media screen and (-webkit-min-device-pixel-ratio:0) {	
	#tiptip_content {
		padding: 4px 8px 5px 8px;
		background-color: rgba(45,45,45,0.88);
	}
	#tiptip_holder.tip_bottom #tiptip_arrow_inner { 
		border-bottom-color: rgba(45,45,45,0.88);
	}
	#tiptip_holder.tip_top #tiptip_arrow_inner { 
		border-top-color: rgba(20,20,20,0.92);
	}
}

File

misc/tipTip/tipTip.css
View source
  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: 11px;
  23. color: #fff;
  24. text-shadow: 0 0 2px #000;
  25. padding: 4px 8px;
  26. border: 1px solid rgba(255,255,255,0.25);
  27. background-color: rgb(25,25,25);
  28. background-color: rgba(25,25,25,0.92);
  29. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));
  30. border-radius: 3px;
  31. -webkit-border-radius: 3px;
  32. -moz-border-radius: 3px;
  33. box-shadow: 0 0 3px #555;
  34. -webkit-box-shadow: 0 0 3px #555;
  35. -moz-box-shadow: 0 0 3px #555;
  36. }
  37. #tiptip_arrow, #tiptip_arrow_inner {
  38. position: absolute;
  39. border-color: transparent;
  40. border-style: solid;
  41. border-width: 6px;
  42. height: 0;
  43. width: 0;
  44. }
  45. #tiptip_holder.tip_top #tiptip_arrow {
  46. border-top-color: #fff;
  47. border-top-color: rgba(255,255,255,0.35);
  48. }
  49. #tiptip_holder.tip_bottom #tiptip_arrow {
  50. border-bottom-color: #fff;
  51. border-bottom-color: rgba(255,255,255,0.35);
  52. }
  53. #tiptip_holder.tip_right #tiptip_arrow {
  54. border-right-color: #fff;
  55. border-right-color: rgba(255,255,255,0.35);
  56. }
  57. #tiptip_holder.tip_left #tiptip_arrow {
  58. border-left-color: #fff;
  59. border-left-color: rgba(255,255,255,0.35);
  60. }
  61. #tiptip_holder.tip_top #tiptip_arrow_inner {
  62. margin-top: -7px;
  63. margin-left: -6px;
  64. border-top-color: rgb(25,25,25);
  65. border-top-color: rgba(25,25,25,0.92);
  66. }
  67. #tiptip_holder.tip_bottom #tiptip_arrow_inner {
  68. margin-top: -5px;
  69. margin-left: -6px;
  70. border-bottom-color: rgb(25,25,25);
  71. border-bottom-color: rgba(25,25,25,0.92);
  72. }
  73. #tiptip_holder.tip_right #tiptip_arrow_inner {
  74. margin-top: -6px;
  75. margin-left: -5px;
  76. border-right-color: rgb(25,25,25);
  77. border-right-color: rgba(25,25,25,0.92);
  78. }
  79. #tiptip_holder.tip_left #tiptip_arrow_inner {
  80. margin-top: -6px;
  81. margin-left: -7px;
  82. border-left-color: rgb(25,25,25);
  83. border-left-color: rgba(25,25,25,0.92);
  84. }
  85. /* Webkit Hacks */
  86. @media screen and (-webkit-min-device-pixel-ratio:0) {
  87. #tiptip_content {
  88. padding: 4px 8px 5px 8px;
  89. background-color: rgba(45,45,45,0.88);
  90. }
  91. #tiptip_holder.tip_bottom #tiptip_arrow_inner {
  92. border-bottom-color: rgba(45,45,45,0.88);
  93. }
  94. #tiptip_holder.tip_top #tiptip_arrow_inner {
  95. border-top-color: rgba(20,20,20,0.92);
  96. }
  97. }