Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

popover.css 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. /*
  2. * Copyright @ 2015 Atlassian Pty Ltd
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. .popover {
  17. position: absolute;
  18. top: 0;
  19. left: 0;
  20. z-index: 1010;
  21. display: none;
  22. max-width: 300px;
  23. min-width: 100px;
  24. padding: 1px;
  25. text-align: left;
  26. color: #333333;
  27. background-color: #ffffff;
  28. background-clip: padding-box;
  29. border: 1px solid #cccccc;
  30. border: 1px solid rgba(0, 0, 0, 0.2);
  31. border-radius: 6px;
  32. -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  33. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
  34. white-space: normal;
  35. }
  36. .popover.top {
  37. margin-top: -10px;
  38. }
  39. .popover.right {
  40. margin-left: 10px;
  41. }
  42. .popover.bottom {
  43. margin-top: 10px;
  44. }
  45. .popover.left {
  46. margin-left: -10px;
  47. }
  48. .popover-title {
  49. margin: 0;
  50. padding: 8px 14px;
  51. font-size: 11pt;
  52. font-weight: normal;
  53. line-height: 18px;
  54. background-color: #f7f7f7;
  55. border-bottom: 1px solid #ebebeb;
  56. border-radius: 5px 5px 0 0;
  57. }
  58. .popover-content {
  59. padding: 9px 14px;
  60. font-size: 10pt;
  61. white-space:pre-wrap;
  62. text-align: center;
  63. }
  64. .popover > .arrow,
  65. .popover > .arrow:after {
  66. position: absolute;
  67. display: block;
  68. width: 0;
  69. height: 0;
  70. border-color: transparent;
  71. border-style: solid;
  72. }
  73. .popover > .arrow {
  74. border-width: 11px;
  75. }
  76. .popover > .arrow:after {
  77. border-width: 10px;
  78. content: "";
  79. }
  80. .popover.top > .arrow {
  81. left: 50%;
  82. margin-left: -11px;
  83. border-bottom-width: 0;
  84. border-top-color: #999999;
  85. border-top-color: rgba(0, 0, 0, 0.25);
  86. bottom: -11px;
  87. }
  88. .popover.top > .arrow:after {
  89. content: " ";
  90. bottom: 1px;
  91. margin-left: -10px;
  92. border-bottom-width: 0;
  93. border-top-color: #ffffff;
  94. }
  95. .popover.right > .arrow {
  96. top: 50%;
  97. left: -11px;
  98. margin-top: -11px;
  99. border-left-width: 0;
  100. border-right-color: #999999;
  101. border-right-color: rgba(0, 0, 0, 0.25);
  102. }
  103. .popover.right > .arrow:after {
  104. content: " ";
  105. left: 1px;
  106. bottom: -10px;
  107. border-left-width: 0;
  108. border-right-color: #ffffff;
  109. }
  110. .popover.bottom > .arrow {
  111. left: 50%;
  112. margin-left: -11px;
  113. border-top-width: 0;
  114. border-bottom-color: #999999;
  115. border-bottom-color: rgba(0, 0, 0, 0.25);
  116. top: -11px;
  117. }
  118. .popover.bottom > .arrow:after {
  119. content: " ";
  120. top: 1px;
  121. margin-left: -10px;
  122. border-top-width: 0;
  123. border-bottom-color: #ffffff;
  124. }
  125. .popover.left > .arrow {
  126. top: 50%;
  127. right: -11px;
  128. margin-top: -11px;
  129. border-right-width: 0;
  130. border-left-color: #999999;
  131. border-left-color: rgba(0, 0, 0, 0.25);
  132. }
  133. .popover.left > .arrow:after {
  134. content: " ";
  135. right: 1px;
  136. border-right-width: 0;
  137. border-left-color: #ffffff;
  138. bottom: -10px;
  139. }