Added ckeditor light skin
No files matched your search
@@ -0,0 +1,21 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2014 Ikimea
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
ckeditor-light-theme
|
||||||
|
====================
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"name": "ckeditor-light-theme",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"homepage": "https://github.com/Ikimea/ckeditor-light-theme",
|
||||||
|
"authors": [
|
||||||
|
"Mbechezi Mlanawo <mlanawo.mbechezi@ikimea.com>"
|
||||||
|
],
|
||||||
|
"keywords": [
|
||||||
|
"ckeditor",
|
||||||
|
"theme"
|
||||||
|
],
|
||||||
|
"license": "MIT"
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||||
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||||
|
*/
|
||||||
|
.cke_dialog{visibility:visible}.cke_dialog_body{z-index:1;background:#eaeaea;border:1px solid #b2b2b2;border-bottom-color:#999;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-box-shadow:0 0 3px rgba(0,0,0,.15);-webkit-box-shadow:0 0 3px rgba(0,0,0,.15);box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_browser_gecko19 .cke_dialog_body{position:relative}.cke_dialog strong{font-weight:bold}.cke_dialog_title{font-weight:bold;font-size:13px;cursor:move;position:relative;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.75);border-bottom:1px solid #999;padding:6px 10px;-moz-border-radius:2px 2px 0 0;-webkit-border-radius:2px 2px 0 0;border-radius:2px 2px 0 0;-moz-box-shadow:0 1px 0 #fff inset;-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#cfd1cf));background-image:-moz-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-webkit-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-o-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-ms-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:linear-gradient(top,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_dialog_contents{background-color:#fff;overflow:auto;padding:15px 10px 5px 10px;margin-top:30px;border-top:1px solid #bfbfbf;-moz-border-radius:0 0 3px 3px;-webkit-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px}.cke_dialog_contents_body{overflow:auto;padding:17px 10px 5px 10px;margin-top:22px}.cke_dialog_footer{text-align:right;position:relative;border:0;outline:1px solid #bfbfbf;-moz-box-shadow:0 1px 0 #fff inset;-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;-moz-border-radius:0 0 2px 2px;-webkit-border-radius:0 0 2px 2px;border-radius:0 0 2px 2px;background:#cfd1cf;background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#cfd1cf));background-image:-moz-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-webkit-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-o-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-ms-linear-gradient(top,#ebebeb,#cfd1cf);background-image:linear-gradient(top,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf')}.cke_rtl .cke_dialog_footer{text-align:left}.cke_hc .cke_dialog_footer{outline:0;border-top:1px solid #fff}.cke_dialog .cke_resizer{margin-top:22px}.cke_dialog .cke_resizer_rtl{margin-left:5px}.cke_dialog .cke_resizer_ltr{margin-right:5px}.cke_dialog_tabs{height:24px;display:inline-block;margin:5px 0 0;position:absolute;z-index:2;left:10px}.cke_rtl .cke_dialog_tabs{right:10px}a.cke_dialog_tab{height:16px;padding:4px 8px;margin-right:3px;display:inline-block;cursor:pointer;line-height:16px;outline:0;color:#595959;border:1px solid #bfbfbf;-moz-border-radius:3px 3px 0 0;-webkit-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;background:#d4d4d4;background-image:-webkit-gradient(linear,left top,left bottom,from(#fafafa),to(#ededed));background-image:-moz-linear-gradient(top,#fafafa,#ededed);background-image:-webkit-linear-gradient(top,#fafafa,#ededed);background-image:-o-linear-gradient(top,#fafafa,#ededed);background-image:-ms-linear-gradient(top,#fafafa,#ededed);background-image:linear-gradient(top,#fafafa,#ededed);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#fafafa',endColorstr='#ededed')}.cke_rtl a.cke_dialog_tab{margin-right:0;margin-left:3px}a.cke_dialog_tab:hover{background:#ebebeb;background:-moz-linear-gradient(top,#ebebeb 0,#dfdfdf 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ebebeb),color-stop(100%,#dfdfdf));background:-webkit-linear-gradient(top,#ebebeb 0,#dfdfdf 100%);background:-o-linear-gradient(top,#ebebeb 0,#dfdfdf 100%);background:-ms-linear-gradient(top,#ebebeb 0,#dfdfdf 100%);background:linear-gradient(to bottom,#ebebeb 0,#dfdfdf 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb',endColorstr='#dfdfdf',GradientType=0)}a.cke_dialog_tab_selected{background:#fff;color:#383838;border-bottom-color:#fff;cursor:default;filter:none}a.cke_dialog_tab_selected:hover{background:#ededed;background:-moz-linear-gradient(top,#ededed 0,#fff 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ededed),color-stop(100%,#fff));background:-webkit-linear-gradient(top,#ededed 0,#fff 100%);background:-o-linear-gradient(top,#ededed 0,#fff 100%);background:-ms-linear-gradient(top,#ededed 0,#fff 100%);background:linear-gradient(to bottom,#ededed 0,#fff 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed',endColorstr='#ffffff',GradientType=0)}.cke_hc a.cke_dialog_tab:hover,.cke_hc a.cke_dialog_tab_selected{border:3px solid;padding:2px 6px}a.cke_dialog_tab_disabled{color:#bababa;cursor:default}.cke_single_page .cke_dialog_tabs{displaLine truncated
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||||
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||||
|
*/
|
||||||
|
|
||||||
|
.cke_reset{margin:0;padding:0;border:0;background:0 0;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;position:static;-webkit-transition:none;-moz-transition:none;-ms-transition:none;transition:none}.cke_reset_all,.cke_reset_all *{margin:0;padding:0;border:0;background:0 0;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;position:static;-webkit-transition:none;-moz-transition:none;-ms-transition:none;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre}.cke_reset_all input[type=password],.cke_reset_all input[type=text],.cke_reset_all textarea{cursor:text}.cke_reset_all input[type=password][disabled],.cke_reset_all input[type=text][disabled],.cke_reset_all textarea[disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.cke_chrome{display:block;border:1px solid #b6b6b6;padding:0;-moz-box-shadow:0 0 3px rgba(0,0,0,.15);-webkit-box-shadow:0 0 3px rgba(0,0,0,.15);box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_inner{display:block;-webkit-touch-callout:none;background:#fff;padding:0}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_bottom,.cke_contents,.cke_top{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #b6b6b6;padding:10px 20px 6px;white-space:normal;-moz-box-shadow:0 1px 0 #fff inset;-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#cfd1cf));background-image:-moz-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-webkit-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-o-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-ms-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:linear-gradient(top,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f5f5f5', endColorstr='#cfd1cf')}.cke_float .cke_top{border:1px solid #b6b6b6;border-bottom-color:#999}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #bfbfbf;-moz-box-shadow:0 1px 0 #fff inset;-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#cfd1cf));background-image:-moz-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-webkit-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-o-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-ms-linear-gradient(top,#ebebeb,#cfd1cf);background-image:linear-gradient(top,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ebebeb', endColorstr='#cfd1cf')}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #666 transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px;-moz-box-shadow:0 1px 0 rgba(255,255,255,.3);-webkit-box-shadow:0 1px 0 rgba(255,255,255,.3);box-shadow:0 1px 0 rgba(255,255,255,.3)}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #a5a5a5;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #b6b6b6;border-bottom-color:#999;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-box-shadow:0 0 3px rgba(0,0,0,.15);-webkit-box-shadow:0 0 3px rgba(0,0,0,.15);box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_list{list-style-type:none;margin:3px;padding:0;white-space:nowrap}.cke_panel_listItem{margin:0;padding-bottom:1px}.cke_panel_listItem a{padding:3px 4px;display:block;border:1px solid #fff;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2pLine truncated
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||||
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||||
|
*/
|
||||||
|
.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;position:static;-webkit-transition:none;-moz-transition:none;-ms-transition:none;transition:none}.cke_reset_all,.cke_reset_all *{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;position:static;-webkit-transition:none;-moz-transition:none;-ms-transition:none;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.cke_chrome{display:block;border:1px solid #b6b6b6;padding:0;-moz-box-shadow:0 0 3px rgba(0,0,0,.15);-webkit-box-shadow:0 0 3px rgba(0,0,0,.15);box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_inner{display:block;-webkit-touch-callout:none;background:#fff;padding:0}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #b6b6b6;padding:6px 8px 2px;white-space:normal;-moz-box-shadow:0 1px 0 #fff inset;-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#cfd1cf));background-image:-moz-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-webkit-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-o-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-ms-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:linear-gradient(top,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_float .cke_top{border:1px solid #b6b6b6;border-bottom-color:#999}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #bfbfbf;-moz-box-shadow:0 1px 0 #fff inset;-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#cfd1cf));background-image:-moz-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-webkit-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-o-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-ms-linear-gradient(top,#ebebeb,#cfd1cf);background-image:linear-gradient(top,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf')}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #666 transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px;-moz-box-shadow:0 1px 0 rgba(255,255,255,.3);-webkit-box-shadow:0 1px 0 rgba(255,255,255,.3);box-shadow:0 1px 0 rgba(255,255,255,.3)}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #a5a5a5;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #b6b6b6;border-bottom-color:#999;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-box-shadow:0 0 3px rgba(0,0,0,.15);-webkit-box-shadow:0 0 3px rgba(0,0,0,.15);box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_list{list-style-type:none;margin:3px;padding:0;white-space:nowrap}.cke_panel_listItem{margin:0;padding-bottom:1px}.cke_panel_listItem a{padding:3px 4px;display:block;border:1px solid #fff;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis;-moz-border-raLine truncated
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||||
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||||
|
*/
|
||||||
|
.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;position:static;-webkit-transition:none;-moz-transition:none;-ms-transition:none;transition:none}.cke_reset_all,.cke_reset_all *{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;position:static;-webkit-transition:none;-moz-transition:none;-ms-transition:none;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.cke_chrome{display:block;border:1px solid #b6b6b6;padding:0;-moz-box-shadow:0 0 3px rgba(0,0,0,.15);-webkit-box-shadow:0 0 3px rgba(0,0,0,.15);box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_inner{display:block;-webkit-touch-callout:none;background:#fff;padding:0}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #b6b6b6;padding:6px 8px 2px;white-space:normal;-moz-box-shadow:0 1px 0 #fff inset;-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#cfd1cf));background-image:-moz-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-webkit-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-o-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-ms-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:linear-gradient(top,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_float .cke_top{border:1px solid #b6b6b6;border-bottom-color:#999}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #bfbfbf;-moz-box-shadow:0 1px 0 #fff inset;-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#cfd1cf));background-image:-moz-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-webkit-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-o-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-ms-linear-gradient(top,#ebebeb,#cfd1cf);background-image:linear-gradient(top,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf')}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #666 transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px;-moz-box-shadow:0 1px 0 rgba(255,255,255,.3);-webkit-box-shadow:0 1px 0 rgba(255,255,255,.3);box-shadow:0 1px 0 rgba(255,255,255,.3)}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #a5a5a5;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #b6b6b6;border-bottom-color:#999;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-box-shadow:0 0 3px rgba(0,0,0,.15);-webkit-box-shadow:0 0 3px rgba(0,0,0,.15);box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_list{list-style-type:none;margin:3px;padding:0;white-space:nowrap}.cke_panel_listItem{margin:0;padding-bottom:1px}.cke_panel_listItem a{padding:3px 4px;display:block;border:1px solid #fff;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis;-moz-border-raLine truncated
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||||
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||||
|
*/
|
||||||
|
.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;position:static;-webkit-transition:none;-moz-transition:none;-ms-transition:none;transition:none}.cke_reset_all,.cke_reset_all *{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;position:static;-webkit-transition:none;-moz-transition:none;-ms-transition:none;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.cke_chrome{display:block;border:1px solid #b6b6b6;padding:0;-moz-box-shadow:0 0 3px rgba(0,0,0,.15);-webkit-box-shadow:0 0 3px rgba(0,0,0,.15);box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_inner{display:block;-webkit-touch-callout:none;background:#fff;padding:0}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #b6b6b6;padding:6px 8px 2px;white-space:normal;-moz-box-shadow:0 1px 0 #fff inset;-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#cfd1cf));background-image:-moz-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-webkit-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-o-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-ms-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:linear-gradient(top,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_float .cke_top{border:1px solid #b6b6b6;border-bottom-color:#999}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #bfbfbf;-moz-box-shadow:0 1px 0 #fff inset;-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#cfd1cf));background-image:-moz-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-webkit-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-o-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-ms-linear-gradient(top,#ebebeb,#cfd1cf);background-image:linear-gradient(top,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf')}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #666 transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px;-moz-box-shadow:0 1px 0 rgba(255,255,255,.3);-webkit-box-shadow:0 1px 0 rgba(255,255,255,.3);box-shadow:0 1px 0 rgba(255,255,255,.3)}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #a5a5a5;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #b6b6b6;border-bottom-color:#999;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-box-shadow:0 0 3px rgba(0,0,0,.15);-webkit-box-shadow:0 0 3px rgba(0,0,0,.15);box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_list{list-style-type:none;margin:3px;padding:0;white-space:nowrap}.cke_panel_listItem{margin:0;padding-bottom:1px}.cke_panel_listItem a{padding:3px 4px;display:block;border:1px solid #fff;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis;-moz-border-raLine truncated
|
||||||
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 261 B |
|
After Width: | Height: | Size: 824 B |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 736 B |
|
After Width: | Height: | Size: 728 B |
|
After Width: | Height: | Size: 953 B |
@@ -0,0 +1,322 @@
|
|||||||
|
/**
|
||||||
|
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||||
|
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
skin.js
|
||||||
|
=========
|
||||||
|
|
||||||
|
In this file we interact with the CKEditor JavaScript API to register the skin
|
||||||
|
and enable additional skin related features.
|
||||||
|
|
||||||
|
The level of complexity of this file depends on the features available in the
|
||||||
|
skin. There is only one mandatory line of code to be included here, which is
|
||||||
|
setting CKEDITOR.skin.name. All the rest is optional, but recommended to be
|
||||||
|
implemented as they make higher quality skins.
|
||||||
|
|
||||||
|
For this skin, the following tasks are achieved in this file:
|
||||||
|
|
||||||
|
1. Register the skin.
|
||||||
|
2. Register browser specific skin files.
|
||||||
|
3. Define the "Chameleon" feature.
|
||||||
|
4. Register the skin icons, to have them used on the development version of
|
||||||
|
the skin.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// 1. Register the skin
|
||||||
|
// ----------------------
|
||||||
|
// The CKEDITOR.skin.name property must be set to the skin name. This is a
|
||||||
|
// lower-cased name, which must match the skin folder name as well as the value
|
||||||
|
// used on config.skin to tell the editor to use the skin.
|
||||||
|
//
|
||||||
|
// This is the only mandatory property to be defined in this file.
|
||||||
|
CKEDITOR.skin.name = 'husky';
|
||||||
|
|
||||||
|
// 2. Register browser specific skin files
|
||||||
|
// -----------------------------------------
|
||||||
|
// (http://docs.cksource.com/CKEditor_4.x/Skin_SDK/Browser_Hacks)
|
||||||
|
//
|
||||||
|
// To help implementing browser specific "hacks" to the skin files and have it
|
||||||
|
// easy to maintain, it is possible to have dedicated files for such browsers,
|
||||||
|
// for both the main skin CSS files: editor.css and dialog.css.
|
||||||
|
//
|
||||||
|
// The browser files must be named after the main file names, appended by an
|
||||||
|
// underscore and the browser name (e.g. editor_ie.css, dialog_ie8.css).
|
||||||
|
//
|
||||||
|
// The accepted browser names must match the CKEDITOR.env properties. The most
|
||||||
|
// common names are: ie, opera, webkit and gecko. Check the documentation for
|
||||||
|
// the complete list:
|
||||||
|
// http://docs.ckeditor.com/#!/api/CKEDITOR.env
|
||||||
|
//
|
||||||
|
// Internet explorer is an expection and the browser version is also accepted
|
||||||
|
// (ie7, ie8, ie9, ie10), as well as a special name for IE in Quirks mode (iequirks).
|
||||||
|
//
|
||||||
|
// The available browser specific files must be set separately for editor.css
|
||||||
|
// and dialog.css.
|
||||||
|
CKEDITOR.skin.ua_editor = 'ie,iequirks,ie7,ie8,gecko';
|
||||||
|
CKEDITOR.skin.ua_dialog = 'ie,iequirks,ie7,ie8,opera';
|
||||||
|
|
||||||
|
// 3. Define the "Chameleon" feature
|
||||||
|
// -----------------------------------
|
||||||
|
// (http://docs.cksource.com/CKEditor_4.x/Skin_SDK/Chameleon)
|
||||||
|
//
|
||||||
|
// "Chameleon" is a unique feature available in CKEditor. It makes it possible
|
||||||
|
// to end users to specify which color to use as the basis for the editor UI.
|
||||||
|
// It is enough to set config.uiColor to any color value and voila, the UI is
|
||||||
|
// colored.
|
||||||
|
//
|
||||||
|
// The only detail here is that the skin itself must be compatible with the
|
||||||
|
// Chameleon feature. That's because the skin CSS files are the responsible to
|
||||||
|
// apply colors in the UI and each skin do that in different way and on
|
||||||
|
// different places.
|
||||||
|
//
|
||||||
|
// Implementing the Chameleon feature requires a bit of JavaScript programming.
|
||||||
|
// The CKEDITOR.skin.chameleon function must be defined. It must return the CSS
|
||||||
|
// "template" to be used to change the color of a specific CKEditor instance
|
||||||
|
// available in the page. When a color change is required, this template is
|
||||||
|
// appended to the page holding the editor, overriding styles defined in the
|
||||||
|
// skin files.
|
||||||
|
//
|
||||||
|
// The "$color" placeholder can be used in the returned string. It'll be
|
||||||
|
// replaced with the desired color.
|
||||||
|
CKEDITOR.skin.chameleon = (function() {
|
||||||
|
// This method can be used to adjust colour brightness of various element.
|
||||||
|
// Colours are accepted in 7-byte hex format, for example: #00ff00.
|
||||||
|
// Brightness ratio must be a float number within [-1, 1],
|
||||||
|
// where -1 is black, 1 is white and 0 is the original colour.
|
||||||
|
var colorBrightness = (function() {
|
||||||
|
function channelBrightness(channel, ratio) {
|
||||||
|
return ( '0' + ( ratio < 0 ?
|
||||||
|
0 | channel * ( 1 + ratio )
|
||||||
|
:
|
||||||
|
0 | channel + ( 255 - channel ) * ratio ).toString(16)
|
||||||
|
).slice(-2);
|
||||||
|
}
|
||||||
|
|
||||||
|
return function(hexColor, ratio) {
|
||||||
|
var channels = hexColor.match(/[^#]./g);
|
||||||
|
|
||||||
|
for (var i = 0; i < 3; i++)
|
||||||
|
channels[ i ] = channelBrightness(parseInt(channels[ i ], 16), ratio);
|
||||||
|
|
||||||
|
return '#' + channels.join('');
|
||||||
|
};
|
||||||
|
})(),
|
||||||
|
|
||||||
|
// Use this function just to avoid having to repeat all these rules on
|
||||||
|
// several places of our template.
|
||||||
|
verticalGradient = (function() {
|
||||||
|
var template = new CKEDITOR.template('background:#{to};' +
|
||||||
|
'background-image:-webkit-gradient(linear,lefttop,leftbottom,from({from}),to({to}));' +
|
||||||
|
'background-image:-moz-linear-gradient(top,{from},{to});' +
|
||||||
|
'background-image:-webkit-linear-gradient(top,{from},{to});' +
|
||||||
|
'background-image:-o-linear-gradient(top,{from},{to});' +
|
||||||
|
'background-image:-ms-linear-gradient(top,{from},{to});' +
|
||||||
|
'background-image:linear-gradient(top,{from},{to});' +
|
||||||
|
'filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr=\'{from}\',endColorstr=\'{to}\');');
|
||||||
|
|
||||||
|
return function(from, to) {
|
||||||
|
return template.output({ from: from, to: to });
|
||||||
|
};
|
||||||
|
})(),
|
||||||
|
|
||||||
|
// Style templates for various user interface parts:
|
||||||
|
// * Default editor template.
|
||||||
|
// * Default panel template.
|
||||||
|
templates = {
|
||||||
|
editor: new CKEDITOR.template(
|
||||||
|
'{id}.cke_chrome [border-color:{defaultBorder};] ' +
|
||||||
|
'{id} .cke_top [ ' +
|
||||||
|
'{defaultGradient}' +
|
||||||
|
'border-bottom-color:{defaultBorder};' +
|
||||||
|
'] ' +
|
||||||
|
'{id} .cke_bottom [' +
|
||||||
|
'{defaultGradient}' +
|
||||||
|
'border-top-color:{defaultBorder};' +
|
||||||
|
'] ' +
|
||||||
|
'{id} .cke_resizer [border-right-color:{ckeResizer}] ' +
|
||||||
|
|
||||||
|
// Dialogs.
|
||||||
|
'{id} .cke_dialog_title [' +
|
||||||
|
'{defaultGradient}' +
|
||||||
|
'border-bottom-color:{defaultBorder};' +
|
||||||
|
'] ' +
|
||||||
|
'{id} .cke_dialog_footer [' +
|
||||||
|
'{defaultGradient}' +
|
||||||
|
'outline-color:{defaultBorder};' +
|
||||||
|
'border-top-color:{defaultBorder};' + // IE7 doesn't use outline.
|
||||||
|
'] ' +
|
||||||
|
'{id} .cke_dialog_tab [' +
|
||||||
|
'{lightGradient}' +
|
||||||
|
'border-color:{defaultBorder};' +
|
||||||
|
'] ' +
|
||||||
|
'{id} .cke_dialog_tab:hover [' +
|
||||||
|
'{mediumGradient}' +
|
||||||
|
'] ' +
|
||||||
|
'{id} .cke_dialog_contents [' +
|
||||||
|
'border-top-color:{defaultBorder};' +
|
||||||
|
'] ' +
|
||||||
|
'{id} .cke_dialog_tab_selected, {id} .cke_dialog_tab_selected:hover [' +
|
||||||
|
'background:{dialogTabSelected};' +
|
||||||
|
'border-bottom-color:{dialogTabSelectedBorder};' +
|
||||||
|
'] ' +
|
||||||
|
'{id} .cke_dialog_body [' +
|
||||||
|
'background:{dialogBody};' +
|
||||||
|
'border-color:{defaultBorder};' +
|
||||||
|
'] ' +
|
||||||
|
|
||||||
|
// Toolbars, buttons.
|
||||||
|
'{id} .cke_toolgroup [' +
|
||||||
|
'{lightGradient}' +
|
||||||
|
'border-color:{defaultBorder};' +
|
||||||
|
'] ' +
|
||||||
|
'{id} a.cke_button_off:hover, {id} a.cke_button_off:focus, {id} a.cke_button_off:active [' +
|
||||||
|
'{mediumGradient}' +
|
||||||
|
'] ' +
|
||||||
|
'{id} .cke_button_on [' +
|
||||||
|
'{ckeButtonOn}' +
|
||||||
|
'] ' +
|
||||||
|
'{id} .cke_toolbar_separator [' +
|
||||||
|
'background-color: {ckeToolbarSeparator};' +
|
||||||
|
'] ' +
|
||||||
|
|
||||||
|
// Combo buttons.
|
||||||
|
'{id} .cke_combo_button [' +
|
||||||
|
'border-color:{defaultBorder};' +
|
||||||
|
'{lightGradient}' +
|
||||||
|
'] ' +
|
||||||
|
'{id} a.cke_combo_button:hover, {id} a.cke_combo_button:focus, {id} .cke_combo_on a.cke_combo_button [' +
|
||||||
|
'border-color:{defaultBorder};' +
|
||||||
|
'{mediumGradient}' +
|
||||||
|
'] ' +
|
||||||
|
|
||||||
|
// Elementspath.
|
||||||
|
'{id} .cke_path_item [' +
|
||||||
|
'color:{elementsPathColor};' +
|
||||||
|
'] ' +
|
||||||
|
'{id} a.cke_path_item:hover, {id} a.cke_path_item:focus, {id} a.cke_path_item:active [' +
|
||||||
|
'background-color:{elementsPathBg};' +
|
||||||
|
'] ' +
|
||||||
|
|
||||||
|
'{id}.cke_panel [' +
|
||||||
|
'border-color:{defaultBorder};' +
|
||||||
|
'] '
|
||||||
|
),
|
||||||
|
panel: new CKEDITOR.template(
|
||||||
|
// Panel drop-downs.
|
||||||
|
'.cke_panel_grouptitle [' +
|
||||||
|
'{lightGradient}' +
|
||||||
|
'border-color:{defaultBorder};' +
|
||||||
|
'] ' +
|
||||||
|
|
||||||
|
// Context menus.
|
||||||
|
'.cke_menubutton_icon [' +
|
||||||
|
'background-color:{menubuttonIcon};' +
|
||||||
|
'] ' +
|
||||||
|
'.cke_menubutton:hover .cke_menubutton_icon, .cke_menubutton:focus .cke_menubutton_icon, .cke_menubutton:active .cke_menubutton_icon [' +
|
||||||
|
'background-color:{menubuttonIconHover};' +
|
||||||
|
'] ' +
|
||||||
|
'.cke_menuseparator [' +
|
||||||
|
'background-color:{menubuttonIcon};' +
|
||||||
|
'] ' +
|
||||||
|
|
||||||
|
// Color boxes.
|
||||||
|
'a:hover.cke_colorbox, a:focus.cke_colorbox, a:active.cke_colorbox [' +
|
||||||
|
'border-color:{defaultBorder};' +
|
||||||
|
'] ' +
|
||||||
|
'a:hover.cke_colorauto, a:hover.cke_colormore, a:focus.cke_colorauto, a:focus.cke_colormore, a:active.cke_colorauto, a:active.cke_colormore [' +
|
||||||
|
'background-color:{ckeColorauto};' +
|
||||||
|
'border-color:{defaultBorder};' +
|
||||||
|
'] '
|
||||||
|
)
|
||||||
|
};
|
||||||
|
|
||||||
|
return function(editor, part) {
|
||||||
|
var uiColor = editor.uiColor,
|
||||||
|
// The following are CSS styles used in templates.
|
||||||
|
// Styles are generated according to current editor.uiColor.
|
||||||
|
templateStyles = {
|
||||||
|
// CKEditor instances have a unique ID, which is used as class name into
|
||||||
|
// the outer container of the editor UI (e.g. ".cke_1").
|
||||||
|
//
|
||||||
|
// The Chameleon feature is available for each CKEditor instance,
|
||||||
|
// independently. Because of this, we need to prefix all CSS selectors with
|
||||||
|
// the unique class name of the instance.
|
||||||
|
id: '.' + editor.id,
|
||||||
|
|
||||||
|
// These styles are used by various UI elements.
|
||||||
|
defaultBorder: colorBrightness(uiColor, -0.1),
|
||||||
|
defaultGradient: verticalGradient(colorBrightness(uiColor, 0.9), uiColor),
|
||||||
|
lightGradient: verticalGradient(colorBrightness(uiColor, 1), colorBrightness(uiColor, 0.7)),
|
||||||
|
mediumGradient: verticalGradient(colorBrightness(uiColor, 0.8), colorBrightness(uiColor, 0.5)),
|
||||||
|
|
||||||
|
// These are for specific UI elements.
|
||||||
|
ckeButtonOn: verticalGradient(colorBrightness(uiColor, 0.6), colorBrightness(uiColor, 0.7)),
|
||||||
|
ckeResizer: colorBrightness(uiColor, -0.4),
|
||||||
|
ckeToolbarSeparator: colorBrightness(uiColor, 0.5),
|
||||||
|
ckeColorauto: colorBrightness(uiColor, 0.8),
|
||||||
|
dialogBody: colorBrightness(uiColor, 0.7),
|
||||||
|
// Use gradient instead of simple hex to avoid further filter resetting in IE.
|
||||||
|
dialogTabSelected: verticalGradient('#FFFFFF', '#FFFFFF'),
|
||||||
|
dialogTabSelectedBorder: '#FFF',
|
||||||
|
elementsPathColor: colorBrightness(uiColor, -0.6),
|
||||||
|
elementsPathBg: uiColor,
|
||||||
|
menubuttonIcon: colorBrightness(uiColor, 0.5),
|
||||||
|
menubuttonIconHover: colorBrightness(uiColor, 0.3)
|
||||||
|
};
|
||||||
|
|
||||||
|
return templates[ part ]
|
||||||
|
.output(templateStyles)
|
||||||
|
.replace(/\[/g, '{') // Replace brackets with braces.
|
||||||
|
.replace(/\]/g, '}');
|
||||||
|
};
|
||||||
|
})();
|
||||||
|
|
||||||
|
// %REMOVE_START%
|
||||||
|
|
||||||
|
// 4. Register the skin icons for development purposes only
|
||||||
|
// ----------------------------------------------------------
|
||||||
|
// (http://docs.cksource.com/CKEditor_4.x/Skin_SDK/Icons)
|
||||||
|
//
|
||||||
|
// Note: As "moono" is the default CKEditor skin, it provides no custom icons,
|
||||||
|
// thus this code is commented out.
|
||||||
|
//
|
||||||
|
// This code is here just to make the skin work fully when using its "source"
|
||||||
|
// version. Without this, the skin will still work, but its icons will not be
|
||||||
|
// used (again, on source version only).
|
||||||
|
//
|
||||||
|
// This block of code is not necessary on the release version of the skin.
|
||||||
|
// Because of this it is very important to include it inside the REMOVE_START
|
||||||
|
// and REMOVE_END comment markers, so the skin builder will properly clean
|
||||||
|
// things up.
|
||||||
|
//
|
||||||
|
// If a required icon is not available here, the plugin defined icon will be
|
||||||
|
// used instead. This means that a skin is not required to provide all icons.
|
||||||
|
// Actually, it is not required to provide icons at all.
|
||||||
|
//
|
||||||
|
// (function() {
|
||||||
|
// // The available icons. This list must match the file names (without
|
||||||
|
// // extension) available inside the "icons" folder.
|
||||||
|
// var icons = ( 'about,anchor-rtl,anchor,bgcolor,bidiltr,bidirtl,blockquote,' +
|
||||||
|
// 'bold,bulletedlist-rtl,bulletedlist,button,checkbox,copy-rtl,copy,' +
|
||||||
|
// 'creatediv,cut-rtl,cut,docprops-rtl,docprops,find-rtl,find,flash,form,' +
|
||||||
|
// 'hiddenfield,horizontalrule,icons,iframe,image,imagebutton,indent-rtl,' +
|
||||||
|
// 'indent,italic,justifyblock,justifycenter,justifyleft,justifyright,' +
|
||||||
|
// 'link,maximize,newpage-rtl,newpage,numberedlist-rtl,numberedlist,' +
|
||||||
|
// 'outdent-rtl,outdent,pagebreak-rtl,pagebreak,paste-rtl,paste,' +
|
||||||
|
// 'pastefromword-rtl,pastefromword,pastetext-rtl,pastetext,preview-rtl,' +
|
||||||
|
// 'preview,print,radio,redo-rtl,redo,removeformat,replace,save,scayt,' +
|
||||||
|
// 'select-rtl,select,selectall,showblocks-rtl,showblocks,smiley,' +
|
||||||
|
// 'source-rtl,source,specialchar,spellchecker,strike,subscript,' +
|
||||||
|
// 'superscript,table,templates-rtl,templates,textarea-rtl,textarea,' +
|
||||||
|
// 'textcolor,textfield-rtl,textfield,uicolor,underline,undo-rtl,undo,unlink' ).split( ',' );
|
||||||
|
//
|
||||||
|
// var iconsFolder = CKEDITOR.getUrl( CKEDITOR.skin.path() + 'icons/' + ( CKEDITOR.env.hidpi ? 'hidpi/' : '' ) );
|
||||||
|
//
|
||||||
|
// for ( var i = 0; i < icons.length; i++ ) {
|
||||||
|
// CKEDITOR.skin.addIcon( icons[ i ], iconsFolder + icons[ i ] + '.png' );
|
||||||
|
// }
|
||||||
|
// })();
|
||||||
|
|
||||||
|
// %REMOVE_END%
|
||||||