balloonpanel.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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: 1px solid #b2b2b2;
  11. border-bottom-color: #999;
  12. -moz-border-radius: 3px;
  13. -webkit-border-radius: 3px;
  14. border-radius: 3px;
  15. -moz-box-shadow: 0 0 3px rgba(0, 0, 0, .15);
  16. -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .15);
  17. box-shadow: 0 0 3px rgba(0, 0, 0, .15);
  18. outline: none;
  19. }
  20. .cke_balloon_title
  21. {
  22. font-weight: bold;
  23. font-size: 14px;
  24. cursor: default;
  25. color: #474747;
  26. text-shadow: 0 1px 0 rgba(255,255,255,.75);
  27. padding: 3px 3px 8px;
  28. border-bottom: 1px solid #eee;
  29. -moz-border-radius: 2px 2px 0 0;
  30. -webkit-border-radius: 2px 2px 0 0;
  31. border-radius: 2px 2px 0 0;
  32. -moz-box-shadow: 0 1px 0 #fff inset;
  33. -webkit-box-shadow: 0 1px 0 #fff inset;
  34. box-shadow: 0 1px 0 #fff inset;
  35. }
  36. /* The close button at the top of the panel. */
  37. a.cke_balloon_close_button
  38. {
  39. background-image: url(../../../../skins/kama/images/sprites.png);
  40. background-repeat: no-repeat;
  41. background-position: 0 -1022px;
  42. position: absolute;
  43. cursor: pointer;
  44. text-align: center;
  45. height: 20px;
  46. width: 20px;
  47. top: 5px;
  48. }
  49. a.cke_balloon_close_button:hover {
  50. background-position: 0 -1045px;
  51. }
  52. .cke_balloon_content
  53. {
  54. overflow: hidden;
  55. min-height: 68px;
  56. }
  57. .cke_balloon_close_button:hover
  58. {
  59. opacity: 1;
  60. filter: alpha(opacity = 100);
  61. }
  62. .cke_balloon_close_button span
  63. {
  64. display: none;
  65. }
  66. .cke_ltr .cke_balloon_close_button
  67. {
  68. right: 5px;
  69. }
  70. .cke_rtl .cke_balloon_close_button
  71. {
  72. left: 6px;
  73. }
  74. .cke_balloon_triangle
  75. {
  76. position: absolute;
  77. border-style: solid;
  78. display: block;
  79. width: 0;
  80. height: 0;
  81. }
  82. .cke_balloon_triangle_inner
  83. {
  84. z-index: 0;
  85. }
  86. .cke_balloon_triangle_outer
  87. {
  88. z-index: 0;
  89. }
  90. /* side: [ bottom, top ] */
  91. .cke_balloon_triangle_outer.cke_balloon_triangle_bottom,
  92. .cke_balloon_triangle_outer.cke_balloon_triangle_top
  93. {
  94. border-color: #6B6B6B transparent;
  95. }
  96. .cke_balloon_triangle_inner.cke_balloon_triangle_bottom,
  97. .cke_balloon_triangle_inner.cke_balloon_triangle_top
  98. {
  99. left: -20px;
  100. }
  101. /* side: [ bottom ] */
  102. .cke_balloon_triangle_outer.cke_balloon_triangle_bottom
  103. {
  104. border-width: 20px 20px 0;
  105. bottom: -20px;
  106. }
  107. .cke_balloon_triangle_inner.cke_balloon_triangle_bottom
  108. {
  109. border-color: #fff transparent;
  110. border-width: 20px 20px 0;
  111. top: -21px;
  112. }
  113. /* side: [ top ] */
  114. .cke_balloon_triangle_outer.cke_balloon_triangle_top
  115. {
  116. border-width: 0 20px 20px;
  117. top: -20px;
  118. }
  119. .cke_balloon_triangle_inner.cke_balloon_triangle_top
  120. {
  121. border-color: #fff transparent;
  122. border-width: 0 20px 20px;
  123. top: 1px;
  124. }
  125. /* side: [ left, right ] */
  126. .cke_balloon_triangle_outer.cke_balloon_triangle_left,
  127. .cke_balloon_triangle_outer.cke_balloon_triangle_right
  128. {
  129. border-color: transparent #6B6B6B;
  130. }
  131. .cke_balloon_triangle_inner.cke_balloon_triangle_left,
  132. .cke_balloon_triangle_inner.cke_balloon_triangle_right
  133. {
  134. border-color: transparent #fff;
  135. top: -20px;
  136. }
  137. /* side: [ left ] */
  138. .cke_balloon_triangle_outer.cke_balloon_triangle_left
  139. {
  140. border-width: 20px 20px 20px 0;
  141. left: -20px;
  142. }
  143. .cke_balloon_triangle_inner.cke_balloon_triangle_left
  144. {
  145. border-color: transparent #fff;
  146. border-width: 20px 20px 20px 0;
  147. left: 1px;
  148. }
  149. /* side: [ right ] */
  150. .cke_balloon_triangle_outer.cke_balloon_triangle_right
  151. {
  152. border-width: 20px 0 20px 20px;
  153. right: -20px;
  154. }
  155. .cke_balloon_triangle_inner.cke_balloon_triangle_right
  156. {
  157. border-width: 20px 0 20px 20px;
  158. right: 1px;
  159. }
  160. /* align: [ hcenter ] */
  161. .cke_balloon_triangle_outer.cke_balloon_triangle_align_hcenter
  162. {
  163. left: 50%;
  164. margin-left: -20px;
  165. }
  166. /* align: [ left ] */
  167. .cke_balloon_triangle_outer.cke_balloon_triangle_align_left
  168. {
  169. left: 20px;
  170. margin-left: 0;
  171. }
  172. /* align: [ right ] */
  173. .cke_balloon_triangle_outer.cke_balloon_triangle_align_right
  174. {
  175. right: 20px;
  176. margin-left: 0;
  177. }
  178. /* align: [ vcenter ] */
  179. .cke_balloon_triangle_outer.cke_balloon_triangle_align_vcenter
  180. {
  181. top: 50%;
  182. margin-top: -20px;
  183. }