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.

339 lines
5.0 KiB

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