first commit
This commit is contained in:
15
admin/FCKeditor/editor/css/behaviors/disablehandles.htc
Normal file
15
admin/FCKeditor/editor/css/behaviors/disablehandles.htc
Normal file
@ -0,0 +1,15 @@
|
||||
<public:component lightweight="true">
|
||||
|
||||
<script language="javascript">
|
||||
|
||||
function CancelEvent()
|
||||
{
|
||||
return false ;
|
||||
}
|
||||
|
||||
this.onresizestart = CancelEvent ;
|
||||
this.onbeforeeditfocus = CancelEvent ;
|
||||
|
||||
</script>
|
||||
|
||||
</public:component>
|
BIN
admin/FCKeditor/editor/css/behaviors/hiddenfield.gif
Normal file
BIN
admin/FCKeditor/editor/css/behaviors/hiddenfield.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 111 B |
30
admin/FCKeditor/editor/css/behaviors/hiddenfield.htc
Normal file
30
admin/FCKeditor/editor/css/behaviors/hiddenfield.htc
Normal file
@ -0,0 +1,30 @@
|
||||
<public:component lightweight="true">
|
||||
|
||||
<public:attach event="oncontentready" onevent="ShowField()" />
|
||||
<public:attach event="ondoubleclick" onevent="EditField()" />
|
||||
|
||||
<script language="javascript">
|
||||
|
||||
var bIsHiddenField = this.type == 'hidden' ;
|
||||
|
||||
function ShowField()
|
||||
{
|
||||
if ( bIsHiddenField )
|
||||
{
|
||||
this.runtimeStyle.width = '20px' ;
|
||||
this.runtimeStyle.height = '20px' ;
|
||||
this.runtimeStyle.border = '1px dotted #FF0000' ;
|
||||
this.runtimeStyle.backgroundImage = 'url(css/behaviors/hiddenfield.gif)' ;
|
||||
this.runtimeStyle.fontSize = '99px' ;
|
||||
}
|
||||
}
|
||||
|
||||
function EditField()
|
||||
{
|
||||
if ( bIsHiddenField )
|
||||
alert( this.outerHTML ) ;
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</public:component>
|
36
admin/FCKeditor/editor/css/behaviors/showtableborders.htc
Normal file
36
admin/FCKeditor/editor/css/behaviors/showtableborders.htc
Normal file
@ -0,0 +1,36 @@
|
||||
<public:component lightweight="true">
|
||||
|
||||
<public:attach event="oncontentready" onevent="ShowBorders()" />
|
||||
<public:attach event="onpropertychange" onevent="OnPropertyChange()" />
|
||||
|
||||
<script language="javascript">
|
||||
|
||||
var oClassRegex = /\s*FCK__ShowTableBorders/ ;
|
||||
|
||||
function ShowBorders()
|
||||
{
|
||||
if ( this.border == 0 )
|
||||
{
|
||||
if ( !oClassRegex.test( this.className ) )
|
||||
this.className += ' FCK__ShowTableBorders' ;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( oClassRegex.test( this.className ) )
|
||||
{
|
||||
this.className = this.className.replace( oClassRegex, '' ) ;
|
||||
if ( this.className.length == 0 )
|
||||
this.removeAttribute( 'className', 0 ) ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function OnPropertyChange()
|
||||
{
|
||||
if ( event.propertyName == 'border' || event.propertyName == 'className' )
|
||||
ShowBorders.call(this) ;
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</public:component>
|
92
admin/FCKeditor/editor/css/fck_editorarea.css
Normal file
92
admin/FCKeditor/editor/css/fck_editorarea.css
Normal file
@ -0,0 +1,92 @@
|
||||
/*
|
||||
* FCKeditor - The text editor for internet
|
||||
* Copyright (C) 2003-2006 Frederico Caldeira Knabben
|
||||
*
|
||||
* Licensed under the terms of the GNU Lesser General Public License:
|
||||
* http://www.opensource.org/licenses/lgpl-license.php
|
||||
*
|
||||
* For further information visit:
|
||||
* http://www.fckeditor.net/
|
||||
*
|
||||
* "Support Open Source software. What about a donation today?"
|
||||
*
|
||||
* File Name: fck_editorarea.css
|
||||
* 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.
|
||||
*
|
||||
* File Authors:
|
||||
* Frederico Caldeira Knabben (fredck@fckeditor.net)
|
||||
*/
|
||||
|
||||
/*
|
||||
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
|
||||
{
|
||||
color: #0000FF !important; /* For Firefox... mark as important, otherwise it becomes black */
|
||||
}
|
||||
|
||||
h3
|
||||
{
|
||||
color: #000080;
|
||||
}
|
||||
|
||||
/*
|
||||
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;
|
||||
}
|
88
admin/FCKeditor/editor/css/fck_internal.css
Normal file
88
admin/FCKeditor/editor/css/fck_internal.css
Normal file
@ -0,0 +1,88 @@
|
||||
/*
|
||||
* FCKeditor - The text editor for internet
|
||||
* Copyright (C) 2003-2006 Frederico Caldeira Knabben
|
||||
*
|
||||
* Licensed under the terms of the GNU Lesser General Public License:
|
||||
* http://www.opensource.org/licenses/lgpl-license.php
|
||||
*
|
||||
* For further information visit:
|
||||
* http://www.fckeditor.net/
|
||||
*
|
||||
* "Support Open Source software. What about a donation today?"
|
||||
*
|
||||
* File Name: fck_internal.css
|
||||
* This CSS Style Sheet defines rules used by the editor for its internal use.
|
||||
*
|
||||
* File Authors:
|
||||
* Frederico Caldeira Knabben (fredck@fckeditor.net)
|
||||
*/
|
||||
|
||||
/* 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: darkgray 1px solid;
|
||||
background-position: center center;
|
||||
background-image: url(images/fck_flashlogo.gif);
|
||||
background-repeat: no-repeat;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.FCK__Anchor
|
||||
{
|
||||
background-position: center center;
|
||||
background-image: url(images/fck_anchor.gif);
|
||||
background-repeat: no-repeat;
|
||||
width: 16px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
input[type="hidden"]
|
||||
{
|
||||
display: inline;
|
||||
width:20px;
|
||||
height:20px;
|
||||
border:1px dotted #FF0000 ;
|
||||
background-image: url(behaviors/hiddenfield.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
input[type="hidden"]:after
|
||||
{
|
||||
padding-left: 20px;
|
||||
content: "" ;
|
||||
}
|
38
admin/FCKeditor/editor/css/fck_showtableborders_gecko.css
Normal file
38
admin/FCKeditor/editor/css/fck_showtableborders_gecko.css
Normal file
@ -0,0 +1,38 @@
|
||||
/*
|
||||
* FCKeditor - The text editor for internet
|
||||
* Copyright (C) 2003-2006 Frederico Caldeira Knabben
|
||||
*
|
||||
* Licensed under the terms of the GNU Lesser General Public License:
|
||||
* http://www.opensource.org/licenses/lgpl-license.php
|
||||
*
|
||||
* For further information visit:
|
||||
* http://www.fckeditor.net/
|
||||
*
|
||||
* "Support Open Source software. What about a donation today?"
|
||||
*
|
||||
* File Name: fck_showtableborders_gecko.css
|
||||
* This CSS Style Sheet defines the rules to show table borders on Gecko.
|
||||
*
|
||||
* File Authors:
|
||||
* Frederico Caldeira Knabben (fredck@fckeditor.net)
|
||||
*/
|
||||
|
||||
/* 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 ;
|
||||
}
|
BIN
admin/FCKeditor/editor/css/images/fck_anchor.gif
Normal file
BIN
admin/FCKeditor/editor/css/images/fck_anchor.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 184 B |
BIN
admin/FCKeditor/editor/css/images/fck_flashlogo.gif
Normal file
BIN
admin/FCKeditor/editor/css/images/fck_flashlogo.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 599 B |
BIN
admin/FCKeditor/editor/css/images/fck_pagebreak.gif
Normal file
BIN
admin/FCKeditor/editor/css/images/fck_pagebreak.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 54 B |
Reference in New Issue
Block a user