tooltip.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. @charset "UTF-8";
  2. /**
  3. * @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>
  4. * @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>
  5. * @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>
  6. * @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>
  7. * @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>
  8. *
  9. * Bootstrap v3.3.5 (http://getbootstrap.com)
  10. * Copyright 2011-2015 Twitter, Inc.
  11. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  12. */
  13. .tooltip {
  14. position: absolute;
  15. display: block;
  16. font-family: var(--font-face);
  17. font-style: normal;
  18. font-weight: normal;
  19. letter-spacing: normal;
  20. line-break: auto;
  21. line-height: 1.6;
  22. text-align: left;
  23. text-align: start;
  24. text-decoration: none;
  25. text-shadow: none;
  26. text-transform: none;
  27. white-space: normal;
  28. word-break: normal;
  29. word-spacing: normal;
  30. word-wrap: normal;
  31. overflow-wrap: anywhere;
  32. font-size: 12px;
  33. opacity: 0;
  34. z-index: 100000;
  35. /* default to top */
  36. margin-top: -3px;
  37. padding: 10px 0;
  38. filter: drop-shadow(0 1px 10px var(--color-box-shadow));
  39. /* TOP */
  40. /* BOTTOM */
  41. }
  42. .tooltip.in, .tooltip.show, .tooltip.tooltip[aria-hidden=false] {
  43. visibility: visible;
  44. opacity: 1;
  45. transition: opacity 0.15s;
  46. }
  47. .tooltip.top .tooltip-arrow, .tooltip[x-placement^=top] {
  48. left: 50%;
  49. margin-left: -10px;
  50. }
  51. .tooltip.bottom, .tooltip[x-placement^=bottom] {
  52. margin-top: 3px;
  53. padding: 10px 0;
  54. }
  55. .tooltip.right, .tooltip[x-placement^=right] {
  56. margin-left: 3px;
  57. padding: 0 10px;
  58. }
  59. .tooltip.right .tooltip-arrow, .tooltip[x-placement^=right] .tooltip-arrow {
  60. top: 50%;
  61. left: 0;
  62. margin-top: -10px;
  63. border-width: 10px 10px 10px 0;
  64. border-right-color: var(--color-main-background);
  65. }
  66. .tooltip.left, .tooltip[x-placement^=left] {
  67. margin-left: -3px;
  68. padding: 0 5px;
  69. }
  70. .tooltip.left .tooltip-arrow, .tooltip[x-placement^=left] .tooltip-arrow {
  71. top: 50%;
  72. right: 0;
  73. margin-top: -10px;
  74. border-width: 10px 0 10px 10px;
  75. border-left-color: var(--color-main-background);
  76. }
  77. .tooltip.top .tooltip-arrow, .tooltip.top .arrow, .tooltip.top-left .tooltip-arrow, .tooltip.top-left .arrow, .tooltip[x-placement^=top] .tooltip-arrow, .tooltip[x-placement^=top] .arrow, .tooltip.top-right .tooltip-arrow, .tooltip.top-right .arrow {
  78. bottom: 0;
  79. border-width: 10px 10px 0;
  80. border-top-color: var(--color-main-background);
  81. }
  82. .tooltip.top-left .tooltip-arrow {
  83. right: 10px;
  84. margin-bottom: -10px;
  85. }
  86. .tooltip.top-right .tooltip-arrow {
  87. left: 10px;
  88. margin-bottom: -10px;
  89. }
  90. .tooltip.bottom .tooltip-arrow, .tooltip.bottom .arrow, .tooltip[x-placement^=bottom] .tooltip-arrow, .tooltip[x-placement^=bottom] .arrow, .tooltip.bottom-left .tooltip-arrow, .tooltip.bottom-left .arrow, .tooltip.bottom-right .tooltip-arrow, .tooltip.bottom-right .arrow {
  91. top: 0;
  92. border-width: 0 10px 10px;
  93. border-bottom-color: var(--color-main-background);
  94. }
  95. .tooltip[x-placement^=bottom] .tooltip-arrow, .tooltip.bottom .tooltip-arrow {
  96. left: 50%;
  97. margin-left: -10px;
  98. }
  99. .tooltip.bottom-left .tooltip-arrow {
  100. right: 10px;
  101. margin-top: -10px;
  102. }
  103. .tooltip.bottom-right .tooltip-arrow {
  104. left: 10px;
  105. margin-top: -10px;
  106. }
  107. .tooltip-inner {
  108. max-width: 350px;
  109. padding: 5px 8px;
  110. background-color: var(--color-main-background);
  111. color: var(--color-main-text);
  112. text-align: center;
  113. border-radius: var(--border-radius);
  114. }
  115. .tooltip-arrow, .tooltip .arrow {
  116. position: absolute;
  117. width: 0;
  118. height: 0;
  119. border-color: transparent;
  120. border-style: solid;
  121. }
  122. /*# sourceMappingURL=tooltip.css.map */