editor_ie7.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. /*
  2. Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
  3. For licensing, see LICENSE.md or http://ckeditor.com/license
  4. */
  5. /*
  6. editor_ie7.css
  7. ===============
  8. This file contains styles to used by Internet Explorer 7 only.
  9. */
  10. /* Base it on editor_ie.css, overriding it with styles defined in this file. */
  11. @import url("editor_ie.css");
  12. .cke_rtl .cke_toolgroup,
  13. .cke_rtl .cke_toolbar_separator,
  14. .cke_rtl .cke_button,
  15. .cke_rtl .cke_button *,
  16. .cke_rtl .cke_combo,
  17. .cke_rtl .cke_combo *,
  18. .cke_rtl .cke_path_item,
  19. .cke_rtl .cke_path_item *,
  20. .cke_rtl .cke_path_empty
  21. {
  22. float: none;
  23. }
  24. .cke_rtl .cke_toolgroup,
  25. .cke_rtl .cke_toolbar_separator,
  26. .cke_rtl .cke_combo_button,
  27. .cke_rtl .cke_combo_button *,
  28. .cke_rtl .cke_button,
  29. .cke_rtl .cke_button_icon
  30. {
  31. display: inline-block;
  32. vertical-align: top;
  33. }
  34. .cke_toolbox
  35. {
  36. display:inline-block;
  37. padding-bottom: 5px;
  38. height: 100%;
  39. }
  40. .cke_rtl .cke_toolbox
  41. {
  42. padding-bottom: 0;
  43. }
  44. .cke_toolbar
  45. {
  46. margin-bottom: 5px;
  47. }
  48. .cke_rtl .cke_toolbar
  49. {
  50. margin-bottom: 0;
  51. }
  52. /* IE7: toolgroup must be adapted to toolbar items height. */
  53. .cke_toolgroup
  54. {
  55. height: 26px;
  56. }
  57. /* Avoid breaking elements that use background gradient when page zoom > 1 (#9548) */
  58. .cke_toolgroup,
  59. .cke_combo
  60. {
  61. position: relative;
  62. }
  63. a.cke_button
  64. {
  65. /* IE7: buttons must not float to wrap the toolbar in a whole. */
  66. float:none;
  67. /* IE7: buttons have to be aligned to top. Otherwise, some buttons like
  68. * source and scayt are displayed a few pixels below the base line.
  69. */
  70. vertical-align:top;
  71. }
  72. .cke_toolbar_separator
  73. {
  74. display: inline-block;
  75. float: none;
  76. vertical-align: top;
  77. background-color: #c0c0c0;
  78. }
  79. .cke_toolbox_collapser .cke_arrow
  80. {
  81. margin-top: 0;
  82. }
  83. .cke_toolbox_collapser .cke_arrow
  84. {
  85. border-width:4px;
  86. }
  87. .cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow
  88. {
  89. border-width:3px;
  90. }
  91. .cke_rtl .cke_button_arrow
  92. {
  93. padding-top: 8px;
  94. margin-right: 2px;
  95. }
  96. .cke_rtl .cke_combo_inlinelabel
  97. {
  98. display: table-cell;
  99. vertical-align: middle;
  100. }
  101. /*
  102. * Editor menus are display:table-driven. IE7 doesn't support this approach,
  103. * hence this position&float hybrid fall-back.
  104. */
  105. .cke_menubutton
  106. {
  107. display: block;
  108. height: 24px;
  109. }
  110. .cke_menubutton_inner
  111. {
  112. display: block;
  113. position: relative;
  114. }
  115. .cke_menubutton_icon
  116. {
  117. height: 16px;
  118. width: 16px;
  119. }
  120. .cke_menubutton_icon,
  121. .cke_menubutton_label,
  122. .cke_menuarrow
  123. {
  124. display: inline-block;
  125. }
  126. .cke_menubutton_label
  127. {
  128. width: auto;
  129. vertical-align: top;
  130. line-height: 24px;
  131. height: 24px;
  132. margin: 0 10px 0 0;
  133. }
  134. .cke_menuarrow
  135. {
  136. width: 5px;
  137. height: 6px;
  138. padding: 0;
  139. position: absolute;
  140. right: 8px;
  141. top: 10px;
  142. background-position: 0 0;
  143. }
  144. /* Menus in RTL mode. */
  145. .cke_rtl .cke_menubutton_icon
  146. {
  147. position: absolute;
  148. right: 0px;
  149. top: 0px;
  150. }
  151. .cke_rtl .cke_menubutton_label
  152. {
  153. float: right;
  154. clear: both;
  155. margin: 0 24px 0 10px;
  156. }
  157. .cke_hc .cke_rtl .cke_menubutton_label
  158. {
  159. margin-right: 0;
  160. }
  161. .cke_rtl .cke_menuarrow
  162. {
  163. left: 8px;
  164. right: auto;
  165. background-position: 0 -24px;
  166. }
  167. .cke_hc .cke_menuarrow
  168. {
  169. top: 5px;
  170. padding: 0 5px;
  171. }
  172. .cke_rtl input.cke_dialog_ui_input_text,
  173. .cke_rtl input.cke_dialog_ui_input_password
  174. {
  175. /* Positioning is required for IE7 on text inputs not to stretch dialog horizontally. (#8971)*/
  176. position: relative;
  177. }
  178. /* Reset vertical paddings which put editing area under bottom UI space. (#9721) */
  179. .cke_wysiwyg_div
  180. {
  181. padding-top: 0 !important;
  182. padding-bottom: 0 !important;
  183. }