From eb4ff7f73c5d4bdf74a3472448b5a195598ff4cd Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 1 Aug 2007 22:26:52 +0000 Subject: event refactor, landing on HEAD! --- .../editor/css/behaviors/disablehandles.htc | 15 +++ .../editor/css/behaviors/showtableborders.htc | 36 +++++++ .../fckeditor/editor/css/fck_editorarea.css | 91 +++++++++++++++++ .../elements/fckeditor/editor/css/fck_internal.css | 111 +++++++++++++++++++++ .../editor/css/fck_showtableborders_gecko.css | 42 ++++++++ .../fckeditor/editor/css/images/fck_anchor.gif | Bin 0 -> 184 bytes .../fckeditor/editor/css/images/fck_flashlogo.gif | Bin 0 -> 599 bytes .../editor/css/images/fck_hiddenfield.gif | Bin 0 -> 105 bytes .../fckeditor/editor/css/images/fck_pagebreak.gif | Bin 0 -> 54 bytes 9 files changed, 295 insertions(+) create mode 100644 httemplate/elements/fckeditor/editor/css/behaviors/disablehandles.htc create mode 100644 httemplate/elements/fckeditor/editor/css/behaviors/showtableborders.htc create mode 100644 httemplate/elements/fckeditor/editor/css/fck_editorarea.css create mode 100644 httemplate/elements/fckeditor/editor/css/fck_internal.css create mode 100644 httemplate/elements/fckeditor/editor/css/fck_showtableborders_gecko.css create mode 100644 httemplate/elements/fckeditor/editor/css/images/fck_anchor.gif create mode 100644 httemplate/elements/fckeditor/editor/css/images/fck_flashlogo.gif create mode 100644 httemplate/elements/fckeditor/editor/css/images/fck_hiddenfield.gif create mode 100644 httemplate/elements/fckeditor/editor/css/images/fck_pagebreak.gif (limited to 'httemplate/elements/fckeditor/editor/css') diff --git a/httemplate/elements/fckeditor/editor/css/behaviors/disablehandles.htc b/httemplate/elements/fckeditor/editor/css/behaviors/disablehandles.htc new file mode 100644 index 000000000..8dfb661de --- /dev/null +++ b/httemplate/elements/fckeditor/editor/css/behaviors/disablehandles.htc @@ -0,0 +1,15 @@ + + + + + diff --git a/httemplate/elements/fckeditor/editor/css/behaviors/showtableborders.htc b/httemplate/elements/fckeditor/editor/css/behaviors/showtableborders.htc new file mode 100644 index 000000000..77418b9ec --- /dev/null +++ b/httemplate/elements/fckeditor/editor/css/behaviors/showtableborders.htc @@ -0,0 +1,36 @@ + + + + + + + + diff --git a/httemplate/elements/fckeditor/editor/css/fck_editorarea.css b/httemplate/elements/fckeditor/editor/css/fck_editorarea.css new file mode 100644 index 000000000..8539aa414 --- /dev/null +++ b/httemplate/elements/fckeditor/editor/css/fck_editorarea.css @@ -0,0 +1,91 @@ +/* + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2007 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * Licensed under the terms of any of the following licenses at your + * choice: + * + * - GNU General Public License Version 2 or later (the "GPL") + * http://www.gnu.org/licenses/gpl.html + * + * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") + * http://www.gnu.org/licenses/lgpl.html + * + * - Mozilla Public License Version 1.1 or later (the "MPL") + * http://www.mozilla.org/MPL/MPL-1.1.html + * + * == END LICENSE == + * + * This is the default CSS file used by the editor area. It defines the + * initial font of the editor and background color. + * + * A user can configure the editor to use another CSS file. Just change + * the value of the FCKConfig.EditorAreaCSS key in the configuration + * file. + */ + +/* + The "body" styles should match your editor web site, mainly regarding + background color and font family and size. +*/ + +body +{ + background-color: #ffffff; + padding: 5px 5px 5px 5px; + margin: 0px; +} + +body, td +{ + font-family: Arial, Verdana, Sans-Serif; + font-size: 12px; +} + +a[href] +{ + color: #0000FF !important; /* For Firefox... mark as important, otherwise it becomes black */ +} + +/* + Just uncomment the following block if you want to avoid spaces between + paragraphs. Remember to apply the same style in your output front end page. +*/ + +/* +p, ul, li +{ + margin-top: 0px; + margin-bottom: 0px; +} +*/ + +/* + The following are some sample styles used in the "Styles" toolbar command. + You should instead remove them, and include the styles used by the site + you are using the editor in. +*/ + +.Bold +{ + font-weight: bold; +} + +.Title +{ + font-weight: bold; + font-size: 18px; + color: #cc3300; +} + +.Code +{ + border: #8b4513 1px solid; + padding-right: 5px; + padding-left: 5px; + color: #000066; + font-family: 'Courier New' , Monospace; + background-color: #ff9933; +} \ No newline at end of file diff --git a/httemplate/elements/fckeditor/editor/css/fck_internal.css b/httemplate/elements/fckeditor/editor/css/fck_internal.css new file mode 100644 index 000000000..e6865602c --- /dev/null +++ b/httemplate/elements/fckeditor/editor/css/fck_internal.css @@ -0,0 +1,111 @@ +/* + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2007 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * Licensed under the terms of any of the following licenses at your + * choice: + * + * - GNU General Public License Version 2 or later (the "GPL") + * http://www.gnu.org/licenses/gpl.html + * + * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") + * http://www.gnu.org/licenses/lgpl.html + * + * - Mozilla Public License Version 1.1 or later (the "MPL") + * http://www.mozilla.org/MPL/MPL-1.1.html + * + * == END LICENSE == + * + * This CSS Style Sheet defines rules used by the editor for its internal use. + */ + +/* Fix to allow putting the caret at the end of the +content in Firefox if clicking below the content */ +html +{ + min-height: 100%; +} + + +table.FCK__ShowTableBorders, table.FCK__ShowTableBorders td, table.FCK__ShowTableBorders th +{ + border: #d3d3d3 1px solid; +} + +form +{ + border: 1px dotted #FF0000; + padding: 2px; +} + +.FCK__Flash +{ + border: #a9a9a9 1px solid; + background-position: center center; + background-image: url(images/fck_flashlogo.gif); + background-repeat: no-repeat; + width: 80px; + height: 80px; +} + +/* Empty anchors images */ +.FCK__Anchor +{ + border: 1px dotted #00F; + background-position: center center; + background-image: url(images/fck_anchor.gif); + background-repeat: no-repeat; + width: 16px; + height: 15px; + vertical-align: middle; +} + +/* Anchors with content */ +.FCK__AnchorC +{ + border: 1px dotted #00F; + background-position: 1px center; + background-image: url(images/fck_anchor.gif); + background-repeat: no-repeat; + padding-left: 18px; +} + +/* Any anchor for non-IE, if we combine it + with the previous rule IE ignores all. */ +a[name] +{ + border: 1px dotted #00F; + background-position: 0 center; + background-image: url(images/fck_anchor.gif); + background-repeat: no-repeat; + padding-left: 18px; +} + +.FCK__PageBreak +{ + background-position: center center; + background-image: url(images/fck_pagebreak.gif); + background-repeat: no-repeat; + clear: both; + display: block; + float: none; + width: 100%; + border-top: #999999 1px dotted; + border-bottom: #999999 1px dotted; + border-right: 0px; + border-left: 0px; + height: 5px; +} + +/* Hidden fields */ +.FCK__InputHidden +{ + width: 19px; + height: 18px; + background-image: url(images/fck_hiddenfield.gif); + background-repeat: no-repeat; + vertical-align: text-bottom; + background-position: center center; +} diff --git a/httemplate/elements/fckeditor/editor/css/fck_showtableborders_gecko.css b/httemplate/elements/fckeditor/editor/css/fck_showtableborders_gecko.css new file mode 100644 index 000000000..5947114c9 --- /dev/null +++ b/httemplate/elements/fckeditor/editor/css/fck_showtableborders_gecko.css @@ -0,0 +1,42 @@ +/* + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2007 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * Licensed under the terms of any of the following licenses at your + * choice: + * + * - GNU General Public License Version 2 or later (the "GPL") + * http://www.gnu.org/licenses/gpl.html + * + * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") + * http://www.gnu.org/licenses/lgpl.html + * + * - Mozilla Public License Version 1.1 or later (the "MPL") + * http://www.mozilla.org/MPL/MPL-1.1.html + * + * == END LICENSE == + * + * This CSS Style Sheet defines the rules to show table borders on Gecko. + */ + +/* For tables with the "border" attribute set to "0" */ +table[border="0"], +table[border="0"] > tr > td, table[border="0"] > tr > th, +table[border="0"] > tbody > tr > td, table[border="0"] > tbody > tr > th, +table[border="0"] > thead > tr > td, table[border="0"] > thead > tr > th, +table[border="0"] > tfoot > tr > td, table[border="0"] > tfoot > tr > th +{ + border: #d3d3d3 1px dotted ; +} + +/* For tables with no "border" attribute set */ +table:not([border]), +table:not([border]) > tr > td, table:not([border]) > tr > th, +table:not([border]) > tbody > tr > td, table:not([border]) > tbody > tr > th, +table:not([border]) > thead > tr > td, table:not([border]) > thead > tr > th, +table:not([border]) > tfoot > tr > td, table:not([border]) > tfoot > tr > th +{ + border: #d3d3d3 1px dotted ; +} diff --git a/httemplate/elements/fckeditor/editor/css/images/fck_anchor.gif b/httemplate/elements/fckeditor/editor/css/images/fck_anchor.gif new file mode 100644 index 000000000..5aa797b22 Binary files /dev/null and b/httemplate/elements/fckeditor/editor/css/images/fck_anchor.gif differ diff --git a/httemplate/elements/fckeditor/editor/css/images/fck_flashlogo.gif b/httemplate/elements/fckeditor/editor/css/images/fck_flashlogo.gif new file mode 100644 index 000000000..141aac4ed Binary files /dev/null and b/httemplate/elements/fckeditor/editor/css/images/fck_flashlogo.gif differ diff --git a/httemplate/elements/fckeditor/editor/css/images/fck_hiddenfield.gif b/httemplate/elements/fckeditor/editor/css/images/fck_hiddenfield.gif new file mode 100644 index 000000000..953f643b6 Binary files /dev/null and b/httemplate/elements/fckeditor/editor/css/images/fck_hiddenfield.gif differ diff --git a/httemplate/elements/fckeditor/editor/css/images/fck_pagebreak.gif b/httemplate/elements/fckeditor/editor/css/images/fck_pagebreak.gif new file mode 100644 index 000000000..8d1cffd64 Binary files /dev/null and b/httemplate/elements/fckeditor/editor/css/images/fck_pagebreak.gif differ -- cgit v1.2.1