tooltip.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. /*!
  2. * Bootstrap v3.3.5 (http://getbootstrap.com)
  3. * Copyright 2011-2015 Twitter, Inc.
  4. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  5. */
  6. .tooltip {
  7. position: absolute;
  8. z-index: 1070;
  9. display: block;
  10. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  11. font-style: normal;
  12. font-weight: normal;
  13. letter-spacing: normal;
  14. line-break: auto;
  15. line-height: 1.42857143;
  16. text-align: left;
  17. text-align: start;
  18. text-decoration: none;
  19. text-shadow: none;
  20. text-transform: none;
  21. white-space: normal;
  22. word-break: normal;
  23. word-spacing: normal;
  24. word-wrap: normal;
  25. font-size: 12px;
  26. opacity: 0;
  27. filter: alpha(opacity=0);
  28. }
  29. .tooltip.in {
  30. opacity: 0.9;
  31. filter: alpha(opacity=90);
  32. }
  33. .tooltip.top {
  34. margin-top: -3px;
  35. padding: 5px 0;
  36. }
  37. .tooltip.right {
  38. margin-left: 3px;
  39. padding: 0 5px;
  40. }
  41. .tooltip.bottom {
  42. margin-top: 3px;
  43. padding: 5px 0;
  44. }
  45. .tooltip.left {
  46. margin-left: -3px;
  47. padding: 0 5px;
  48. }
  49. .tooltip-inner {
  50. max-width: 350px;
  51. padding: 3px 8px;
  52. color: #ffffff;
  53. text-align: center;
  54. background-color: #000000;
  55. border-radius: 4px;
  56. }
  57. .tooltip-arrow {
  58. position: absolute;
  59. width: 0;
  60. height: 0;
  61. border-color: transparent;
  62. border-style: solid;
  63. }
  64. .tooltip.top .tooltip-arrow {
  65. bottom: 0;
  66. left: 50%;
  67. margin-left: -5px;
  68. border-width: 5px 5px 0;
  69. border-top-color: #000000;
  70. }
  71. .tooltip.top-left .tooltip-arrow {
  72. bottom: 0;
  73. right: 5px;
  74. margin-bottom: -5px;
  75. border-width: 5px 5px 0;
  76. border-top-color: #000000;
  77. }
  78. .tooltip.top-right .tooltip-arrow {
  79. bottom: 0;
  80. left: 5px;
  81. margin-bottom: -5px;
  82. border-width: 5px 5px 0;
  83. border-top-color: #000000;
  84. }
  85. .tooltip.right .tooltip-arrow {
  86. top: 50%;
  87. left: 0;
  88. margin-top: -5px;
  89. border-width: 5px 5px 5px 0;
  90. border-right-color: #000000;
  91. }
  92. .tooltip.left .tooltip-arrow {
  93. top: 50%;
  94. right: 0;
  95. margin-top: -5px;
  96. border-width: 5px 0 5px 5px;
  97. border-left-color: #000000;
  98. }
  99. .tooltip.bottom .tooltip-arrow {
  100. top: 0;
  101. left: 50%;
  102. margin-left: -5px;
  103. border-width: 0 5px 5px;
  104. border-bottom-color: #000000;
  105. }
  106. .tooltip.bottom-left .tooltip-arrow {
  107. top: 0;
  108. right: 5px;
  109. margin-top: -5px;
  110. border-width: 0 5px 5px;
  111. border-bottom-color: #000000;
  112. }
  113. .tooltip.bottom-right .tooltip-arrow {
  114. top: 0;
  115. left: 5px;
  116. margin-top: -5px;
  117. border-width: 0 5px 5px;
  118. border-bottom-color: #000000;
  119. }