/source/Plug-in/fck/editor/skins/office2003/fck_editor.css

http://prosporous.googlecode.com/ · CSS · 476 lines · 362 code · 70 blank · 44 comment · 0 complexity · 635e654bc4f77aa28bcb2c83dad45372 MD5 · raw file

  1. /*
  2. * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  3. * Copyright (C) 2003-2007 Frederico Caldeira Knabben
  4. *
  5. * == BEGIN LICENSE ==
  6. *
  7. * Licensed under the terms of any of the following licenses at your
  8. * choice:
  9. *
  10. * - GNU General Public License Version 2 or later (the "GPL")
  11. * http://www.gnu.org/licenses/gpl.html
  12. *
  13. * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
  14. * http://www.gnu.org/licenses/lgpl.html
  15. *
  16. * - Mozilla Public License Version 1.1 or later (the "MPL")
  17. * http://www.mozilla.org/MPL/MPL-1.1.html
  18. *
  19. * == END LICENSE ==
  20. *
  21. * Styles used by the editor IFRAME and Toolbar.
  22. */
  23. /*
  24. ### Basic Editor IFRAME Styles.
  25. */
  26. body
  27. {
  28. padding: 1px;
  29. margin: 0;
  30. background-color: #ffffff;
  31. }
  32. #xEditingArea
  33. {
  34. border: #696969 1px solid;
  35. }
  36. .SourceField
  37. {
  38. padding: 5px;
  39. margin: 0px;
  40. font-family: Monospace;
  41. }
  42. /*
  43. Toolbar
  44. */
  45. .TB_ToolbarSet, .TB_Expand, .TB_Collapse
  46. {
  47. cursor: default;
  48. background-color: #f7f8fd;
  49. }
  50. .TB_ToolbarSet
  51. {
  52. border-top: #f7f8fd 1px outset;
  53. border-bottom: #f7f8fd 1px outset;
  54. }
  55. .TB_ToolbarSet TD
  56. {
  57. font-size: 11px;
  58. font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
  59. }
  60. .TB_Toolbar
  61. {
  62. background-color: #d6dff7;
  63. background-image: url(images/toolbar.bg.gif);
  64. background-repeat: repeat-x;
  65. display: inline-table;
  66. }
  67. .TB_Separator
  68. {
  69. width: 1px;
  70. height: 16px;
  71. margin: 2px;
  72. background-color: #B2CBFF;
  73. }
  74. .TB_Start
  75. {
  76. background-image: url(images/toolbar.start.gif);
  77. background-repeat: no-repeat;
  78. background-position: center center;
  79. margin: 0px;
  80. width: 7px;
  81. height: 24px;
  82. }
  83. .TB_End
  84. {
  85. background-image: url(images/toolbar.end.gif);
  86. background-repeat: no-repeat;
  87. background-position: center left;
  88. height: 24px;
  89. width: 4px;
  90. }
  91. .TB_ExpandImg
  92. {
  93. background-image: url(images/toolbar.expand.gif);
  94. background-repeat: no-repeat;
  95. }
  96. .TB_CollapseImg
  97. {
  98. background-image: url(images/toolbar.collapse.gif);
  99. background-repeat: no-repeat;
  100. }
  101. .TB_SideBorder
  102. {
  103. background-color: #696969;
  104. }
  105. .TB_Expand, .TB_Collapse
  106. {
  107. padding: 2px 2px 2px 2px;
  108. border: #f7f8fd 1px outset;
  109. }
  110. .TB_Collapse
  111. {
  112. width: 5px;
  113. }
  114. .TB_Break
  115. {
  116. height: 24px; /* IE needs the height to be set, otherwise no break */
  117. }
  118. /*
  119. Toolbar Button
  120. */
  121. .TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled
  122. {
  123. margin: 1px;
  124. height: 22px; /* The height is necessary, otherwise IE will not apply the alpha */
  125. }
  126. .TB_Button_On
  127. {
  128. margin: 0px;
  129. border: #316ac5 1px solid;
  130. background-color: #c1d2ee;
  131. }
  132. .TB_Button_On_Over, .TB_Button_Off_Over
  133. {
  134. margin: 0px ;
  135. border: #316ac5 1px solid;
  136. background-color: #dff1ff;
  137. }
  138. .TB_Button_Off
  139. {
  140. filter: alpha(opacity=70); /* IE */
  141. opacity: 0.70; /* Safari, Opera and Mozilla */
  142. }
  143. .TB_Button_Disabled
  144. {
  145. filter: gray() alpha(opacity=30); /* IE */
  146. opacity: 0.30; /* Safari, Opera and Mozilla */
  147. }
  148. .TB_Button_Padding
  149. {
  150. visibility: hidden;
  151. width: 3px;
  152. height: 22px;
  153. }
  154. .TB_Button_Image
  155. {
  156. overflow: hidden;
  157. width: 16px;
  158. height: 16px;
  159. margin: 3px;
  160. background-repeat: no-repeat;
  161. }
  162. .TB_Button_Image img
  163. {
  164. position: relative;
  165. }
  166. .TB_Button_Off .TB_Button_Text
  167. {
  168. background-color: #d6dff7; /* Needed because of a bug on ClearType */
  169. background-image: url(images/toolbar.bg.gif);
  170. background-repeat: repeat-x;
  171. }
  172. .TB_ConnectionLine
  173. {
  174. background-color: #f7f8fd;
  175. height: 1px;
  176. margin-left: 1px; /* ltr */
  177. margin-right: 1px; /* rtl */
  178. }
  179. .TB_Button_Off .TB_Text
  180. {
  181. background-color: #d6dff7; /* Needed because of a bug on ClearType */
  182. background-image: url(images/toolbar.bg.gif);
  183. background-repeat: repeat-x;
  184. }
  185. .TB_Button_On_Over .TB_Text
  186. {
  187. background-color: #dff1ff ; /* Needed because of a bug on ClearType */
  188. }
  189. /*
  190. Menu
  191. */
  192. .MN_Menu
  193. {
  194. border: 1px solid #8f8f73;
  195. padding: 2px;
  196. background-color: #f7f8fd;
  197. cursor: default;
  198. }
  199. .MN_Menu, .MN_Menu .MN_Label
  200. {
  201. font-size: 11px;
  202. font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
  203. }
  204. .MN_Item_Padding
  205. {
  206. visibility: hidden;
  207. width: 3px;
  208. height: 20px;
  209. }
  210. .MN_Icon
  211. {
  212. background-color: #d6dff7;
  213. text-align: center;
  214. height: 20px;
  215. }
  216. .MN_Label
  217. {
  218. padding-left: 3px;
  219. padding-right: 3px;
  220. }
  221. .MN_Separator
  222. {
  223. height: 3px;
  224. }
  225. .MN_Separator_Line
  226. {
  227. border-top: #b9b99d 1px solid;
  228. }
  229. .MN_Item .MN_Icon IMG
  230. {
  231. filter: alpha(opacity=70);
  232. opacity: 0.70;
  233. }
  234. .MN_Item_Over
  235. {
  236. color: #ffffff;
  237. background-color: #7096FA;
  238. }
  239. .MN_Item_Over .MN_Icon
  240. {
  241. background-color: #466ca6;
  242. }
  243. .MN_Item_Disabled IMG
  244. {
  245. filter: gray() alpha(opacity=30); /* IE */
  246. opacity: 0.30; /* Safari, Opera and Mozilla */
  247. }
  248. .MN_Item_Disabled .MN_Label
  249. {
  250. color: #b7b7b7;
  251. }
  252. .MN_Arrow
  253. {
  254. padding-right: 3px;
  255. padding-left: 3px;
  256. }
  257. .MN_ConnectionLine
  258. {
  259. background-color: #f7f8fd;
  260. }
  261. .Menu .TB_Button_On, .Menu .TB_Button_On_Over
  262. {
  263. border: #8f8f73 1px solid;
  264. background-color: #f7f8fd;
  265. }
  266. /*
  267. ### Panel Styles
  268. */
  269. .FCK_Panel
  270. {
  271. border: #8f8f73 1px solid;
  272. padding: 2px;
  273. background-color: #f7f8fd;
  274. }
  275. .FCK_Panel, .FCK_Panel TD
  276. {
  277. font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
  278. font-size: 11px;
  279. }
  280. /*
  281. ### Special Combos
  282. */
  283. .SC_Panel
  284. {
  285. overflow: auto;
  286. white-space: nowrap;
  287. cursor: default;
  288. border: 1px solid #8f8f73;
  289. padding-left: 2px;
  290. padding-right: 2px;
  291. }
  292. .SC_Panel, .SC_Panel TD
  293. {
  294. font-size: 11px;
  295. font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
  296. }
  297. .SC_Item, .SC_ItemSelected
  298. {
  299. margin-top: 2px;
  300. margin-bottom: 2px;
  301. background-position: left center;
  302. padding-left: 11px;
  303. padding-right: 3px;
  304. padding-top: 2px;
  305. padding-bottom: 2px;
  306. text-overflow: ellipsis;
  307. overflow: hidden;
  308. background-repeat: no-repeat;
  309. border: #dddddd 1px solid;
  310. }
  311. .SC_Item *, .SC_ItemSelected *
  312. {
  313. margin-top: 0px;
  314. margin-bottom: 0px;
  315. }
  316. .SC_ItemSelected
  317. {
  318. border: #9a9afb 1px solid;
  319. background-image: url(images/toolbar.arrowright.gif);
  320. }
  321. .SC_ItemOver
  322. {
  323. border: #316ac5 1px solid;
  324. }
  325. .SC_Field
  326. {
  327. margin-top: 2px ;
  328. border: #b7b7a6 1px solid;
  329. cursor: default;
  330. }
  331. .SC_FieldCaption
  332. {
  333. overflow: visible;
  334. padding-right: 5px;
  335. padding-left: 5px;
  336. opacity: 0.75; /* Safari, Opera and Mozilla */
  337. filter: alpha(opacity=70); /* IE */ /* -moz-opacity: 0.75; Mozilla (Old) */
  338. height: 23px;
  339. background-color: #d6dff7; /* Needed because of a bug on ClearType */
  340. background-image: url(images/toolbar.bg.gif);
  341. background-repeat: repeat-x;
  342. /* background-color: inherit; Maybe this is needed wait to check */
  343. }
  344. .SC_FieldLabel
  345. {
  346. white-space: nowrap;
  347. padding: 2px;
  348. width: 100%;
  349. cursor: default;
  350. background-color: #ffffff;
  351. text-overflow: ellipsis;
  352. overflow: hidden;
  353. }
  354. .SC_FieldButton
  355. {
  356. background-position: center center;
  357. background-image: url(images/toolbar.buttonarrow.gif);
  358. border-left: #b7b7a6 1px solid;
  359. width: 14px;
  360. background-repeat: no-repeat;
  361. }
  362. .SC_FieldDisabled .SC_FieldButton, .SC_FieldDisabled .SC_FieldCaption
  363. {
  364. opacity: 0.30; /* Safari, Opera and Mozilla */
  365. filter: gray() alpha(opacity=30); /* IE */ /* -moz-opacity: 0.30; Mozilla (Old) */
  366. }
  367. .SC_FieldOver
  368. {
  369. border: #316ac5 1px solid;
  370. }
  371. .SC_FieldOver .SC_FieldButton
  372. {
  373. border-left: #316ac5 1px solid;
  374. }
  375. /*
  376. ### Color Selector Panel
  377. */
  378. .ColorBoxBorder
  379. {
  380. border: #808080 1px solid;
  381. position: static;
  382. }
  383. .ColorBox
  384. {
  385. font-size: 1px;
  386. width: 10px;
  387. position: static;
  388. height: 10px;
  389. }
  390. .ColorDeselected, .ColorSelected
  391. {
  392. cursor: default;
  393. }
  394. .ColorDeselected
  395. {
  396. border: #ffffff 1px solid;
  397. padding: 2px;
  398. float: left;
  399. }
  400. .ColorSelected
  401. {
  402. border: #330066 1px solid;
  403. padding: 2px;
  404. float: left;
  405. background-color: #c4cdd6;
  406. }