adding 3 more skins; add kama/skin.js as IE seems to require it to be present
@ -62,12 +62,20 @@ class egw_ckeditor_config
|
|||||||
*/
|
*/
|
||||||
public static function getAvailableCKEditorSkins()
|
public static function getAvailableCKEditorSkins()
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
drwxr-xr-x 3 kl kl 4096 Dez 9 14:26 icy_orange
|
||||||
|
drwxr-xr-x 3 kl kl 4096 Dez 9 14:26 Moono_blue
|
||||||
|
drwxr-xr-x 3 kl kl 4096 Dez 9 14:26 office2013
|
||||||
|
*/
|
||||||
return array(
|
return array(
|
||||||
'kama' => lang('kama theme'),
|
'kama' => lang('kama theme'),
|
||||||
'moono' => lang('moono theme (default)'),
|
'moono' => lang('moono theme (default)'),
|
||||||
'moonocolor' => lang('moono color theme'),
|
'moonocolor' => lang('moono color theme'),
|
||||||
'moono-dark' => lang('dark moono theme'),
|
'moono-dark' => lang('dark moono theme'),
|
||||||
|
'Moono_blue' => lang('blue moono theme'),
|
||||||
'bootstrapck' => lang('bootstrap theme for ckeditor'),
|
'bootstrapck' => lang('bootstrap theme for ckeditor'),
|
||||||
|
'icy_orange' => lang('icy-orange theme for ckeditor'),
|
||||||
|
'office2013' => lang('office-2013 theme for ckeditor'),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -187,7 +195,7 @@ class egw_ckeditor_config
|
|||||||
{
|
{
|
||||||
case 'kama':
|
case 'kama':
|
||||||
$skin = "kama";
|
$skin = "kama";
|
||||||
if (html::$user_agent=='firefox' || html::$user_agent=='msie') $skin='moonocolor';
|
//if (html::$user_agent=='firefox' || html::$user_agent=='msie') $skin='moonocolor';
|
||||||
break;
|
break;
|
||||||
case 'silver':
|
case 'silver':
|
||||||
case 'bootstrapck':
|
case 'bootstrapck':
|
||||||
@ -196,6 +204,15 @@ class egw_ckeditor_config
|
|||||||
case 'moono-dark':
|
case 'moono-dark':
|
||||||
$skin = "moono-dark";
|
$skin = "moono-dark";
|
||||||
break;
|
break;
|
||||||
|
case 'Moono_blue':
|
||||||
|
$skin = "Moono_blue";
|
||||||
|
break;
|
||||||
|
case 'icy_orange':
|
||||||
|
$skin = "icy_orange";
|
||||||
|
break;
|
||||||
|
case 'office2013':
|
||||||
|
$skin = "office2013";
|
||||||
|
break;
|
||||||
case 'office2003':
|
case 'office2003':
|
||||||
case 'moonocolor':
|
case 'moonocolor':
|
||||||
$skin = "moonocolor";
|
$skin = "moonocolor";
|
||||||
|
5
phpgwapi/js/ckeditor/skins/Moono_blue/dialog.css
Normal file
5
phpgwapi/js/ckeditor/skins/Moono_blue/dialog_ie.css
Normal file
5
phpgwapi/js/ckeditor/skins/Moono_blue/dialog_ie7.css
Normal file
5
phpgwapi/js/ckeditor/skins/Moono_blue/dialog_ie8.css
Normal file
5
phpgwapi/js/ckeditor/skins/Moono_blue/dialog_opera.css
Normal file
5
phpgwapi/js/ckeditor/skins/Moono_blue/editor.css
Normal file
5
phpgwapi/js/ckeditor/skins/Moono_blue/editor_gecko.css
Normal file
5
phpgwapi/js/ckeditor/skins/Moono_blue/editor_ie.css
Normal file
5
phpgwapi/js/ckeditor/skins/Moono_blue/editor_ie7.css
Normal file
5
phpgwapi/js/ckeditor/skins/Moono_blue/editor_ie8.css
Normal file
BIN
phpgwapi/js/ckeditor/skins/Moono_blue/icons.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
phpgwapi/js/ckeditor/skins/Moono_blue/icons_hidpi.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
phpgwapi/js/ckeditor/skins/Moono_blue/images/arrow.png
Normal file
After Width: | Height: | Size: 146 B |
BIN
phpgwapi/js/ckeditor/skins/Moono_blue/images/close.png
Normal file
After Width: | Height: | Size: 279 B |
BIN
phpgwapi/js/ckeditor/skins/Moono_blue/images/hidpi/close.png
Normal file
After Width: | Height: | Size: 733 B |
BIN
phpgwapi/js/ckeditor/skins/Moono_blue/images/hidpi/lock-open.png
Normal file
After Width: | Height: | Size: 822 B |
BIN
phpgwapi/js/ckeditor/skins/Moono_blue/images/hidpi/lock.png
Normal file
After Width: | Height: | Size: 829 B |
BIN
phpgwapi/js/ckeditor/skins/Moono_blue/images/hidpi/refresh.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
phpgwapi/js/ckeditor/skins/Moono_blue/images/lock-open.png
Normal file
After Width: | Height: | Size: 335 B |
BIN
phpgwapi/js/ckeditor/skins/Moono_blue/images/lock.png
Normal file
After Width: | Height: | Size: 342 B |
BIN
phpgwapi/js/ckeditor/skins/Moono_blue/images/refresh.png
Normal file
After Width: | Height: | Size: 438 B |
49
phpgwapi/js/ckeditor/skins/Moono_blue/readme.md
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
"Moono_blue" Skin
|
||||||
|
====================
|
||||||
|
|
||||||
|
This skin has been chosen for the **default skin** of CKEditor 4.x, elected from the CKEditor
|
||||||
|
[skin contest](http://ckeditor.com/blog/new_ckeditor_4_skin) and further shaped by
|
||||||
|
the CKEditor team. "Moono" is maintained by the core developers.
|
||||||
|
|
||||||
|
For more information about skins, please check the [CKEditor Skin SDK](http://docs.cksource.com/CKEditor_4.x/Skin_SDK)
|
||||||
|
documentation.
|
||||||
|
|
||||||
|
Features
|
||||||
|
-------------------
|
||||||
|
"Moono" is a monochromatic skin, which offers a modern look coupled with gradients and transparency.
|
||||||
|
It comes with the following features:
|
||||||
|
|
||||||
|
- Chameleon feature with brightness,
|
||||||
|
- high-contrast compatibility,
|
||||||
|
- graphics source provided in SVG.
|
||||||
|
|
||||||
|
Directory Structure
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
CSS parts:
|
||||||
|
- **editor.css**: the main CSS file. It's simply loading several other files, for easier maintenance,
|
||||||
|
- **mainui.css**: the file contains styles of entire editor outline structures,
|
||||||
|
- **toolbar.css**: the file contains styles of the editor toolbar space (top),
|
||||||
|
- **richcombo.css**: the file contains styles of the rich combo ui elements on toolbar,
|
||||||
|
- **panel.css**: the file contains styles of the rich combo drop-down, it's not loaded
|
||||||
|
until the first panel open up,
|
||||||
|
- **elementspath.css**: the file contains styles of the editor elements path bar (bottom),
|
||||||
|
- **menu.css**: the file contains styles of all editor menus including context menu and button drop-down,
|
||||||
|
it's not loaded until the first menu open up,
|
||||||
|
- **dialog.css**: the CSS files for the dialog UI, it's not loaded until the first dialog open,
|
||||||
|
- **reset.css**: the file defines the basis of style resets among all editor UI spaces,
|
||||||
|
- **preset.css**: the file defines the default styles of some UI elements reflecting the skin preference,
|
||||||
|
- **editor_XYZ.css** and **dialog_XYZ.css**: browser specific CSS hacks.
|
||||||
|
|
||||||
|
Other parts:
|
||||||
|
- **skin.js**: the only JavaScript part of the skin that registers the skin, its browser specific files and its icons and defines the Chameleon feature,
|
||||||
|
- **images/**: contains a fill general used images,
|
||||||
|
|
||||||
|
License
|
||||||
|
-------
|
||||||
|
|
||||||
|
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||||
|
|
||||||
|
Licensed under the terms of any of the following licenses at your choice: [GPL](http://www.gnu.org/licenses/gpl.html), [LGPL](http://www.gnu.org/licenses/lgpl.html) and [MPL](http://www.mozilla.org/MPL/MPL-1.1.html).
|
||||||
|
|
||||||
|
See LICENSE.md for more information.
|
BIN
phpgwapi/js/ckeditor/skins/icy_orange/bold.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
5
phpgwapi/js/ckeditor/skins/icy_orange/dialog.css
Normal file
5
phpgwapi/js/ckeditor/skins/icy_orange/dialog_ie.css
Normal file
5
phpgwapi/js/ckeditor/skins/icy_orange/dialog_ie7.css
Normal file
5
phpgwapi/js/ckeditor/skins/icy_orange/dialog_ie8.css
Normal file
5
phpgwapi/js/ckeditor/skins/icy_orange/dialog_opera.css
Normal file
5
phpgwapi/js/ckeditor/skins/icy_orange/editor.css
Normal file
5
phpgwapi/js/ckeditor/skins/icy_orange/editor_gecko.css
Normal file
5
phpgwapi/js/ckeditor/skins/icy_orange/editor_ie.css
Normal file
5
phpgwapi/js/ckeditor/skins/icy_orange/editor_ie7.css
Normal file
5
phpgwapi/js/ckeditor/skins/icy_orange/editor_ie8.css
Normal file
BIN
phpgwapi/js/ckeditor/skins/icy_orange/find-rtl.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
phpgwapi/js/ckeditor/skins/icy_orange/icons.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
phpgwapi/js/ckeditor/skins/icy_orange/icons_hidpi.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
phpgwapi/js/ckeditor/skins/icy_orange/images/arrow.png
Normal file
After Width: | Height: | Size: 261 B |
BIN
phpgwapi/js/ckeditor/skins/icy_orange/images/close.png
Normal file
After Width: | Height: | Size: 824 B |
BIN
phpgwapi/js/ckeditor/skins/icy_orange/images/hidpi/close.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
phpgwapi/js/ckeditor/skins/icy_orange/images/hidpi/lock-open.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
phpgwapi/js/ckeditor/skins/icy_orange/images/hidpi/lock.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
phpgwapi/js/ckeditor/skins/icy_orange/images/hidpi/refresh.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
phpgwapi/js/ckeditor/skins/icy_orange/images/lock-open.png
Normal file
After Width: | Height: | Size: 736 B |
BIN
phpgwapi/js/ckeditor/skins/icy_orange/images/lock.png
Normal file
After Width: | Height: | Size: 728 B |
BIN
phpgwapi/js/ckeditor/skins/icy_orange/images/refresh.png
Normal file
After Width: | Height: | Size: 953 B |
51
phpgwapi/js/ckeditor/skins/icy_orange/readme.md
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
"Moono" Skin
|
||||||
|
====================
|
||||||
|
|
||||||
|
This skin has been chosen for the **default skin** of CKEditor 4.x, elected from the CKEditor
|
||||||
|
[skin contest](http://ckeditor.com/blog/new_ckeditor_4_skin) and further shaped by
|
||||||
|
the CKEditor team. "Moono" is maintained by the core developers.
|
||||||
|
|
||||||
|
For more information about skins, please check the [CKEditor Skin SDK](http://docs.cksource.com/CKEditor_4.x/Skin_SDK)
|
||||||
|
documentation.
|
||||||
|
|
||||||
|
Features
|
||||||
|
-------------------
|
||||||
|
"Moono" is a monochromatic skin, which offers a modern look coupled with gradients and transparency.
|
||||||
|
It comes with the following features:
|
||||||
|
|
||||||
|
- Chameleon feature with brightness,
|
||||||
|
- high-contrast compatibility,
|
||||||
|
- graphics source provided in SVG.
|
||||||
|
|
||||||
|
Directory Structure
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
CSS parts:
|
||||||
|
- **editor.css**: the main CSS file. It's simply loading several other files, for easier maintenance,
|
||||||
|
- **mainui.css**: the file contains styles of entire editor outline structures,
|
||||||
|
- **toolbar.css**: the file contains styles of the editor toolbar space (top),
|
||||||
|
- **richcombo.css**: the file contains styles of the rich combo ui elements on toolbar,
|
||||||
|
- **panel.css**: the file contains styles of the rich combo drop-down, it's not loaded
|
||||||
|
until the first panel open up,
|
||||||
|
- **elementspath.css**: the file contains styles of the editor elements path bar (bottom),
|
||||||
|
- **menu.css**: the file contains styles of all editor menus including context menu and button drop-down,
|
||||||
|
it's not loaded until the first menu open up,
|
||||||
|
- **dialog.css**: the CSS files for the dialog UI, it's not loaded until the first dialog open,
|
||||||
|
- **reset.css**: the file defines the basis of style resets among all editor UI spaces,
|
||||||
|
- **preset.css**: the file defines the default styles of some UI elements reflecting the skin preference,
|
||||||
|
- **editor_XYZ.css** and **dialog_XYZ.css**: browser specific CSS hacks.
|
||||||
|
|
||||||
|
Other parts:
|
||||||
|
- **skin.js**: the only JavaScript part of the skin that registers the skin, its browser specific files and its icons and defines the Chameleon feature,
|
||||||
|
- **icons/**: contains all skin defined icons,
|
||||||
|
- **images/**: contains a fill general used images,
|
||||||
|
- **dev/**: contains SVG source of the skin icons.
|
||||||
|
|
||||||
|
License
|
||||||
|
-------
|
||||||
|
|
||||||
|
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||||
|
|
||||||
|
Licensed under the terms of any of the following licenses at your choice: [GPL](http://www.gnu.org/licenses/gpl.html), [LGPL](http://www.gnu.org/licenses/lgpl.html) and [MPL](http://www.mozilla.org/MPL/MPL-1.1.html).
|
||||||
|
|
||||||
|
See LICENSE.md for more information.
|
BIN
phpgwapi/js/ckeditor/skins/icy_orange/scayt.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
260
phpgwapi/js/ckeditor/skins/kama/skin.js
Normal file
@ -0,0 +1,260 @@
|
|||||||
|
/**
|
||||||
|
* @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 = 'kama';
|
||||||
|
|
||||||
|
// 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';
|
||||||
|
CKEDITOR.skin.ua_dialog = 'ie,iequirks,ie7,ie8';
|
||||||
|
|
||||||
|
|
||||||
|
// 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( editor, part ) {
|
||||||
|
// Use this function just to avoid having to repeat all these rules on
|
||||||
|
// several places of our template.
|
||||||
|
function getLinearBackground( definition ) {
|
||||||
|
return 'background:-moz-linear-gradient(' + definition + ');' + // FF3.6+
|
||||||
|
'background:-webkit-linear-gradient(' + definition + ');' + // Chrome10+, Safari5.1+
|
||||||
|
'background:-o-linear-gradient(' + definition + ');' + // Opera 11.10+
|
||||||
|
'background:-ms-linear-gradient(' + definition + ');' + // IE10+
|
||||||
|
'background:linear-gradient(' + definition + ');'; // W3C
|
||||||
|
}
|
||||||
|
|
||||||
|
var css;
|
||||||
|
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// CKEditor instances have a unique ID, which is used as class name into
|
||||||
|
// the outer container of the editor UI (e.g. ".cke_1").
|
||||||
|
var cssId = '.' + editor.id;
|
||||||
|
|
||||||
|
// There are two main "parts" that need the be touched by the Chameleon
|
||||||
|
// feature: "editor" and "panel".
|
||||||
|
//
|
||||||
|
// This is the main UI part, representing everything that is loaded in the
|
||||||
|
// page that includes the editor instance. Note that the dialog styles are
|
||||||
|
// also taken in consideration here.
|
||||||
|
if ( part == 'editor' ) {
|
||||||
|
css = cssId + ' .cke_inner,' +
|
||||||
|
cssId + ' .cke_dialog_tab' +
|
||||||
|
'{' +
|
||||||
|
'background-color:$color;' +
|
||||||
|
'background:-webkit-gradient(linear,0 -15,0 40,from(#fff),to($color));' +
|
||||||
|
getLinearBackground( 'top,#fff -15px,$color 40px' ) +
|
||||||
|
'}' +
|
||||||
|
|
||||||
|
cssId + ' .cke_toolgroup' +
|
||||||
|
'{' +
|
||||||
|
'background:-webkit-gradient(linear,0 0,0 100,from(#fff),to($color));' +
|
||||||
|
getLinearBackground( 'top,#fff,$color 100px' ) +
|
||||||
|
'}' +
|
||||||
|
|
||||||
|
cssId + ' .cke_combo_button' +
|
||||||
|
'{' +
|
||||||
|
'background:-webkit-gradient(linear, left bottom, left -100, from(#fff), to($color));' +
|
||||||
|
getLinearBackground( 'bottom,#fff,$color 100px' ) +
|
||||||
|
'}' +
|
||||||
|
|
||||||
|
cssId + ' .cke_dialog_contents,' +
|
||||||
|
cssId + ' .cke_dialog_footer' +
|
||||||
|
'{' +
|
||||||
|
'background-color:$color !important;' +
|
||||||
|
'}' +
|
||||||
|
|
||||||
|
cssId + ' .cke_dialog_tab:hover,' +
|
||||||
|
cssId + ' .cke_dialog_tab:active,' +
|
||||||
|
cssId + ' .cke_dialog_tab:focus,' +
|
||||||
|
cssId + ' .cke_dialog_tab_selected' +
|
||||||
|
'{' +
|
||||||
|
'background-color:$color;' +
|
||||||
|
'background-image:none;' +
|
||||||
|
'}' +
|
||||||
|
|
||||||
|
'';
|
||||||
|
|
||||||
|
|
||||||
|
// The "panel" part is necessary because it represents contents of panels
|
||||||
|
// used in the editor, like context-menus or the toolbar combos panels.
|
||||||
|
// Those are loaded inside iframes, so this template is used there. Because
|
||||||
|
// of this iframe isolation, we don't need to specify the editor id class
|
||||||
|
// name in the rules selectors.
|
||||||
|
//
|
||||||
|
// The menu.css rules are usually the ones to be overriden here, while all
|
||||||
|
// the rest is handled by the above "editor" part.
|
||||||
|
} else if ( part == 'panel' ) {
|
||||||
|
css = '.cke_menubutton_icon' +
|
||||||
|
'{' +
|
||||||
|
'background-color:$color !important;' +
|
||||||
|
'border-color:$color !important;' +
|
||||||
|
'}' +
|
||||||
|
|
||||||
|
'.cke_menubutton:hover .cke_menubutton_icon,' +
|
||||||
|
'.cke_menubutton:focus .cke_menubutton_icon,' +
|
||||||
|
'.cke_menubutton:active .cke_menubutton_icon' +
|
||||||
|
'{' +
|
||||||
|
'background-color:$color !important;' +
|
||||||
|
'border-color:$color !important;' +
|
||||||
|
'}' +
|
||||||
|
|
||||||
|
'.cke_menubutton:hover .cke_menubutton_label,' +
|
||||||
|
'.cke_menubutton:focus .cke_menubutton_label,' +
|
||||||
|
'.cke_menubutton:active .cke_menubutton_label' +
|
||||||
|
'{' +
|
||||||
|
'background-color:$color !important;' +
|
||||||
|
'}' +
|
||||||
|
|
||||||
|
'.cke_menubutton_disabled:hover .cke_menubutton_label,' +
|
||||||
|
'.cke_menubutton_disabled:focus .cke_menubutton_label,' +
|
||||||
|
'.cke_menubutton_disabled:active .cke_menubutton_label' +
|
||||||
|
'{' +
|
||||||
|
'background-color: transparent !important;' +
|
||||||
|
'}' +
|
||||||
|
|
||||||
|
'.cke_menubutton_disabled:hover .cke_menubutton_icon,' +
|
||||||
|
'.cke_menubutton_disabled:focus .cke_menubutton_icon,' +
|
||||||
|
'.cke_menubutton_disabled:active .cke_menubutton_icon' +
|
||||||
|
'{' +
|
||||||
|
'background-color:$color !important;' +
|
||||||
|
'border-color:$color !important;' +
|
||||||
|
'}' +
|
||||||
|
|
||||||
|
'.cke_menubutton_disabled .cke_menubutton_icon' +
|
||||||
|
'{' +
|
||||||
|
'background-color:$color !important;' +
|
||||||
|
'border-color:$color !important;' +
|
||||||
|
'}' +
|
||||||
|
|
||||||
|
'.cke_menuseparator' +
|
||||||
|
'{' +
|
||||||
|
'background-color:$color !important;' +
|
||||||
|
'}' +
|
||||||
|
|
||||||
|
'.cke_menubutton:hover,' +
|
||||||
|
'.cke_menubutton:focus,' +
|
||||||
|
'.cke_menubutton:active' +
|
||||||
|
'{' +
|
||||||
|
'background-color:$color !important;' +
|
||||||
|
'}';
|
||||||
|
}
|
||||||
|
|
||||||
|
return css;
|
||||||
|
};
|
||||||
|
|
||||||
|
// %REMOVE_START%
|
||||||
|
|
||||||
|
// 4. Register the skin icons for development purposes only
|
||||||
|
// ----------------------------------------------------------
|
||||||
|
// (http://docs.cksource.com/CKEditor_4.x/Skin_SDK/Icons)
|
||||||
|
//
|
||||||
|
// 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,placeholder,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,underline,undo-rtl,undo,unlink' ).split( ',' );
|
||||||
|
|
||||||
|
var iconsFolder = CKEDITOR.getUrl( CKEDITOR.skin.path() + 'icons/' );
|
||||||
|
|
||||||
|
for ( var i = 0; i < icons.length; i++ ) {
|
||||||
|
CKEDITOR.skin.addIcon( icons[ i ], iconsFolder + icons[ i ] + '.png' );
|
||||||
|
}
|
||||||
|
} )();
|
||||||
|
|
||||||
|
// %REMOVE_END%
|
5
phpgwapi/js/ckeditor/skins/office2013/dialog.css
Normal file
5
phpgwapi/js/ckeditor/skins/office2013/editor.css
Normal file
BIN
phpgwapi/js/ckeditor/skins/office2013/icons.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
phpgwapi/js/ckeditor/skins/office2013/icons_hidpi.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
phpgwapi/js/ckeditor/skins/office2013/images/arrow.png
Normal file
After Width: | Height: | Size: 261 B |
BIN
phpgwapi/js/ckeditor/skins/office2013/images/close.png
Normal file
After Width: | Height: | Size: 176 B |
BIN
phpgwapi/js/ckeditor/skins/office2013/images/hidpi/close.png
Normal file
After Width: | Height: | Size: 243 B |
BIN
phpgwapi/js/ckeditor/skins/office2013/images/hidpi/lock-open.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
phpgwapi/js/ckeditor/skins/office2013/images/hidpi/lock.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
phpgwapi/js/ckeditor/skins/office2013/images/hidpi/refresh.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
phpgwapi/js/ckeditor/skins/office2013/images/lock-open.png
Normal file
After Width: | Height: | Size: 736 B |
BIN
phpgwapi/js/ckeditor/skins/office2013/images/lock.png
Normal file
After Width: | Height: | Size: 728 B |
BIN
phpgwapi/js/ckeditor/skins/office2013/images/refresh.png
Normal file
After Width: | Height: | Size: 953 B |