Skip to content

Commit

Permalink
修改编辑代码
Browse files Browse the repository at this point in the history
  • Loading branch information
zoujingli committed Sep 16, 2021
1 parent bdb2a54 commit c4b2163
Show file tree
Hide file tree
Showing 15 changed files with 169 additions and 410 deletions.
Expand Up @@ -4,17 +4,17 @@
*/

.cke_colordialog_colorcell {
width: 12px; /* All cells have equal width which depends on parent width (in this case table parent). Width works more like max-width. */
height: 14px;
padding: 1px; /* Padding is replaced by border for focused cells. Prevents 'jumping' when adding borders. */
width: 12px; /* All cells have equal width which depends on parent width (in this case table parent). Width works more like max-width. */
height: 14px;
padding: 1px; /* Padding is replaced by border for focused cells. Prevents 'jumping' when adding borders. */
}

.cke_colordialog_colorcell.cke_colordialog_focused_light,
.cke_colordialog_colorcell.cke_colordialog_focused_dark {
padding: 0; /* Shrink cell to allow 1px border indicating focus. */
border: 1px dotted #000;
padding: 0; /* Shrink cell to allow 1px border indicating focus. */
border: 1px dotted #000;
}

.cke_colordialog_colorcell.cke_colordialog_focused_dark {
border-color: #FFF;
border-color: #FFF;
}
Expand Up @@ -4,7 +4,7 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/

html.cke_copyformatting_active {
min-height: 100%;
min-height: 100%;
}

