You are here

editor_ckeditor.admin.css in Editor 7

Styles for configuration of CKEditor module.

Many of these styles are adapted directly from the default CKEditor theme "moono".

File

modules/editor_ckeditor/css/editor_ckeditor.admin.css
View source
  1. /**
  2. * @file
  3. * Styles for configuration of CKEditor module.
  4. *
  5. * Many of these styles are adapted directly from the default CKEditor theme
  6. * "moono".
  7. */
  8. .ckeditor-active-toolbar-configuration {
  9. list-style: none;
  10. margin: 0;
  11. padding: 0;
  12. }
  13. .ckeditor-toolbar-active {
  14. border: 1px solid #b6b6b6;
  15. padding: 6px 4px 2px;
  16. background: #cfd1cf;
  17. background-image: -webkit-gradient(linear, left top, left bottom, from(whiteSmoke), to(#cfd1cf));
  18. background-image: -moz-linear-gradient(top, whiteSmoke, #cfd1cf);
  19. background-image: -o-linear-gradient(top, whiteSmoke, #cfd1cf);
  20. background-image: -ms-linear-gradient(top, whiteSmoke, #cfd1cf);
  21. background-image: linear-gradient(top, whiteSmoke, #cfd1cf);
  22. filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#fff5f5f5', endColorstr='#ffcfd1cf');
  23. margin: 5px 0;
  24. line-height: 1;
  25. font: 12px Arial, Helvetica, Tahoma, Verdana, sans-serif;
  26. }
  27. .ckeditor-toolbar-disabled {
  28. margin: 5px 0;
  29. line-height: 1;
  30. font: 12px Arial, Helvetica, Tahoma, Verdana, sans-serif;
  31. }
  32. .ckeditor-buttons,
  33. .ckeditor-multiple-buttons,
  34. .ckeditor-group-add-wrapper {
  35. min-height: 26px;
  36. min-width: 28px;
  37. list-style: none;
  38. display: inline-block;
  39. padding: 0;
  40. margin: 0;
  41. border: 1px solid #a6a6a6;
  42. border-bottom-color: #979797;
  43. border-radius: 3px;
  44. box-shadow: 0 1px 0 rgba(255, 255, 255, .5), 0 0 2px rgba(255, 255, 255, .15) inset, 0 1px 0 rgba(255, 255, 255, .15) inset;
  45. }
  46. .ckeditor-button,
  47. .ckeditor-button-placeholder,
  48. .ckeditor-group-add {
  49. display: inline-block;
  50. height: 18px;
  51. padding: 4px 6px;
  52. outline: none;
  53. cursor: move;
  54. border: 0;
  55. vertical-align: middle;
  56. line-height: 1.6;
  57. background: #e4e4e4;
  58. background-image: -webkit-gradient(linear,left top,left bottom,from(white),to(#e4e4e4));
  59. background-image: -moz-linear-gradient(top,white,#e4e4e4);
  60. background-image: -webkit-linear-gradient(top,white,#e4e4e4);
  61. background-image: -o-linear-gradient(top,white,#e4e4e4);
  62. background-image: -ms-linear-gradient(top,white,#e4e4e4);
  63. background-image: linear-gradient(top,white,#e4e4e4);
  64. filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffffff',endColorstr='#ffe4e4e4');
  65. }
  66. .ckeditor-buttons .ckeditor-button:first-child {
  67. border-top-left-radius: 2px;
  68. border-bottom-left-radius: 2px;
  69. }
  70. .ckeditor-buttons .ckeditor-button:last-child {
  71. border-top-right-radius: 2px;
  72. border-bottom-right-radius: 2px;
  73. }
  74. .ckeditor-buttons .ckeditor-button-placeholder {
  75. background: #333;
  76. opacity: 0.3;
  77. }
  78. .ckeditor-buttons a {
  79. cursor: move;
  80. }
  81. .ckeditor-group-add-wrapper {
  82. float: left; /* LTR */
  83. margin: 0px 0.3333em;
  84. }
  85. [dir="rtl"] .ckeditor-group-add-wrapper {
  86. float: right;
  87. }
  88. .ckeditor-group-add {
  89. cursor: pointer;
  90. border-radius: 2px;
  91. }
  92. .ckeditor-group-add::before {
  93. content: "+ ";
  94. }
  95. .ckeditor-multiple-buttons {
  96. min-width: auto;
  97. margin: 0 1em;
  98. list-style: none;
  99. display: inline-block;
  100. vertical-align: middle;
  101. text-align: center;
  102. }
  103. .ckeditor-multiple-buttons .ckeditor-button {
  104. padding: 2px 0;
  105. margin: 0;
  106. display: inline-block;
  107. height: 18px;
  108. min-width: 16px;
  109. cursor: move;
  110. }
  111. .ckeditor-row-controls {
  112. float: right; /* LTR */
  113. font-size: 18px;
  114. width: 40px;
  115. text-align: right;
  116. }
  117. [dir="rtl"] .ckeditor-row-controls {
  118. float: left;
  119. }
  120. .ckeditor-row-controls a {
  121. display: inline-block;
  122. padding: 6px 2px;
  123. height: 16px;
  124. width: 16px;
  125. line-height: 0.9;
  126. font-weight: bold;
  127. color: #333;
  128. text-align: center;
  129. }
  130. .ckeditor-row-controls a:hover {
  131. text-decoration: none;
  132. }
  133. .ckeditor-multiple-label {
  134. float: left;
  135. padding: 4px;
  136. }
  137. .ckeditor-buttons .ckeditor-button-separator {
  138. width: 4px;
  139. padding: 0 4px;
  140. height: 26px;
  141. text-align: center;
  142. background: #e4e4e4;
  143. background-image: -webkit-gradient(linear, left top, left bottom, from(white), to(#e4e4e4));
  144. background-image: -moz-linear-gradient(top, white, #e4e4e4);
  145. background-image: -webkit-linear-gradient(top, white, #e4e4e4);
  146. background-image: -o-linear-gradient(top, white, #e4e4e4);
  147. background-image: -ms-linear-gradient(top, white, #e4e4e4);
  148. background-image: linear-gradient(top, white, #e4e4e4);
  149. filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ffffffff', endColorstr='#ffe4e4e4');
  150. }
  151. .ckeditor-multiple-buttons .ckeditor-button-separator {
  152. width: 10px;
  153. min-width: auto;
  154. padding: 0;
  155. height: 26px;
  156. text-align: center;
  157. }
  158. .ckeditor-separator {
  159. background-color: silver;
  160. background-color: rgba(0, 0, 0, .2);
  161. margin: 5px 0;
  162. height: 18px;
  163. width: 1px;
  164. display: inline-block;
  165. -webkit-box-shadow: 1px 0 1px rgba(255, 255, 255, .5);
  166. -moz-box-shadow: 1px 0 1px rgba(255,255,255,.5);
  167. box-shadow: 1px 0 1px rgba(255, 255, 255, .5)
  168. }
  169. .ckeditor-button-arrow {
  170. width: 0;
  171. text-align: center;
  172. border-left: 3px solid transparent;
  173. border-right: 3px solid transparent;
  174. border-top: 3px solid #333;
  175. display: inline-block;
  176. margin: 0 4px 2px;
  177. }
  178. .ckeditor-toolbar-disabled {
  179. margin-bottom: 0.5em;
  180. }
  181. .ckeditor-row {
  182. padding: 2px 0 3px;
  183. border-radius: 3px;
  184. }
  185. .ckeditor-row + .ckeditor-row {
  186. margin-top: 0.25em;
  187. clear: both;
  188. }
  189. .ckeditor-toolbar-groups {
  190. margin: 0;
  191. padding: 0;
  192. list-style: none;
  193. min-height: 2em;
  194. min-width: 4px;
  195. float: left; /* LTR */
  196. }
  197. [dir="rtl"] .ckeditor-toolbar-groups {
  198. float: right;
  199. }
  200. .ckeditor-toolbar-group {
  201. display: inline-block;
  202. margin: 0 0.3333em;
  203. cursor: move;
  204. }
  205. .ckeditor-group-names-are-visible .ckeditor-toolbar-group {
  206. border: 1px dotted #a6a6a6;
  207. border-radius: 3px;
  208. padding: 0.2em 0.4em;
  209. }
  210. .ckeditor-toolbar-group-name {
  211. display: none;
  212. font-size: 1em;
  213. font-weight: normal;
  214. margin: -1.5em 0 .25em;
  215. background: white;
  216. padding: 0 4px;
  217. border: 1px solid #B6B6B6;
  218. border-radius: 3px;
  219. vertical-align: top;
  220. }
  221. .ckeditor-group-names-are-visible .ckeditor-toolbar-group-name {
  222. display: block;
  223. cursor: pointer;
  224. }
  225. .ckeditor-toolbar-group-buttons {
  226. list-style: none;
  227. padding: 0;
  228. margin: 0;
  229. float: left; /* LTR */
  230. }
  231. [dir="rtl"] .ckeditor-toolbar-group-buttons {
  232. float: right;
  233. }
  234. .ckeditor-groupnames-toggle {
  235. cursor: pointer;
  236. float: right; /* LTR */
  237. }
  238. [dir="rtl"] .ckeditor-groupnames-toggle {
  239. float: left;
  240. }