ckeditor.admin.css

Styles for configuration of CKEditor module.

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

File

drupal/core/modules/ckeditor/css/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-toolbar-active {
  9. border: 1px solid #b6b6b6;
  10. padding: 6px 8px 2px;
  11. box-shadow: 0 1px 0 white inset;
  12. background: #cfd1cf;
  13. background-image: -webkit-gradient(linear, left top, left bottom, from(whiteSmoke), to(#cfd1cf));
  14. background-image: -moz-linear-gradient(top, whiteSmoke, #cfd1cf);
  15. background-image: -o-linear-gradient(top, whiteSmoke, #cfd1cf);
  16. background-image: -ms-linear-gradient(top, whiteSmoke, #cfd1cf);
  17. background-image: linear-gradient(top, whiteSmoke, #cfd1cf);
  18. filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#fff5f5f5', endColorstr='#ffcfd1cf');
  19. margin: 5px 0;
  20. overflow: nowrap;
  21. }
  22. .ckeditor-toolbar-active > ul {
  23. clear: left; /* LTR */
  24. float: left; /* LTR */
  25. }
  26. #ckeditor-button-description {
  27. margin-bottom: 1em;
  28. }
  29. .ckeditor-toolbar-dividers {
  30. float: right;
  31. }
  32. .ckeditor-toolbar-disabled ul.ckeditor-buttons {
  33. border: 0;
  34. }
  35. .ckeditor-toolbar-disabled ul.ckeditor-buttons li {
  36. margin: 2px;
  37. }
  38. .ckeditor-toolbar-disabled ul.ckeditor-buttons li a,
  39. ul.ckeditor-buttons {
  40. border: 1px solid #a6a6a6;
  41. border-bottom-color: #979797;
  42. border-radius: 3px;
  43. 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;
  44. }
  45. ul.ckeditor-buttons {
  46. min-height: 26px;
  47. min-width: 26px;
  48. list-style: none;
  49. padding: 0;
  50. margin: 0 6px 5px 0;
  51. border: 1px solid #a6a6a6;
  52. border-bottom-color: #979797;
  53. border-radius: 3px;
  54. 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;
  55. }
  56. ul.ckeditor-buttons li {
  57. display: inline-block;
  58. padding: 0;
  59. margin: 0;
  60. float: left; /* LTR */
  61. }
  62. ul.ckeditor-buttons li a {
  63. position: relative;
  64. display: block;
  65. height: 18px;
  66. padding: 4px 6px;
  67. cursor: move;
  68. border: 0;
  69. white-space: nowrap;
  70. text-decoration: none;
  71. text-shadow: 0 1px 0 rgba(255,255,255,.5);
  72. color: #474747;
  73. background: #e4e4e4;
  74. background-image: -webkit-gradient(linear,left top,left bottom,from(white),to(#e4e4e4));
  75. background-image: -moz-linear-gradient(top,white,#e4e4e4);
  76. background-image: -webkit-linear-gradient(top,white,#e4e4e4);
  77. background-image: -o-linear-gradient(top,white,#e4e4e4);
  78. background-image: -ms-linear-gradient(top,white,#e4e4e4);
  79. background-image: linear-gradient(top,white,#e4e4e4);
  80. filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffffff',endColorstr='#ffe4e4e4');
  81. }
  82. ul.ckeditor-buttons li .cke-icon-only {
  83. text-indent: -9999px;
  84. width: 16px;
  85. }
  86. ul.ckeditor-buttons li a:focus {
  87. z-index: 11; /* Ensure focused buttons show their outline on all sides. */
  88. }
  89. ul.ckeditor-buttons li:first-child a {
  90. border-top-left-radius: 2px; /* LTR */
  91. border-bottom-left-radius: 2px; /* LTR */
  92. }
  93. ul.ckeditor-buttons li:last-child a {
  94. border-top-right-radius: 2px; /* LTR */
  95. border-bottom-right-radius: 2px; /* LTR */
  96. }
  97. ul.ckeditor-buttons li.ckeditor-button-placeholder a {
  98. background: #333;
  99. opacity: 0.3;
  100. }
  101. ul.ckeditor-multiple-buttons {
  102. padding: 1px 2px;
  103. margin: 5px;
  104. list-style: none;
  105. float: left; /* LTR */
  106. }
  107. ul.ckeditor-multiple-buttons li {
  108. display: inline-block;
  109. float: left; /* LTR */
  110. margin: 0;
  111. padding: 0;
  112. }
  113. ul.ckeditor-multiple-buttons li a {
  114. cursor: move;
  115. display: inline-block;
  116. height: 18px;
  117. margin: 0;
  118. padding: 2px 0;
  119. }
  120. ul.ckeditor-buttons li.ckeditor-group-button-separator,
  121. ul.ckeditor-multiple-buttons li.ckeditor-group-button-separator {
  122. margin: -1px -3px -2px;
  123. }
  124. ul.ckeditor-buttons li.ckeditor-group-button-separator a,
  125. ul.ckeditor-multiple-buttons li.ckeditor-group-button-separator a {
  126. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAdCAMAAABG4xbVAAAAhFBMVEUAAACmpqampqampqb////l5eX////5+fmmpqatra2urq6vr6+1tbW2tra4uLi6urq8vLzb29ve3t7i4uLl5eXn5+fo6Ojp6enq6urr6+vs7Ozt7e3u7u7v7+/w8PDx8fHy8vLz8/P09PT19fX29vb39/f4+Pj5+fn6+vr7+/v8/Pz+/v7qIQO+AAAACHRSTlMATVmAi8XM29MuWToAAABjSURBVBiVrc5BCoAwDETRMKhtRBduev9LKm1xjItWRBBE6Nt9QkIwOTcUzk0Imi8aoMssxbgoTHMtqsFMLta0vPh2N49HyfdelPg6k9uvX/a+Bmggt1qJRNzQFVgjEnkUZDoBmH57VSypjg4AAAAASUVORK5CYII=) no-repeat center center;
  127. width: 13px;
  128. padding: 0;
  129. height: 29px;
  130. position: relative;
  131. z-index: 10;
  132. }
  133. ul.ckeditor-buttons li.ckeditor-button-separator a {
  134. background: #e4e4e4;
  135. background-image: -webkit-linear-gradient(#e4e4e4, #b4b4b4);
  136. background-image: linear-gradient(#e4e4e4, #b4b4b4);
  137. height: 24px;
  138. margin: 1px 0 0;
  139. padding: 0;
  140. position: relative;
  141. width: 1px;
  142. z-index: 10;
  143. }
  144. ul.ckeditor-multiple-buttons li.ckeditor-button-separator a {
  145. width: 2px;
  146. padding: 0;
  147. height: 26px;
  148. margin: 0 10px;
  149. }
  150. .ckeditor-separator {
  151. background-color: silver;
  152. background-color: rgba(0, 0, 0, .2);
  153. margin: 5px 0;
  154. height: 18px;
  155. width: 1px;
  156. display: block;
  157. -webkit-box-shadow: 1px 0 1px rgba(255, 255, 255, .5);
  158. -moz-box-shadow: 1px 0 1px rgba(255,255,255,.5);
  159. box-shadow: 1px 0 1px rgba(255, 255, 255, .5)
  160. }
  161. .ckeditor-button-arrow {
  162. width: 0;
  163. text-align: center;
  164. border-left: 3px solid transparent;
  165. border-right: 3px solid transparent;
  166. border-top: 3px solid #333;
  167. display: inline-block;
  168. margin: 0 4px 2px;
  169. }
  170. .ckeditor-row-controls {
  171. float: right; /* LTR */
  172. font-size: 18px;
  173. width: 40px;
  174. text-align: right; /* LTR */
  175. }
  176. .ckeditor-row-controls a {
  177. display: inline-block;
  178. padding: 6px 2px;
  179. height: 16px;
  180. width: 16px;
  181. line-height: 0.9;
  182. font-weight: bold;
  183. color: #333;
  184. text-decoration: none;
  185. }