/* There is no cursor in CUR format for IE/Edge as that browser
Expand All @@ -14,12 +14,12 @@ html.cke_copyformatting_active {
.cke_copyformatting_disabled,
.cke_copyformatting_disabled a,
.cke_copyformatting_disabled .cke_editable {
cursor: url(../cursors/cursor-disabled.svg) 12 1, auto;
cursor: url(../cursors/cursor-disabled.svg) 12 1, auto;
}

.cke_copyformatting_disabled .cke_top a,
.cke_copyformatting_disabled .cke_bottom a {
cursor: default;
cursor: default;
}

/* Added `!important` rule as a fix for overriding the cursor by the Table Resize plugin.
Expand All @@ -31,15 +31,15 @@ html.cke_copyformatting_active {
.cke_copyformatting_active table,
.cke_copyformatting_active div[data-cke-temp],
.cke_copyformatting_tableresize_cursor div[data-cke-temp] {
cursor: url(../cursors/cursor.svg) 12 1, auto !important;
cursor: url(../cursors/cursor.svg) 12 1, auto !important;
}

.cke_screen_reader_only {
position: absolute;
clip: rect(1px, 1px, 1px, 1px);
padding: 0;
border: 0;
height: 1px;
width: 1px;
overflow: hidden;
position: absolute;
clip: rect(1px, 1px, 1px, 1px);
padding: 0;
border: 0;
height: 1px;
width: 1px;
overflow: hidden;
}
20 changes: 10 additions & 10 deletions public/static/plugs/ckeditor/plugins/dialog/styles/dialog.css
@@ -1,18 +1,18 @@
.cke_dialog_open {
overflow: hidden;
overflow: hidden;
}

.cke_dialog_container {
position: fixed;
overflow-y: auto;
overflow-x: auto;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 10010;
position: fixed;
overflow-y: auto;
overflow-x: auto;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 10010;
}

.cke_dialog_body {
position: relative;
position: relative;
}
16 changes: 8 additions & 8 deletions public/static/plugs/ckeditor/plugins/preview/styles/screen.css
@@ -1,10 +1,10 @@
div[style*="page-break-after"] {
background:url( ../images/pagebreak.gif ) no-repeat center center;
clear:both;
width:100%;
border-top:#999 1px dotted;
border-bottom:#999 1px dotted;
padding:0;
height:7px;
cursor:default;
background: url(../images/pagebreak.gif) no-repeat center center;
clear: both;
width: 100%;
border-top: #999 1px dotted;
border-bottom: #999 1px dotted;
padding: 0;
height: 7px;
cursor: default;
}
4 changes: 0 additions & 4 deletions public/static/plugs/ckeditor/plugins/scayt/CHANGELOG.md

This file was deleted.

28 changes: 0 additions & 28 deletions public/static/plugs/ckeditor/plugins/scayt/LICENSE.md

This file was deleted.

81 changes: 0 additions & 81 deletions public/static/plugs/ckeditor/plugins/scayt/README.md

This file was deleted.

24 changes: 12 additions & 12 deletions public/static/plugs/ckeditor/plugins/scayt/dialogs/dialog.css
@@ -1,23 +1,23 @@
div.cke_dialog_ui_scaytItemList {
border: 1px solid #c9cccf;
border: 1px solid #c9cccf;
}

.cke_scaytItemList-child {
position: relative;
padding: 6px 30px 6px 5px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
position: relative;
padding: 6px 30px 6px 5px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.cke_scaytItemList-child:hover {
background: #ebebeb;
background: #ebebeb;
}

.cke_scaytItemList-child .cke_scaytItemList_remove {
position: absolute;
top: 0;
right: 5px;
width: 26px;
height: 26px;
position: absolute;
top: 0;
right: 5px;
width: 26px;
height: 26px;
}
99 changes: 50 additions & 49 deletions public/static/plugs/ckeditor/plugins/scayt/dialogs/toolbar.css
@@ -1,71 +1,72 @@
a
{
text-decoration:none;
padding: 2px 4px 4px 6px;
display : block;
border-width: 1px;
border-style: solid;
margin : 0px;
a {
text-decoration: none;
padding: 2px 4px 4px 6px;
display: block;
border-width: 1px;
border-style: solid;
margin: 0px;
}

a.cke_scayt_toogle:hover,
a.cke_scayt_toogle:focus,
a.cke_scayt_toogle:active
{
border-color: #316ac5;
background-color: #dff1ff;
color : #000;
cursor: pointer;
margin : 0px;
a.cke_scayt_toogle:active {
border-color: #316ac5;
background-color: #dff1ff;
color: #000;
cursor: pointer;
margin: 0px;
}

a.cke_scayt_toogle {
color : #316ac5;
border-color: #fff;
color: #316ac5;
border-color: #fff;
}

.scayt_enabled a.cke_scayt_item {
color : #316ac5;
border-color: #fff;
margin : 0px;
color: #316ac5;
border-color: #fff;
margin: 0px;
}

.scayt_disabled a.cke_scayt_item {
color : gray;
border-color : #fff;
color: gray;
border-color: #fff;
}

.scayt_enabled a.cke_scayt_item:hover,
.scayt_enabled a.cke_scayt_item:focus,
.scayt_enabled a.cke_scayt_item:active
{
border-color: #316ac5;
background-color: #dff1ff;
color : #000;
cursor: pointer;
.scayt_enabled a.cke_scayt_item:active {
border-color: #316ac5;
background-color: #dff1ff;
color: #000;
cursor: pointer;
}

.scayt_disabled a.cke_scayt_item:hover,
.scayt_disabled a.cke_scayt_item:focus,
.scayt_disabled a.cke_scayt_item:active
{
border-color: gray;
background-color: #dff1ff;
color : gray;
cursor: no-drop;
.scayt_disabled a.cke_scayt_item:active {
border-color: gray;
background-color: #dff1ff;
color: gray;
cursor: no-drop;
}
.cke_scayt_set_on, .cke_scayt_set_off
{
display: none;

.cke_scayt_set_on, .cke_scayt_set_off {
display: none;
}
.scayt_enabled .cke_scayt_set_on
{
display: none;

.scayt_enabled .cke_scayt_set_on {
display: none;
}
.scayt_disabled .cke_scayt_set_on
{
display: inline;

.scayt_disabled .cke_scayt_set_on {
display: inline;
}
.scayt_disabled .cke_scayt_set_off
{
display: none;

.scayt_disabled .cke_scayt_set_off {
display: none;
}
.scayt_enabled .cke_scayt_set_off
{
display: inline;

.scayt_enabled .cke_scayt_set_off {
display: inline;
}

0 comments on commit c4b2163

Please sign in to comment.