migrate to new git

This commit is contained in:
2025-08-29 01:27:25 +08:00
parent 946eb9961e
commit af2c152ef6
8623 changed files with 1000453 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/*
editor_gecko.css
==================
This file contains styles to used by all Gecko based browsers (Firefox) only.
*/
/* Base it on editor.css, overriding it with styles defined in this file. */
@import "../../components/editor";
.cke_bottom
{
padding-bottom: 3px;
}
.cke_combo_text
{
margin-bottom: -1px;
margin-top: 1px;
}

View File

@@ -0,0 +1,62 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/*
dialog_ie.css
===============
This file contains styles to used by all versions of Internet Explorer only.
*/
/* Base it on dialog.css, overriding it with styles defined in this file. */
@import "../../dialog/dialog";
/* IE doesn't leave enough padding in text input for cursor to blink in RTL. (#6087) */
.cke_rtl input.cke_dialog_ui_input_text,
.cke_rtl input.cke_dialog_ui_input_password
{
padding-right: 2px;
}
/* Compensate the padding added above on container. */
.cke_rtl div.cke_dialog_ui_input_text,
.cke_rtl div.cke_dialog_ui_input_password
{
padding-left: 2px;
}
.cke_rtl div.cke_dialog_ui_input_text {
padding-right: 1px;
}
.cke_rtl .cke_dialog_ui_vbox_child,
.cke_rtl .cke_dialog_ui_hbox_child,
.cke_rtl .cke_dialog_ui_hbox_first,
.cke_rtl .cke_dialog_ui_hbox_last
{
padding-right: 2px !important;
}
/* Disable filters for HC mode. */
.cke_hc .cke_dialog_title,
.cke_hc .cke_dialog_footer,
.cke_hc a.cke_dialog_tab,
.cke_hc a.cke_dialog_ui_button,
.cke_hc a.cke_dialog_ui_button:hover,
.cke_hc a.cke_dialog_ui_button_ok,
.cke_hc a.cke_dialog_ui_button_ok:hover
{
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
/* Remove border from dialog field wrappers in HC
to avoid double borders. */
.cke_hc div.cke_dialog_ui_input_text,
.cke_hc div.cke_dialog_ui_input_password,
.cke_hc div.cke_dialog_ui_input_textarea,
.cke_hc div.cke_dialog_ui_input_select,
.cke_hc div.cke_dialog_ui_input_file
{
border: 0;
}

View File

@@ -0,0 +1,71 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/*
editor_ie.css
===============
This file contains styles to used by all versions of Internet Explorer only.
*/
/* Base it on editor.css, overriding it with styles defined in this file. */
@import "../../components/editor";
a.cke_button_disabled,
/* Those two are to overwrite the gradient filter since we cannot have both of them. */
a.cke_button_disabled:hover,
a.cke_button_disabled:focus,
a.cke_button_disabled:active
{
filter: alpha(opacity = 30);
}
/* PNG Alpha Transparency Fix For IE<9 */
.cke_button_disabled .cke_button_icon
{
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff, endColorstr=#00ffffff);
}
.cke_button_off:hover,
.cke_button_off:focus,
.cke_button_off:active
{
filter: alpha(opacity = 100);
}
.cke_combo_disabled .cke_combo_inlinelabel,
.cke_combo_disabled .cke_combo_open
{
filter: alpha(opacity = 30);
}
.cke_toolbox_collapser
{
border: 1px solid #a6a6a6;
}
.cke_toolbox_collapser .cke_arrow
{
margin-top: 1px;
}
/* Gradient filters must be removed for HC mode to reveal the background. */
.cke_hc .cke_top,
.cke_hc .cke_bottom,
.cke_hc .cke_combo_button,
.cke_hc a.cke_combo_button:hover,
.cke_hc a.cke_combo_button:focus,
.cke_hc .cke_toolgroup,
.cke_hc .cke_button_on,
.cke_hc a.cke_button_off:hover,
.cke_hc a.cke_button_off:focus,
.cke_hc a.cke_button_off:active,
.cke_hc .cke_toolbox_collapser,
.cke_hc .cke_toolbox_collapser:hover,
.cke_hc .cke_panel_grouptitle
{
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

View File

@@ -0,0 +1,68 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/*
dialog_ie7.css
===============
This file contains styles to used by Internet Explorer 7 only.
*/
/* Base it on dialog_ie.css, overriding it with styles defined in this file. */
@import "../../dialog/dialog";
.cke_dialog_title
{
/* gradient fix */
zoom: 1;
}
.cke_dialog_footer
{
/* IE7 ignores footer's outline. Use border instead. */
border-top: 1px solid #bfbfbf;
}
/* IE7 needs position static #6806 */
.cke_dialog_footer_buttons
{
position: static;
}
/* IE7 crops the bottom pixels of footer buttons (#9491) */
.cke_dialog_footer_buttons a.cke_dialog_ui_button
{
vertical-align: top;
}
/* IE7 margin loose on float. */
.cke_dialog .cke_resizer_ltr
{
padding-left: 4px;
}
.cke_dialog .cke_resizer_rtl
{
padding-right: 4px;
}
/* IE7 doesn't support box-sizing and therefore we cannot
have sexy inputs which go well with the layout. */
.cke_dialog_ui_input_text,
.cke_dialog_ui_input_password,
.cke_dialog_ui_input_textarea,
.cke_dialog_ui_input_select
{
padding: 0 !important;
}
/* Predefined border to avoid visual size change impact. */
.cke_dialog_ui_checkbox_input,
.cke_dialog_ui_ratio_input,
.cke_btn_reset,
.cke_btn_locked,
.cke_btn_unlocked
{
border: 1px solid transparent !important;
}

View File

@@ -0,0 +1,213 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/*
editor_ie7.css
===============
This file contains styles to used by Internet Explorer 7 only.
*/
/* Base it on editor_ie.css, overriding it with styles defined in this file. */
@import "../../components/editor";
.cke_rtl .cke_toolgroup,
.cke_rtl .cke_toolbar_separator,
.cke_rtl .cke_button,
.cke_rtl .cke_button *,
.cke_rtl .cke_combo,
.cke_rtl .cke_combo *,
.cke_rtl .cke_path_item,
.cke_rtl .cke_path_item *,
.cke_rtl .cke_path_empty
{
float: none;
}
.cke_rtl .cke_toolgroup,
.cke_rtl .cke_toolbar_separator,
.cke_rtl .cke_combo_button,
.cke_rtl .cke_combo_button *,
.cke_rtl .cke_button,
.cke_rtl .cke_button_icon,
{
display: inline-block;
vertical-align: top;
}
.cke_toolbox
{
display:inline-block;
padding-bottom: 5px;
height: 100%;
}
.cke_rtl .cke_toolbox
{
padding-bottom: 0;
}
.cke_toolbar
{
margin-bottom: 5px;
}
.cke_rtl .cke_toolbar
{
margin-bottom: 0;
}
/* IE7: toolgroup must be adapted to toolbar items height. */
.cke_toolgroup
{
height: 26px;
}
/* Avoid breaking elements that use background gradient when page zoom > 1 (#9548) */
.cke_toolgroup,
.cke_combo
{
position: relative;
}
a.cke_button
{
/* IE7: buttons must not float to wrap the toolbar in a whole. */
float:none;
/* IE7: buttons have to be aligned to top. Otherwise, some buttons like
* source and scayt are displayed a few pixels below the base line.
*/
vertical-align:top;
}
.cke_toolbar_separator
{
display: inline-block;
float: none;
vertical-align: top;
background-color: #c0c0c0;
}
.cke_toolbox_collapser .cke_arrow
{
margin-top: 0;
}
.cke_toolbox_collapser .cke_arrow
{
border-width:4px;
}
.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow
{
border-width:3px;
}
.cke_rtl .cke_button_arrow
{
padding-top: 8px;
margin-right: 2px;
}
.cke_rtl .cke_combo_inlinelabel
{
display: table-cell;
vertical-align: middle;
}
/*
* Editor menus are display:table-driven. IE7 doesn't support this approach,
* hence this position&float hybrid fall-back.
*/
.cke_menubutton
{
display: block;
height: 24px;
}
.cke_menubutton_inner
{
display: block;
position: relative;
}
.cke_menubutton_icon
{
height: 16px;
width: 16px;
}
.cke_menubutton_icon,
.cke_menubutton_label,
.cke_menuarrow
{
display: inline-block;
}
.cke_menubutton_label
{
width: auto;
vertical-align: top;
line-height: 24px;
height: 24px;
margin: 0 10px 0 0;
}
.cke_menuarrow
{
width: 5px;
height: 6px;
padding: 0;
position: absolute;
right: 8px;
top: 10px;
background-position: 0 0;
}
/* Menus in RTL mode. */
.cke_rtl .cke_menubutton_icon
{
position: absolute;
right: 0px;
top: 0px;
}
.cke_rtl .cke_menubutton_label
{
float: right;
clear: both;
margin: 0 24px 0 10px;
}
.cke_hc .cke_rtl .cke_menubutton_label
{
margin-right: 0;
}
.cke_rtl .cke_menuarrow
{
left: 8px;
right: auto;
background-position: 0 -24px;
}
.cke_hc .cke_menuarrow
{
top: 5px;
padding: 0 5px;
}
.cke_rtl input.cke_dialog_ui_input_text,
.cke_rtl input.cke_dialog_ui_input_password
{
/* Positioning is required for IE7 on text inputs not to stretch dialog horizontally. (#8971)*/
position: relative;
}
/* Reset vertical paddings which put editing area under bottom UI space. (#9721) */
.cke_wysiwyg_div
{
padding-top: 0 !important;
padding-bottom: 0 !important;
}

View File

@@ -0,0 +1,24 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/*
dialog_ie8.css
===============
This file contains styles to used by Internet Explorer 8 only.
*/
/* Base it on dialog_ie.css, overriding it with styles defined in this file. */
@import "../../dialog/dialog";
/* Without the following, IE8 cannot compensate footer button thick borders
on :focus/:active. */
a.cke_dialog_ui_button_ok:focus span,
a.cke_dialog_ui_button_ok:active span,
a.cke_dialog_ui_button_cancel:focus span,
a.cke_dialog_ui_button_cancel:active span
{
display: block;
}

View File

@@ -0,0 +1,27 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/*
editor_ie8.css
===============
This file contains styles to used by Internet Explorer 8 only.
*/
/* Base it on editor_ie.css, overriding it with styles defined in this file. */
@import "../../components/editor";
.cke_toolbox_collapser .cke_arrow
{
border-width:4px;
}
.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow
{
border-width:3px;
}
.cke_toolbox_collapser .cke_arrow
{
margin-top: 0;
}

View File

@@ -0,0 +1,21 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/*
dialog_ie7.css
===============
This file contains styles to used by Internet Explorer in
Quirks mode only.
*/
/* Base it on dialog_ie.css, overriding it with styles defined in this file. */
@import "../../dialog/dialog";
/* [IE7-8] Filter on footer causes background artifacts when opening dialog. */
.cke_dialog_footer
{
filter: "";
}

View File

@@ -0,0 +1,79 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/*
editor_iequirks.css
===============
This file contains styles to used by all versions of Internet Explorer
in Quirks mode only.
*/
/* Base it on editor_ie.css, overriding it with styles defined in this file. */
@import "../../components/editor";
.cke_top,
.cke_contents,
.cke_bottom
{
width: 100%; /* hasLayout = true */
}
.cke_button_arrow
{
font-size: 0; /* Set minimal font size, so arrow won't be streched by the text that doesn't exist. */
}
/* Bring back toolbar buttons in RTL. */
.cke_rtl .cke_toolgroup,
.cke_rtl .cke_toolbar_separator,
.cke_rtl .cke_button,
.cke_rtl .cke_button *,
.cke_rtl .cke_combo,
.cke_rtl .cke_combo *,
.cke_rtl .cke_path_item,
.cke_rtl .cke_path_item *,
.cke_rtl .cke_path_empty
{
float: none;
}
.cke_rtl .cke_toolgroup,
.cke_rtl .cke_toolbar_separator,
.cke_rtl .cke_combo_button,
.cke_rtl .cke_combo_button *,
.cke_rtl .cke_button,
.cke_rtl .cke_button_icon,
{
display: inline-block;
vertical-align: top;
}
/* Otherwise formatting toolbar breaks when editing a mixed content (#9893). */
.cke_rtl .cke_button_icon
{
float: none;
}
.cke_resizer
{
width: 10px;
}
.cke_source
{
white-space: normal;
}
.cke_bottom
{
position: static; /* Without this bottom space doesn't move when resizing editor. */
}
.cke_colorbox
{
font-size: 0; /* Set minimal font size, so button won't be streched by the text that doesn't exist. */
}

View File

@@ -0,0 +1,31 @@
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/*
dialog_opera.css
===============
This file contains styles to used by all versions of Opera only.
*/
/* Base it on dialog.css, overriding it with styles defined in this file. */
@import "../../dialog/dialog";
/* Opera has problem with box-shadow and td with border-collapse: collapse */
/* inset shadow is mis-aligned */
.cke_dialog_footer
{
display: block;
height: 38px;
}
.cke_ltr .cke_dialog_footer > *
{
float:right;
}
.cke_rtl .cke_dialog_footer > *
{
float:left;
}