diff options
Diffstat (limited to 'public/bower_components/ckeditor/plugins/balloonpanel')
8 files changed, 700 insertions, 0 deletions
diff --git a/public/bower_components/ckeditor/plugins/balloonpanel/plugin.js b/public/bower_components/ckeditor/plugins/balloonpanel/plugin.js new file mode 100644 index 0000000..ebbc288 --- /dev/null +++ b/public/bower_components/ckeditor/plugins/balloonpanel/plugin.js @@ -0,0 +1,20 @@ +/* + Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. + For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license +*/ +(function(){var q=!1;CKEDITOR.plugins.add("balloonpanel",{init:function(){q||(CKEDITOR.document.appendStyleSheet(this.path+"skins/"+CKEDITOR.skin.name+"/balloonpanel.css"),q=!0)}});CKEDITOR.ui.balloonPanel=function(a,b){this.editor=a;CKEDITOR.tools.extend(this,{width:360,height:"auto",triangleWidth:20,triangleHeight:20,triangleMinDistance:40},b,!0);this.templates={};for(var c in this.templateDefinitions)this.templates[c]=new CKEDITOR.template(this.templateDefinitions[c]);this.parts={};this.focusables= +{};this.showListeners={};this.activeShowListeners={};this.rect={visible:!1};this.build();a.on("destroy",function(){this.destroy()},this)};CKEDITOR.ui.balloonPanel.prototype={templateDefinitions:{panel:'\x3cdiv class\x3d"cke {id} cke_reset_all cke_chrome cke_balloon cke_editor_{name} cke_{langDir} '+CKEDITOR.env.cssClass+'" dir\x3d"{langDir}" title\x3d"'+(CKEDITOR.env.gecko?" ":"")+'" lang\x3d"{langCode}" role\x3d"dialog" style\x3d"{style}" tabindex\x3d"-1" aria-labelledby\x3d"cke_{name}_arialbl"\x3e\x3c/div\x3e', +content:'\x3cdiv class\x3d"cke_balloon_content"\x3e{content}\x3c/div\x3e',title:'\x3cdiv class\x3d"cke_balloon_title" role\x3d"presentation"\x3e{title}\x3c/div\x3e',close:'\x3ca class\x3d"cke_balloon_close_button" href\x3d"javascript:void(0)" title\x3d"Close" role\x3d"button" tabindex\x3d"-1"\x3e\x3cspan class\x3d"cke_label"\x3eX\x3c/span\x3e\x3c/a\x3e',triangleOuter:'\x3cspan class\x3d"cke_balloon_triangle cke_balloon_triangle_outer"\x3e\x3c/span\x3e',triangleInner:'\x3cspan class\x3d"cke_balloon_triangle cke_balloon_triangle_inner"\x3e\x26#8203;\x3c/span\x3e'}, +build:function(){var a=this.editor;this.parts={title:CKEDITOR.dom.element.createFromHtml(this.templates.title.output({title:this.title})),close:CKEDITOR.dom.element.createFromHtml(this.templates.close.output()),panel:CKEDITOR.dom.element.createFromHtml(this.templates.panel.output({id:a.id,langDir:a.lang.dir,langCode:a.langCode,name:a.name,style:"display:none;",voiceLabel:a.lang.editorPanel+", "+a.name})),content:CKEDITOR.dom.element.createFromHtml(this.templates.content.output({content:this.content|| +""})),triangleOuter:CKEDITOR.dom.element.createFromHtml(this.templates.triangleOuter.output()),triangleInner:CKEDITOR.dom.element.createFromHtml(this.templates.triangleInner.output())};this.parts.panel.append(this.parts.title,1);this.parts.panel.append(this.parts.close,1);this.parts.panel.append(this.parts.triangleOuter);this.parts.panel.append(this.parts.content);this.parts.triangleOuter.append(this.parts.triangleInner);this.registerFocusable(this.parts.panel);this.registerFocusable(this.parts.close); +this.parts.title.unselectable();this.parts.close.unselectable();CKEDITOR.document.getBody().append(this.parts.panel);this.resize(this.width,this.height);this.on("show",this.activateShowListeners,this);this.on("hide",this.deactivateShowListeners,this);this.parts.close.on("click",function(a){this.hide();a.data.preventDefault()},this)},show:function(){this.rect.visible||(this.rect.visible=!0,this.parts.panel.show(),this.fire("show"))},hide:function(){this.rect.visible&&(this.rect.visible=!1,this.parts.panel.hide(), +this.blur(),this.fire("hide"))},blur:function(){this.editor.focus()},move:function(a,b){this.rect.left=b;this.rect.top=a;this.parts.panel.setStyles({left:CKEDITOR.tools.cssLength(b),top:CKEDITOR.tools.cssLength(a)})},attach:function(){function a(a,b){var c=Math.max(0,Math.min(a.right,b.right)-Math.max(a.left,b.left)),d=Math.max(0,Math.min(a.bottom,b.bottom)-Math.max(a.top,b.top));return c*d}function b(a,b,c,d){a={top:a,left:b};a.right=a.left+c;a.bottom=a.top+d;return a}var c,p,t,r,q={right:"left", +top:"bottom",topLeft:"bottomLeft",topRight:"bottomRight",bottom:"top",bottomLeft:"topLeft",bottomRight:"topRight",left:"right"};return function(u,h){if(h instanceof CKEDITOR.dom.element||!h)h={focusElement:h};h=CKEDITOR.tools.extend(h,{show:!0});!0===h.show&&this.show();this.fire("attach");c=CKEDITOR.document.getWindow();p=this.editor.window.getFrame();t=this.editor.editable();r=t.isInline();var n=this.getWidth(),d=this.getHeight(),f=u.getClientRect(!0),l=r?t.getClientRect(!0):p.getClientRect(!0), +g=c.getViewPaneSize(),k=c.getScrollPosition(),g={top:Math.max(l.top,k.y),left:Math.max(l.left,k.x),right:Math.min(l.right,g.width+k.x),bottom:Math.min(l.bottom,g.height+k.y)};r&&this.editor.elementMode===CKEDITOR.ELEMENT_MODE_INLINE&&(g=this._getViewPaneRect(c),g.right+=this.triangleWidth,g.bottom+=this.triangleHeight);this._adjustElementRect(f,r?g:l);var l=n*d,f=this._getAlignments(f,n,d),e,m;for(m in f){k=b(f[m].top,f[m].left,n,d);k=f[m].areaDifference=l-a(k,g);if(0===k){e=m;break}e||(e=m);k<f[e].areaDifference&& +(e=m)}n=(d=this.parts.panel.getAscendant(function(a){return a instanceof CKEDITOR.dom.document?!1:"static"!==a.getComputedStyle("position")}))?parseInt(d.getComputedStyle("margin-left"),10):0;d=d?parseInt(d.getComputedStyle("margin-top"),10):0;this.move(f[e].top-d,f[e].left-n);e=e.split(" ");this.setTriangle(q[e[0]],e[1]);!1!==h.focusElement&&(h.focusElement||this.parts.panel).focus()}}(),resize:function(a,b){this.rect.width=a;this.rect.height=b;this.parts.panel.setStyles({width:CKEDITOR.tools.cssLength(a), +height:CKEDITOR.tools.cssLength(b)})},getWidth:function(){return"auto"===this.rect.width?this.parts.panel.getClientRect().width:this.rect.width},getHeight:function(){return"auto"===this.rect.height?this.parts.panel.getClientRect().height:this.rect.height},setTriangle:function(a,b){var c=this.parts.triangleOuter,p=this.parts.triangleInner;this.triangleSide&&(c.removeClass("cke_balloon_triangle_"+this.triangleSide),c.removeClass("cke_balloon_triangle_align_"+this.triangleAlign),p.removeClass("cke_balloon_triangle_"+ +this.triangleSide));this.triangleSide=a;this.triangleAlign=b;c.addClass("cke_balloon_triangle_"+a);c.addClass("cke_balloon_triangle_align_"+b);p.addClass("cke_balloon_triangle_"+a)},registerFocusable:function(a){this.editor.focusManager.add(a);this.focusables[a.getUniqueId()]=a},deregisterFocusable:function(a){this.editor.focusManager.remove(a);delete this.focusables[a.getUniqueId()]},addShowListener:function(a){var b=CKEDITOR.tools.getNextNumber();this.showListeners[b]=a;this.rect.visible&&this.activateShowListener(b); +var c=this;return{removeListener:function(){c.removeShowListener(b)}}},removeShowListener:function(a){this.deactivateShowListener(a);delete this.showListeners[a]},activateShowListener:function(a){this.activeShowListeners[a]=this.showListeners[a].call(this)},deactivateShowListener:function(a){this.activeShowListeners[a]&&this.activeShowListeners[a].removeListener();delete this.activeShowListeners[a]},activateShowListeners:function(){for(var a in this.showListeners)this.activateShowListener(a)},deactivateShowListeners:function(){for(var a in this.activeShowListeners)this.deactivateShowListener(a)}, +destroy:function(){this.deactivateShowListeners();this.parts.panel.remove()},setTitle:function(a){this.parts.title.setHtml(a)},_getAlignments:function(a,b,c){return{"right vcenter":{top:a.top+a.height/2-c/2,left:a.right+this.triangleWidth},"left vcenter":{top:a.top+a.height/2-c/2,left:a.left-b-this.triangleWidth},"top hcenter":{top:a.top-c-this.triangleHeight,left:a.left+a.width/2-b/2},"top left":{top:a.top-c-this.triangleHeight,left:a.left+a.width/2-this.triangleMinDistance},"top right":{top:a.top- +c-this.triangleHeight,left:a.right-a.width/2-b+this.triangleMinDistance},"bottom hcenter":{top:a.bottom+this.triangleHeight,left:a.left+a.width/2-b/2},"bottom left":{top:a.bottom+this.triangleHeight,left:a.left+a.width/2-this.triangleMinDistance},"bottom right":{top:a.bottom+this.triangleHeight,left:a.right-a.width/2-b+this.triangleMinDistance}}},_adjustElementRect:function(a,b){a.left=Math.max(b.left,Math.min(b.right-1,a.left));a.right=Math.max(b.left,Math.min(b.right,a.right));a.top=Math.max(b.top, +Math.min(b.bottom-1,a.top));a.bottom=Math.max(b.top,Math.min(b.bottom,a.bottom))},_getViewPaneRect:function(a){var b=a.getScrollPosition();a=a.getViewPaneSize();return{top:b.y,bottom:b.y+a.height,left:b.x,right:b.x+a.width}}};CKEDITOR.event.implementOn(CKEDITOR.ui.balloonPanel.prototype)})();
\ No newline at end of file diff --git a/public/bower_components/ckeditor/plugins/balloonpanel/skins/kama/balloonpanel.css b/public/bower_components/ckeditor/plugins/balloonpanel/skins/kama/balloonpanel.css new file mode 100644 index 0000000..1f04d23 --- /dev/null +++ b/public/bower_components/ckeditor/plugins/balloonpanel/skins/kama/balloonpanel.css @@ -0,0 +1,220 @@ +/* +Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license +*/ + +.cke_balloon +{ + position: absolute; + z-index: 10000; + + background: #fff; + 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); + + outline: none; +} + +.cke_balloon_title +{ + font-weight: bold; + font-size: 14px; + cursor: default; + + color: #474747; + text-shadow: 0 1px 0 rgba(255,255,255,.75); + + padding: 3px 3px 8px; + border-bottom: 1px solid #eee; + + -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; +} + +/* The close button at the top of the panel. */ +a.cke_balloon_close_button +{ + background-image: url(../../../../skins/kama/images/sprites.png); + background-repeat: no-repeat; + background-position: 0 -1022px; + position: absolute; + cursor: pointer; + text-align: center; + height: 20px; + width: 20px; + top: 5px; +} + +a.cke_balloon_close_button:hover { + background-position: 0 -1045px; +} + +.cke_balloon_content +{ + overflow: hidden; + min-height: 68px; +} + +.cke_balloon_close_button:hover +{ + opacity: 1; + filter: alpha(opacity = 100); +} + +.cke_balloon_close_button span +{ + display: none; +} + +.cke_ltr .cke_balloon_close_button +{ + right: 5px; +} + +.cke_rtl .cke_balloon_close_button +{ + left: 6px; +} + +.cke_balloon_triangle +{ + position: absolute; + border-style: solid; + display: block; + width: 0; + height: 0; +} + +.cke_balloon_triangle_inner +{ + z-index: 0; +} + +.cke_balloon_triangle_outer +{ + z-index: 0; +} + +/* side: [ bottom, top ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_bottom, + .cke_balloon_triangle_outer.cke_balloon_triangle_top + { + border-color: #6B6B6B transparent; + } + + .cke_balloon_triangle_inner.cke_balloon_triangle_bottom, + .cke_balloon_triangle_inner.cke_balloon_triangle_top + { + left: -20px; + } + +/* side: [ bottom ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_bottom + { + border-width: 20px 20px 0; + bottom: -20px; + } + + .cke_balloon_triangle_inner.cke_balloon_triangle_bottom + { + border-color: #fff transparent; + border-width: 20px 20px 0; + top: -21px; + } + +/* side: [ top ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_top + { + border-width: 0 20px 20px; + top: -20px; + } + + .cke_balloon_triangle_inner.cke_balloon_triangle_top + { + border-color: #fff transparent; + border-width: 0 20px 20px; + top: 1px; + } + +/* side: [ left, right ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_left, + .cke_balloon_triangle_outer.cke_balloon_triangle_right + { + border-color: transparent #6B6B6B; + } + + .cke_balloon_triangle_inner.cke_balloon_triangle_left, + .cke_balloon_triangle_inner.cke_balloon_triangle_right + { + border-color: transparent #fff; + top: -20px; + } + +/* side: [ left ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_left + { + border-width: 20px 20px 20px 0; + left: -20px; + } + + .cke_balloon_triangle_inner.cke_balloon_triangle_left + { + border-color: transparent #fff; + border-width: 20px 20px 20px 0; + left: 1px; + } + +/* side: [ right ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_right + { + border-width: 20px 0 20px 20px; + right: -20px; + } + + .cke_balloon_triangle_inner.cke_balloon_triangle_right + { + border-width: 20px 0 20px 20px; + right: 1px; + } + + +/* align: [ hcenter ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_align_hcenter + { + left: 50%; + margin-left: -20px; + } + +/* align: [ left ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_align_left + { + left: 20px; + margin-left: 0; + } + +/* align: [ right ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_align_right + { + right: 20px; + margin-left: 0; + } + +/* align: [ vcenter ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_align_vcenter + { + top: 50%; + margin-top: -20px; + } diff --git a/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono-lisa/balloonpanel.css b/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono-lisa/balloonpanel.css new file mode 100644 index 0000000..197ca0c --- /dev/null +++ b/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono-lisa/balloonpanel.css @@ -0,0 +1,223 @@ +/* +Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license +*/ + +.cke_balloon +{ + position: absolute; + z-index: 10000; + + background: #fff; + border: 2px solid #aaa; + outline: none; +} + +.cke_balloon_title +{ + font-weight: bold; + font-size: 12px; + cursor: default; + + color: #484848; + + padding: 12px 30px 12px 12px; /* Let's the title and close don't overlap each other - padding-right. */ + background: #f8f8f8; +} + +/* The close button at the top of the panel. */ +a.cke_balloon_close_button +{ + background-image: url(images/close.png); + background-repeat: no-repeat; + background-position: 50% -1px; + position: absolute; + cursor: pointer; + text-align: center; + height: 16px; + width: 16px; + top: 8px; + z-index: 5; + opacity: 0.7; + filter: alpha(opacity = 70); + border: 2px solid transparent; + border-radius: 2px; +} + +a.cke_balloon_close_button:focus, +a.cke_balloon_close_button:active +{ + outline: none; + border: 2px solid #0079f7; +} + +.cke_balloon_content +{ + overflow: hidden; + min-height: 68px; + padding: 0 6px 6px 6px; +} + +.cke_balloon_close_button:hover +{ + opacity: 1; + filter: alpha(opacity = 100); +} + +.cke_balloon_close_button:focus:hover +{ + opacity: 1; + filter: alpha(opacity = 100); + border: 2px solid #139FF7; +} + +.cke_hidpi .cke_balloon_close_button +{ + background-image: url(images/hidpi/close.png); + background-size: 16px; +} + +.cke_balloon_close_button span +{ + display: none; +} + +.cke_ltr .cke_balloon_close_button +{ + right: 10px; +} + +.cke_rtl .cke_balloon_close_button +{ + left: 10px; +} + +.cke_balloon_triangle +{ + position: absolute; + border-style: solid; + display: block; + width: 0; + height: 0; +} + +.cke_balloon_triangle_inner +{ + z-index: 0; +} + +.cke_balloon_triangle_outer +{ + z-index: 0; +} + +/* side: [ bottom, top ] */ +.cke_balloon_triangle_outer.cke_balloon_triangle_bottom, +.cke_balloon_triangle_outer.cke_balloon_triangle_top +{ + border-color: #999 transparent; +} + +.cke_balloon_triangle_inner.cke_balloon_triangle_bottom, +.cke_balloon_triangle_inner.cke_balloon_triangle_top +{ + left: -20px; +} + +/* side: [ bottom ] */ +.cke_balloon_triangle_outer.cke_balloon_triangle_bottom +{ + border-width: 20px 20px 0; + bottom: -20px; +} + +.cke_balloon_triangle_inner.cke_balloon_triangle_bottom +{ + border-color: #fff transparent; + border-width: 20px 20px 0; + top: -22px; +} + +/* side: [ top ] */ +.cke_balloon_triangle_outer.cke_balloon_triangle_top +{ + border-width: 0 20px 20px; + top: -20px; +} + +.cke_balloon_triangle_inner.cke_balloon_triangle_top +{ + border-color: #f8f8f8 transparent; + border-width: 0 20px 20px; + top: 2px; +} + +/* side: [ left, right ] */ +.cke_balloon_triangle_outer.cke_balloon_triangle_left, +.cke_balloon_triangle_outer.cke_balloon_triangle_right +{ + border-color: transparent #999; +} + +.cke_balloon_triangle_inner.cke_balloon_triangle_left, +.cke_balloon_triangle_inner.cke_balloon_triangle_right +{ + border-color: transparent #fff; + top: -20px; +} + +/* side: [ left ] */ +.cke_balloon_triangle_outer.cke_balloon_triangle_left +{ + border-width: 20px 20px 20px 0; + left: -20px; +} + +.cke_balloon_triangle_inner.cke_balloon_triangle_left +{ + border-color: transparent #fff; + border-width: 20px 20px 20px 0; + left: 2px; +} + +/* side: [ right ] */ +.cke_balloon_triangle_outer.cke_balloon_triangle_right +{ + border-width: 20px 0 20px 20px; + right: -20px; +} + +.cke_balloon_triangle_inner.cke_balloon_triangle_right +{ + border-width: 20px 0 20px 20px; + right: 2px; +} + + +/* align: [ hcenter ] */ +.cke_balloon_triangle_outer.cke_balloon_triangle_align_hcenter +{ + left: 50%; + margin-left: -20px; +} + +/* align: [ left ] */ +.cke_balloon_triangle_outer.cke_balloon_triangle_align_left +{ + left: 20px; + margin-left: 0; +} + +/* align: [ right ] */ +.cke_balloon_triangle_outer.cke_balloon_triangle_align_right +{ + right: 20px; + margin-left: 0; +} + +/* align: [ vcenter ] */ +.cke_balloon_triangle_outer.cke_balloon_triangle_align_vcenter +{ + top: 50%; + margin-top: -20px; +} diff --git a/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono-lisa/images/close.png b/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono-lisa/images/close.png Binary files differnew file mode 100644 index 0000000..40caa6d --- /dev/null +++ b/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono-lisa/images/close.png diff --git a/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono-lisa/images/hidpi/close.png b/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono-lisa/images/hidpi/close.png Binary files differnew file mode 100644 index 0000000..0e4aa2e --- /dev/null +++ b/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono-lisa/images/hidpi/close.png diff --git a/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono/balloonpanel.css b/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono/balloonpanel.css new file mode 100644 index 0000000..5c13fb0 --- /dev/null +++ b/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono/balloonpanel.css @@ -0,0 +1,237 @@ +/* +Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license +*/ + +.cke_balloon +{ + position: absolute; + z-index: 10000; + + background: #fff; + 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); + + outline: none; +} + +.cke_balloon_title +{ + font-weight: bold; + font-size: 13px; + cursor: default; + + 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; + + /* Let's the title and close don't overlap each other */ + padding-right: 30px; + + 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'); +} + +/* The close button at the top of the panel. */ +a.cke_balloon_close_button +{ + background-image: url(images/close.png); + background-repeat: no-repeat; + background-position: 50%; + position: absolute; + cursor: pointer; + text-align: center; + height: 20px; + width: 20px; + top: 3px; + z-index: 5; + opacity: 0.8; + filter: alpha(opacity = 80); +} + +.cke_balloon_content +{ + overflow: hidden; + min-height: 68px; +} + +.cke_balloon_close_button:hover +{ + opacity: 1; + filter: alpha(opacity = 100); +} + +.cke_hidpi .cke_balloon_close_button +{ + background-image: url(images/hidpi/close.png); + background-size: 16px; +} + +.cke_balloon_close_button span +{ + display: none; +} + +.cke_ltr .cke_balloon_close_button +{ + right: 5px; +} + +.cke_rtl .cke_balloon_close_button +{ + left: 6px; +} + +.cke_balloon_triangle +{ + position: absolute; + border-style: solid; + display: block; + width: 0; + height: 0; +} + +.cke_balloon_triangle_inner +{ + z-index: 0; +} + +.cke_balloon_triangle_outer +{ + z-index: 0; +} + +/* side: [ bottom, top ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_bottom, + .cke_balloon_triangle_outer.cke_balloon_triangle_top + { + border-color: #6B6B6B transparent; + } + + .cke_balloon_triangle_inner.cke_balloon_triangle_bottom, + .cke_balloon_triangle_inner.cke_balloon_triangle_top + { + left: -20px; + } + +/* side: [ bottom ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_bottom + { + border-width: 20px 20px 0; + bottom: -20px; + } + + .cke_balloon_triangle_inner.cke_balloon_triangle_bottom + { + border-color: #fff transparent; + border-width: 20px 20px 0; + top: -21px; + } + +/* side: [ top ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_top + { + border-width: 0 20px 20px; + top: -20px; + } + + .cke_balloon_triangle_inner.cke_balloon_triangle_top + { + border-color: #f5f5f5 transparent; + border-width: 0 20px 20px; + top: 1px; + } + +/* side: [ left, right ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_left, + .cke_balloon_triangle_outer.cke_balloon_triangle_right + { + border-color: transparent #6B6B6B; + } + + .cke_balloon_triangle_inner.cke_balloon_triangle_left, + .cke_balloon_triangle_inner.cke_balloon_triangle_right + { + border-color: transparent #fff; + top: -20px; + } + +/* side: [ left ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_left + { + border-width: 20px 20px 20px 0; + left: -20px; + } + + .cke_balloon_triangle_inner.cke_balloon_triangle_left + { + border-color: transparent #fff; + border-width: 20px 20px 20px 0; + left: 1px; + } + +/* side: [ right ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_right + { + border-width: 20px 0 20px 20px; + right: -20px; + } + + .cke_balloon_triangle_inner.cke_balloon_triangle_right + { + border-width: 20px 0 20px 20px; + right: 1px; + } + + +/* align: [ hcenter ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_align_hcenter + { + left: 50%; + margin-left: -20px; + } + +/* align: [ left ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_align_left + { + left: 20px; + margin-left: 0; + } + +/* align: [ right ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_align_right + { + right: 20px; + margin-left: 0; + } + +/* align: [ vcenter ] */ + .cke_balloon_triangle_outer.cke_balloon_triangle_align_vcenter + { + top: 50%; + margin-top: -20px; + } diff --git a/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono/images/close.png b/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono/images/close.png Binary files differnew file mode 100644 index 0000000..04b9c97 --- /dev/null +++ b/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono/images/close.png diff --git a/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono/images/hidpi/close.png b/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono/images/hidpi/close.png Binary files differnew file mode 100644 index 0000000..e406c2c --- /dev/null +++ b/public/bower_components/ckeditor/plugins/balloonpanel/skins/moono/images/hidpi/close.png |