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.

365 lines
5.3 KiB

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