You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

309 lines
5.2 KiB

  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. html, body, h1, h2, h3, h4, h5, h6, div, span, blockquote, p, address, form, fieldset, img, ul, ol, dl, dt, dd, li, hr, table, td, th, strong, em, sup, sub, dfn, ins, del, q, cite, var, samp, code, kbd, tt, pre {
  6. line-height: 1.5;
  7. }
  8. body {
  9. padding: 10px 30px;
  10. }
  11. input, textarea, select, option, optgroup, button, td, th {
  12. font-size: 100%;
  13. }
  14. pre {
  15. -moz-tab-size: 4;
  16. tab-size: 4;
  17. }
  18. pre, code, kbd, samp, tt {
  19. font-family: monospace,monospace;
  20. font-size: 1em;
  21. }
  22. body {
  23. width: 960px;
  24. margin: 0 auto;
  25. }
  26. code {
  27. background: #f3f3f3;
  28. border: 1px solid #ddd;
  29. padding: 1px 4px;
  30. border-radius: 3px;
  31. }
  32. abbr {
  33. border-bottom: 1px dotted #555;
  34. cursor: pointer;
  35. }
  36. .new, .beta {
  37. text-transform: uppercase;
  38. font-size: 10px;
  39. font-weight: bold;
  40. padding: 1px 4px;
  41. margin: 0 0 0 5px;
  42. color: #fff;
  43. float: right;
  44. border-radius: 3px;
  45. }
  46. .new {
  47. background: #FF7E00;
  48. border: 1px solid #DA8028;
  49. text-shadow: 0 1px 0 #C97626;
  50. box-shadow: 0 2px 3px 0 #FFA54E inset;
  51. }
  52. .beta {
  53. background: #18C0DF;
  54. border: 1px solid #19AAD8;
  55. text-shadow: 0 1px 0 #048CAD;
  56. font-style: italic;
  57. box-shadow: 0 2px 3px 0 #50D4FD inset;
  58. }
  59. h1.samples {
  60. color: #0782C1;
  61. font-size: 200%;
  62. font-weight: normal;
  63. margin: 0;
  64. padding: 0;
  65. }
  66. h1.samples a {
  67. color: #0782C1;
  68. text-decoration: none;
  69. border-bottom: 1px dotted #0782C1;
  70. }
  71. .samples a:hover {
  72. border-bottom: 1px dotted #0782C1;
  73. }
  74. h2.samples {
  75. color: #000000;
  76. font-size: 130%;
  77. margin: 15px 0 0 0;
  78. padding: 0;
  79. }
  80. p, blockquote, address, form, pre, dl, h1.samples, h2.samples {
  81. margin-bottom: 15px;
  82. }
  83. ul.samples {
  84. margin-bottom: 15px;
  85. }
  86. .clear {
  87. clear: both;
  88. }
  89. fieldset {
  90. margin: 0;
  91. padding: 10px;
  92. }
  93. body, input, textarea {
  94. color: #333333;
  95. font-family: Arial, Helvetica, sans-serif;
  96. }
  97. body {
  98. font-size: 75%;
  99. }
  100. a.samples {
  101. color: #189DE1;
  102. text-decoration: none;
  103. }
  104. form {
  105. margin: 0;
  106. padding: 0;
  107. }
  108. pre.samples {
  109. background-color: #F7F7F7;
  110. border: 1px solid #D7D7D7;
  111. overflow: auto;
  112. padding: 0.25em;
  113. white-space: pre-wrap; /* CSS 2.1 */
  114. word-wrap: break-word; /* IE7 */
  115. }
  116. #footer {
  117. clear: both;
  118. padding-top: 10px;
  119. }
  120. #footer hr {
  121. margin: 10px 0 15px 0;
  122. height: 1px;
  123. border: solid 1px gray;
  124. border-bottom: none;
  125. }
  126. #footer p {
  127. margin: 0 10px 10px 10px;
  128. float: left;
  129. }
  130. #footer #copy {
  131. float: right;
  132. }
  133. #outputSample {
  134. width: 100%;
  135. table-layout: fixed;
  136. }
  137. #outputSample thead th {
  138. color: #dddddd;
  139. background-color: #999999;
  140. padding: 4px;
  141. white-space: nowrap;
  142. }
  143. #outputSample tbody th {
  144. vertical-align: top;
  145. text-align: left;
  146. }
  147. #outputSample pre {
  148. margin: 0;
  149. padding: 0;
  150. }
  151. .description {
  152. border: 1px dotted #B7B7B7;
  153. margin-bottom: 10px;
  154. padding: 10px 10px 0;
  155. overflow: hidden;
  156. }
  157. label {
  158. display: block;
  159. margin-bottom: 6px;
  160. }
  161. /**
  162. * CKEditor editables are automatically set with the "cke_editable" class
  163. * plus cke_editable_(inline|themed) depending on the editor type.
  164. */
  165. /* Style a bit the inline editables. */
  166. .cke_editable.cke_editable_inline {
  167. cursor: pointer;
  168. }
  169. /* Once an editable element gets focused, the "cke_focus" class is
  170. added to it, so we can style it differently. */
  171. .cke_editable.cke_editable_inline.cke_focus {
  172. box-shadow: inset 0px 0px 20px 3px #ddd, inset 0 0 1px #000;
  173. outline: none;
  174. background: #eee;
  175. cursor: text;
  176. }
  177. /* Avoid pre-formatted overflows inline editable. */
  178. .cke_editable_inline pre {
  179. white-space: pre-wrap;
  180. word-wrap: break-word;
  181. }
  182. /**
  183. * Samples index styles.
  184. */
  185. .twoColumns,
  186. .twoColumnsLeft,
  187. .twoColumnsRight {
  188. overflow: hidden;
  189. }
  190. .twoColumnsLeft,
  191. .twoColumnsRight {
  192. width: 45%;
  193. }
  194. .twoColumnsLeft {
  195. float: left;
  196. }
  197. .twoColumnsRight {
  198. float: right;
  199. }
  200. dl.samples {
  201. padding: 0 0 0 40px;
  202. }
  203. dl.samples > dt {
  204. display: list-item;
  205. list-style-type: disc;
  206. list-style-position: outside;
  207. margin: 0 0 3px;
  208. }
  209. dl.samples > dd {
  210. margin: 0 0 3px;
  211. }
  212. .warning {
  213. color: #ff0000;
  214. background-color: #FFCCBA;
  215. border: 2px dotted #ff0000;
  216. padding: 15px 10px;
  217. margin: 10px 0;
  218. }
  219. .warning.deprecated {
  220. font-size: 1.3em;
  221. }
  222. /* Used on inline samples */
  223. blockquote {
  224. font-style: italic;
  225. font-family: Georgia, Times, "Times New Roman", serif;
  226. padding: 2px 0;
  227. border-style: solid;
  228. border-color: #ccc;
  229. border-width: 0;
  230. }
  231. .cke_contents_ltr blockquote {
  232. padding-left: 20px;
  233. padding-right: 8px;
  234. border-left-width: 5px;
  235. }
  236. .cke_contents_rtl blockquote {
  237. padding-left: 8px;
  238. padding-right: 20px;
  239. border-right-width: 5px;
  240. }
  241. img.right {
  242. border: 1px solid #ccc;
  243. float: right;
  244. margin-left: 15px;
  245. padding: 5px;
  246. }
  247. img.left {
  248. border: 1px solid #ccc;
  249. float: left;
  250. margin-right: 15px;
  251. padding: 5px;
  252. }
  253. .marker {
  254. background-color: Yellow;
  255. }