balloonpanel.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. /*
  2. Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  3. For licensing, see LICENSE.md or http://ckeditor.com/license
  4. */
  5. .cke_balloon
  6. {
  7. position: absolute;
  8. z-index: 10000;
  9. background: #fff;
  10. border: 2px solid #aaa;
  11. outline: none;
  12. }
  13. .cke_balloon_title
  14. {
  15. font-weight: bold;
  16. font-size: 12px;
  17. cursor: default;
  18. color: #484848;
  19. padding: 12px 30px 12px 12px; /* Let's the title and close don't overlap each other - padding-right. */
  20. background: #f8f8f8;
  21. }
  22. /* The close button at the top of the panel. */
  23. a.cke_balloon_close_button
  24. {
  25. background-image: url(images/close.png);
  26. background-repeat: no-repeat;
  27. background-position: 50% -1px;
  28. position: absolute;
  29. cursor: pointer;
  30. text-align: center;
  31. height: 16px;
  32. width: 16px;
  33. top: 8px;
  34. z-index: 5;
  35. opacity: 0.7;
  36. filter: alpha(opacity = 70);
  37. border: 2px solid transparent;
  38. border-radius: 2px;
  39. }
  40. a.cke_balloon_close_button:focus,
  41. a.cke_balloon_close_button:active
  42. {
  43. outline: none;
  44. border: 2px solid #0079f7;
  45. }
  46. .cke_balloon_content
  47. {
  48. overflow: hidden;
  49. min-height: 68px;
  50. padding: 0 6px 6px 6px;
  51. }
  52. .cke_balloon_close_button:hover
  53. {
  54. opacity: 1;
  55. filter: alpha(opacity = 100);
  56. }
  57. .cke_balloon_close_button:focus:hover
  58. {
  59. opacity: 1;
  60. filter: alpha(opacity = 100);
  61. border: 2px solid #139FF7;
  62. }
  63. .cke_hidpi .cke_balloon_close_button
  64. {
  65. background-image: url(images/hidpi/close.png);
  66. background-size: 16px;
  67. }
  68. .cke_balloon_close_button span
  69. {
  70. display: none;
  71. }
  72. .cke_ltr .cke_balloon_close_button
  73. {
  74. right: 10px;
  75. }
  76. .cke_rtl .cke_balloon_close_button
  77. {
  78. left: 10px;
  79. }
  80. .cke_balloon_triangle
  81. {
  82. position: absolute;
  83. border-style: solid;
  84. display: block;
  85. width: 0;
  86. height: 0;
  87. }
  88. .cke_balloon_triangle_inner
  89. {
  90. z-index: 0;
  91. }
  92. .cke_balloon_triangle_outer
  93. {
  94. z-index: 0;
  95. }
  96. /* side: [ bottom, top ] */
  97. .cke_balloon_triangle_outer.cke_balloon_triangle_bottom,
  98. .cke_balloon_triangle_outer.cke_balloon_triangle_top
  99. {
  100. border-color: #999 transparent;
  101. }
  102. .cke_balloon_triangle_inner.cke_balloon_triangle_bottom,
  103. .cke_balloon_triangle_inner.cke_balloon_triangle_top
  104. {
  105. left: -20px;
  106. }
  107. /* side: [ bottom ] */
  108. .cke_balloon_triangle_outer.cke_balloon_triangle_bottom
  109. {
  110. border-width: 20px 20px 0;
  111. bottom: -20px;
  112. }
  113. .cke_balloon_triangle_inner.cke_balloon_triangle_bottom
  114. {
  115. border-color: #fff transparent;
  116. border-width: 20px 20px 0;
  117. top: -22px;
  118. }
  119. /* side: [ top ] */
  120. .cke_balloon_triangle_outer.cke_balloon_triangle_top
  121. {
  122. border-width: 0 20px 20px;
  123. top: -20px;
  124. }
  125. .cke_balloon_triangle_inner.cke_balloon_triangle_top
  126. {
  127. border-color: #f8f8f8 transparent;
  128. border-width: 0 20px 20px;
  129. top: 2px;
  130. }
  131. /* side: [ left, right ] */
  132. .cke_balloon_triangle_outer.cke_balloon_triangle_left,
  133. .cke_balloon_triangle_outer.cke_balloon_triangle_right
  134. {
  135. border-color: transparent #999;
  136. }
  137. .cke_balloon_triangle_inner.cke_balloon_triangle_left,
  138. .cke_balloon_triangle_inner.cke_balloon_triangle_right
  139. {
  140. border-color: transparent #fff;
  141. top: -20px;
  142. }
  143. /* side: [ left ] */
  144. .cke_balloon_triangle_outer.cke_balloon_triangle_left
  145. {
  146. border-width: 20px 20px 20px 0;
  147. left: -20px;
  148. }
  149. .cke_balloon_triangle_inner.cke_balloon_triangle_left
  150. {
  151. border-color: transparent #fff;
  152. border-width: 20px 20px 20px 0;
  153. left: 2px;
  154. }
  155. /* side: [ right ] */
  156. .cke_balloon_triangle_outer.cke_balloon_triangle_right
  157. {
  158. border-width: 20px 0 20px 20px;
  159. right: -20px;
  160. }
  161. .cke_balloon_triangle_inner.cke_balloon_triangle_right
  162. {
  163. border-width: 20px 0 20px 20px;
  164. right: 2px;
  165. }
  166. /* align: [ hcenter ] */
  167. .cke_balloon_triangle_outer.cke_balloon_triangle_align_hcenter
  168. {
  169. left: 50%;
  170. margin-left: -20px;
  171. }
  172. /* align: [ left ] */
  173. .cke_balloon_triangle_outer.cke_balloon_triangle_align_left
  174. {
  175. left: 20px;
  176. margin-left: 0;
  177. }
  178. /* align: [ right ] */
  179. .cke_balloon_triangle_outer.cke_balloon_triangle_align_right
  180. {
  181. right: 20px;
  182. margin-left: 0;
  183. }
  184. /* align: [ vcenter ] */
  185. .cke_balloon_triangle_outer.cke_balloon_triangle_align_vcenter
  186. {
  187. top: 50%;
  188. margin-top: -20px;
  189. }