balloonpanel.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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: 13px;
  24. cursor: default;
  25. color: #474747;
  26. text-shadow: 0 1px 0 rgba(255,255,255,.75);
  27. border-bottom: 1px solid #999;
  28. padding: 6px 10px;
  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. /* Let's the title and close don't overlap each other */
  36. padding-right: 30px;
  37. background: #cfd1cf;
  38. background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#cfd1cf));
  39. background-image: -moz-linear-gradient(top, #f5f5f5, #cfd1cf);
  40. background-image: -webkit-linear-gradient(top, #f5f5f5, #cfd1cf);
  41. background-image: -o-linear-gradient(top, #f5f5f5, #cfd1cf);
  42. background-image: -ms-linear-gradient(top, #f5f5f5, #cfd1cf);
  43. background-image: linear-gradient(top, #f5f5f5, #cfd1cf);
  44. filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f5f5f5', endColorstr='#cfd1cf');
  45. }
  46. /* The close button at the top of the panel. */
  47. a.cke_balloon_close_button
  48. {
  49. background-image: url(images/close.png);
  50. background-repeat: no-repeat;
  51. background-position: 50%;
  52. position: absolute;
  53. cursor: pointer;
  54. text-align: center;
  55. height: 20px;
  56. width: 20px;
  57. top: 3px;
  58. z-index: 5;
  59. opacity: 0.8;
  60. filter: alpha(opacity = 80);
  61. }
  62. .cke_balloon_content
  63. {
  64. overflow: hidden;
  65. min-height: 68px;
  66. }
  67. .cke_balloon_close_button:hover
  68. {
  69. opacity: 1;
  70. filter: alpha(opacity = 100);
  71. }
  72. .cke_hidpi .cke_balloon_close_button
  73. {
  74. background-image: url(images/hidpi/close.png);
  75. background-size: 16px;
  76. }
  77. .cke_balloon_close_button span
  78. {
  79. display: none;
  80. }
  81. .cke_ltr .cke_balloon_close_button
  82. {
  83. right: 5px;
  84. }
  85. .cke_rtl .cke_balloon_close_button
  86. {
  87. left: 6px;
  88. }
  89. .cke_balloon_triangle
  90. {
  91. position: absolute;
  92. border-style: solid;
  93. display: block;
  94. width: 0;
  95. height: 0;
  96. }
  97. .cke_balloon_triangle_inner
  98. {
  99. z-index: 0;
  100. }
  101. .cke_balloon_triangle_outer
  102. {
  103. z-index: 0;
  104. }
  105. /* side: [ bottom, top ] */
  106. .cke_balloon_triangle_outer.cke_balloon_triangle_bottom,
  107. .cke_balloon_triangle_outer.cke_balloon_triangle_top
  108. {
  109. border-color: #6B6B6B transparent;
  110. }
  111. .cke_balloon_triangle_inner.cke_balloon_triangle_bottom,
  112. .cke_balloon_triangle_inner.cke_balloon_triangle_top
  113. {
  114. left: -20px;
  115. }
  116. /* side: [ bottom ] */
  117. .cke_balloon_triangle_outer.cke_balloon_triangle_bottom
  118. {
  119. border-width: 20px 20px 0;
  120. bottom: -20px;
  121. }
  122. .cke_balloon_triangle_inner.cke_balloon_triangle_bottom
  123. {
  124. border-color: #fff transparent;
  125. border-width: 20px 20px 0;
  126. top: -21px;
  127. }
  128. /* side: [ top ] */
  129. .cke_balloon_triangle_outer.cke_balloon_triangle_top
  130. {
  131. border-width: 0 20px 20px;
  132. top: -20px;
  133. }
  134. .cke_balloon_triangle_inner.cke_balloon_triangle_top
  135. {
  136. border-color: #f5f5f5 transparent;
  137. border-width: 0 20px 20px;
  138. top: 1px;
  139. }
  140. /* side: [ left, right ] */
  141. .cke_balloon_triangle_outer.cke_balloon_triangle_left,
  142. .cke_balloon_triangle_outer.cke_balloon_triangle_right
  143. {
  144. border-color: transparent #6B6B6B;
  145. }
  146. .cke_balloon_triangle_inner.cke_balloon_triangle_left,
  147. .cke_balloon_triangle_inner.cke_balloon_triangle_right
  148. {
  149. border-color: transparent #fff;
  150. top: -20px;
  151. }
  152. /* side: [ left ] */
  153. .cke_balloon_triangle_outer.cke_balloon_triangle_left
  154. {
  155. border-width: 20px 20px 20px 0;
  156. left: -20px;
  157. }
  158. .cke_balloon_triangle_inner.cke_balloon_triangle_left
  159. {
  160. border-color: transparent #fff;
  161. border-width: 20px 20px 20px 0;
  162. left: 1px;
  163. }
  164. /* side: [ right ] */
  165. .cke_balloon_triangle_outer.cke_balloon_triangle_right
  166. {
  167. border-width: 20px 0 20px 20px;
  168. right: -20px;
  169. }
  170. .cke_balloon_triangle_inner.cke_balloon_triangle_right
  171. {
  172. border-width: 20px 0 20px 20px;
  173. right: 1px;
  174. }
  175. /* align: [ hcenter ] */
  176. .cke_balloon_triangle_outer.cke_balloon_triangle_align_hcenter
  177. {
  178. left: 50%;
  179. margin-left: -20px;
  180. }
  181. /* align: [ left ] */
  182. .cke_balloon_triangle_outer.cke_balloon_triangle_align_left
  183. {
  184. left: 20px;
  185. margin-left: 0;
  186. }
  187. /* align: [ right ] */
  188. .cke_balloon_triangle_outer.cke_balloon_triangle_align_right
  189. {
  190. right: 20px;
  191. margin-left: 0;
  192. }
  193. /* align: [ vcenter ] */
  194. .cke_balloon_triangle_outer.cke_balloon_triangle_align_vcenter
  195. {
  196. top: 50%;
  197. margin-top: -20px;
  198. }