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.

356 lines
5.2 KiB

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