You are here

ckeditor.admin.css in CKEditor for WYSIWYG Module 7

Same filename and directory in other branches
  1. 8 css/ckeditor.admin.css

Styles for configuration of CKEditor module.

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

File

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-disabled {
  23. margin: 5px 0;
  24. }
  25. .ckeditor-toolbar-configuration ul.ckeditor-buttons {
  26. min-height: 26px;
  27. min-width: 26px;
  28. list-style: none;
  29. float: left;
  30. clear: left;
  31. padding: 0;
  32. margin: 0 6px 5px 0;
  33. border: 1px solid #a6a6a6;
  34. border-bottom-color: #979797;
  35. border-radius: 3px;
  36. 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;
  37. }
  38. ul.ckeditor-buttons li {
  39. display: inline-block;
  40. height: 18px;
  41. padding: 4px 6px;
  42. outline: none;
  43. cursor: move;
  44. float: left;
  45. border: 0;
  46. white-space: nowrap;
  47. background: #e4e4e4;
  48. background-image: -webkit-gradient(linear,left top,left bottom,from(white),to(#e4e4e4));
  49. background-image: -moz-linear-gradient(top,white,#e4e4e4);
  50. background-image: -webkit-linear-gradient(top,white,#e4e4e4);
  51. background-image: -o-linear-gradient(top,white,#e4e4e4);
  52. background-image: -ms-linear-gradient(top,white,#e4e4e4);
  53. background-image: linear-gradient(top,white,#e4e4e4);
  54. filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffffff',endColorstr='#ffe4e4e4');
  55. }
  56. ul.ckeditor-buttons li:first-child {
  57. border-top-left-radius: 2px;
  58. border-bottom-left-radius: 2px;
  59. }
  60. ul.ckeditor-buttons li:last-child {
  61. border-top-right-radius: 2px;
  62. border-bottom-right-radius: 2px;
  63. }
  64. ul.ckeditor-buttons li.ckeditor-button-placeholder {
  65. background: #333;
  66. opacity: 0.3;
  67. }
  68. ul.ckeditor-multiple-buttons {
  69. padding: 2px;
  70. margin: 0;
  71. list-style: none;
  72. float: left;
  73. }
  74. ul.ckeditor-multiple-buttons li {
  75. padding: 2px 0;
  76. margin: 0;
  77. display: inline-block;
  78. height: 18px;
  79. cursor: move;
  80. float: left;
  81. }
  82. .ckeditor-multiple-label {
  83. float: left;
  84. padding: 4px;
  85. }
  86. ul.ckeditor-buttons li.ckeditor-group-button-separator,
  87. ul.ckeditor-multiple-buttons li.ckeditor-group-button-separator {
  88. background: url(../images/group-separator.png) no-repeat center center;
  89. width: 13px;
  90. padding: 0;
  91. height: 29px;
  92. margin: -1px -3px -2px;
  93. position: relative;
  94. z-index: 10;
  95. }
  96. ul.ckeditor-buttons li.ckeditor-button-separator {
  97. width: 2px;
  98. padding: 0 4px;
  99. height: 26px;
  100. margin: 0 -4px;
  101. position: relative;
  102. z-index: 10;
  103. background: #e4e4e4;
  104. background-image: -webkit-gradient(linear, left top, left bottom, from(white), to(#e4e4e4));
  105. background-image: -moz-linear-gradient(top, white, #e4e4e4);
  106. background-image: -webkit-linear-gradient(top, white, #e4e4e4);
  107. background-image: -o-linear-gradient(top, white, #e4e4e4);
  108. background-image: -ms-linear-gradient(top, white, #e4e4e4);
  109. background-image: linear-gradient(top, white, #e4e4e4);
  110. filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ffffffff', endColorstr='#ffe4e4e4');
  111. }
  112. ul.ckeditor-multiple-buttons li.ckeditor-button-separator {
  113. width: 2px;
  114. padding: 0;
  115. height: 26px;
  116. margin: 0 10px;
  117. }
  118. .ckeditor-separator {
  119. background-color: silver;
  120. background-color: rgba(0, 0, 0, .2);
  121. margin: 5px 0;
  122. height: 18px;
  123. width: 1px;
  124. display: block;
  125. -webkit-box-shadow: 1px 0 1px rgba(255, 255, 255, .5);
  126. -moz-box-shadow: 1px 0 1px rgba(255,255,255,.5);
  127. box-shadow: 1px 0 1px rgba(255, 255, 255, .5)
  128. }
  129. .ckeditor-button-arrow {
  130. width: 0;
  131. text-align: center;
  132. border-left: 3px solid transparent;
  133. border-right: 3px solid transparent;
  134. border-top: 3px solid #333;
  135. display: inline-block;
  136. margin: 0 4px 2px;
  137. }
  138. .ckeditor-row-controls {
  139. float: right;
  140. font-size: 18px;
  141. width: 40px;
  142. text-align: right;
  143. }
  144. .ckeditor-row-controls a {
  145. display: inline-block;
  146. padding: 6px 2px;
  147. height: 16px;
  148. width: 16px;
  149. line-height: 0.9;
  150. font-weight: bold;
  151. color: #333;
  152. }
  153. .ckeditor-row-controls a:hover {
  154. text-decoration: none;
  155. }