5402 lines
967 KiB
JavaScript
5402 lines
967 KiB
JavaScript
|
import{h as mi,i as Bv,L as Pv,a as $g,S as Yg,_ as zv}from"./main-9b36f05f.js";import{h as Lv,a as _e,o as Ov,s as Rv,b as Kt,w as Ie,F as jv,e as Fv,t as Kg,d as Vv}from"./vendor-adef9cb4.js";var pi={exports:{}};pi.exports;(function(G,Dt){(function(ln){const Te=ln.en=ln.en||{};Te.dictionary=Object.assign(Te.dictionary||{},{"%0 of %1":"%0 of %1",Aquamarine:"Aquamarine",Black:"Black","Block quote":"Block quote",Blue:"Blue",Bold:"Bold","Break text":"Break text","Bulleted List":"Bulleted List",Cancel:"Cancel","Cannot determine a category for the uploaded file.":"Cannot determine a category for the uploaded file.","Cannot upload file:":"Cannot upload file:","Caption for image: %0":"Caption for image: %0","Caption for the image":"Caption for the image","Centered image":"Centered image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Column:"Column","Could not insert image at the current position.":"Could not insert image at the current position.","Could not obtain resized image URL.":"Could not obtain resized image URL.","Decrease indent":"Decrease indent","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Downloadable:"Downloadable","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Edit link":"Edit link","Editor block content toolbar":"Editor block content toolbar","Editor contextual toolbar":"Editor contextual toolbar","Editor editing area: %0":"Editor editing area: %0","Editor toolbar":"Editor toolbar","Enter image caption":"Enter image caption","Full size image":"Full size image",Green:"Green",Grey:"Grey","Header column":"Header column","Header row":"Header row",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6","Image toolbar":"Image toolbar","image widget":"image widget","In line":"In line","Increase indent":"Increase indent","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert image":"Insert image","Insert image or file":"Insert image or file","Insert media":"Insert media","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table","Inserting image failed":"Inserting image failed",Italic:"Italic","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link URL":"Link URL","Media URL":"Media URL","media widget":"media widget","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells",Next:"Next","Numbered List":"Numbered List","Open file manager":"Open file manager","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab","Open media in new tab":"Open media in new tab",Orange:"Orange",Paragraph:"Paragraph","Paste the media URL in the input.":"Paste the media URL in the input.","Press Enter to type after or press Shift + Enter to type before the widget":"Press Enter to type after or press Shift + Enter to type before the widget",Previous:"Previous",Purple:"Purple",Red:"Red",Redo:"Redo","Rich Text Editor":"Rich Text Editor","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Select all":"Select all","Select column":"Select column","Select row":"Select row","Selecting resized image failed":"Selecting resized image failed","Show more items":"Show more items","Side image":"Side image","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically","Table toolbar":"Table toolbar","Text alternative":"Text alternative","The URL must not be empty.":"The URL must not be empty.","This link has no URL":"This link has no URL","This media URL is not supported.":"This media URL is not supported.","Tip: Paste the URL into the content to embed faster.":"Tip: P
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck-content blockquote {
|
|||
|
/* See #12 */
|
|||
|
overflow: hidden;
|
|||
|
|
|||
|
/* https://github.com/ckeditor/ckeditor5-block-quote/issues/15 */
|
|||
|
padding-right: 1.5em;
|
|||
|
padding-left: 1.5em;
|
|||
|
|
|||
|
margin-left: 0;
|
|||
|
margin-right: 0;
|
|||
|
font-style: italic;
|
|||
|
border-left: solid 5px hsl(0, 0%, 80%);
|
|||
|
}
|
|||
|
|
|||
|
.ck-content[dir="rtl"] blockquote {
|
|||
|
border-left: 0;
|
|||
|
border-right: solid 5px hsl(0, 0%, 80%);
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},903:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,'.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position{display:inline;pointer-events:none;position:relative}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{position:absolute;width:0}.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__selection-handle,.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__type-around{display:none}:root{--ck-clipboard-drop-target-dot-width:12px;--ck-clipboard-drop-target-dot-height:8px;--ck-clipboard-drop-target-color:var(--ck-color-focus-border)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{background:var(--ck-clipboard-drop-target-color);border:1px solid var(--ck-clipboard-drop-target-color);bottom:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);margin-left:-1px;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span:after{border-color:var(--ck-clipboard-drop-target-color) transparent transparent transparent;border-style:solid;border-width:calc(var(--ck-clipboard-drop-target-dot-height)) calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0 calc(var(--ck-clipboard-drop-target-dot-width)*.5);content:"";display:block;height:0;left:50%;position:absolute;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);transform:translateX(-50%);width:0}.ck.ck-editor__editable .ck-widget.ck-clipboard-drop-target-range{outline:var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color)!important}.ck.ck-editor__editable .ck-widget:-webkit-drag{zoom:.6;outline:none!important}',"",{version:3,sources:["webpack://./../ckeditor5-clipboard/theme/clipboard.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-clipboard/clipboard.css"],names:[],mappings:"AASC,8DACC,cAAe,CAEf,mBAAoB,CADpB,iBAOD,CAJC,mEACC,iBAAkB,CAClB,OACD,CAWA,qJACC,YACD,CCzBF,MACC,yCAA0C,CAC1C,yCAA0C,CAC1C,6DACD,CAOE,mEAIC,gDAAiD,CADjD,sDAAuD,CAFvD,2DAA8D,CAI9D,gBAAiB,CAHjB,wDAqBD,CAfC,yEAWC,sFAAuF,CAEvF,kBAAmB,CADnB,qKAA0K,CAX1K,UAAW,CAIX,aAAc,CAFd,QAAS,CAIT,QAAS,CADT,iBAAkB,CAElB,wDAA2D,CAE3D,0BAA2B,CAR3B,OAYD,CA2DF,kEACC,gGACD,CAKA,gDACC,OAAS,CACT,sBACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-editor__editable {
|
|||
|
/*
|
|||
|
* Vertical drop target (in text).
|
|||
|
*/
|
|||
|
& .ck.ck-clipboard-drop-target-position {
|
|||
|
display: inline;
|
|||
|
position: relative;
|
|||
|
pointer-events: none;
|
|||
|
|
|||
|
& span {
|
|||
|
position: absolute;
|
|||
|
width: 0;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Styles of the widget being dragged (its preview).
|
|||
|
*/
|
|||
|
& .ck-widget:-webkit-drag {
|
|||
|
& > .ck-widget__selection-handle {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
|
|||
|
& > .ck-widget__type-around {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-clipboard-drop-target-dot-width: 12px;
|
|||
|
--ck-clipboard-drop-target-dot-height: 8px;
|
|||
|
--ck-clipboard-drop-target-color: var(--ck-color-focus-border)
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-editor__editable {
|
|||
|
/*
|
|||
|
* Vertical drop target (in text).
|
|||
|
*/
|
|||
|
& .ck.ck-clipboard-drop-target-position {
|
|||
|
& span {
|
|||
|
bottom: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));
|
|||
|
top: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));
|
|||
|
border: 1px solid var(--ck-clipboard-drop-target-color);
|
|||
|
background: var(--ck-clipboard-drop-target-color);
|
|||
|
margin-left: -1px;
|
|||
|
|
|||
|
/* The triangle above the marker */
|
|||
|
&::after {
|
|||
|
content: "";
|
|||
|
width: 0;
|
|||
|
height: 0;
|
|||
|
|
|||
|
display: block;
|
|||
|
position: absolute;
|
|||
|
left: 50%;
|
|||
|
top: calc(var(--ck-clipboard-drop-target-dot-height) * -.5);
|
|||
|
|
|||
|
transform: translateX(-50%);
|
|||
|
border-color: var(--ck-clipboard-drop-target-color) transparent transparent transparent;
|
|||
|
border-width: calc(var(--ck-clipboard-drop-target-dot-height)) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width));
|
|||
|
border-style: solid;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
// Horizontal drop target (between blocks).
|
|||
|
& .ck.ck-clipboard-drop-target-position {
|
|||
|
display: block;
|
|||
|
position: relative;
|
|||
|
width: 100%;
|
|||
|
height: 0;
|
|||
|
margin: 0;
|
|||
|
text-align: initial;
|
|||
|
|
|||
|
& .ck-clipboard-drop-target__line {
|
|||
|
position: absolute;
|
|||
|
width: 100%;
|
|||
|
height: 0;
|
|||
|
border: 1px solid var(--ck-clipboard-drop-target-color);
|
|||
|
margin-top: -1px;
|
|||
|
|
|||
|
&::before {
|
|||
|
content: "";
|
|||
|
width: 0;
|
|||
|
height: 0;
|
|||
|
|
|||
|
display: block;
|
|||
|
position: absolute;
|
|||
|
left: calc(-1 * var(--ck-clipboard-drop-target-dot-size));
|
|||
|
top: 0;
|
|||
|
|
|||
|
transform: translateY(-50%);
|
|||
|
border-color: transparent transparent transparent var(--ck-clipboard-drop-target-color);
|
|||
|
border-width: var(--ck-clipboard-drop-target-dot-size) 0 var(--ck-clipboard-drop-target-dot-size) calc(2 * var(--ck-clipboard-drop-target-dot-size));
|
|||
|
border-style: solid;
|
|||
|
}
|
|||
|
|
|||
|
&::after {
|
|||
|
content: "";
|
|||
|
width: 0;
|
|||
|
height: 0;
|
|||
|
|
|||
|
display: block;
|
|||
|
position: absolute;
|
|||
|
right: calc(-1 * var(--ck-clipboard-drop-target-dot-size));
|
|||
|
top: 0;
|
|||
|
|
|||
|
transform: translateY(-50%);
|
|||
|
border-color: transparent var(--ck-clipboard-drop-target-color) transparent transparent;
|
|||
|
border-width: var(--ck-clipboard-drop-target-dot-size) calc(2 * var(--ck-clipboard-drop-target-dot-size)) var(--ck-clipboard-drop-target-dot-size) 0;
|
|||
|
border-style: solid;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
*/
|
|||
|
|
|||
|
/*
|
|||
|
* Styles of the widget that it a drop target.
|
|||
|
*/
|
|||
|
& .ck-widget.ck-clipboard-drop-target-range {
|
|||
|
outline: var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color) !important;
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Styles of the widget being dragged (its preview).
|
|||
|
*/
|
|||
|
& .ck-widget:-webkit-drag {
|
|||
|
zoom: 0.6;
|
|||
|
outline: none !important;
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},3143:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-modal)}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-bottom-width:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar{border-bottom-width:1px;border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}","",{version:3,sources:["webpack://./../ckeditor5-editor-classic/theme/classiceditor.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-editor-classic/classiceditor.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,cAIC,iBAMD,CAJC,2DAEC,yBACD,CCLC,gDCED,eDKC,CAPA,uICMA,qCAAsC,CDJpC,2BAA4B,CAC5B,4BAIF,CAPA,gDAMC,qBACD,CAEA,iFACC,uBAAwB,CCR1B,eDaC,CANA,yMCHA,qCAAsC,CDOpC,eAEF,CAKF,yCAEC,0CAA2C,CCpB3C,eD8BD,CAZA,yHCdE,qCAAsC,CDmBtC,wBAAyB,CACzB,yBAMF,CAHC,0DACC,wCACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-editor {
|
|||
|
/* All the elements within \`.ck-editor\` are positioned relatively to it.
|
|||
|
If any element needs to be positioned with respect to the <body>, etc.,
|
|||
|
it must land outside of the \`.ck-editor\` in DOM. */
|
|||
|
position: relative;
|
|||
|
|
|||
|
& .ck-editor__top .ck-sticky-panel .ck-toolbar {
|
|||
|
/* https://github.com/ckeditor/ckeditor5-editor-classic/issues/62 */
|
|||
|
z-index: var(--ck-z-modal);
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../mixins/_rounded.css";
|
|||
|
|
|||
|
.ck.ck-editor__top {
|
|||
|
& .ck-sticky-panel {
|
|||
|
& .ck-toolbar {
|
|||
|
@mixin ck-rounded-corners {
|
|||
|
border-bottom-left-radius: 0;
|
|||
|
border-bottom-right-radius: 0;
|
|||
|
}
|
|||
|
|
|||
|
border-bottom-width: 0;
|
|||
|
}
|
|||
|
|
|||
|
& .ck-sticky-panel__content_sticky .ck-toolbar {
|
|||
|
border-bottom-width: 1px;
|
|||
|
|
|||
|
@mixin ck-rounded-corners {
|
|||
|
border-radius: 0;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* Note: Use ck-editor__main to make sure these styles don't apply to other editor types */
|
|||
|
.ck.ck-editor__main > .ck-editor__editable {
|
|||
|
/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/113 */
|
|||
|
background: var(--ck-color-base-background);
|
|||
|
|
|||
|
@mixin ck-rounded-corners {
|
|||
|
border-top-left-radius: 0;
|
|||
|
border-top-right-radius: 0;
|
|||
|
}
|
|||
|
|
|||
|
&:not(.ck-focused) {
|
|||
|
border-color: var(--ck-color-base-border);
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* Implements rounded corner interface for .ck-rounded-corners class.
|
|||
|
*
|
|||
|
* @see $ck-border-radius
|
|||
|
*/
|
|||
|
@define-mixin ck-rounded-corners {
|
|||
|
border-radius: 0;
|
|||
|
|
|||
|
@nest .ck-rounded-corners &,
|
|||
|
&.ck-rounded-corners {
|
|||
|
border-radius: var(--ck-border-radius);
|
|||
|
@mixin-content;
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},4717:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck .ck-placeholder,.ck.ck-placeholder{position:relative}.ck .ck-placeholder:before,.ck.ck-placeholder:before{content:attr(data-placeholder);left:0;pointer-events:none;position:absolute;right:0}.ck.ck-read-only .ck-placeholder:before{display:none}.ck.ck-reset_all .ck-placeholder{position:relative}.ck .ck-placeholder:before,.ck.ck-placeholder:before{color:var(--ck-color-engine-placeholder-text);cursor:text}","",{version:3,sources:["webpack://./../ckeditor5-engine/theme/placeholder.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-engine/placeholder.css"],names:[],mappings:"AAMA,uCAEC,iBAWD,CATC,qDAIC,8BAA+B,CAF/B,MAAO,CAKP,mBAAoB,CANpB,iBAAkB,CAElB,OAKD,CAKA,wCACC,YACD,CAQD,iCACC,iBACD,CC5BC,qDAEC,6CAA8C,CAD9C,WAED",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/* See ckeditor/ckeditor5#936. */
|
|||
|
.ck.ck-placeholder,
|
|||
|
.ck .ck-placeholder {
|
|||
|
position: relative;
|
|||
|
|
|||
|
&::before {
|
|||
|
position: absolute;
|
|||
|
left: 0;
|
|||
|
right: 0;
|
|||
|
content: attr(data-placeholder);
|
|||
|
|
|||
|
/* See ckeditor/ckeditor5#469. */
|
|||
|
pointer-events: none;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* See ckeditor/ckeditor5#1987. */
|
|||
|
.ck.ck-read-only .ck-placeholder {
|
|||
|
&::before {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Rules for the \`ck-placeholder\` are loaded before the rules for \`ck-reset_all\` in the base CKEditor 5 DLL build.
|
|||
|
* This fix overwrites the incorrectly set \`position: static\` from \`ck-reset_all\`.
|
|||
|
* See https://github.com/ckeditor/ckeditor5/issues/11418.
|
|||
|
*/
|
|||
|
.ck.ck-reset_all .ck-placeholder {
|
|||
|
position: relative;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/* See ckeditor/ckeditor5#936. */
|
|||
|
.ck.ck-placeholder, .ck .ck-placeholder {
|
|||
|
&::before {
|
|||
|
cursor: text;
|
|||
|
color: var(--ck-color-engine-placeholder-text);
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},9315:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-editor__editable span[data-ck-unsafe-element]{display:none}","",{version:3,sources:["webpack://./../ckeditor5-engine/theme/renderer.css"],names:[],mappings:"AAMA,qDACC,YACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/* Elements marked by the Renderer as hidden should be invisible in the editor. */
|
|||
|
.ck.ck-editor__editable span[data-ck-unsafe-element] {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},8733:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-heading_heading1{font-size:20px}.ck.ck-heading_heading2{font-size:17px}.ck.ck-heading_heading3{font-size:14px}.ck[class*=ck-heading_heading]{font-weight:700}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__button .ck-button__label{width:8em}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item{min-width:18em}","",{version:3,sources:["webpack://./../ckeditor5-heading/theme/heading.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-heading/heading.css"],names:[],mappings:"AAKA,wBACC,cACD,CAEA,wBACC,cACD,CAEA,wBACC,cACD,CAEA,+BACC,eACD,CCZC,2EACC,SACD,CAEA,uEACC,cACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-heading_heading1 {
|
|||
|
font-size: 20px;
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-heading_heading2 {
|
|||
|
font-size: 17px;
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-heading_heading3 {
|
|||
|
font-size: 14px;
|
|||
|
}
|
|||
|
|
|||
|
.ck[class*="ck-heading_heading"] {
|
|||
|
font-weight: bold;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/* Resize dropdown's button label. */
|
|||
|
.ck.ck-dropdown.ck-heading-dropdown {
|
|||
|
& .ck-dropdown__button .ck-button__label {
|
|||
|
width: 8em;
|
|||
|
}
|
|||
|
|
|||
|
& .ck-dropdown__panel .ck-list__item {
|
|||
|
min-width: 18em;
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},3508:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck-content .image{clear:both;display:table;margin:.9em auto;min-width:50px;text-align:center}.ck-content .image img{display:block;margin:0 auto;max-width:100%;min-width:100%}.ck-content .image-inline{align-items:flex-start;display:inline-flex;max-width:100%}.ck-content .image-inline picture{display:flex}.ck-content .image-inline img,.ck-content .image-inline picture{flex-grow:1;flex-shrink:1;max-width:100%}.ck.ck-editor__editable .image>figcaption.ck-placeholder:before{overflow:hidden;padding-left:inherit;padding-right:inherit;text-overflow:ellipsis;white-space:nowrap}.ck.ck-editor__editable .image-inline.ck-widget_selected,.ck.ck-editor__editable .image.ck-widget_selected{z-index:1}.ck.ck-editor__editable .image-inline.ck-widget_selected ::selection{display:none}.ck.ck-editor__editable td .image-inline img,.ck.ck-editor__editable th .image-inline img{max-width:none}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/image.css"],names:[],mappings:"AAMC,mBAEC,UAAW,CADX,aAAc,CAOd,gBAAkB,CAGlB,cAAe,CARf,iBAuBD,CAbC,uBAEC,aAAc,CAGd,aAAc,CAGd,cAAe,CAGf,cACD,CAGD,0BAYC,sBAAuB,CANvB,mBAAoB,CAGpB,cAoBD,CAdC,kCACC,YACD,CAGA,gEAGC,WAAY,CACZ,aAAc,CAGd,cACD,CAUD,gEASC,eAAgB,CARhB,oBAAqB,CACrB,qBAAsB,CAQtB,sBAAuB,CAFvB,kBAGD,CAWA,2GACC,SAUD,CAHC,qEACC,YACD,CAOA,0FACC,cACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck-content {
|
|||
|
& .image {
|
|||
|
display: table;
|
|||
|
clear: both;
|
|||
|
text-align: center;
|
|||
|
|
|||
|
/* Make sure there is some space between the content and the image. Center image by default. */
|
|||
|
/* The first value should be equal to --ck-spacing-large variable if used in the editor context
|
|||
|
to avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */
|
|||
|
margin: 0.9em auto;
|
|||
|
|
|||
|
/* Make sure the caption will be displayed properly (See: https://github.com/ckeditor/ckeditor5/issues/1870). */
|
|||
|
min-width: 50px;
|
|||
|
|
|||
|
& img {
|
|||
|
/* Prevent unnecessary margins caused by line-height (see #44). */
|
|||
|
display: block;
|
|||
|
|
|||
|
/* Center the image if its width is smaller than the content's width. */
|
|||
|
margin: 0 auto;
|
|||
|
|
|||
|
/* Make sure the image never exceeds the size of the parent container (ckeditor/ckeditor5-ui#67). */
|
|||
|
max-width: 100%;
|
|||
|
|
|||
|
/* Make sure the image is never smaller than the parent container (See: https://github.com/ckeditor/ckeditor5/issues/9300). */
|
|||
|
min-width: 100%
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
& .image-inline {
|
|||
|
/*
|
|||
|
* Normally, the .image-inline would have "display: inline-block" and "img { width: 100% }" (to follow the wrapper while resizing).
|
|||
|
* Unfortunately, together with "srcset", it gets automatically stretched up to the width of the editing root.
|
|||
|
* This strange behavior does not happen with inline-flex.
|
|||
|
*/
|
|||
|
display: inline-flex;
|
|||
|
|
|||
|
/* While being resized, don't allow the image to exceed the width of the editing root. */
|
|||
|
max-width: 100%;
|
|||
|
|
|||
|
/* This is required by Safari to resize images in a sensible way. Without this, the browser breaks the ratio. */
|
|||
|
align-items: flex-start;
|
|||
|
|
|||
|
/* When the picture is present it must act as a flex container to let the img resize properly */
|
|||
|
& picture {
|
|||
|
display: flex;
|
|||
|
}
|
|||
|
|
|||
|
/* When the picture is present, it must act like a resizable img. */
|
|||
|
& picture,
|
|||
|
& img {
|
|||
|
/* This is necessary for the img to span the entire .image-inline wrapper and to resize properly. */
|
|||
|
flex-grow: 1;
|
|||
|
flex-shrink: 1;
|
|||
|
|
|||
|
/* Prevents overflowing the editing root boundaries when an inline image is very wide. */
|
|||
|
max-width: 100%;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-editor__editable {
|
|||
|
/*
|
|||
|
* Inhertit the content styles padding of the <figcaption> in case the integration overrides \`text-align: center\`
|
|||
|
* of \`.image\` (e.g. to the left/right). This ensures the placeholder stays at the padding just like the native
|
|||
|
* caret does, and not at the edge of <figcaption>.
|
|||
|
*/
|
|||
|
& .image > figcaption.ck-placeholder::before {
|
|||
|
padding-left: inherit;
|
|||
|
padding-right: inherit;
|
|||
|
|
|||
|
/*
|
|||
|
* Make sure the image caption placeholder doesn't overflow the placeholder area.
|
|||
|
* See https://github.com/ckeditor/ckeditor5/issues/9162.
|
|||
|
*/
|
|||
|
white-space: nowrap;
|
|||
|
overflow: hidden;
|
|||
|
text-overflow: ellipsis;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
/*
|
|||
|
* Make sure the selected inline image always stays on top of its siblings.
|
|||
|
* See https://github.com/ckeditor/ckeditor5/issues/9108.
|
|||
|
*/
|
|||
|
& .image.ck-widget_selected {
|
|||
|
z-index: 1;
|
|||
|
}
|
|||
|
|
|||
|
& .image-inline.ck-widget_selected {
|
|||
|
z-index: 1;
|
|||
|
|
|||
|
/*
|
|||
|
* Make sure the native browser selection style is not displayed.
|
|||
|
* Inline image widgets have their own styles for the selected state and
|
|||
|
* leaving this up to the browser is asking for a visual collision.
|
|||
|
*/
|
|||
|
& ::selection {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* The inline image nested in the table should have its original size if not resized.
|
|||
|
See https://github.com/ckeditor/ckeditor5/issues/9117. */
|
|||
|
& td,
|
|||
|
& th {
|
|||
|
& .image-inline img {
|
|||
|
max-width: none;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},2640:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,":root{--ck-color-image-caption-background:#f7f7f7;--ck-color-image-caption-text:#333;--ck-color-image-caption-highligted-background:#fd0}.ck-content .image>figcaption{background-color:var(--ck-color-image-caption-background);caption-side:bottom;color:var(--ck-color-image-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;word-break:break-word}.ck.ck-editor__editable .image>figcaption.image__caption_highlighted{animation:ck-image-caption-highlight .6s ease-out}@keyframes ck-image-caption-highlight{0%{background-color:var(--ck-color-image-caption-highligted-background)}to{background-color:var(--ck-color-image-caption-background)}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imagecaption.css"],names:[],mappings:"AAKA,MACC,2CAAoD,CACpD,kCAA8C,CAC9C,mDACD,CAGA,8BAKC,yDAA0D,CAH1D,mBAAoB,CAEpB,wCAAyC,CAHzC,qBAAsB,CAMtB,eAAgB,CAChB,mBAAoB,CAFpB,YAAa,CAHb,qBAMD,CAGA,qEACC,iDACD,CAEA,sCACC,GACC,oEACD,CAEA,GACC,yDACD,CACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-color-image-caption-background: hsl(0, 0%, 97%);
|
|||
|
--ck-color-image-caption-text: hsl(0, 0%, 20%);
|
|||
|
--ck-color-image-caption-highligted-background: hsl(52deg 100% 50%);
|
|||
|
}
|
|||
|
|
|||
|
/* Content styles */
|
|||
|
.ck-content .image > figcaption {
|
|||
|
display: table-caption;
|
|||
|
caption-side: bottom;
|
|||
|
word-break: break-word;
|
|||
|
color: var(--ck-color-image-caption-text);
|
|||
|
background-color: var(--ck-color-image-caption-background);
|
|||
|
padding: .6em;
|
|||
|
font-size: .75em;
|
|||
|
outline-offset: -1px;
|
|||
|
}
|
|||
|
|
|||
|
/* Editing styles */
|
|||
|
.ck.ck-editor__editable .image > figcaption.image__caption_highlighted {
|
|||
|
animation: ck-image-caption-highlight .6s ease-out;
|
|||
|
}
|
|||
|
|
|||
|
@keyframes ck-image-caption-highlight {
|
|||
|
0% {
|
|||
|
background-color: var(--ck-color-image-caption-highligted-background);
|
|||
|
}
|
|||
|
|
|||
|
100% {
|
|||
|
background-color: var(--ck-color-image-caption-background);
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},5083:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,":root{--ck-image-style-spacing:1.5em;--ck-inline-image-style-spacing:calc(var(--ck-image-style-spacing)/2)}.ck-content .image-style-block-align-left,.ck-content .image-style-block-align-right{max-width:calc(100% - var(--ck-image-style-spacing))}.ck-content .image-style-align-left,.ck-content .image-style-align-right{clear:none}.ck-content .image-style-side{float:right;margin-left:var(--ck-image-style-spacing);max-width:50%}.ck-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.ck-content .image-style-align-center{margin-left:auto;margin-right:auto}.ck-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}.ck-content .image-style-block-align-right{margin-left:auto;margin-right:0}.ck-content .image-style-block-align-left{margin-left:0;margin-right:auto}.ck-content p+.image-style-align-left,.ck-content p+.image-style-align-right,.ck-content p+.image-style-side{margin-top:0}.ck-content .image-inline.image-style-align-left,.ck-content .image-inline.image-style-align-right{margin-bottom:var(--ck-inline-image-style-spacing);margin-top:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-left{margin-right:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-right{margin-left:var(--ck-inline-image-style-spacing)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-background)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after{display:none}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-hover-background)}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imagestyle.css"],names:[],mappings:"AAKA,MACC,8BAA+B,CAC/B,qEACD,CAMC,qFAEC,oDACD,CAIA,yEAEC,UACD,CAEA,8BACC,WAAY,CACZ,yCAA0C,CAC1C,aACD,CAEA,oCACC,UAAW,CACX,0CACD,CAEA,sCACC,gBAAiB,CACjB,iBACD,CAEA,qCACC,WAAY,CACZ,yCACD,CAEA,2CAEC,gBAAiB,CADjB,cAED,CAEA,0CACC,aAAc,CACd,iBACD,CAGA,6GAGC,YACD,CAGC,mGAGC,kDAAmD,CADnD,+CAED,CAEA,iDACC,iDACD,CAEA,kDACC,gDACD,CAUC,0lBAGC,qDAKD,CAHC,8nBACC,YACD,CAKD,oVAGC,2DACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-image-style-spacing: 1.5em;
|
|||
|
--ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2);
|
|||
|
}
|
|||
|
|
|||
|
.ck-content {
|
|||
|
/* Provides a minimal side margin for the left and right aligned images, so that the user has a visual feedback
|
|||
|
confirming successful application of the style if image width exceeds the editor's size.
|
|||
|
See https://github.com/ckeditor/ckeditor5/issues/9342 */
|
|||
|
& .image-style-block-align-left,
|
|||
|
& .image-style-block-align-right {
|
|||
|
max-width: calc(100% - var(--ck-image-style-spacing));
|
|||
|
}
|
|||
|
|
|||
|
/* Allows displaying multiple floating images in the same line.
|
|||
|
See https://github.com/ckeditor/ckeditor5/issues/9183#issuecomment-804988132 */
|
|||
|
& .image-style-align-left,
|
|||
|
& .image-style-align-right {
|
|||
|
clear: none;
|
|||
|
}
|
|||
|
|
|||
|
& .image-style-side {
|
|||
|
float: right;
|
|||
|
margin-left: var(--ck-image-style-spacing);
|
|||
|
max-width: 50%;
|
|||
|
}
|
|||
|
|
|||
|
& .image-style-align-left {
|
|||
|
float: left;
|
|||
|
margin-right: var(--ck-image-style-spacing);
|
|||
|
}
|
|||
|
|
|||
|
& .image-style-align-center {
|
|||
|
margin-left: auto;
|
|||
|
margin-right: auto;
|
|||
|
}
|
|||
|
|
|||
|
& .image-style-align-right {
|
|||
|
float: right;
|
|||
|
margin-left: var(--ck-image-style-spacing);
|
|||
|
}
|
|||
|
|
|||
|
& .image-style-block-align-right {
|
|||
|
margin-right: 0;
|
|||
|
margin-left: auto;
|
|||
|
}
|
|||
|
|
|||
|
& .image-style-block-align-left {
|
|||
|
margin-left: 0;
|
|||
|
margin-right: auto;
|
|||
|
}
|
|||
|
|
|||
|
/* Simulates margin collapsing with the preceding paragraph, which does not work for the floating elements. */
|
|||
|
& p + .image-style-align-left,
|
|||
|
& p + .image-style-align-right,
|
|||
|
& p + .image-style-side {
|
|||
|
margin-top: 0;
|
|||
|
}
|
|||
|
|
|||
|
& .image-inline {
|
|||
|
&.image-style-align-left,
|
|||
|
&.image-style-align-right {
|
|||
|
margin-top: var(--ck-inline-image-style-spacing);
|
|||
|
margin-bottom: var(--ck-inline-image-style-spacing);
|
|||
|
}
|
|||
|
|
|||
|
&.image-style-align-left {
|
|||
|
margin-right: var(--ck-inline-image-style-spacing);
|
|||
|
}
|
|||
|
|
|||
|
&.image-style-align-right {
|
|||
|
margin-left: var(--ck-inline-image-style-spacing);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-splitbutton {
|
|||
|
/* The button should display as a regular drop-down if the action button
|
|||
|
is forced to fire the same action as the arrow button. */
|
|||
|
&.ck-splitbutton_flatten {
|
|||
|
&:hover,
|
|||
|
&.ck-splitbutton_open {
|
|||
|
& > .ck-splitbutton__action:not(.ck-disabled),
|
|||
|
& > .ck-splitbutton__arrow:not(.ck-disabled),
|
|||
|
& > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {
|
|||
|
background-color: var(--ck-color-button-on-background);
|
|||
|
|
|||
|
&::after {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-splitbutton_open:hover {
|
|||
|
& > .ck-splitbutton__action:not(.ck-disabled),
|
|||
|
& > .ck-splitbutton__arrow:not(.ck-disabled),
|
|||
|
& > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {
|
|||
|
background-color: var(--ck-color-button-on-hover-background);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},4036:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,'.ck-image-upload-complete-icon{border-radius:50%;display:block;position:absolute;right:min(var(--ck-spacing-medium),6%);top:min(var(--ck-spacing-medium),6%);z-index:1}.ck-image-upload-complete-icon:after{content:"";position:absolute}:root{--ck-color-image-upload-icon:#fff;--ck-color-image-upload-icon-background:#008a00;--ck-image-upload-icon-size:20;--ck-image-upload-icon-width:2px;--ck-image-upload-icon-is-visible:clamp(0px,100% - 50px,1px)}.ck-image-upload-complete-icon{animation-delay:0ms,3s;animation-duration:.5s,.5s;animation-fill-mode:forwards,forwards;animation-name:ck-upload-complete-icon-show,ck-upload-complete-icon-hide;background:var(--ck-color-image-upload-icon-background);font-size:calc(1px*var(--ck-image-upload-icon-size));height:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size));opacity:0;overflow:hidden;width:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size))}.ck-image-upload-complete-icon:after{animation-delay:.5s;animation-duration:.5s;animation-fill-mode:forwards;animation-name:ck-upload-complete-icon-check;border-right:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);border-top:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);box-sizing:border-box;height:0;left:25%;opacity:0;top:50%;transform:scaleX(-1) rotate(135deg);transform-origin:left top;width:0}@keyframes ck-upload-complete-icon-show{0%{opacity:0}to{opacity:1}}@keyframes ck-upload-complete-icon-hide{0%{opacity:1}to{opacity:0}}@keyframes ck-upload-complete-icon-check{0%{height:0;opacity:1;width:0}33%{height:0;width:.3em}to{height:.45em;opacity:1;width:.3em}}',"",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadicon.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadicon.css"],names:[],mappings:"AAKA,+BAUC,iBAAkB,CATlB,aAAc,CACd,iBAAkB,CAOlB,sCAAwC,CADxC,oCAAsC,CAGtC,SAMD,CAJC,qCACC,UAAW,CACX,iBACD,CChBD,MACC,iCAA8C,CAC9C,+CAA4D,CAG5D,8BAA+B,CAC/B,gCAAiC,CACjC,4DACD,CAEA,+BAWC,sBAA4B,CAN5B,0BAAgC,CADhC,qCAAuC,CADvC,wEAA0E,CAD1E,uDAAwD,CAMxD,oDAAuD,CAWvD,oFAAuF,CAlBvF,SAAU,CAgBV,eAAgB,CAChB,mFA0BD,CAtBC,qCAgBC,mBAAsB,CADtB,sBAAyB,CAEzB,4BAA6B,CAH7B,4CAA6C,CAF7C,sFAAuF,CADvF,oFAAqF,CASrF,qBAAsB,CAdtB,QAAS,CAJT,QAAS,CAGT,SAAU,CADV,OAAQ,CAKR,mCAAoC,CACpC,yBAA0B,CAH1B,OAcD,CAGD,wCACC,GACC,SACD,CAEA,GACC,SACD,CACD,CAEA,wCACC,GACC,SACD,CAEA,GACC,SACD,CACD,CAEA,yCACC,GAGC,QAAS,CAFT,SAAU,CACV,OAED,CACA,IAEC,QAAS,CADT,UAED,CACA,GAGC,YAAc,CAFd,SAAU,CACV,UAED,CACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck-image-upload-complete-icon {
|
|||
|
display: block;
|
|||
|
position: absolute;
|
|||
|
|
|||
|
/*
|
|||
|
* Smaller images should have the icon closer to the border.
|
|||
|
* Match the icon position with the linked image indicator brought by the link image feature.
|
|||
|
*/
|
|||
|
top: min(var(--ck-spacing-medium), 6%);
|
|||
|
right: min(var(--ck-spacing-medium), 6%);
|
|||
|
border-radius: 50%;
|
|||
|
z-index: 1;
|
|||
|
|
|||
|
&::after {
|
|||
|
content: "";
|
|||
|
position: absolute;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-color-image-upload-icon: hsl(0, 0%, 100%);
|
|||
|
--ck-color-image-upload-icon-background: hsl(120, 100%, 27%);
|
|||
|
|
|||
|
/* Match the icon size with the linked image indicator brought by the link image feature. */
|
|||
|
--ck-image-upload-icon-size: 20;
|
|||
|
--ck-image-upload-icon-width: 2px;
|
|||
|
--ck-image-upload-icon-is-visible: clamp(0px, 100% - 50px, 1px);
|
|||
|
}
|
|||
|
|
|||
|
.ck-image-upload-complete-icon {
|
|||
|
opacity: 0;
|
|||
|
background: var(--ck-color-image-upload-icon-background);
|
|||
|
animation-name: ck-upload-complete-icon-show, ck-upload-complete-icon-hide;
|
|||
|
animation-fill-mode: forwards, forwards;
|
|||
|
animation-duration: 500ms, 500ms;
|
|||
|
|
|||
|
/* To make animation scalable. */
|
|||
|
font-size: calc(1px * var(--ck-image-upload-icon-size));
|
|||
|
|
|||
|
/* Hide completed upload icon after 3 seconds. */
|
|||
|
animation-delay: 0ms, 3000ms;
|
|||
|
|
|||
|
/*
|
|||
|
* Use CSS math to simulate container queries.
|
|||
|
* https://css-tricks.com/the-raven-technique-one-step-closer-to-container-queries/#what-about-showing-and-hiding-things
|
|||
|
*/
|
|||
|
overflow: hidden;
|
|||
|
width: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));
|
|||
|
height: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));
|
|||
|
|
|||
|
/* This is check icon element made from border-width mixed with animations. */
|
|||
|
&::after {
|
|||
|
/* Because of border transformation we need to "hard code" left position. */
|
|||
|
left: 25%;
|
|||
|
|
|||
|
top: 50%;
|
|||
|
opacity: 0;
|
|||
|
height: 0;
|
|||
|
width: 0;
|
|||
|
|
|||
|
transform: scaleX(-1) rotate(135deg);
|
|||
|
transform-origin: left top;
|
|||
|
border-top: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);
|
|||
|
border-right: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);
|
|||
|
|
|||
|
animation-name: ck-upload-complete-icon-check;
|
|||
|
animation-duration: 500ms;
|
|||
|
animation-delay: 500ms;
|
|||
|
animation-fill-mode: forwards;
|
|||
|
|
|||
|
/* #1095. While reset is not providing proper box-sizing for pseudoelements, we need to handle it. */
|
|||
|
box-sizing: border-box;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@keyframes ck-upload-complete-icon-show {
|
|||
|
from {
|
|||
|
opacity: 0;
|
|||
|
}
|
|||
|
|
|||
|
to {
|
|||
|
opacity: 1;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@keyframes ck-upload-complete-icon-hide {
|
|||
|
from {
|
|||
|
opacity: 1;
|
|||
|
}
|
|||
|
|
|||
|
to {
|
|||
|
opacity: 0;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@keyframes ck-upload-complete-icon-check {
|
|||
|
0% {
|
|||
|
opacity: 1;
|
|||
|
width: 0;
|
|||
|
height: 0;
|
|||
|
}
|
|||
|
33% {
|
|||
|
width: 0.3em;
|
|||
|
height: 0;
|
|||
|
}
|
|||
|
100% {
|
|||
|
opacity: 1;
|
|||
|
width: 0.3em;
|
|||
|
height: 0.45em;
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},3773:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,'.ck .ck-upload-placeholder-loader{align-items:center;display:flex;justify-content:center;left:0;position:absolute;top:0}.ck .ck-upload-placeholder-loader:before{content:"";position:relative}:root{--ck-color-upload-placeholder-loader:#b3b3b3;--ck-upload-placeholder-loader-size:32px;--ck-upload-placeholder-image-aspect-ratio:2.8}.ck .ck-image-upload-placeholder{margin:0;width:100%}.ck .ck-image-upload-placeholder.image-inline{width:calc(var(--ck-upload-placeholder-loader-size)*2*var(--ck-upload-placeholder-image-aspect-ratio))}.ck .ck-image-upload-placeholder img{aspect-ratio:var(--ck-upload-placeholder-image-aspect-ratio)}.ck .ck-upload-placeholder-loader{height:100%;width:100%}.ck .ck-upload-placeholder-loader:before{animation:ck-upload-placeholder-loader 1s linear infinite;border-radius:50%;border-right:2px solid transparent;border-top:3px solid var(--ck-color-upload-placeholder-loader);height:var(--ck-upload-placeholder-loader-size);width:var(--ck-upload-placeholder-loader-size)}@keyframes ck-upload-placeholder-loader{to{transform:rotate(1turn)}}',"",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadloader.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadloader.css"],names:[],mappings:"AAKA,kCAGC,kBAAmB,CADnB,YAAa,CAEb,sBAAuB,CAEvB,MAAO,CALP,iBAAkB,CAIlB,KAOD,CAJC,yCACC,UAAW,CACX,iBACD,CCXD,MACC,4CAAqD,CACrD,wCAAyC,CACzC,8CACD,CAEA,iCAGC,QAAS,CADT,UAgBD,CAbC,8CACC,sGACD,CAEA,qCAOC,4DACD,CAGD,kCAEC,WAAY,CADZ,UAWD,CARC,yCAMC,yDAA0D,CAH1D,iBAAkB,CAElB,kCAAmC,CADnC,8DAA+D,CAF/D,+CAAgD,CADhD,8CAMD,CAGD,wCACC,GACC,uBACD,CACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck .ck-upload-placeholder-loader {
|
|||
|
position: absolute;
|
|||
|
display: flex;
|
|||
|
align-items: center;
|
|||
|
justify-content: center;
|
|||
|
top: 0;
|
|||
|
left: 0;
|
|||
|
|
|||
|
&::before {
|
|||
|
content: '';
|
|||
|
position: relative;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-color-upload-placeholder-loader: hsl(0, 0%, 70%);
|
|||
|
--ck-upload-placeholder-loader-size: 32px;
|
|||
|
--ck-upload-placeholder-image-aspect-ratio: 2.8;
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-image-upload-placeholder {
|
|||
|
/* We need to control the full width of the SVG gray background. */
|
|||
|
width: 100%;
|
|||
|
margin: 0;
|
|||
|
|
|||
|
&.image-inline {
|
|||
|
width: calc( 2 * var(--ck-upload-placeholder-loader-size) * var(--ck-upload-placeholder-image-aspect-ratio) );
|
|||
|
}
|
|||
|
|
|||
|
& img {
|
|||
|
/*
|
|||
|
* This is an arbitrary aspect for a 1x1 px GIF to display to the user. Not too tall, not too short.
|
|||
|
* There's nothing special about this number except that it should make the image placeholder look like
|
|||
|
* a real image during this short period after the upload started and before the image was read from the
|
|||
|
* file system (and a rich preview was loaded).
|
|||
|
*/
|
|||
|
aspect-ratio: var(--ck-upload-placeholder-image-aspect-ratio);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-upload-placeholder-loader {
|
|||
|
width: 100%;
|
|||
|
height: 100%;
|
|||
|
|
|||
|
&::before {
|
|||
|
width: var(--ck-upload-placeholder-loader-size);
|
|||
|
height: var(--ck-upload-placeholder-loader-size);
|
|||
|
border-radius: 50%;
|
|||
|
border-top: 3px solid var(--ck-color-upload-placeholder-loader);
|
|||
|
border-right: 2px solid transparent;
|
|||
|
animation: ck-upload-placeholder-loader 1s linear infinite;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@keyframes ck-upload-placeholder-loader {
|
|||
|
to {
|
|||
|
transform: rotate( 360deg );
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},3689:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-editor__editable .image,.ck.ck-editor__editable .image-inline{position:relative}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{left:0;position:absolute;top:0}.ck.ck-editor__editable .image-inline.ck-appear,.ck.ck-editor__editable .image.ck-appear{animation:fadeIn .7s}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{background:var(--ck-color-upload-bar-background);height:2px;transition:width .1s;width:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadprogress.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadprogress.css"],names:[],mappings:"AAMC,qEAEC,iBACD,CAGA,uGAIC,MAAO,CAFP,iBAAkB,CAClB,KAED,CCRC,yFACC,oBACD,CAID,uGAIC,gDAAiD,CAFjD,UAAW,CAGX,oBAAuB,CAFvB,OAGD,CAGD,kBACC,GAAO,SAAY,CACnB,GAAO,SAAY,CACpB",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-editor__editable {
|
|||
|
& .image,
|
|||
|
& .image-inline {
|
|||
|
position: relative;
|
|||
|
}
|
|||
|
|
|||
|
/* Upload progress bar. */
|
|||
|
& .image .ck-progress-bar,
|
|||
|
& .image-inline .ck-progress-bar {
|
|||
|
position: absolute;
|
|||
|
top: 0;
|
|||
|
left: 0;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-editor__editable {
|
|||
|
& .image,
|
|||
|
& .image-inline {
|
|||
|
/* Showing animation. */
|
|||
|
&.ck-appear {
|
|||
|
animation: fadeIn 700ms;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* Upload progress bar. */
|
|||
|
& .image .ck-progress-bar,
|
|||
|
& .image-inline .ck-progress-bar {
|
|||
|
height: 2px;
|
|||
|
width: 0;
|
|||
|
background: var(--ck-color-upload-bar-background);
|
|||
|
transition: width 100ms;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@keyframes fadeIn {
|
|||
|
from { opacity: 0; }
|
|||
|
to { opacity: 1; }
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},1905:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-text-alternative-form{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-text-alternative-form .ck-labeled-field-view{display:inline-block}.ck.ck-text-alternative-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-text-alternative-form{flex-wrap:wrap}.ck.ck-text-alternative-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-text-alternative-form .ck-button{flex-basis:50%}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/textalternativeform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css"],names:[],mappings:"AAOA,6BACC,YAAa,CACb,kBAAmB,CACnB,gBAqBD,CAnBC,oDACC,oBACD,CAEA,uCACC,YACD,CCZA,oCDCD,6BAcE,cAUF,CARE,oDACC,eACD,CAEA,wCACC,cACD,CCrBD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";
|
|||
|
|
|||
|
.ck.ck-text-alternative-form {
|
|||
|
display: flex;
|
|||
|
flex-direction: row;
|
|||
|
flex-wrap: nowrap;
|
|||
|
|
|||
|
& .ck-labeled-field-view {
|
|||
|
display: inline-block;
|
|||
|
}
|
|||
|
|
|||
|
& .ck-label {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-media-phone {
|
|||
|
flex-wrap: wrap;
|
|||
|
|
|||
|
& .ck-labeled-field-view {
|
|||
|
flex-basis: 100%;
|
|||
|
}
|
|||
|
|
|||
|
& .ck-button {
|
|||
|
flex-basis: 50%;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@define-mixin ck-media-phone {
|
|||
|
@media screen and (max-width: 600px) {
|
|||
|
@mixin-content;
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},9773:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck .ck-link_selected{background:var(--ck-color-link-selected-background)}.ck .ck-link_selected span.image-inline{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-link-selected-background)}.ck .ck-fake-link-selection{background:var(--ck-color-link-fake-selection)}.ck .ck-fake-link-selection_collapsed{border-right:1px solid var(--ck-color-base-text);height:100%;margin-right:-1px;outline:1px solid hsla(0,0%,100%,.5)}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/link.css"],names:[],mappings:"AAMA,sBACC,mDAMD,CAHC,wCACC,yFACD,CAOD,4BACC,8CACD,CAGA,sCAEC,gDAAiD,CADjD,WAAY,CAEZ,iBAAkB,CAClB,oCACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/* Class added to span element surrounding currently selected link. */
|
|||
|
.ck .ck-link_selected {
|
|||
|
background: var(--ck-color-link-selected-background);
|
|||
|
|
|||
|
/* Give linked inline images some outline to let the user know they are also part of the link. */
|
|||
|
& span.image-inline {
|
|||
|
outline: var(--ck-widget-outline-thickness) solid var(--ck-color-link-selected-background);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Classes used by the "fake visual selection" displayed in the content when an input
|
|||
|
* in the link UI has focus (the browser does not render the native selection in this state).
|
|||
|
*/
|
|||
|
.ck .ck-fake-link-selection {
|
|||
|
background: var(--ck-color-link-fake-selection);
|
|||
|
}
|
|||
|
|
|||
|
/* A collapsed fake visual selection. */
|
|||
|
.ck .ck-fake-link-selection_collapsed {
|
|||
|
height: 100%;
|
|||
|
border-right: 1px solid var(--ck-color-base-text);
|
|||
|
margin-right: -1px;
|
|||
|
outline: solid 1px hsla(0, 0%, 100%, .5);
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},2347:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-link-actions{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-link-actions .ck-link-actions__preview{display:inline-block}.ck.ck-link-actions .ck-link-actions__preview .ck-button__label{overflow:hidden}@media screen and (max-width:600px){.ck.ck-link-actions{flex-wrap:wrap}.ck.ck-link-actions .ck-link-actions__preview{flex-basis:100%}.ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){flex-basis:50%}}.ck.ck-link-actions .ck-button.ck-link-actions__preview{padding-left:0;padding-right:0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{color:var(--ck-color-link-default);cursor:pointer;max-width:var(--ck-input-width);min-width:3em;padding:0 var(--ck-spacing-medium);text-align:center;text-overflow:ellipsis}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label:hover{text-decoration:underline}.ck.ck-link-actions .ck-button.ck-link-actions__preview,.ck.ck-link-actions .ck-button.ck-link-actions__preview:active,.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus,.ck.ck-link-actions .ck-button.ck-link-actions__preview:hover{background:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:active{box-shadow:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus .ck-button__label{text-decoration:underline}[dir=ltr] .ck.ck-link-actions .ck-button:not(:first-child),[dir=rtl] .ck.ck-link-actions .ck-button:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-link-actions .ck-button.ck-link-actions__preview{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{max-width:100%;min-width:0}[dir=ltr] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview),[dir=rtl] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){margin-left:0}}","",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkactions.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkactions.css"],names:[],mappings:"AAOA,oBACC,YAAa,CACb,kBAAmB,CACnB,gBAqBD,CAnBC,8CACC,oBAKD,CAHC,gEACC,eACD,CCXD,oCDCD,oBAcE,cAUF,CARE,8CACC,eACD,CAEA,8DACC,cACD,CCrBD,CCIA,wDACC,cAAe,CACf,eAmCD,CAjCC,0EAEC,kCAAmC,CAEnC,cAAe,CAIf,+BAAgC,CAChC,aAAc,CARd,kCAAmC,CASnC,iBAAkB,CAPlB,sBAYD,CAHC,gFACC,yBACD,CAGD,mPAIC,eACD,CAEA,+DACC,eACD,CAGC,gFACC,yBACD,CAWD,qHACC,sCACD,CDtDD,oCC0DC,wDACC,8DAMD,CAJC,0EAEC,cAAe,CADf,WAED,CAGD,gJAME,aAEF,CDzED",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";
|
|||
|
|
|||
|
.ck.ck-link-actions {
|
|||
|
display: flex;
|
|||
|
flex-direction: row;
|
|||
|
flex-wrap: nowrap;
|
|||
|
|
|||
|
& .ck-link-actions__preview {
|
|||
|
display: inline-block;
|
|||
|
|
|||
|
& .ck-button__label {
|
|||
|
overflow: hidden;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-media-phone {
|
|||
|
flex-wrap: wrap;
|
|||
|
|
|||
|
& .ck-link-actions__preview {
|
|||
|
flex-basis: 100%;
|
|||
|
}
|
|||
|
|
|||
|
& .ck-button:not(.ck-link-actions__preview) {
|
|||
|
flex-basis: 50%;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@define-mixin ck-media-phone {
|
|||
|
@media screen and (max-width: 600px) {
|
|||
|
@mixin-content;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_unselectable.css";
|
|||
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
|||
|
@import "../mixins/_focus.css";
|
|||
|
@import "../mixins/_shadow.css";
|
|||
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";
|
|||
|
|
|||
|
.ck.ck-link-actions {
|
|||
|
& .ck-button.ck-link-actions__preview {
|
|||
|
padding-left: 0;
|
|||
|
padding-right: 0;
|
|||
|
|
|||
|
& .ck-button__label {
|
|||
|
padding: 0 var(--ck-spacing-medium);
|
|||
|
color: var(--ck-color-link-default);
|
|||
|
text-overflow: ellipsis;
|
|||
|
cursor: pointer;
|
|||
|
|
|||
|
/* Match the box model of the link editor form's input so the balloon
|
|||
|
does not change width when moving between actions and the form. */
|
|||
|
max-width: var(--ck-input-width);
|
|||
|
min-width: 3em;
|
|||
|
text-align: center;
|
|||
|
|
|||
|
&:hover {
|
|||
|
text-decoration: underline;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&,
|
|||
|
&:hover,
|
|||
|
&:focus,
|
|||
|
&:active {
|
|||
|
background: none;
|
|||
|
}
|
|||
|
|
|||
|
&:active {
|
|||
|
box-shadow: none;
|
|||
|
}
|
|||
|
|
|||
|
&:focus {
|
|||
|
& .ck-button__label {
|
|||
|
text-decoration: underline;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir ltr {
|
|||
|
& .ck-button:not(:first-child) {
|
|||
|
margin-left: var(--ck-spacing-standard);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir rtl {
|
|||
|
& .ck-button:not(:last-child) {
|
|||
|
margin-left: var(--ck-spacing-standard);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-media-phone {
|
|||
|
& .ck-button.ck-link-actions__preview {
|
|||
|
margin: var(--ck-spacing-standard) var(--ck-spacing-standard) 0;
|
|||
|
|
|||
|
& .ck-button__label {
|
|||
|
min-width: 0;
|
|||
|
max-width: 100%;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
& .ck-button:not(.ck-link-actions__preview) {
|
|||
|
@mixin ck-dir ltr {
|
|||
|
margin-left: 0;
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir rtl {
|
|||
|
margin-left: 0;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},7754:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-link-form{display:flex}.ck.ck-link-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-link-form{flex-wrap:wrap}.ck.ck-link-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-link-form .ck-button{flex-basis:50%}}.ck.ck-link-form_layout-vertical{display:block}.ck.ck-link-form_layout-vertical .ck-button.ck-button-cancel,.ck.ck-link-form_layout-vertical .ck-button.ck-button-save{margin-top:var(--ck-spacing-medium)}.ck.ck-link-form_layout-vertical{min-width:var(--ck-input-width);padding:0}.ck.ck-link-form_layout-vertical .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small)}.ck.ck-link-form_layout-vertical .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-link-form_layout-vertical>.ck-button{border-radius:0;margin:0;padding:var(--ck-spacing-standard);width:50%}.ck.ck-link-form_layout-vertical>.ck-button:not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-link-form_layout-vertical>.ck-button,[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button{margin-left:0}[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}.ck.ck-link-form_layout-vertical .ck.ck-list{margin:var(--ck-spacing-standard) var(--ck-spacing-large)}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton{padding:0;width:100%}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton:hover{background:none}","",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkform.css"],names:[],mappings:"AAOA,iBACC,YAiBD,CAfC,2BACC,YACD,CCNA,oCDCD,iBAQE,cAUF,CARE,wCACC,eACD,CAEA,4BACC,cACD,CCfD,CDuBD,iCACC,aAYD,CALE,wHAEC,mCACD,CE/BF,iCAEC,+BAAgC,CADhC,SAgDD,CA7CC,wDACC,8EAMD,CAJC,uEACC,WAAY,CACZ,UACD,CAGD,4CAIC,eAAgB,CAFhB,QAAS,CADT,kCAAmC,CAEnC,SAkBD,CAfC,wDACC,gDACD,CARD,4GAeE,aAMF,CAJE,mEACC,kDACD,CAKF,6CACC,yDAUD,CARC,wEACC,SAAU,CACV,UAKD,CAHC,8EACC,eACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";
|
|||
|
|
|||
|
.ck.ck-link-form {
|
|||
|
display: flex;
|
|||
|
|
|||
|
& .ck-label {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-media-phone {
|
|||
|
flex-wrap: wrap;
|
|||
|
|
|||
|
& .ck-labeled-field-view {
|
|||
|
flex-basis: 100%;
|
|||
|
}
|
|||
|
|
|||
|
& .ck-button {
|
|||
|
flex-basis: 50%;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Style link form differently when manual decorators are available.
|
|||
|
* See: https://github.com/ckeditor/ckeditor5-link/issues/186.
|
|||
|
*/
|
|||
|
.ck.ck-link-form_layout-vertical {
|
|||
|
display: block;
|
|||
|
|
|||
|
/*
|
|||
|
* Whether the form is in the responsive mode or not, if there are decorator buttons
|
|||
|
* keep the top margin of action buttons medium.
|
|||
|
*/
|
|||
|
& .ck-button {
|
|||
|
&.ck-button-save,
|
|||
|
&.ck-button-cancel {
|
|||
|
margin-top: var(--ck-spacing-medium);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@define-mixin ck-media-phone {
|
|||
|
@media screen and (max-width: 600px) {
|
|||
|
@mixin-content;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
|||
|
|
|||
|
/*
|
|||
|
* Style link form differently when manual decorators are available.
|
|||
|
* See: https://github.com/ckeditor/ckeditor5-link/issues/186.
|
|||
|
*/
|
|||
|
.ck.ck-link-form_layout-vertical {
|
|||
|
padding: 0;
|
|||
|
min-width: var(--ck-input-width);
|
|||
|
|
|||
|
& .ck-labeled-field-view {
|
|||
|
margin: var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small);
|
|||
|
|
|||
|
& .ck-input-text {
|
|||
|
min-width: 0;
|
|||
|
width: 100%;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
& > .ck-button {
|
|||
|
padding: var(--ck-spacing-standard);
|
|||
|
margin: 0;
|
|||
|
width: 50%;
|
|||
|
border-radius: 0;
|
|||
|
|
|||
|
&:not(:focus) {
|
|||
|
border-top: 1px solid var(--ck-color-base-border);
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir ltr {
|
|||
|
margin-left: 0;
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir rtl {
|
|||
|
margin-left: 0;
|
|||
|
|
|||
|
&:last-of-type {
|
|||
|
border-right: 1px solid var(--ck-color-base-border);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* Using additional \`.ck\` class for stronger CSS specificity than \`.ck.ck-link-form > :not(:first-child)\`. */
|
|||
|
& .ck.ck-list {
|
|||
|
margin: var(--ck-spacing-standard) var(--ck-spacing-large);
|
|||
|
|
|||
|
& .ck-button.ck-switchbutton {
|
|||
|
padding: 0;
|
|||
|
width: 100%;
|
|||
|
|
|||
|
&:hover {
|
|||
|
background: none;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},4564:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck-content ol{list-style-type:decimal}.ck-content ol ol{list-style-type:lower-latin}.ck-content ol ol ol{list-style-type:lower-roman}.ck-content ol ol ol ol{list-style-type:upper-latin}.ck-content ol ol ol ol ol{list-style-type:upper-roman}.ck-content ul{list-style-type:disc}.ck-content ul ul{list-style-type:circle}.ck-content ul ul ul,.ck-content ul ul ul ul{list-style-type:square}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/list.css"],names:[],mappings:"AAKA,eACC,uBAiBD,CAfC,kBACC,2BAaD,CAXC,qBACC,2BASD,CAPC,wBACC,2BAKD,CAHC,2BACC,2BACD,CAMJ,eACC,oBAaD,CAXC,kBACC,sBASD,CAJE,6CACC,sBACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck-content ol {
|
|||
|
list-style-type: decimal;
|
|||
|
|
|||
|
& ol {
|
|||
|
list-style-type: lower-latin;
|
|||
|
|
|||
|
& ol {
|
|||
|
list-style-type: lower-roman;
|
|||
|
|
|||
|
& ol {
|
|||
|
list-style-type: upper-latin;
|
|||
|
|
|||
|
& ol {
|
|||
|
list-style-type: upper-roman;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
.ck-content ul {
|
|||
|
list-style-type: disc;
|
|||
|
|
|||
|
& ul {
|
|||
|
list-style-type: circle;
|
|||
|
|
|||
|
& ul {
|
|||
|
list-style-type: square;
|
|||
|
|
|||
|
& ul {
|
|||
|
list-style-type: square;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},4652:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck-content .media{clear:both;display:block;margin:.9em 0;min-width:15em}","",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaembed.css"],names:[],mappings:"AAKA,mBAGC,UAAW,CASX,aAAc,CAJd,aAAe,CAQf,cACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck-content .media {
|
|||
|
/* Don't allow floated content overlap the media.
|
|||
|
https://github.com/ckeditor/ckeditor5-media-embed/issues/53 */
|
|||
|
clear: both;
|
|||
|
|
|||
|
/* Make sure there is some space between the content and the media. */
|
|||
|
/* The first value should be equal to --ck-spacing-large variable if used in the editor context
|
|||
|
to avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */
|
|||
|
margin: 0.9em 0;
|
|||
|
|
|||
|
/* Make sure media is not overriden with Bootstrap default \`flex\` value.
|
|||
|
See: https://github.com/ckeditor/ckeditor5/issues/1373. */
|
|||
|
display: block;
|
|||
|
|
|||
|
/* Give the media some minimal width in the content to prevent them
|
|||
|
from being "squashed" in tight spaces, e.g. in table cells (#44) */
|
|||
|
min-width: 15em;
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},7442:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,'.ck-media__wrapper .ck-media__placeholder{align-items:center;display:flex;flex-direction:column}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url{max-width:100%;position:relative}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-media__placeholder__url__text{display:block;overflow:hidden}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck-media__placeholder__icon *{display:none}.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper>:not(.ck-media__placeholder),.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder{pointer-events:none}:root{--ck-media-embed-placeholder-icon-size:3em;--ck-color-media-embed-placeholder-url-text:#757575;--ck-color-media-embed-placeholder-url-text-hover:var(--ck-color-base-text)}.ck-media__wrapper{margin:0 auto}.ck-media__wrapper .ck-media__placeholder{background:var(--ck-color-base-foreground);padding:calc(var(--ck-spacing-standard)*3)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon{background-position:50%;background-size:cover;height:var(--ck-media-embed-placeholder-icon-size);margin-bottom:var(--ck-spacing-large);min-width:var(--ck-media-embed-placeholder-icon-size)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon .ck-icon{height:100%;width:100%}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text{color:var(--ck-color-media-embed-placeholder-url-text);font-style:italic;text-align:center;text-overflow:ellipsis;white-space:nowrap}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:var(--ck-color-media-embed-placeholder-url-text-hover);cursor:pointer;text-decoration:underline}.ck-media__wrapper[data-oembed-url*="open.spotify.com"]{max-height:380px;max-width:300px}.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Im0yMDYuNDc3IDI2MC45LTI4Ljk4NyAyOC45ODdhNS4yMTggNS4yMTggMCAwIDAgMy43OCAxLjYxaDQ5LjYyMWMxLjY5NCAwIDMuMTktLjc5OCA0LjE0Ni0yLjAzN3oiIGZpbGw9IiM1Yzg4YzUiLz48cGF0aCBkPSJNMjI2Ljc0MiAyMjIuOTg4Yy05LjI2NiAwLTE2Ljc3NyA3LjE3LTE2Ljc3NyAxNi4wMTQuMDA3IDIuNzYyLjY2MyA1LjQ3NCAyLjA5MyA3Ljg3NS40My43MDMuODMgMS40MDggMS4xOSAyLjEwNy4zMzMuNTAyLjY1IDEuMDA1Ljk1IDEuNTA4LjM0My40NzcuNjczLjk1Ny45ODggMS40NCAxLjMxIDEuNzY5IDIuNSAzLjUwMiAzLjYzNyA1LjE2OC43OTMgMS4yNzUgMS42ODMgMi42NCAyLjQ2NiAzLjk5IDIuMzYzIDQuMDk0IDQuMDA3IDguMDkyIDQuNiAxMy45MTR2LjAxMmMuMTgyLjQxMi41MTYuNjY2Ljg3OS42NjcuNDAzLS4wMDEuNzY4LS4zMTQuOTMtLjc5OS42MDMtNS43NTYgMi4yMzgtOS43MjkgNC41ODUtMTMuNzk0Ljc4Mi0xLjM1IDEuNjczLTIuNzE1IDIuNDY1LTMuOTkgMS4xMzctMS42NjYgMi4zMjgtMy40IDMuNjM4LTUuMTY5LjMxNS0uNDgyLjY0NS0uOTYyLjk4OC0xLjQzOS4zLS41MDMuNjE3LTEuMDA2Ljk1LTEuNTA4LjM1OS0uNy43Ni0xLjQwNCAxLjE5LTIuMTA3IDEuNDI2LTIuNDAyIDItNS4xMTQgMi4wMDQtN
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck-media__wrapper {
|
|||
|
& .ck-media__placeholder {
|
|||
|
display: flex;
|
|||
|
flex-direction: column;
|
|||
|
align-items: center;
|
|||
|
|
|||
|
& .ck-media__placeholder__url {
|
|||
|
/* Otherwise the URL will overflow when the content is very narrow. */
|
|||
|
max-width: 100%;
|
|||
|
|
|||
|
position: relative;
|
|||
|
|
|||
|
& .ck-media__placeholder__url__text {
|
|||
|
overflow: hidden;
|
|||
|
display: block;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&[data-oembed-url*="twitter.com"],
|
|||
|
&[data-oembed-url*="google.com/maps"],
|
|||
|
&[data-oembed-url*="goo.gl/maps"],
|
|||
|
&[data-oembed-url*="maps.google.com"],
|
|||
|
&[data-oembed-url*="maps.app.goo.gl"],
|
|||
|
&[data-oembed-url*="facebook.com"],
|
|||
|
&[data-oembed-url*="instagram.com"] {
|
|||
|
& .ck-media__placeholder__icon * {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* Disable all mouse interaction as long as the editor is not read–only.
|
|||
|
https://github.com/ckeditor/ckeditor5-media-embed/issues/58 */
|
|||
|
.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper > *:not(.ck-media__placeholder) {
|
|||
|
pointer-events: none;
|
|||
|
}
|
|||
|
|
|||
|
/* Disable all mouse interaction when the widget is not selected (e.g. to avoid opening links by accident).
|
|||
|
https://github.com/ckeditor/ckeditor5-media-embed/issues/18 */
|
|||
|
.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder {
|
|||
|
pointer-events: none;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-media-embed-placeholder-icon-size: 3em;
|
|||
|
|
|||
|
--ck-color-media-embed-placeholder-url-text: hsl(0, 0%, 46%);
|
|||
|
--ck-color-media-embed-placeholder-url-text-hover: var(--ck-color-base-text);
|
|||
|
}
|
|||
|
|
|||
|
.ck-media__wrapper {
|
|||
|
margin: 0 auto;
|
|||
|
|
|||
|
& .ck-media__placeholder {
|
|||
|
padding: calc( 3 * var(--ck-spacing-standard) );
|
|||
|
background: var(--ck-color-base-foreground);
|
|||
|
|
|||
|
& .ck-media__placeholder__icon {
|
|||
|
min-width: var(--ck-media-embed-placeholder-icon-size);
|
|||
|
height: var(--ck-media-embed-placeholder-icon-size);
|
|||
|
margin-bottom: var(--ck-spacing-large);
|
|||
|
background-position: center;
|
|||
|
background-size: cover;
|
|||
|
|
|||
|
& .ck-icon {
|
|||
|
width: 100%;
|
|||
|
height: 100%;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
& .ck-media__placeholder__url__text {
|
|||
|
color: var(--ck-color-media-embed-placeholder-url-text);
|
|||
|
white-space: nowrap;
|
|||
|
text-align: center;
|
|||
|
font-style: italic;
|
|||
|
text-overflow: ellipsis;
|
|||
|
|
|||
|
&:hover {
|
|||
|
color: var(--ck-color-media-embed-placeholder-url-text-hover);
|
|||
|
cursor: pointer;
|
|||
|
text-decoration: underline;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&[data-oembed-url*="open.spotify.com"] {
|
|||
|
max-width: 300px;
|
|||
|
max-height: 380px;
|
|||
|
}
|
|||
|
|
|||
|
&[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon,
|
|||
|
&[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon,
|
|||
|
&[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon,
|
|||
|
&[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon {
|
|||
|
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Ik0yMDYuNDc3IDI2MC45bC0yOC45ODcgMjguOTg3YTUuMjE4IDUuMjE4IDAgMCAwIDMuNzggMS42MWg0OS42MjFjMS42OTQgMCAzLjE5LS43OTggNC4xNDYtMi4wMzd6IiBmaWxsPSIjNWM4OGM1Ii8+PHBhdGggZD0iTTIyNi43NDIgMjIyLjk4OGMtOS4yNjYgMC0xNi43NzcgNy4xNy0xNi43NzcgMTYuMDE0LjAwNyAyLjc2Mi42NjMgNS40NzQgMi4wOTMgNy44NzUuNDMuNzAzLjgzIDEuNDA4IDEuMTkgMi4xMDcuMzMzLjUwMi42NSAxLjAwNS45NSAxLjUwOC4zNDMuNDc3LjY3My45NTcuOTg4IDEuNDQgMS4zMSAxLjc2OSAyLjUgMy41MDIgMy42MzcgNS4xNjguNzkzIDEuMjc1IDEuNjgzIDIuNjQgMi40NjYgMy45OSAyLjM2MyA0LjA5NCA0LjAwNyA4LjA5MiA0LjYgMTMuOTE0di4wMTJjLjE4Mi40MTIuNTE2LjY2Ni44NzkuNjY3LjQwMy0uMDAxLjc2OC0uMzE0LjkzLS43OTkuNjAzLTUuNzU2IDIuMjM4LTkuNzI5IDQuNTg1LTEzLjc5NC43ODItMS4zNSAxLjY3My0yLjcxNSAyLjQ2NS0zLjk5IDEuMTM3LTEuNjY2IDIuMzI4LTMuNCAzLjYzOC01LjE2OS4zMTUtLjQ4Mi42NDUtLjk2Mi45ODgtMS40MzkuMy0uNTAzLjYxNy0xLjAwNi45NS0xLjUwOC4zNTktLjcuNzYtMS40MDQgMS4xOS0yLjEwNyAxLjQyNi0yLjQwMiAyLTUuMTE0IDIuMDA0LTcuODc1IDAtOC44NDQtNy41MTEtMTYuMDE0LTE2Ljc3Ni0xNi4wMTR6IiBmaWxsPSIjZGQ0YjNlIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxlbGxpcHNlIHJ5PSI1LjU2NCIgcng9IjUuODI4IiBjeT0iMjM5LjAwMiIgY3g9IjIyNi43NDIiIGZpbGw9IiM4MDJkMjciIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0iTTE5MC4zMDEgMjM3LjI4M2MtNC42NyAwLTguNDU3IDMuODUzLTguNDU3IDguNjA2czMuNzg2IDguNjA3IDguNDU3IDguNjA3YzMuMDQzIDAgNC44MDYtLjk1OCA2LjMzNy0yLjUxNiAxLjUzLTEuNTU3IDIuMDg3LTMuOTEzIDIuMDg3LTYuMjkgMC0uMzYyLS4wMjMtLjcyMi0uMDY0LTEuMDc5aC04LjI1N3YzLjA0M2g0Ljg1Yy0uMTk3Ljc1OS0uNTMxIDEuNDUtMS4wNTggMS45ODYtLjk0Mi45NTgtMi4wMjggMS41NDgtMy45MDEgMS41NDgtMi44NzYgMC01LjIwOC0yLjM3Mi01LjIwOC01LjI5OSAwLTIuOTI2IDIuMzMyLTUuMjk5IDUuMjA4LTUuMjk5IDEuMzk5IDAgMi42MTguNDA3IDMuNTg0IDEuMjkzbDIuMzgxLTIuMzhjMC0uMDAyLS4wMDMtLjAwNC0uMDA0LS4wMDUtMS41ODgtMS41MjQtMy42Mi0yLjIxNS01Ljk1NS0yLjIxNXptNC40MyA1LjY2bC4wMDMuMDA2di0uMDAzeiIgZmlsbD0iI2ZmZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMjE1LjE4NCAyNTEuOTI5bC03Ljk4IDcuOTc5IDI4LjQ3NyAyOC40NzVjLjI4Ny0uNjQ5LjQ0OS0xLjM2Ni40NDktMi4xMjN2LTMxLjE2NWMtLjQ2OS42NzUtLjkzNCAxLjM0OS0xLjM4MiAyLjAwNS0uNzkyIDEuMjc1LTEuNjgyIDIuNjQtMi40NjUgMy45OS0yLjM0NyA0LjA2NS0zLjk4MiA4LjAzOC00LjU4NSAxMy43OTQtLjE2Mi40ODUtLjUyNy43OTgtLjkzLjc5OS0uMzYzLS4wMDEtLjY5Ny0uMjU1LS44NzktLjY2N3YtLjAxMmMtLjU5My01LjgyMi0yLjIzNy05LjgyLTQuNi0xMy45MTQtLjc4My0xLjM1LTEuNjczLTIuNzE1LTIuNDY2LTMuOTktMS4xMzctMS42NjYtMi4zMjctMy40LTMuNjM3LTUuMTY5bC0uMDAyLS4wMDN6IiBmaWxsPSIjYzNjM2MzIi8+PHBhdGggZD0iTTIxMi45ODMgMjQ4LjQ5NWwtMzYuOTUyIDM2Ljk1M3YuODEyYTUuMjI3IDUuMjI3IDAgMCAwIDUuMjM4IDUuMjM4aDEuMDE1bDM1LjY2Ni0zNS42NjZhMTM2LjI3NSAxMzYuMjc1IDAgMCAwLTIuNzY0LTMuOSAzNy41NzUgMzcuNTc1IDAgMCAwLS45ODktMS40NGMtLjI5OS0uNTAzLS42MTYtMS4wMDYtLjk1LTEuNTA4LS4wODMtLjE2Mi0uMTc2LS4zMjYtLjI2NC0uNDg5eiIgZmlsbD0iI2ZkZGM0ZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMjExLjk5OCAyNjEuMDgzbC02LjE1MiA2LjE1MSAyNC4yNjQgMjQuMjY0aC43ODFhNS4yMjcgNS4yMjcgMCAwIDAgNS4yMzktNS4yMzh2LTEuMDQ1eiIgZmlsbD0iI2ZmZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48L2c+PC9zdmc+);
|
|||
|
}
|
|||
|
|
|||
|
&[data-oembed-url*="facebook.com"] .ck-media__placeholder {
|
|||
|
background: hsl(220, 46%, 48%);
|
|||
|
|
|||
|
& .ck-media__placeholder__icon {
|
|||
|
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIxMDI0cHgiIGhlaWdodD0iMTAyNHB4IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPiAgICAgICAgPHRpdGxlPkZpbGwgMTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9ImZMb2dvX1doaXRlIiBmaWxsPSIjRkZGRkZFIj4gICAgICAgICAgICA8cGF0aCBkPSJNOTY3LjQ4NCwwIEw1Ni41MTcsMCBDMjUuMzA0LDAgMCwyNS4zMDQgMCw1Ni41MTcgTDAsOTY3LjQ4MyBDMCw5OTguNjk0IDI1LjI5NywxMDI0IDU2LjUyMiwxMDI0IEw1NDcsMTAyNCBMNTQ3LDYyOCBMNDE0LDYyOCBMNDE0LDQ3MyBMNTQ3LDQ3MyBMNTQ3LDM1OS4wMjkgQzU0NywyMjYuNzY3IDYyNy43NzMsMTU0Ljc0NyA3NDUuNzU2LDE1NC43NDcgQzgwMi4yNjksMTU0Ljc0NyA4NTAuODQyLDE1OC45NTUgODY1LDE2MC44MzYgTDg2NSwyOTkgTDc4My4zODQsMjk5LjAzNyBDNzE5LjM5MSwyOTkuMDM3IDcwNywzMjkuNTI5IDcwNywzNzQuMjczIEw3MDcsNDczIEw4NjAuNDg3LDQ3MyBMODQwLjUwMSw2MjggTDcwNyw2MjggTDcwNywxMDI0IEw5NjcuNDg0LDEwMjQgQzk5OC42OTcsMTAyNCAxMDI0LDk5OC42OTcgMTAyNCw5NjcuNDg0IEwxMDI0LDU2LjUxNSBDMTAyNCwyNS4zMDMgOTk4LjY5NywwIDk2Ny40ODQsMCIgaWQ9IkZpbGwtMSI+PC9wYXRoPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+);
|
|||
|
}
|
|||
|
|
|||
|
& .ck-media__placeholder__url__text {
|
|||
|
color: hsl(220, 100%, 90%);
|
|||
|
|
|||
|
&:hover {
|
|||
|
color: hsl(0, 0%, 100%);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&[data-oembed-url*="instagram.com"] .ck-media__placeholder {
|
|||
|
background: linear-gradient(-135deg,hsl(246, 100%, 39%),hsl(302, 100%, 36%),hsl(0, 100%, 48%));
|
|||
|
|
|||
|
& .ck-media__placeholder__icon {
|
|||
|
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSI1MDRweCIgaGVpZ2h0PSI1MDRweCIgdmlld0JveD0iMCAwIDUwNCA1MDQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+Z2x5cGgtbG9nb19NYXkyMDE2PC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPiAgICAgICAgPHBvbHlnb24gaWQ9InBhdGgtMSIgcG9pbnRzPSIwIDAuMTU5IDUwMy44NDEgMC4xNTkgNTAzLjg0MSA1MDMuOTQgMCA1MDMuOTQiPjwvcG9seWdvbj4gICAgPC9kZWZzPiAgICA8ZyBpZD0iZ2x5cGgtbG9nb19NYXkyMDE2IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSJHcm91cC0zIj4gICAgICAgICAgICA8bWFzayBpZD0ibWFzay0yIiBmaWxsPSJ3aGl0ZSI+ICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+ICAgICAgICAgICAgPC9tYXNrPiAgICAgICAgICAgIDxnIGlkPSJDbGlwLTIiPjwvZz4gICAgICAgICAgICA8cGF0aCBkPSJNMjUxLjkyMSwwLjE1OSBDMTgzLjUwMywwLjE1OSAxNzQuOTI0LDAuNDQ5IDE0OC4wNTQsMS42NzUgQzEyMS4yNCwyLjg5OCAxMDIuOTI3LDcuMTU3IDg2LjkwMywxMy4zODUgQzcwLjMzNywxOS44MjIgNTYuMjg4LDI4LjQzNiA0Mi4yODIsNDIuNDQxIEMyOC4yNzcsNTYuNDQ3IDE5LjY2Myw3MC40OTYgMTMuMjI2LDg3LjA2MiBDNi45OTgsMTAzLjA4NiAyLjczOSwxMjEuMzk5IDEuNTE2LDE0OC4yMTMgQzAuMjksMTc1LjA4MyAwLDE4My42NjIgMCwyNTIuMDggQzAsMzIwLjQ5NyAwLjI5LDMyOS4wNzYgMS41MTYsMzU1Ljk0NiBDMi43MzksMzgyLjc2IDYuOTk4LDQwMS4wNzMgMTMuMjI2LDQxNy4wOTcgQzE5LjY2Myw0MzMuNjYzIDI4LjI3Nyw0NDcuNzEyIDQyLjI4Miw0NjEuNzE4IEM1Ni4yODgsNDc1LjcyMyA3MC4zMzcsNDg0LjMzNyA4Ni45MDMsNDkwLjc3NSBDMTAyLjkyNyw0OTcuMDAyIDEyMS4yNCw1MDEuMjYxIDE0OC4wNTQsNTAyLjQ4NCBDMTc0LjkyNCw1MDMuNzEgMTgzLjUwMyw1MDQgMjUxLjkyMSw1MDQgQzMyMC4zMzgsNTA0IDMyOC45MTcsNTAzLjcxIDM1NS43ODcsNTAyLjQ4NCBDMzgyLjYwMSw1MDEuMjYxIDQwMC45MTQsNDk3LjAwMiA0MTYuOTM4LDQ5MC43NzUgQzQzMy41MDQsNDg0LjMzNyA0NDcuNTUzLDQ3NS43MjMgNDYxLjU1OSw0NjEuNzE4IEM0NzUuNTY0LDQ0Ny43MTIgNDg0LjE3OCw0MzMuNjYzIDQ5MC42MTYsNDE3LjA5NyBDNDk2Ljg0Myw0MDEuMDczIDUwMS4xMDIsMzgyLjc2IDUwMi4zMjUsMzU1Ljk0NiBDNTAzLjU1MSwzMjkuMDc2IDUwMy44NDEsMzIwLjQ5NyA1MDMuODQxLDI1Mi4wOCBDNTAzLjg0MSwxODMuNjYyIDUwMy41NTEsMTc1LjA4MyA1MDIuMzI1LDE0OC4yMTMgQzUwMS4xMDIsMTIxLjM5OSA0OTYuODQzLDEwMy4wODYgNDkwLjYxNiw4Ny4wNjIgQzQ4NC4xNzgsNzAuNDk2IDQ3NS41NjQsNTYuNDQ3IDQ2MS41NTksNDIuNDQxIEM0NDcuNTUzLDI4LjQzNiA0MzMuNTA0LDE5LjgyMiA0MTYuOTM4LDEzLjM4NSBDNDAwLjkxNCw3LjE1NyAzODIuNjAxLDIuODk4IDM1NS43ODcsMS42NzUgQzMyOC45MTcsMC40NDkgMzIwLjMzOCwwLjE1OSAyNTEuOTIxLDAuMTU5IFogTTI1MS45MjEsNDUuNTUgQzMxOS4xODYsNDUuNTUgMzI3LjE1NCw0NS44MDcgMzUzLjcxOCw0Ny4wMTkgQzM3OC4yOCw0OC4xMzkgMzkxLjYxOSw1Mi4yNDMgNDAwLjQ5Niw1NS42OTMgQzQxMi4yNTUsNjAuMjYzIDQyMC42NDcsNjUuNzIyIDQyOS40NjIsNzQuNTM4IEM0MzguMjc4LDgzLjM1MyA0NDMuNzM3LDkxLjc0NSA0NDguMzA3LDEwMy41MDQgQzQ1MS43NTcsMTEyLjM4MSA0NTUuODYxLDEyNS43MiA0NTYuOTgxLDE1MC4yODIgQzQ1OC4xOTMsMTc2Ljg0NiA0NTguNDUsMTg0LjgxNCA0NTguNDUsMjUyLjA4IEM0NTguNDUsMzE5LjM0NSA0NTguMTkzLDMyNy4zMTMgNDU2Ljk4MSwzNTMuODc3IEM0NTUuODYxLDM3OC40MzkgNDUxLjc1NywzOTEuNzc4IDQ0OC4zMDcsNDAwLjY1NSBDNDQzLjczNyw0MTIuNDE0IDQzOC4yNzgsNDIwLjgwNiA0MjkuNDYyLDQyOS42MjEgQzQyMC42NDcsNDM4LjQzNyA0MTIuMjU1LDQ0My44OTYgNDAwLjQ5Niw0NDguNDY2IEMzOTEuNjE5LDQ1MS45MTYgMzc4LjI4LDQ1Ni4wMiAzNTMuNzE4LDQ1Ny4xNCBDMzI3LjE1OCw0NTguMzUyIDMxOS4xOTEsNDU4LjYwOSAyNTEuOTIxLDQ1OC42MDkgQzE4NC42NSw0NTguNjA5IDE3Ni42ODQsNDU4LjM1MiAxNTAuMTIzLDQ1Ny4xNCBDMTI1LjU2MSw0NTYuMDIgMTEyLjIyMiw0NTEuOTE2IDEwMy4zNDUsNDQ4LjQ2NiBDOTEuNTg2LDQ0My44OTYgODMuMTk0LDQzOC40MzcgNzQuMzc5LDQyOS42MjEgQzY1LjU2NCw0MjAuODA2IDYwLjEwNCw0MTIuNDE0IDU1LjUzNCw0MDAuNjU1IEM1Mi4wODQsMzkxLjc3OCA0Ny45OCwzNzguNDM5IDQ2Ljg2LDM1My44NzcgQzQ1LjY0OCwzMjcuMzEzIDQ1LjM5MSwzMTkuMzQ1IDQ1LjM5MSwyNTIuMDggQzQ1LjM5MSwxODQuODE0IDQ1LjY0OCwxNzYuODQ2IDQ2Ljg2LDE1MC4yODIgQzQ3Ljk4LDEyNS43MiA1Mi4wODQsMTEyLjM4MSA1NS41MzQsMTAzLjUwNCBDNjAuMTA0LDkxLjc0NSA2NS41NjMsODMuMzUzIDc0LjM3OSw3NC41MzggQzgzLjE5NCw2NS43MjIgOTEuNTg2LDYwLjI2MyAxMDMuMzQ1LDU1LjY5MyBDMTEyLjIyMiw1Mi4yNDMgMTI1LjU2MSw0OC4xMzkgMTUwLjEyMyw0Ny4wMTkgQzE3Ni42ODcsNDUuODA3IDE4NC42NTUsNDUuNTUgMjUxLjkyMSw0NS41NSBaIiBpZD0iRmlsbC0xIiBmaWxsPSIjRkZGRkZGIiBtYXNrPSJ1cmwoI21hc2stMikiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgICAgIDxwYXRoIGQ9Ik0yNTEuOTIxLDMzNi4wNTMgQzIwNS41NDMsMzM2LjA1MyAxNjcuOTQ3LDI5OC40NTcgMTY3Ljk0NywyNTIuMDggQzE2Ny45NDcsMjA1
|
|||
|
}
|
|||
|
|
|||
|
/* stylelint-disable-next-line no-descending-specificity */
|
|||
|
& .ck-media__placeholder__url__text {
|
|||
|
color: hsl(302, 100%, 94%);
|
|||
|
|
|||
|
&:hover {
|
|||
|
color: hsl(0, 0%, 100%);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder {
|
|||
|
/* Use gradient to contrast with focused widget (ckeditor/ckeditor5-media-embed#22). */
|
|||
|
background: linear-gradient( to right, hsl(201, 85%, 70%), hsl(201, 85%, 35%) );
|
|||
|
|
|||
|
& .ck-media__placeholder__icon {
|
|||
|
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IldoaXRlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDQwMCA0MDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQwMCA0MDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj48c3R5bGUgdHlwZT0idGV4dC9jc3MiPi5zdDB7ZmlsbDojRkZGRkZGO308L3N0eWxlPjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MDAsMjAwYzAsMTEwLjUtODkuNSwyMDAtMjAwLDIwMFMwLDMxMC41LDAsMjAwUzg5LjUsMCwyMDAsMFM0MDAsODkuNSw0MDAsMjAweiBNMTYzLjQsMzA1LjVjODguNywwLDEzNy4yLTczLjUsMTM3LjItMTM3LjJjMC0yLjEsMC00LjItMC4xLTYuMmM5LjQtNi44LDE3LjYtMTUuMywyNC4xLTI1Yy04LjYsMy44LTE3LjksNi40LTI3LjcsNy42YzEwLTYsMTcuNi0xNS40LDIxLjItMjYuN2MtOS4zLDUuNS0xOS42LDkuNS0zMC42LDExLjdjLTguOC05LjQtMjEuMy0xNS4yLTM1LjItMTUuMmMtMjYuNiwwLTQ4LjIsMjEuNi00OC4yLDQ4LjJjMCwzLjgsMC40LDcuNSwxLjMsMTFjLTQwLjEtMi03NS42LTIxLjItOTkuNC01MC40Yy00LjEsNy4xLTYuNSwxNS40LTYuNSwyNC4yYzAsMTYuNyw4LjUsMzEuNSwyMS41LDQwLjFjLTcuOS0wLjItMTUuMy0yLjQtMjEuOC02YzAsMC4yLDAsMC40LDAsMC42YzAsMjMuNCwxNi42LDQyLjgsMzguNyw0Ny4zYy00LDEuMS04LjMsMS43LTEyLjcsMS43Yy0zLjEsMC02LjEtMC4zLTkuMS0wLjljNi4xLDE5LjIsMjMuOSwzMy4xLDQ1LDMzLjVjLTE2LjUsMTIuOS0zNy4zLDIwLjYtNTkuOSwyMC42Yy0zLjksMC03LjctMC4yLTExLjUtMC43QzExMC44LDI5Ny41LDEzNi4yLDMwNS41LDE2My40LDMwNS41Ii8+PC9zdmc+);
|
|||
|
}
|
|||
|
|
|||
|
& .ck-media__placeholder__url__text {
|
|||
|
color: hsl(201, 100%, 86%);
|
|||
|
|
|||
|
&:hover {
|
|||
|
color: hsl(0, 0%, 100%);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},9292:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-media-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-media-form .ck-labeled-field-view{display:inline-block}.ck.ck-media-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-media-form{flex-wrap:wrap}.ck.ck-media-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-media-form .ck-button{flex-basis:50%}}","",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css"],names:[],mappings:"AAOA,kBAEC,sBAAuB,CADvB,YAAa,CAEb,kBAAmB,CACnB,gBAqBD,CAnBC,yCACC,oBACD,CAEA,4BACC,YACD,CCbA,oCDCD,kBAeE,cAUF,CARE,yCACC,eACD,CAEA,6BACC,cACD,CCtBD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";
|
|||
|
|
|||
|
.ck.ck-media-form {
|
|||
|
display: flex;
|
|||
|
align-items: flex-start;
|
|||
|
flex-direction: row;
|
|||
|
flex-wrap: nowrap;
|
|||
|
|
|||
|
& .ck-labeled-field-view {
|
|||
|
display: inline-block;
|
|||
|
}
|
|||
|
|
|||
|
& .ck-label {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-media-phone {
|
|||
|
flex-wrap: wrap;
|
|||
|
|
|||
|
& .ck-labeled-field-view {
|
|||
|
flex-basis: 100%;
|
|||
|
}
|
|||
|
|
|||
|
& .ck-button {
|
|||
|
flex-basis: 50%;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@define-mixin ck-media-phone {
|
|||
|
@media screen and (max-width: 600px) {
|
|||
|
@mixin-content;
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},1613:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck .ck-insert-table-dropdown__grid{display:flex;flex-direction:row;flex-wrap:wrap}:root{--ck-insert-table-dropdown-padding:10px;--ck-insert-table-dropdown-box-height:11px;--ck-insert-table-dropdown-box-width:12px;--ck-insert-table-dropdown-box-margin:1px}.ck .ck-insert-table-dropdown__grid{padding:var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;width:calc(var(--ck-insert-table-dropdown-box-width)*10 + var(--ck-insert-table-dropdown-box-margin)*20 + var(--ck-insert-table-dropdown-padding)*2)}.ck .ck-insert-table-dropdown__label,.ck[dir=rtl] .ck-insert-table-dropdown__label{text-align:center}.ck .ck-insert-table-dropdown-grid-box{border:1px solid var(--ck-color-base-border);border-radius:1px;margin:var(--ck-insert-table-dropdown-box-margin);min-height:var(--ck-insert-table-dropdown-box-height);min-width:var(--ck-insert-table-dropdown-box-width);outline:none;transition:none}.ck .ck-insert-table-dropdown-grid-box:focus{box-shadow:none}.ck .ck-insert-table-dropdown-grid-box.ck-on{background:var(--ck-color-focus-outer-shadow);border-color:var(--ck-color-focus-border)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/inserttable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/inserttable.css"],names:[],mappings:"AAKA,oCACC,YAAa,CACb,kBAAmB,CACnB,cACD,CCJA,MACC,uCAAwC,CACxC,0CAA2C,CAC3C,yCAA0C,CAC1C,yCACD,CAEA,oCAGC,yFAA0F,CAD1F,oJAED,CAEA,mFAEC,iBACD,CAEA,uCAIC,4CAA6C,CAC7C,iBAAkB,CAFlB,iDAAkD,CADlD,qDAAsD,CADtD,mDAAoD,CAKpD,YAAa,CACb,eAUD,CARC,6CACC,eACD,CAEA,6CAEC,6CAA8C,CAD9C,yCAED",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck .ck-insert-table-dropdown__grid {
|
|||
|
display: flex;
|
|||
|
flex-direction: row;
|
|||
|
flex-wrap: wrap;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-insert-table-dropdown-padding: 10px;
|
|||
|
--ck-insert-table-dropdown-box-height: 11px;
|
|||
|
--ck-insert-table-dropdown-box-width: 12px;
|
|||
|
--ck-insert-table-dropdown-box-margin: 1px;
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-insert-table-dropdown__grid {
|
|||
|
/* The width of a container should match 10 items in a row so there will be a 10x10 grid. */
|
|||
|
width: calc(var(--ck-insert-table-dropdown-box-width) * 10 + var(--ck-insert-table-dropdown-box-margin) * 20 + var(--ck-insert-table-dropdown-padding) * 2);
|
|||
|
padding: var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-insert-table-dropdown__label,
|
|||
|
.ck[dir=rtl] .ck-insert-table-dropdown__label {
|
|||
|
text-align: center;
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-insert-table-dropdown-grid-box {
|
|||
|
min-width: var(--ck-insert-table-dropdown-box-width);
|
|||
|
min-height: var(--ck-insert-table-dropdown-box-height);
|
|||
|
margin: var(--ck-insert-table-dropdown-box-margin);
|
|||
|
border: 1px solid var(--ck-color-base-border);
|
|||
|
border-radius: 1px;
|
|||
|
outline: none;
|
|||
|
transition: none;
|
|||
|
|
|||
|
&:focus {
|
|||
|
box-shadow: none;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-on {
|
|||
|
border-color: var(--ck-color-focus-border);
|
|||
|
background: var(--ck-color-focus-outer-shadow);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
`],sourceRoot:""}]);const x=_},6306:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck-content .table{display:table;margin:.9em auto}.ck-content .table table{border:1px double #b3b3b3;border-collapse:collapse;border-spacing:0;height:100%;width:100%}.ck-content .table table td,.ck-content .table table th{border:1px solid #bfbfbf;min-width:2em;padding:.4em}.ck-content .table table th{background:rgba(0,0,0,.05);font-weight:700}.ck-content[dir=rtl] .table th{text-align:right}.ck-content[dir=ltr] .table th{text-align:left}.ck-editor__editable .ck-table-bogus-paragraph{display:inline-block;width:100%}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/table.css"],names:[],mappings:"AAKA,mBAKC,aAAc,CADd,gBAiCD,CA9BC,yBAYC,yBAAkC,CAVlC,wBAAyB,CACzB,gBAAiB,CAKjB,WAAY,CADZ,UAsBD,CAfC,wDAQC,wBAAiC,CANjC,aAAc,CACd,YAMD,CAEA,4BAEC,0BAA+B,CAD/B,eAED,CAMF,+BACC,gBACD,CAEA,+BACC,eACD,CAEA,+CAKC,oBAAqB,CAMrB,UACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck-content .table {
|
|||
|
/* Give the table widget some air and center it horizontally */
|
|||
|
/* The first value should be equal to --ck-spacing-large variable if used in the editor context
|
|||
|
to avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */
|
|||
|
margin: 0.9em auto;
|
|||
|
display: table;
|
|||
|
|
|||
|
& table {
|
|||
|
/* The table cells should have slight borders */
|
|||
|
border-collapse: collapse;
|
|||
|
border-spacing: 0;
|
|||
|
|
|||
|
/* Table width and height are set on the parent <figure>. Make sure the table inside stretches
|
|||
|
to the full dimensions of the container (https://github.com/ckeditor/ckeditor5/issues/6186). */
|
|||
|
width: 100%;
|
|||
|
height: 100%;
|
|||
|
|
|||
|
/* The outer border of the table should be slightly darker than the inner lines.
|
|||
|
Also see https://github.com/ckeditor/ckeditor5-table/issues/50. */
|
|||
|
border: 1px double hsl(0, 0%, 70%);
|
|||
|
|
|||
|
& td,
|
|||
|
& th {
|
|||
|
min-width: 2em;
|
|||
|
padding: .4em;
|
|||
|
|
|||
|
/* The border is inherited from .ck-editor__nested-editable styles, so theoretically it's not necessary here.
|
|||
|
However, the border is a content style, so it should use .ck-content (so it works outside the editor).
|
|||
|
Hence, the duplication. See https://github.com/ckeditor/ckeditor5/issues/6314 */
|
|||
|
border: 1px solid hsl(0, 0%, 75%);
|
|||
|
}
|
|||
|
|
|||
|
& th {
|
|||
|
font-weight: bold;
|
|||
|
background: hsla(0, 0%, 0%, 5%);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* Text alignment of the table header should match the editor settings and override the native browser styling,
|
|||
|
when content is available outside the editor. See https://github.com/ckeditor/ckeditor5/issues/6638 */
|
|||
|
.ck-content[dir="rtl"] .table th {
|
|||
|
text-align: right;
|
|||
|
}
|
|||
|
|
|||
|
.ck-content[dir="ltr"] .table th {
|
|||
|
text-align: left;
|
|||
|
}
|
|||
|
|
|||
|
.ck-editor__editable .ck-table-bogus-paragraph {
|
|||
|
/*
|
|||
|
* Use display:inline-block to force Chrome/Safari to limit text mutations to this element.
|
|||
|
* See https://github.com/ckeditor/ckeditor5/issues/6062.
|
|||
|
*/
|
|||
|
display: inline-block;
|
|||
|
|
|||
|
/*
|
|||
|
* Inline HTML elements nested in the span should always be dimensioned in relation to the whole cell width.
|
|||
|
* See https://github.com/ckeditor/ckeditor5/issues/9117.
|
|||
|
*/
|
|||
|
width: 100%;
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},3881:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,":root{--ck-color-table-focused-cell-background:rgba(158,201,250,.3)}.ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table td.ck-editor__nested-editable:focus,.ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table th.ck-editor__nested-editable:focus{background:var(--ck-color-table-focused-cell-background);border-style:none;outline:1px solid var(--ck-color-focus-border);outline-offset:-1px}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableediting.css"],names:[],mappings:"AAKA,MACC,6DACD,CAKE,8QAGC,wDAAyD,CAKzD,iBAAkB,CAClB,8CAA+C,CAC/C,mBACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-color-table-focused-cell-background: hsla(212, 90%, 80%, .3);
|
|||
|
}
|
|||
|
|
|||
|
.ck-widget.table {
|
|||
|
& td,
|
|||
|
& th {
|
|||
|
&.ck-editor__nested-editable.ck-editor__nested-editable_focused,
|
|||
|
&.ck-editor__nested-editable:focus {
|
|||
|
/* A very slight background to highlight the focused cell */
|
|||
|
background: var(--ck-color-table-focused-cell-background);
|
|||
|
|
|||
|
/* Fixes the problem where surrounding cells cover the focused cell's border.
|
|||
|
It does not fix the problem in all places but the UX is improved.
|
|||
|
See https://github.com/ckeditor/ckeditor5-table/issues/29. */
|
|||
|
border-style: none;
|
|||
|
outline: 1px solid var(--ck-color-focus-border);
|
|||
|
outline-offset: -1px; /* progressive enhancement - no IE support */
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},6945:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,':root{--ck-table-selected-cell-background:rgba(158,207,250,.3)}.ck.ck-editor__editable .table table td.ck-editor__editable_selected,.ck.ck-editor__editable .table table th.ck-editor__editable_selected{box-shadow:unset;caret-color:transparent;outline:unset;position:relative}.ck.ck-editor__editable .table table td.ck-editor__editable_selected:after,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:after{background-color:var(--ck-table-selected-cell-background);bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.ck.ck-editor__editable .table table td.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table td.ck-editor__editable_selected:focus,.ck.ck-editor__editable .table table th.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:focus{background-color:transparent}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget{outline:unset}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle{display:none}',"",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableselection.css"],names:[],mappings:"AAKA,MACC,wDACD,CAGC,0IAKC,gBAAiB,CAFjB,uBAAwB,CACxB,aAAc,CAFd,iBAiCD,CA3BC,sJAGC,yDAA0D,CAK1D,QAAS,CAPT,UAAW,CAKX,MAAO,CAJP,mBAAoB,CAEpB,iBAAkB,CAGlB,OAAQ,CAFR,KAID,CAEA,wTAEC,4BACD,CAMA,gKACC,aAKD,CAHC,0NACC,YACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-table-selected-cell-background: hsla(208, 90%, 80%, .3);
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-editor__editable .table table {
|
|||
|
& td.ck-editor__editable_selected,
|
|||
|
& th.ck-editor__editable_selected {
|
|||
|
position: relative;
|
|||
|
caret-color: transparent;
|
|||
|
outline: unset;
|
|||
|
box-shadow: unset;
|
|||
|
|
|||
|
/* https://github.com/ckeditor/ckeditor5/issues/6446 */
|
|||
|
&:after {
|
|||
|
content: '';
|
|||
|
pointer-events: none;
|
|||
|
background-color: var(--ck-table-selected-cell-background);
|
|||
|
position: absolute;
|
|||
|
top: 0;
|
|||
|
left: 0;
|
|||
|
right: 0;
|
|||
|
bottom: 0;
|
|||
|
}
|
|||
|
|
|||
|
& ::selection,
|
|||
|
&:focus {
|
|||
|
background-color: transparent;
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* To reduce the amount of noise, all widgets in the table selection have no outline and no selection handle.
|
|||
|
* See https://github.com/ckeditor/ckeditor5/issues/9491.
|
|||
|
*/
|
|||
|
& .ck-widget {
|
|||
|
outline: unset;
|
|||
|
|
|||
|
& > .ck-widget__selection-handle {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},4906:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-button,a.ck.ck-button{align-items:center;display:inline-flex;justify-content:left;position:relative;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{display:none}.ck.ck-button.ck-button_with-text .ck-button__label,a.ck.ck-button.ck-button_with-text .ck-button__label{display:inline-block}.ck.ck-button:not(.ck-button_with-text),a.ck.ck-button:not(.ck-button_with-text){justify-content:center}.ck.ck-button,a.ck.ck-button{background:var(--ck-color-button-default-background)}.ck.ck-button:not(.ck-disabled):hover,a.ck.ck-button:not(.ck-disabled):hover{background:var(--ck-color-button-default-hover-background)}.ck.ck-button:not(.ck-disabled):active,a.ck.ck-button:not(.ck-disabled):active{background:var(--ck-color-button-default-active-background)}.ck.ck-button.ck-disabled,a.ck.ck-button.ck-disabled{background:var(--ck-color-button-default-disabled-background)}.ck.ck-button,a.ck.ck-button{border-radius:0}.ck-rounded-corners .ck.ck-button,.ck-rounded-corners a.ck.ck-button,.ck.ck-button.ck-rounded-corners,a.ck.ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-button,a.ck.ck-button{-webkit-appearance:none;border:1px solid transparent;cursor:default;font-size:inherit;line-height:1;min-height:var(--ck-ui-component-min-height);min-width:var(--ck-ui-component-min-height);padding:var(--ck-spacing-tiny);text-align:center;transition:box-shadow .2s ease-in-out,border .2s ease-in-out;vertical-align:middle;white-space:nowrap}.ck.ck-button:active,.ck.ck-button:focus,a.ck.ck-button:active,a.ck.ck-button:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-button .ck-button__icon use,.ck.ck-button .ck-button__icon use *,a.ck.ck-button .ck-button__icon use,a.ck.ck-button .ck-button__icon use *{color:inherit}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{color:inherit;cursor:inherit;font-size:inherit;font-weight:inherit;vertical-align:middle}[dir=ltr] .ck.ck-button .ck-button__label,[dir=ltr] a.ck.ck-button .ck-button__label{text-align:left}[dir=rtl] .ck.ck-button .ck-button__label,[dir=rtl] a.ck.ck-button .ck-button__label{text-align:right}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{color:inherit}[dir=ltr] .ck.ck-button .ck-button__keystroke,[dir=ltr] a.ck.ck-button .ck-button__keystroke{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-button .ck-button__keystroke,[dir=rtl] a.ck.ck-button .ck-button__keystroke{margin-right:var(--ck-spacing-large)}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{font-weight:700;opacity:.7}.ck.ck-button.ck-disabled:active,.ck.ck-button.ck-disabled:focus,a.ck.ck-button.ck-disabled:active,a.ck.ck-button.ck-disabled:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-button.ck-disabled .ck-button__icon,.ck.ck-button.ck-disabled .ck-button__label,a.ck.ck-button.ck-disabled .ck-button__icon,a.ck.ck-button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-disabled .ck-button__keystroke,a.ck.ck-button.ck-disabled .ck-button__keystroke{opacity:.3}.ck.ck-button.ck-button_with-text,a.ck.ck-button.ck-button_with-text{padding:var(--ck-spacing-tiny) var(--ck-spacing-standard)}[dir=ltr] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=ltr] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:calc(var(--ck-spacing-small)*-1);margin-right:var(--ck-spacing-small)}[dir=rtl] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=rtl] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:var(--ck-spacing-small);margin-right:calc(var(--ck-spacing-small)*-1)}.ck.ck-button.ck-button_with-keystroke .ck-button__label,a.ck.ck-button.ck-button_with-keystroke .ck-button__label{flex-grow:1}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{background:var(--ck-color-button-on-background)}.ck.ck-button.ck-on:
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../../mixins/_unselectable.css";
|
|||
|
|
|||
|
.ck.ck-button,
|
|||
|
a.ck.ck-button {
|
|||
|
@mixin ck-unselectable;
|
|||
|
|
|||
|
position: relative;
|
|||
|
display: inline-flex;
|
|||
|
align-items: center;
|
|||
|
justify-content: left;
|
|||
|
|
|||
|
& .ck-button__label {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-button_with-text {
|
|||
|
& .ck-button__label {
|
|||
|
display: inline-block;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* Center the icon horizontally in a button without text. */
|
|||
|
&:not(.ck-button_with-text) {
|
|||
|
justify-content: center;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* Makes element unselectable.
|
|||
|
*/
|
|||
|
@define-mixin ck-unselectable {
|
|||
|
-moz-user-select: none;
|
|||
|
-webkit-user-select: none;
|
|||
|
-ms-user-select: none;
|
|||
|
user-select: none
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../../../mixins/_focus.css";
|
|||
|
@import "../../../mixins/_shadow.css";
|
|||
|
@import "../../../mixins/_disabled.css";
|
|||
|
@import "../../../mixins/_rounded.css";
|
|||
|
@import "../../mixins/_button.css";
|
|||
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
|||
|
|
|||
|
.ck.ck-button,
|
|||
|
a.ck.ck-button {
|
|||
|
@mixin ck-button-colors --ck-color-button-default;
|
|||
|
@mixin ck-rounded-corners;
|
|||
|
|
|||
|
white-space: nowrap;
|
|||
|
cursor: default;
|
|||
|
vertical-align: middle;
|
|||
|
padding: var(--ck-spacing-tiny);
|
|||
|
text-align: center;
|
|||
|
|
|||
|
/* A very important piece of styling. Go to variable declaration to learn more. */
|
|||
|
min-width: var(--ck-ui-component-min-height);
|
|||
|
min-height: var(--ck-ui-component-min-height);
|
|||
|
|
|||
|
/* Normalize the height of the line. Removing this will break consistent height
|
|||
|
among text and text-less buttons (with icons). */
|
|||
|
line-height: 1;
|
|||
|
|
|||
|
/* Enable font size inheritance, which allows fluid UI scaling. */
|
|||
|
font-size: inherit;
|
|||
|
|
|||
|
/* Avoid flickering when the foucs border shows up. */
|
|||
|
border: 1px solid transparent;
|
|||
|
|
|||
|
/* Apply some smooth transition to the box-shadow and border. */
|
|||
|
transition: box-shadow .2s ease-in-out, border .2s ease-in-out;
|
|||
|
|
|||
|
/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/189 */
|
|||
|
-webkit-appearance: none;
|
|||
|
|
|||
|
&:active,
|
|||
|
&:focus {
|
|||
|
@mixin ck-focus-ring;
|
|||
|
@mixin ck-box-shadow var(--ck-focus-outer-shadow);
|
|||
|
}
|
|||
|
|
|||
|
/* Allow icon coloring using the text "color" property. */
|
|||
|
& .ck-button__icon {
|
|||
|
& use,
|
|||
|
& use * {
|
|||
|
color: inherit;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
& .ck-button__label {
|
|||
|
/* Enable font size inheritance, which allows fluid UI scaling. */
|
|||
|
font-size: inherit;
|
|||
|
font-weight: inherit;
|
|||
|
color: inherit;
|
|||
|
cursor: inherit;
|
|||
|
|
|||
|
/* Must be consistent with .ck-icon's vertical align. Otherwise, buttons with and
|
|||
|
without labels (but with icons) have different sizes in Chrome */
|
|||
|
vertical-align: middle;
|
|||
|
|
|||
|
@mixin ck-dir ltr {
|
|||
|
text-align: left;
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir rtl {
|
|||
|
text-align: right;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
& .ck-button__keystroke {
|
|||
|
color: inherit;
|
|||
|
|
|||
|
@mixin ck-dir ltr {
|
|||
|
margin-left: var(--ck-spacing-large);
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir rtl {
|
|||
|
margin-right: var(--ck-spacing-large);
|
|||
|
}
|
|||
|
|
|||
|
font-weight: bold;
|
|||
|
opacity: .7;
|
|||
|
}
|
|||
|
|
|||
|
/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */
|
|||
|
&.ck-disabled {
|
|||
|
&:active,
|
|||
|
&:focus {
|
|||
|
/* The disabled button should have a slightly less visible shadow when focused. */
|
|||
|
@mixin ck-box-shadow var(--ck-focus-disabled-outer-shadow);
|
|||
|
}
|
|||
|
|
|||
|
& .ck-button__icon {
|
|||
|
@mixin ck-disabled;
|
|||
|
}
|
|||
|
|
|||
|
/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */
|
|||
|
& .ck-button__label {
|
|||
|
@mixin ck-disabled;
|
|||
|
}
|
|||
|
|
|||
|
& .ck-button__keystroke {
|
|||
|
opacity: .3;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-button_with-text {
|
|||
|
padding: var(--ck-spacing-tiny) var(--ck-spacing-standard);
|
|||
|
|
|||
|
/* stylelint-disable-next-line no-descending-specificity */
|
|||
|
& .ck-button__icon {
|
|||
|
@mixin ck-dir ltr {
|
|||
|
margin-left: calc(-1 * var(--ck-spacing-small));
|
|||
|
margin-right: var(--ck-spacing-small);
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir rtl {
|
|||
|
margin-right: calc(-1 * var(--ck-spacing-small));
|
|||
|
margin-left: var(--ck-spacing-small);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-button_with-keystroke {
|
|||
|
/* stylelint-disable-next-line no-descending-specificity */
|
|||
|
& .ck-button__label {
|
|||
|
flex-grow: 1;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* A style of the button which is currently on, e.g. its feature is active. */
|
|||
|
&.ck-on {
|
|||
|
@mixin ck-button-colors --ck-color-button-on;
|
|||
|
|
|||
|
color: var(--ck-color-button-on-color);
|
|||
|
}
|
|||
|
|
|||
|
&.ck-button-save {
|
|||
|
color: var(--ck-color-button-save);
|
|||
|
}
|
|||
|
|
|||
|
&.ck-button-cancel {
|
|||
|
color: var(--ck-color-button-cancel);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* A style of the button which handles the primary action. */
|
|||
|
.ck.ck-button-action,
|
|||
|
a.ck.ck-button-action {
|
|||
|
@mixin ck-button-colors --ck-color-button-action;
|
|||
|
|
|||
|
color: var(--ck-color-button-action-text);
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-button-bold,
|
|||
|
a.ck.ck-button-bold {
|
|||
|
font-weight: bold;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* Implements a button of given background color.
|
|||
|
*
|
|||
|
* @param {String} $background - Background color of the button.
|
|||
|
* @param {String} $border - Border color of the button.
|
|||
|
*/
|
|||
|
@define-mixin ck-button-colors $prefix {
|
|||
|
background: var($(prefix)-background);
|
|||
|
|
|||
|
&:not(.ck-disabled) {
|
|||
|
&:hover {
|
|||
|
background: var($(prefix)-hover-background);
|
|||
|
}
|
|||
|
|
|||
|
&:active {
|
|||
|
background: var($(prefix)-active-background);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */
|
|||
|
&.ck-disabled {
|
|||
|
background: var($(prefix)-disabled-background);
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* Implements rounded corner interface for .ck-rounded-corners class.
|
|||
|
*
|
|||
|
* @see $ck-border-radius
|
|||
|
*/
|
|||
|
@define-mixin ck-rounded-corners {
|
|||
|
border-radius: 0;
|
|||
|
|
|||
|
@nest .ck-rounded-corners &,
|
|||
|
&.ck-rounded-corners {
|
|||
|
border-radius: var(--ck-border-radius);
|
|||
|
@mixin-content;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* A visual style of focused element's border.
|
|||
|
*/
|
|||
|
@define-mixin ck-focus-ring {
|
|||
|
/* Disable native outline. */
|
|||
|
outline: none;
|
|||
|
border: var(--ck-focus-ring)
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* A helper to combine multiple shadows.
|
|||
|
*/
|
|||
|
@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {
|
|||
|
box-shadow: $shadowA, $shadowB;
|
|||
|
}
|
|||
|
|
|||
|
/**
|
|||
|
* Gives an element a drop shadow so it looks like a floating panel.
|
|||
|
*/
|
|||
|
@define-mixin ck-drop-shadow {
|
|||
|
@mixin ck-box-shadow var(--ck-drop-shadow);
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* A class which indicates that an element holding it is disabled.
|
|||
|
*/
|
|||
|
@define-mixin ck-disabled {
|
|||
|
opacity: var(--ck-disabled-opacity);
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},5332:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{display:block}:root{--ck-switch-button-toggle-width:2.6153846154em;--ck-switch-button-toggle-inner-size:calc(1.07692em + 1px);--ck-switch-button-translation:calc(var(--ck-switch-button-toggle-width) - var(--ck-switch-button-toggle-inner-size) - 2px);--ck-switch-button-inner-hover-shadow:0 0 0 5px var(--ck-color-switch-button-inner-shadow)}.ck.ck-button.ck-switchbutton,.ck.ck-button.ck-switchbutton.ck-on:active,.ck.ck-button.ck-switchbutton.ck-on:focus,.ck.ck-button.ck-switchbutton.ck-on:hover,.ck.ck-button.ck-switchbutton:active,.ck.ck-button.ck-switchbutton:focus,.ck.ck-button.ck-switchbutton:hover{background:transparent;color:inherit}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__label{margin-right:calc(var(--ck-spacing-large)*2)}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__label{margin-left:calc(var(--ck-spacing-large)*2)}.ck.ck-button.ck-switchbutton .ck-button__toggle{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle.ck-rounded-corners{border-radius:var(--ck-border-radius)}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-left:auto}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-right:auto}.ck.ck-button.ck-switchbutton .ck-button__toggle{background:var(--ck-color-switch-button-off-background);border:1px solid transparent;transition:background .4s ease,box-shadow .2s ease-in-out,outline .2s ease-in-out;width:var(--ck-switch-button-toggle-width)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:calc(var(--ck-border-radius)*.5)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{background:var(--ck-color-switch-button-inner-background);height:var(--ck-switch-button-toggle-inner-size);transition:all .3s ease;width:var(--ck-switch-button-toggle-inner-size)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover{background:var(--ck-color-switch-button-off-hover-background)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover .ck-button__toggle__inner{box-shadow:var(--ck-switch-button-inner-hover-shadow)}.ck.ck-button.ck-switchbutton.ck-disabled .ck-button__toggle{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-switchbutton:focus{border-color:transparent;box-shadow:none;outline:none}.ck.ck-button.ck-switchbutton:focus .ck-button__toggle{box-shadow:0 0 0 1px var(--ck-color-base-background),0 0 0 5px var(--ck-color-focus-outer-shadow);outline:var(--ck-focus-ring);outline-offset:1px}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle{background:var(--ck-color-switch-button-on-background)}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle:hover{background:var(--ck-color-switch-button-on-hover-background)}[dir=ltr] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(var( --ck-switch-button-translation ))}[dir=rtl] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(calc(var( --ck-switch-button-translation )*-1))}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/button/switchbutton.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/switchbutton.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css"],names:[],mappings:"AASE,4HACC,aACD,CCCF,MAEC,8CAA+C,CAE/C,0DAAgE,CAChE,2HAIC,CACD,0FACD,CAOC,0QAEC,sBAAuB,CADvB,aAED,CAEA,0DAGE,4CAOF,CAVA,0DAQE,2CAEF,CAEA,iDCpCA,eD4EA,CAxCA,yIChCC,qCDwED,CAxCA,2DAKE,gBAmCF,CAxCA,2DAUE,iBA8B
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-button.ck-switchbutton {
|
|||
|
& .ck-button__toggle {
|
|||
|
display: block;
|
|||
|
|
|||
|
& .ck-button__toggle__inner {
|
|||
|
display: block;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../../../mixins/_rounded.css";
|
|||
|
@import "../../../mixins/_disabled.css";
|
|||
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
|||
|
|
|||
|
/* Note: To avoid rendering issues (aliasing) but to preserve the responsive nature
|
|||
|
of the component, floating–point numbers have been used which, for the default font size
|
|||
|
(see: --ck-font-size-base), will generate simple integers. */
|
|||
|
:root {
|
|||
|
/* 34px at 13px font-size */
|
|||
|
--ck-switch-button-toggle-width: 2.6153846154em;
|
|||
|
/* 14px at 13px font-size */
|
|||
|
--ck-switch-button-toggle-inner-size: calc(1.0769230769em + 1px);
|
|||
|
--ck-switch-button-translation: calc(
|
|||
|
var(--ck-switch-button-toggle-width) -
|
|||
|
var(--ck-switch-button-toggle-inner-size) -
|
|||
|
2px /* Border */
|
|||
|
);
|
|||
|
--ck-switch-button-inner-hover-shadow: 0 0 0 5px var(--ck-color-switch-button-inner-shadow);
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-button.ck-switchbutton {
|
|||
|
/* Unlike a regular button, the switch button text color and background should never change.
|
|||
|
* Changing toggle switch (background, outline) is enough to carry the information about the
|
|||
|
* state of the entire component (https://github.com/ckeditor/ckeditor5/issues/12519)
|
|||
|
*/
|
|||
|
&, &:hover, &:focus, &:active, &.ck-on:hover, &.ck-on:focus, &.ck-on:active {
|
|||
|
color: inherit;
|
|||
|
background: transparent;
|
|||
|
}
|
|||
|
|
|||
|
& .ck-button__label {
|
|||
|
@mixin ck-dir ltr {
|
|||
|
/* Separate the label from the switch */
|
|||
|
margin-right: calc(2 * var(--ck-spacing-large));
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir rtl {
|
|||
|
/* Separate the label from the switch */
|
|||
|
margin-left: calc(2 * var(--ck-spacing-large));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
& .ck-button__toggle {
|
|||
|
@mixin ck-rounded-corners;
|
|||
|
|
|||
|
@mixin ck-dir ltr {
|
|||
|
/* Make sure the toggle is always to the right as far as possible. */
|
|||
|
margin-left: auto;
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir rtl {
|
|||
|
/* Make sure the toggle is always to the left as far as possible. */
|
|||
|
margin-right: auto;
|
|||
|
}
|
|||
|
|
|||
|
/* Apply some smooth transition to the box-shadow and border. */
|
|||
|
/* Gently animate the background color of the toggle switch */
|
|||
|
transition: background 400ms ease, box-shadow .2s ease-in-out, outline .2s ease-in-out;
|
|||
|
border: 1px solid transparent;
|
|||
|
width: var(--ck-switch-button-toggle-width);
|
|||
|
background: var(--ck-color-switch-button-off-background);
|
|||
|
|
|||
|
& .ck-button__toggle__inner {
|
|||
|
@mixin ck-rounded-corners {
|
|||
|
border-radius: calc(.5 * var(--ck-border-radius));
|
|||
|
}
|
|||
|
|
|||
|
width: var(--ck-switch-button-toggle-inner-size);
|
|||
|
height: var(--ck-switch-button-toggle-inner-size);
|
|||
|
background: var(--ck-color-switch-button-inner-background);
|
|||
|
|
|||
|
/* Gently animate the inner part of the toggle switch */
|
|||
|
transition: all 300ms ease;
|
|||
|
}
|
|||
|
|
|||
|
&:hover {
|
|||
|
background: var(--ck-color-switch-button-off-hover-background);
|
|||
|
|
|||
|
& .ck-button__toggle__inner {
|
|||
|
box-shadow: var(--ck-switch-button-inner-hover-shadow);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-disabled .ck-button__toggle {
|
|||
|
@mixin ck-disabled;
|
|||
|
}
|
|||
|
|
|||
|
/* Overriding default .ck-button:focus styles + an outline around the toogle */
|
|||
|
&:focus {
|
|||
|
border-color: transparent;
|
|||
|
outline: none;
|
|||
|
box-shadow: none;
|
|||
|
|
|||
|
& .ck-button__toggle {
|
|||
|
box-shadow: 0 0 0 1px var(--ck-color-base-background), 0 0 0 5px var(--ck-color-focus-outer-shadow);
|
|||
|
outline-offset: 1px;
|
|||
|
outline: var(--ck-focus-ring);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* stylelint-disable-next-line no-descending-specificity */
|
|||
|
&.ck-on {
|
|||
|
& .ck-button__toggle {
|
|||
|
background: var(--ck-color-switch-button-on-background);
|
|||
|
|
|||
|
&:hover {
|
|||
|
background: var(--ck-color-switch-button-on-hover-background);
|
|||
|
}
|
|||
|
|
|||
|
& .ck-button__toggle__inner {
|
|||
|
/*
|
|||
|
* Move the toggle switch to the right. It will be animated.
|
|||
|
*/
|
|||
|
@mixin ck-dir ltr {
|
|||
|
transform: translateX( var( --ck-switch-button-translation ) );
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir rtl {
|
|||
|
transform: translateX( calc( -1 * var( --ck-switch-button-translation ) ) );
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* Implements rounded corner interface for .ck-rounded-corners class.
|
|||
|
*
|
|||
|
* @see $ck-border-radius
|
|||
|
*/
|
|||
|
@define-mixin ck-rounded-corners {
|
|||
|
border-radius: 0;
|
|||
|
|
|||
|
@nest .ck-rounded-corners &,
|
|||
|
&.ck-rounded-corners {
|
|||
|
border-radius: var(--ck-border-radius);
|
|||
|
@mixin-content;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* A class which indicates that an element holding it is disabled.
|
|||
|
*/
|
|||
|
@define-mixin ck-disabled {
|
|||
|
opacity: var(--ck-disabled-opacity);
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},6781:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-color-grid{display:grid}:root{--ck-color-grid-tile-size:24px;--ck-color-color-grid-check-icon:#166fd4}.ck.ck-color-grid{grid-gap:5px;padding:8px}.ck.ck-color-grid__tile{border:0;height:var(--ck-color-grid-tile-size);min-height:var(--ck-color-grid-tile-size);min-width:var(--ck-color-grid-tile-size);padding:0;transition:box-shadow .2s ease;width:var(--ck-color-grid-tile-size)}.ck.ck-color-grid__tile.ck-disabled{cursor:unset;transition:unset}.ck.ck-color-grid__tile.ck-color-table__color-tile_bordered{box-shadow:0 0 0 1px var(--ck-color-base-border)}.ck.ck-color-grid__tile .ck.ck-icon{color:var(--ck-color-color-grid-check-icon);display:none}.ck.ck-color-grid__tile.ck-on{box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-base-text)}.ck.ck-color-grid__tile.ck-on .ck.ck-icon{display:block}.ck.ck-color-grid__tile.ck-on,.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){border:0}.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-focus-border)}.ck.ck-color-grid__label{padding:0 var(--ck-spacing-standard)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorgrid/colorgrid.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/colorgrid/colorgrid.css"],names:[],mappings:"AAKA,kBACC,YACD,CCAA,MACC,8BAA+B,CAK/B,wCACD,CAEA,kBACC,YAAa,CACb,WACD,CAEA,wBAOC,QAAS,CALT,qCAAsC,CAEtC,yCAA0C,CAD1C,wCAAyC,CAEzC,SAAU,CACV,8BAA+B,CAL/B,oCAyCD,CAjCC,oCACC,YAAa,CACb,gBACD,CAEA,4DACC,gDACD,CAEA,oCAEC,2CAA4C,CAD5C,YAED,CAEA,8BACC,8FAKD,CAHC,0CACC,aACD,CAGD,8HAIC,QACD,CAEA,gGAEC,iGACD,CAGD,yBACC,oCACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-color-grid {
|
|||
|
display: grid;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../../../mixins/_rounded.css";
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-color-grid-tile-size: 24px;
|
|||
|
|
|||
|
/* Not using global colors here because these may change but some colors in a pallette
|
|||
|
* require special treatment. For instance, this ensures no matter what the UI text color is,
|
|||
|
* the check icon will look good on the black color tile. */
|
|||
|
--ck-color-color-grid-check-icon: hsl(212, 81%, 46%);
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-color-grid {
|
|||
|
grid-gap: 5px;
|
|||
|
padding: 8px;
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-color-grid__tile {
|
|||
|
width: var(--ck-color-grid-tile-size);
|
|||
|
height: var(--ck-color-grid-tile-size);
|
|||
|
min-width: var(--ck-color-grid-tile-size);
|
|||
|
min-height: var(--ck-color-grid-tile-size);
|
|||
|
padding: 0;
|
|||
|
transition: .2s ease box-shadow;
|
|||
|
border: 0;
|
|||
|
|
|||
|
&.ck-disabled {
|
|||
|
cursor: unset;
|
|||
|
transition: unset;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-color-table__color-tile_bordered {
|
|||
|
box-shadow: 0 0 0 1px var(--ck-color-base-border);
|
|||
|
}
|
|||
|
|
|||
|
& .ck.ck-icon {
|
|||
|
display: none;
|
|||
|
color: var(--ck-color-color-grid-check-icon);
|
|||
|
}
|
|||
|
|
|||
|
&.ck-on {
|
|||
|
box-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-base-text);
|
|||
|
|
|||
|
& .ck.ck-icon {
|
|||
|
display: block;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-on,
|
|||
|
&:focus:not( .ck-disabled ),
|
|||
|
&:hover:not( .ck-disabled ) {
|
|||
|
/* Disable the default .ck-button's border ring. */
|
|||
|
border: 0;
|
|||
|
}
|
|||
|
|
|||
|
&:focus:not( .ck-disabled ),
|
|||
|
&:hover:not( .ck-disabled ) {
|
|||
|
box-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-focus-border);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-color-grid__label {
|
|||
|
padding: 0 var(--ck-spacing-standard);
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},5485:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,":root{--ck-dropdown-max-width:75vw}.ck.ck-dropdown{display:inline-block;position:relative}.ck.ck-dropdown .ck-dropdown__arrow{pointer-events:none;z-index:var(--ck-z-default)}.ck.ck-dropdown .ck-button.ck-dropdown__button{width:100%}.ck.ck-dropdown .ck-dropdown__panel{display:none;max-width:var(--ck-dropdown-max-width);position:absolute;z-index:var(--ck-z-modal)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel-visible{display:inline-block}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw{bottom:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{bottom:auto;top:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se{left:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{right:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s{left:50%;transform:translateX(-50%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw{left:75%;transform:translateX(-75%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme{left:25%;transform:translateX(-25%)}.ck.ck-toolbar .ck-dropdown__panel{z-index:calc(var(--ck-z-modal) + 1)}:root{--ck-dropdown-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-dropdown{font-size:inherit}.ck.ck-dropdown .ck-dropdown__arrow{width:var(--ck-dropdown-arrow-size)}[dir=ltr] .ck.ck-dropdown .ck-dropdown__arrow{margin-left:var(--ck-spacing-standard);right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-dropdown .ck-dropdown__arrow{left:var(--ck-spacing-standard);margin-right:var(--ck-spacing-small)}.ck.ck-dropdown.ck-disabled .ck-dropdown__arrow{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-right:var(--ck-spacing-small)}.ck.ck-dropdown .ck-button.ck-dropdown__button .ck-button__label{overflow:hidden;text-overflow:ellipsis;width:7em}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on{border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-dropdown__button_label-width_auto .ck-button__label{width:auto}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active{box-shadow:none}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active:focus,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active:focus{box-shadow:var(--ck-focus-outer-shadow),0 0}.ck.ck-dropdown__panel{border-radius:0}.ck-rounded-corners .ck.ck-dropdown__panel,.ck.ck-dropdown__panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-dropdown__panel{background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);bottom:0;box-shadow:var(--ck-drop-shadow),0 0;min-width:100%}.ck.ck-dropdown__panel.ck-dropdown__panel_se{border-top-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_sw{border-top-right-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_ne{border-bottom-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_nw{border-bottom-right-radius:0}"
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-dropdown-max-width: 75vw;
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-dropdown {
|
|||
|
display: inline-block;
|
|||
|
position: relative;
|
|||
|
|
|||
|
& .ck-dropdown__arrow {
|
|||
|
pointer-events: none;
|
|||
|
z-index: var(--ck-z-default);
|
|||
|
}
|
|||
|
|
|||
|
/* Dropdown button should span horizontally, e.g. in vertical toolbars */
|
|||
|
& .ck-button.ck-dropdown__button {
|
|||
|
width: 100%;
|
|||
|
}
|
|||
|
|
|||
|
& .ck-dropdown__panel {
|
|||
|
display: none;
|
|||
|
z-index: var(--ck-z-modal);
|
|||
|
max-width: var(--ck-dropdown-max-width);
|
|||
|
|
|||
|
position: absolute;
|
|||
|
|
|||
|
&.ck-dropdown__panel-visible {
|
|||
|
display: inline-block;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-dropdown__panel_ne,
|
|||
|
&.ck-dropdown__panel_nw,
|
|||
|
&.ck-dropdown__panel_n,
|
|||
|
&.ck-dropdown__panel_nmw,
|
|||
|
&.ck-dropdown__panel_nme {
|
|||
|
bottom: 100%;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-dropdown__panel_se,
|
|||
|
&.ck-dropdown__panel_sw,
|
|||
|
&.ck-dropdown__panel_smw,
|
|||
|
&.ck-dropdown__panel_sme,
|
|||
|
&.ck-dropdown__panel_s {
|
|||
|
/*
|
|||
|
* Using transform: translate3d( 0, 100%, 0 ) causes blurry dropdown on Chrome 67-78+ on non-retina displays.
|
|||
|
* See https://github.com/ckeditor/ckeditor5/issues/1053.
|
|||
|
*/
|
|||
|
top: 100%;
|
|||
|
bottom: auto;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-dropdown__panel_ne,
|
|||
|
&.ck-dropdown__panel_se {
|
|||
|
left: 0px;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-dropdown__panel_nw,
|
|||
|
&.ck-dropdown__panel_sw {
|
|||
|
right: 0px;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-dropdown__panel_s,
|
|||
|
&.ck-dropdown__panel_n {
|
|||
|
/* Positioning panels relative to the center of the button */
|
|||
|
left: 50%;
|
|||
|
transform: translateX(-50%);
|
|||
|
}
|
|||
|
|
|||
|
&.ck-dropdown__panel_nmw,
|
|||
|
&.ck-dropdown__panel_smw {
|
|||
|
/* Positioning panels relative to the middle-west of the button */
|
|||
|
left: 75%;
|
|||
|
transform: translateX(-75%);
|
|||
|
}
|
|||
|
|
|||
|
&.ck-dropdown__panel_nme,
|
|||
|
&.ck-dropdown__panel_sme {
|
|||
|
/* Positioning panels relative to the middle-east of the button */
|
|||
|
left: 25%;
|
|||
|
transform: translateX(-25%);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Toolbar dropdown panels should be always above the UI (eg. other dropdown panels) from the editor's content.
|
|||
|
* See https://github.com/ckeditor/ckeditor5/issues/7874
|
|||
|
*/
|
|||
|
.ck.ck-toolbar .ck-dropdown__panel {
|
|||
|
z-index: calc( var(--ck-z-modal) + 1 );
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../../../mixins/_rounded.css";
|
|||
|
@import "../../../mixins/_disabled.css";
|
|||
|
@import "../../../mixins/_shadow.css";
|
|||
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-dropdown-arrow-size: calc(0.5 * var(--ck-icon-size));
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-dropdown {
|
|||
|
/* Enable font size inheritance, which allows fluid UI scaling. */
|
|||
|
font-size: inherit;
|
|||
|
|
|||
|
& .ck-dropdown__arrow {
|
|||
|
width: var(--ck-dropdown-arrow-size);
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir ltr {
|
|||
|
& .ck-dropdown__arrow {
|
|||
|
right: var(--ck-spacing-standard);
|
|||
|
|
|||
|
/* A space to accommodate the triangle. */
|
|||
|
margin-left: var(--ck-spacing-standard);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir rtl {
|
|||
|
& .ck-dropdown__arrow {
|
|||
|
left: var(--ck-spacing-standard);
|
|||
|
|
|||
|
/* A space to accommodate the triangle. */
|
|||
|
margin-right: var(--ck-spacing-small);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-disabled .ck-dropdown__arrow {
|
|||
|
@mixin ck-disabled;
|
|||
|
}
|
|||
|
|
|||
|
& .ck-button.ck-dropdown__button {
|
|||
|
@mixin ck-dir ltr {
|
|||
|
&:not(.ck-button_with-text) {
|
|||
|
/* Make sure dropdowns with just an icon have the right inner spacing */
|
|||
|
padding-left: var(--ck-spacing-small);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir rtl {
|
|||
|
&:not(.ck-button_with-text) {
|
|||
|
/* Make sure dropdowns with just an icon have the right inner spacing */
|
|||
|
padding-right: var(--ck-spacing-small);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* #23 */
|
|||
|
& .ck-button__label {
|
|||
|
width: 7em;
|
|||
|
overflow: hidden;
|
|||
|
text-overflow: ellipsis;
|
|||
|
}
|
|||
|
|
|||
|
/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */
|
|||
|
&.ck-disabled .ck-button__label {
|
|||
|
@mixin ck-disabled;
|
|||
|
}
|
|||
|
|
|||
|
/* https://github.com/ckeditor/ckeditor5/issues/816 */
|
|||
|
&.ck-on {
|
|||
|
border-bottom-left-radius: 0;
|
|||
|
border-bottom-right-radius: 0;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-dropdown__button_label-width_auto .ck-button__label {
|
|||
|
width: auto;
|
|||
|
}
|
|||
|
|
|||
|
/* https://github.com/ckeditor/ckeditor5/issues/8699 */
|
|||
|
&.ck-off:active,
|
|||
|
&.ck-on:active {
|
|||
|
box-shadow: none;
|
|||
|
|
|||
|
&:focus {
|
|||
|
@mixin ck-box-shadow var(--ck-focus-outer-shadow);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-dropdown__panel {
|
|||
|
@mixin ck-rounded-corners;
|
|||
|
@mixin ck-drop-shadow;
|
|||
|
|
|||
|
background: var(--ck-color-dropdown-panel-background);
|
|||
|
border: 1px solid var(--ck-color-dropdown-panel-border);
|
|||
|
bottom: 0;
|
|||
|
|
|||
|
/* Make sure the panel is at least as wide as the drop-down's button. */
|
|||
|
min-width: 100%;
|
|||
|
|
|||
|
/* Disabled corner border radius to be consistent with the .dropdown__button
|
|||
|
https://github.com/ckeditor/ckeditor5/issues/816 */
|
|||
|
&.ck-dropdown__panel_se {
|
|||
|
border-top-left-radius: 0;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-dropdown__panel_sw {
|
|||
|
border-top-right-radius: 0;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-dropdown__panel_ne {
|
|||
|
border-bottom-left-radius: 0;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-dropdown__panel_nw {
|
|||
|
border-bottom-right-radius: 0;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* A class which indicates that an element holding it is disabled.
|
|||
|
*/
|
|||
|
@define-mixin ck-disabled {
|
|||
|
opacity: var(--ck-disabled-opacity);
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* A helper to combine multiple shadows.
|
|||
|
*/
|
|||
|
@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {
|
|||
|
box-shadow: $shadowA, $shadowB;
|
|||
|
}
|
|||
|
|
|||
|
/**
|
|||
|
* Gives an element a drop shadow so it looks like a floating panel.
|
|||
|
*/
|
|||
|
@define-mixin ck-drop-shadow {
|
|||
|
@mixin ck-box-shadow var(--ck-drop-shadow);
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* Implements rounded corner interface for .ck-rounded-corners class.
|
|||
|
*
|
|||
|
* @see $ck-border-radius
|
|||
|
*/
|
|||
|
@define-mixin ck-rounded-corners {
|
|||
|
border-radius: 0;
|
|||
|
|
|||
|
@nest .ck-rounded-corners &,
|
|||
|
&.ck-rounded-corners {
|
|||
|
border-radius: var(--ck-border-radius);
|
|||
|
@mixin-content;
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},3949:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-dropdown .ck-dropdown__panel .ck-list{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list,.ck.ck-dropdown .ck-dropdown__panel .ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/listdropdown.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,6CCIC,eDqBD,CAzBA,iICQE,qCAAsC,CDJtC,wBAqBF,CAfE,mFCND,eDYC,CANA,6MCFA,qCAAsC,CDKpC,2BAA4B,CAC5B,4BAA6B,CAF7B,wBAIF,CAEA,kFCdD,eDmBC,CALA,2MCVA,qCAAsC,CDYpC,wBAAyB,CACzB,yBAEF",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../../../mixins/_rounded.css";
|
|||
|
|
|||
|
.ck.ck-dropdown .ck-dropdown__panel .ck-list {
|
|||
|
/* Disabled radius of top-left border to be consistent with .dropdown__button
|
|||
|
https://github.com/ckeditor/ckeditor5/issues/816 */
|
|||
|
@mixin ck-rounded-corners {
|
|||
|
border-top-left-radius: 0;
|
|||
|
}
|
|||
|
|
|||
|
/* Make sure the button belonging to the first/last child of the list goes well with the
|
|||
|
border radius of the entire panel. */
|
|||
|
& .ck-list__item {
|
|||
|
&:first-child .ck-button {
|
|||
|
@mixin ck-rounded-corners {
|
|||
|
border-top-left-radius: 0;
|
|||
|
border-bottom-left-radius: 0;
|
|||
|
border-bottom-right-radius: 0;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&:last-child .ck-button {
|
|||
|
@mixin ck-rounded-corners {
|
|||
|
border-top-left-radius: 0;
|
|||
|
border-top-right-radius: 0;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* Implements rounded corner interface for .ck-rounded-corners class.
|
|||
|
*
|
|||
|
* @see $ck-border-radius
|
|||
|
*/
|
|||
|
@define-mixin ck-rounded-corners {
|
|||
|
border-radius: 0;
|
|||
|
|
|||
|
@nest .ck-rounded-corners &,
|
|||
|
&.ck-rounded-corners {
|
|||
|
border-radius: var(--ck-border-radius);
|
|||
|
@mixin-content;
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},7686:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,'.ck.ck-splitbutton{font-size:inherit}.ck.ck-splitbutton .ck-splitbutton__action:focus{z-index:calc(var(--ck-z-default) + 1)}:root{--ck-color-split-button-hover-background:#ebebeb;--ck-color-split-button-hover-border:#b3b3b3}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-right-radius:unset;border-top-right-radius:unset}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-left-radius:unset;border-top-left-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow{min-width:unset}[dir=ltr] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-left-radius:unset;border-top-left-radius:unset}[dir=rtl] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-right-radius:unset;border-top-right-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow svg{width:var(--ck-dropdown-arrow-size)}.ck.ck-splitbutton>.ck-splitbutton__arrow:not(:focus){border-bottom-width:0;border-top-width:0}.ck.ck-splitbutton.ck-splitbutton_open>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover),.ck.ck-splitbutton:hover>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover){background:var(--ck-color-split-button-hover-background)}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{background-color:var(--ck-color-split-button-hover-border);content:"";height:100%;position:absolute;width:1px}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:focus:after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:focus:after{--ck-color-split-button-hover-border:var(--ck-color-focus-border)}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{left:-1px}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{right:-1px}.ck.ck-splitbutton.ck-splitbutton_open{border-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__action{border-bottom-left-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__arrow{border-bottom-right-radius:0}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/splitbutton.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/splitbutton.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,mBAEC,iBAKD,CAHC,iDACC,qCACD,CCJD,MACC,gDAAyD,CACzD,4CACD,CAMC,oIAKE,gCAAiC,CADjC,6BASF,CAbA,oIAWE,+BAAgC,CADhC,4BAGF,CAEA,0CAGC,eAiBD,CApBA,oDAQE,+BAAgC,CADhC,4BAaF,CApBA,oDAcE,gCAAiC,CADjC,6BAOF,CAHC,8CACC,mCACD,CAKD,sDAEC,qBAAwB,CADxB,kBAED,CAQC,0KACC,wDACD,CAIA,8JAKC,0DAA2D,CAJ3D,UAAW,CAGX,WAAY,CAFZ,iBAAkB,CAClB,SAGD,CAGA,sIACC,iEACD,CAGC,kLACC,SACD,CAIA,kLACC,UACD,CAMF,uCCzFA,eDmGA,CAVA,qHCrFC,qCD+FD,CARE,qKACC,2BACD,CAEA,mKACC,4BACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-splitbutton {
|
|||
|
/* Enable font size inheritance, which allows fluid UI scaling. */
|
|||
|
font-size: inherit;
|
|||
|
|
|||
|
& .ck-splitbutton__action:focus {
|
|||
|
z-index: calc(var(--ck-z-default) + 1);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../../../mixins/_rounded.css";
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-color-split-button-hover-background: hsl(0, 0%, 92%);
|
|||
|
--ck-color-split-button-hover-border: hsl(0, 0%, 70%);
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-splitbutton {
|
|||
|
/*
|
|||
|
* Note: ck-rounded and ck-dir mixins don't go together (because they both use @nest).
|
|||
|
*/
|
|||
|
&:hover > .ck-splitbutton__action,
|
|||
|
&.ck-splitbutton_open > .ck-splitbutton__action {
|
|||
|
@nest [dir="ltr"] & {
|
|||
|
/* Don't round the action button on the right side */
|
|||
|
border-top-right-radius: unset;
|
|||
|
border-bottom-right-radius: unset;
|
|||
|
}
|
|||
|
|
|||
|
@nest [dir="rtl"] & {
|
|||
|
/* Don't round the action button on the left side */
|
|||
|
border-top-left-radius: unset;
|
|||
|
border-bottom-left-radius: unset;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
& > .ck-splitbutton__arrow {
|
|||
|
/* It's a text-less button and since the icon is positioned absolutely in such situation,
|
|||
|
it must get some arbitrary min-width. */
|
|||
|
min-width: unset;
|
|||
|
|
|||
|
@nest [dir="ltr"] & {
|
|||
|
/* Don't round the arrow button on the left side */
|
|||
|
border-top-left-radius: unset;
|
|||
|
border-bottom-left-radius: unset;
|
|||
|
}
|
|||
|
|
|||
|
@nest [dir="rtl"] & {
|
|||
|
/* Don't round the arrow button on the right side */
|
|||
|
border-top-right-radius: unset;
|
|||
|
border-bottom-right-radius: unset;
|
|||
|
}
|
|||
|
|
|||
|
& svg {
|
|||
|
width: var(--ck-dropdown-arrow-size);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* Make sure the divider stretches 100% height of the button
|
|||
|
https://github.com/ckeditor/ckeditor5/issues/10936 */
|
|||
|
& > .ck-splitbutton__arrow:not(:focus) {
|
|||
|
border-top-width: 0px;
|
|||
|
border-bottom-width: 0px;
|
|||
|
}
|
|||
|
|
|||
|
/* When the split button is "open" (the arrow is on) or being hovered, it should get some styling
|
|||
|
as a whole. The background of both buttons should stand out and there should be a visual
|
|||
|
separation between both buttons. */
|
|||
|
&.ck-splitbutton_open,
|
|||
|
&:hover {
|
|||
|
/* When the split button hovered as a whole, not as individual buttons. */
|
|||
|
& > .ck-button:not(.ck-on):not(.ck-disabled):not(:hover) {
|
|||
|
background: var(--ck-color-split-button-hover-background);
|
|||
|
}
|
|||
|
|
|||
|
/* Splitbutton separator needs to be set with the ::after pseudoselector
|
|||
|
to display properly the borders on focus */
|
|||
|
& > .ck-splitbutton__arrow:not(.ck-disabled)::after {
|
|||
|
content: '';
|
|||
|
position: absolute;
|
|||
|
width: 1px;
|
|||
|
height: 100%;
|
|||
|
background-color: var(--ck-color-split-button-hover-border);
|
|||
|
}
|
|||
|
|
|||
|
/* Make sure the divider between the buttons looks fine when the button is focused */
|
|||
|
& > .ck-splitbutton__arrow:focus::after {
|
|||
|
--ck-color-split-button-hover-border: var(--ck-color-focus-border);
|
|||
|
}
|
|||
|
|
|||
|
@nest [dir="ltr"] & {
|
|||
|
& > .ck-splitbutton__arrow:not(.ck-disabled)::after {
|
|||
|
left: -1px;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@nest [dir="rtl"] & {
|
|||
|
& > .ck-splitbutton__arrow:not(.ck-disabled)::after {
|
|||
|
right: -1px;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* Don't round the bottom left and right corners of the buttons when "open"
|
|||
|
https://github.com/ckeditor/ckeditor5/issues/816 */
|
|||
|
&.ck-splitbutton_open {
|
|||
|
@mixin ck-rounded-corners {
|
|||
|
& > .ck-splitbutton__action {
|
|||
|
border-bottom-left-radius: 0;
|
|||
|
}
|
|||
|
|
|||
|
& > .ck-splitbutton__arrow {
|
|||
|
border-bottom-right-radius: 0;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* Implements rounded corner interface for .ck-rounded-corners class.
|
|||
|
*
|
|||
|
* @see $ck-border-radius
|
|||
|
*/
|
|||
|
@define-mixin ck-rounded-corners {
|
|||
|
border-radius: 0;
|
|||
|
|
|||
|
@nest .ck-rounded-corners &,
|
|||
|
&.ck-rounded-corners {
|
|||
|
border-radius: var(--ck-border-radius);
|
|||
|
@mixin-content;
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},7339:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,":root{--ck-toolbar-dropdown-max-width:60vw}.ck.ck-toolbar-dropdown>.ck-dropdown__panel{max-width:var(--ck-toolbar-dropdown-max-width);width:max-content}.ck.ck-toolbar-dropdown>.ck-dropdown__panel .ck-button:focus{z-index:calc(var(--ck-z-default) + 1)}.ck.ck-toolbar-dropdown .ck-toolbar{border:0}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/toolbardropdown.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/toolbardropdown.css"],names:[],mappings:"AAKA,MACC,oCACD,CAEA,4CAGC,8CAA+C,CAD/C,iBAQD,CAJE,6DACC,qCACD,CCZF,oCACC,QACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-toolbar-dropdown-max-width: 60vw;
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-toolbar-dropdown > .ck-dropdown__panel {
|
|||
|
/* https://github.com/ckeditor/ckeditor5/issues/5586 */
|
|||
|
width: max-content;
|
|||
|
max-width: var(--ck-toolbar-dropdown-max-width);
|
|||
|
|
|||
|
& .ck-button {
|
|||
|
&:focus {
|
|||
|
z-index: calc(var(--ck-z-default) + 1);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-toolbar-dropdown .ck-toolbar {
|
|||
|
border: 0;
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},9688:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,":root{--ck-color-editable-blur-selection:#d9d9d9}.ck.ck-editor__editable:not(.ck-editor__nested-editable){border-radius:0}.ck-rounded-corners .ck.ck-editor__editable:not(.ck-editor__nested-editable),.ck.ck-editor__editable.ck-rounded-corners:not(.ck-editor__nested-editable){border-radius:var(--ck-border-radius)}.ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable){border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}.ck.ck-editor__editable_inline{border:1px solid transparent;overflow:auto;padding:0 var(--ck-spacing-standard)}.ck.ck-editor__editable_inline[dir=ltr]{text-align:left}.ck.ck-editor__editable_inline[dir=rtl]{text-align:right}.ck.ck-editor__editable_inline>:first-child{margin-top:var(--ck-spacing-large)}.ck.ck-editor__editable_inline>:last-child{margin-bottom:var(--ck-spacing-large)}.ck.ck-editor__editable_inline.ck-blurred ::selection{background:var(--ck-color-editable-blur-selection)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_n]:after{border-bottom-color:var(--ck-color-base-foreground)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_s]:after{border-top-color:var(--ck-color-base-foreground)}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAWA,MACC,0CACD,CAEA,yDCJC,eDWD,CAPA,yJCAE,qCDOF,CAJC,oEEPA,2BAA2B,CCF3B,qCAA8B,CDC9B,YFWA,CAGD,+BAGC,4BAA6B,CAF7B,aAAc,CACd,oCA6BD,CA1BC,wCACC,eACD,CAEA,wCACC,gBACD,CAGA,4CACC,kCACD,CAGA,2CAKC,qCACD,CAGA,sDACC,kDACD,CAKA,gEACC,mDACD,CAIA,gEACC,gDACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../../../mixins/_rounded.css";
|
|||
|
@import "../../../mixins/_disabled.css";
|
|||
|
@import "../../../mixins/_shadow.css";
|
|||
|
@import "../../../mixins/_focus.css";
|
|||
|
@import "../../mixins/_button.css";
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-color-editable-blur-selection: hsl(0, 0%, 85%);
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-editor__editable:not(.ck-editor__nested-editable) {
|
|||
|
@mixin ck-rounded-corners;
|
|||
|
|
|||
|
&.ck-focused {
|
|||
|
@mixin ck-focus-ring;
|
|||
|
@mixin ck-box-shadow var(--ck-inner-shadow);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-editor__editable_inline {
|
|||
|
overflow: auto;
|
|||
|
padding: 0 var(--ck-spacing-standard);
|
|||
|
border: 1px solid transparent;
|
|||
|
|
|||
|
&[dir="ltr"] {
|
|||
|
text-align: left;
|
|||
|
}
|
|||
|
|
|||
|
&[dir="rtl"] {
|
|||
|
text-align: right;
|
|||
|
}
|
|||
|
|
|||
|
/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/116 */
|
|||
|
& > *:first-child {
|
|||
|
margin-top: var(--ck-spacing-large);
|
|||
|
}
|
|||
|
|
|||
|
/* https://github.com/ckeditor/ckeditor5/issues/847 */
|
|||
|
& > *:last-child {
|
|||
|
/*
|
|||
|
* This value should match with the default margins of the block elements (like .media or .image)
|
|||
|
* to avoid a content jumping when the fake selection container shows up (See https://github.com/ckeditor/ckeditor5/issues/9825).
|
|||
|
*/
|
|||
|
margin-bottom: var(--ck-spacing-large);
|
|||
|
}
|
|||
|
|
|||
|
/* https://github.com/ckeditor/ckeditor5/issues/6517 */
|
|||
|
&.ck-blurred ::selection {
|
|||
|
background: var(--ck-color-editable-blur-selection);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/111 */
|
|||
|
.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_n"] {
|
|||
|
&::after {
|
|||
|
border-bottom-color: var(--ck-color-base-foreground);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_s"] {
|
|||
|
&::after {
|
|||
|
border-top-color: var(--ck-color-base-foreground);
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* Implements rounded corner interface for .ck-rounded-corners class.
|
|||
|
*
|
|||
|
* @see $ck-border-radius
|
|||
|
*/
|
|||
|
@define-mixin ck-rounded-corners {
|
|||
|
border-radius: 0;
|
|||
|
|
|||
|
@nest .ck-rounded-corners &,
|
|||
|
&.ck-rounded-corners {
|
|||
|
border-radius: var(--ck-border-radius);
|
|||
|
@mixin-content;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* A visual style of focused element's border.
|
|||
|
*/
|
|||
|
@define-mixin ck-focus-ring {
|
|||
|
/* Disable native outline. */
|
|||
|
outline: none;
|
|||
|
border: var(--ck-focus-ring)
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* A helper to combine multiple shadows.
|
|||
|
*/
|
|||
|
@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {
|
|||
|
box-shadow: $shadowA, $shadowB;
|
|||
|
}
|
|||
|
|
|||
|
/**
|
|||
|
* Gives an element a drop shadow so it looks like a floating panel.
|
|||
|
*/
|
|||
|
@define-mixin ck-drop-shadow {
|
|||
|
@mixin ck-box-shadow var(--ck-drop-shadow);
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},8847:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-form__header{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}:root{--ck-form-header-height:38px}.ck.ck-form__header{border-bottom:1px solid var(--ck-color-base-border);height:var(--ck-form-header-height);line-height:var(--ck-form-header-height);padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck.ck-form__header .ck-form__header__label{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/formheader/formheader.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/formheader/formheader.css"],names:[],mappings:"AAKA,oBAIC,kBAAmB,CAHnB,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CAEjB,6BACD,CCNA,MACC,4BACD,CAEA,oBAIC,mDAAoD,CAFpD,mCAAoC,CACpC,wCAAyC,CAFzC,uDAQD,CAHC,4CACC,eACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-form__header {
|
|||
|
display: flex;
|
|||
|
flex-direction: row;
|
|||
|
flex-wrap: nowrap;
|
|||
|
align-items: center;
|
|||
|
justify-content: space-between;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-form-header-height: 38px;
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-form__header {
|
|||
|
padding: var(--ck-spacing-small) var(--ck-spacing-large);
|
|||
|
height: var(--ck-form-header-height);
|
|||
|
line-height: var(--ck-form-header-height);
|
|||
|
border-bottom: 1px solid var(--ck-color-base-border);
|
|||
|
|
|||
|
& .ck-form__header__label {
|
|||
|
font-weight: bold;
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},6574:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-icon{vertical-align:middle}:root{--ck-icon-size:calc(var(--ck-line-height-base)*var(--ck-font-size-normal))}.ck.ck-icon{font-size:.8333350694em;height:var(--ck-icon-size);width:var(--ck-icon-size);will-change:transform}.ck.ck-icon,.ck.ck-icon *{cursor:inherit}.ck.ck-icon.ck-icon_inherit-color,.ck.ck-icon.ck-icon_inherit-color *{color:inherit}.ck.ck-icon.ck-icon_inherit-color :not([fill]){fill:currentColor}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/icon/icon.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/icon/icon.css"],names:[],mappings:"AAKA,YACC,qBACD,CCFA,MACC,0EACD,CAEA,YAKC,uBAAwB,CAHxB,0BAA2B,CAD3B,yBAA0B,CAU1B,qBAoBD,CAlBC,0BALA,cAQA,CAMC,sEACC,aAMD,CAJC,+CAEC,iBACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-icon {
|
|||
|
vertical-align: middle;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-icon-size: calc(var(--ck-line-height-base) * var(--ck-font-size-normal));
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-icon {
|
|||
|
width: var(--ck-icon-size);
|
|||
|
height: var(--ck-icon-size);
|
|||
|
|
|||
|
/* Multiplied by the height of the line in "px" should give SVG "viewport" dimensions */
|
|||
|
font-size: .8333350694em;
|
|||
|
|
|||
|
/* Inherit cursor style (#5). */
|
|||
|
cursor: inherit;
|
|||
|
|
|||
|
/* This will prevent blurry icons on Firefox. See #340. */
|
|||
|
will-change: transform;
|
|||
|
|
|||
|
& * {
|
|||
|
/* Inherit cursor style (#5). */
|
|||
|
cursor: inherit;
|
|||
|
}
|
|||
|
|
|||
|
/* Allows dynamic coloring of an icon by inheriting its color from the parent. */
|
|||
|
&.ck-icon_inherit-color {
|
|||
|
color: inherit;
|
|||
|
|
|||
|
& * {
|
|||
|
color: inherit;
|
|||
|
|
|||
|
&:not([fill]) {
|
|||
|
/* Needed by FF. */
|
|||
|
fill: currentColor;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},4879:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,":root{--ck-input-width:18em;--ck-input-text-width:var(--ck-input-width)}.ck.ck-input{border-radius:0}.ck-rounded-corners .ck.ck-input,.ck.ck-input.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input{background:var(--ck-color-input-background);border:1px solid var(--ck-color-input-border);min-height:var(--ck-ui-component-min-height);min-width:var(--ck-input-width);padding:var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);transition:box-shadow .1s ease-in-out,border .1s ease-in-out}.ck.ck-input:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-input[readonly]{background:var(--ck-color-input-disabled-background);border:1px solid var(--ck-color-input-disabled-border);color:var(--ck-color-input-disabled-text)}.ck.ck-input[readonly]:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-input.ck-error{animation:ck-input-shake .3s ease both;border-color:var(--ck-color-input-error-border)}.ck.ck-input.ck-error:focus{box-shadow:var(--ck-focus-error-outer-shadow),0 0}@keyframes ck-input-shake{20%{transform:translateX(-2px)}40%{transform:translateX(2px)}60%{transform:translateX(-1px)}80%{transform:translateX(1px)}}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/input/input.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AASA,MACC,qBAAsB,CAGtB,2CACD,CAEA,aCLC,eD2CD,CAtCA,iECDE,qCDuCF,CAtCA,aAGC,2CAA4C,CAC5C,6CAA8C,CAK9C,4CAA6C,CAH7C,+BAAgC,CADhC,6DAA8D,CAO9D,4DA0BD,CAxBC,mBEnBA,2BAA2B,CCF3B,2CAA8B,CDC9B,YFuBA,CAEA,uBAEC,oDAAqD,CADrD,sDAAuD,CAEvD,yCAMD,CAJC,6BG/BD,oDHkCC,CAGD,sBAEC,sCAAuC,CADvC,+CAMD,CAHC,4BGzCD,iDH2CC,CAIF,0BACC,IACC,0BACD,CAEA,IACC,yBACD,CAEA,IACC,0BACD,CAEA,IACC,yBACD,CACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../../../mixins/_rounded.css";
|
|||
|
@import "../../../mixins/_focus.css";
|
|||
|
@import "../../../mixins/_shadow.css";
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-input-width: 18em;
|
|||
|
|
|||
|
/* Backward compatibility. */
|
|||
|
--ck-input-text-width: var(--ck-input-width);
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-input {
|
|||
|
@mixin ck-rounded-corners;
|
|||
|
|
|||
|
background: var(--ck-color-input-background);
|
|||
|
border: 1px solid var(--ck-color-input-border);
|
|||
|
padding: var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);
|
|||
|
min-width: var(--ck-input-width);
|
|||
|
|
|||
|
/* This is important to stay of the same height as surrounding buttons */
|
|||
|
min-height: var(--ck-ui-component-min-height);
|
|||
|
|
|||
|
/* Apply some smooth transition to the box-shadow and border. */
|
|||
|
transition: box-shadow .1s ease-in-out, border .1s ease-in-out;
|
|||
|
|
|||
|
&:focus {
|
|||
|
@mixin ck-focus-ring;
|
|||
|
@mixin ck-box-shadow var(--ck-focus-outer-shadow);
|
|||
|
}
|
|||
|
|
|||
|
&[readonly] {
|
|||
|
border: 1px solid var(--ck-color-input-disabled-border);
|
|||
|
background: var(--ck-color-input-disabled-background);
|
|||
|
color: var(--ck-color-input-disabled-text);
|
|||
|
|
|||
|
&:focus {
|
|||
|
/* The read-only input should have a slightly less visible shadow when focused. */
|
|||
|
@mixin ck-box-shadow var(--ck-focus-disabled-outer-shadow);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-error {
|
|||
|
border-color: var(--ck-color-input-error-border);
|
|||
|
animation: ck-input-shake .3s ease both;
|
|||
|
|
|||
|
&:focus {
|
|||
|
@mixin ck-box-shadow var(--ck-focus-error-outer-shadow);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@keyframes ck-input-shake {
|
|||
|
20% {
|
|||
|
transform: translateX(-2px);
|
|||
|
}
|
|||
|
|
|||
|
40% {
|
|||
|
transform: translateX(2px);
|
|||
|
}
|
|||
|
|
|||
|
60% {
|
|||
|
transform: translateX(-1px);
|
|||
|
}
|
|||
|
|
|||
|
80% {
|
|||
|
transform: translateX(1px);
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* Implements rounded corner interface for .ck-rounded-corners class.
|
|||
|
*
|
|||
|
* @see $ck-border-radius
|
|||
|
*/
|
|||
|
@define-mixin ck-rounded-corners {
|
|||
|
border-radius: 0;
|
|||
|
|
|||
|
@nest .ck-rounded-corners &,
|
|||
|
&.ck-rounded-corners {
|
|||
|
border-radius: var(--ck-border-radius);
|
|||
|
@mixin-content;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* A visual style of focused element's border.
|
|||
|
*/
|
|||
|
@define-mixin ck-focus-ring {
|
|||
|
/* Disable native outline. */
|
|||
|
outline: none;
|
|||
|
border: var(--ck-focus-ring)
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* A helper to combine multiple shadows.
|
|||
|
*/
|
|||
|
@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {
|
|||
|
box-shadow: $shadowA, $shadowB;
|
|||
|
}
|
|||
|
|
|||
|
/**
|
|||
|
* Gives an element a drop shadow so it looks like a floating panel.
|
|||
|
*/
|
|||
|
@define-mixin ck-drop-shadow {
|
|||
|
@mixin ck-box-shadow var(--ck-drop-shadow);
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},3662:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-label{display:block}.ck.ck-voice-label{display:none}.ck.ck-label{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/label/label.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/label/label.css"],names:[],mappings:"AAKA,aACC,aACD,CAEA,mBACC,YACD,CCNA,aACC,eACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-label {
|
|||
|
display: block;
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-voice-label {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-label {
|
|||
|
font-weight: bold;
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},2577:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{display:flex;position:relative}.ck.ck-labeled-field-view .ck.ck-label{display:block;position:absolute}:root{--ck-labeled-field-view-transition:.1s cubic-bezier(0,0,0.24,0.95);--ck-labeled-field-empty-unfocused-max-width:100% - 2 * var(--ck-spacing-medium);--ck-labeled-field-label-default-position-x:var(--ck-spacing-medium);--ck-labeled-field-label-default-position-y:calc(var(--ck-font-size-base)*0.6);--ck-color-labeled-field-label-background:var(--ck-color-base-background)}.ck.ck-labeled-field-view{border-radius:0}.ck-rounded-corners .ck.ck-labeled-field-view,.ck.ck-labeled-field-view.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{width:100%}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{top:0}[dir=ltr] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{left:0}[dir=rtl] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{right:0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:var(--ck-color-labeled-field-label-background);font-weight:400;line-height:normal;max-width:100%;overflow:hidden;padding:0 calc(var(--ck-font-size-tiny)*.5);pointer-events:none;text-overflow:ellipsis;transform:translate(var(--ck-spacing-medium),-6px) scale(.75);transform-origin:0 0;transition:transform var(--ck-labeled-field-view-transition),padding var(--ck-labeled-field-view-transition),background var(--ck-labeled-field-view-transition)}.ck.ck-labeled-field-view.ck-error .ck-input:not([readonly])+.ck.ck-label,.ck.ck-labeled-field-view.ck-error>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view .ck-labeled-field-view__status{font-size:var(--ck-font-size-small);margin-top:var(--ck-spacing-small);white-space:normal}.ck.ck-labeled-field-view .ck-labeled-field-view__status.ck-labeled-field-view__status_error{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view.ck-disabled>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-input-disabled-text)}[dir=ltr] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=ltr] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(var(--ck-labeled-field-label-default-position-x),var(--ck-labeled-field-label-default-position-y)) scale(1)}[dir=rtl] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=rtl] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(calc(var(--ck-labeled-field-label-default-position-x)*-1),var(--ck-labeled-field-label-default-position-y)) scale(1)}.ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:transparent;max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width));padding:0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck.ck-button{background:transparent}.ck.ck-labeled-field-view.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck-button>.ck-button__label{opacity:0}.ck.ck-labeled-field-view.ck-labe
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-labeled-field-view {
|
|||
|
& > .ck.ck-labeled-field-view__input-wrapper {
|
|||
|
display: flex;
|
|||
|
position: relative;
|
|||
|
}
|
|||
|
|
|||
|
& .ck.ck-label {
|
|||
|
display: block;
|
|||
|
position: absolute;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
|||
|
@import "../../../mixins/_rounded.css";
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-labeled-field-view-transition: .1s cubic-bezier(0, 0, 0.24, 0.95);
|
|||
|
--ck-labeled-field-empty-unfocused-max-width: 100% - 2 * var(--ck-spacing-medium);
|
|||
|
--ck-labeled-field-label-default-position-x: var(--ck-spacing-medium);
|
|||
|
--ck-labeled-field-label-default-position-y: calc(0.6 * var(--ck-font-size-base));
|
|||
|
--ck-color-labeled-field-label-background: var(--ck-color-base-background);
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-labeled-field-view {
|
|||
|
@mixin ck-rounded-corners;
|
|||
|
|
|||
|
& > .ck.ck-labeled-field-view__input-wrapper {
|
|||
|
width: 100%;
|
|||
|
|
|||
|
& > .ck.ck-label {
|
|||
|
top: 0px;
|
|||
|
|
|||
|
@mixin ck-dir ltr {
|
|||
|
left: 0px;
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir rtl {
|
|||
|
right: 0px;
|
|||
|
}
|
|||
|
|
|||
|
pointer-events: none;
|
|||
|
transform-origin: 0 0;
|
|||
|
|
|||
|
/* By default, display the label scaled down above the field. */
|
|||
|
transform: translate(var(--ck-spacing-medium), -6px) scale(.75);
|
|||
|
|
|||
|
background: var(--ck-color-labeled-field-label-background);
|
|||
|
padding: 0 calc(.5 * var(--ck-font-size-tiny));
|
|||
|
line-height: initial;
|
|||
|
font-weight: normal;
|
|||
|
|
|||
|
/* Prevent overflow when the label is longer than the input */
|
|||
|
text-overflow: ellipsis;
|
|||
|
overflow: hidden;
|
|||
|
|
|||
|
max-width: 100%;
|
|||
|
|
|||
|
transition:
|
|||
|
transform var(--ck-labeled-field-view-transition),
|
|||
|
padding var(--ck-labeled-field-view-transition),
|
|||
|
background var(--ck-labeled-field-view-transition);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-error {
|
|||
|
& > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
|
|||
|
color: var(--ck-color-base-error);
|
|||
|
}
|
|||
|
|
|||
|
& .ck-input:not([readonly]) + .ck.ck-label {
|
|||
|
color: var(--ck-color-base-error);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
& .ck-labeled-field-view__status {
|
|||
|
font-size: var(--ck-font-size-small);
|
|||
|
margin-top: var(--ck-spacing-small);
|
|||
|
|
|||
|
/* Let the info wrap to the next line to avoid stretching the layout horizontally.
|
|||
|
The status could be very long. */
|
|||
|
white-space: normal;
|
|||
|
|
|||
|
&.ck-labeled-field-view__status_error {
|
|||
|
color: var(--ck-color-base-error);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* Disabled fields and fields that have no focus should fade out. */
|
|||
|
&.ck-disabled > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,
|
|||
|
&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
|
|||
|
color: var(--ck-color-input-disabled-text);
|
|||
|
}
|
|||
|
|
|||
|
/* Fields that are disabled or not focused and without a placeholder should have full-sized labels. */
|
|||
|
/* stylelint-disable-next-line no-descending-specificity */
|
|||
|
&.ck-disabled.ck-labeled-field-view_empty > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,
|
|||
|
&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
|
|||
|
@mixin ck-dir ltr {
|
|||
|
transform: translate(var(--ck-labeled-field-label-default-position-x), var(--ck-labeled-field-label-default-position-y)) scale(1);
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir rtl {
|
|||
|
transform: translate(calc(-1 * var(--ck-labeled-field-label-default-position-x)), var(--ck-labeled-field-label-default-position-y)) scale(1);
|
|||
|
}
|
|||
|
|
|||
|
/* Compensate for the default translate position. */
|
|||
|
max-width: calc(var(--ck-labeled-field-empty-unfocused-max-width));
|
|||
|
|
|||
|
background: transparent;
|
|||
|
padding: 0;
|
|||
|
}
|
|||
|
|
|||
|
/*------ DropdownView integration ----------------------------------------------------------------------------------- */
|
|||
|
|
|||
|
/* Make sure dropdown' background color in any of dropdown's state does not collide with labeled field. */
|
|||
|
& > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck.ck-button {
|
|||
|
background: transparent;
|
|||
|
}
|
|||
|
|
|||
|
/* When the dropdown is "empty", the labeled field label replaces its label. */
|
|||
|
&.ck-labeled-field-view_empty > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck-button > .ck-button__label {
|
|||
|
opacity: 0;
|
|||
|
}
|
|||
|
|
|||
|
/* Make sure the label of the empty, unfocused input does not cover the dropdown arrow. */
|
|||
|
&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown + .ck-label {
|
|||
|
max-width: calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard));
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* Implements rounded corner interface for .ck-rounded-corners class.
|
|||
|
*
|
|||
|
* @see $ck-border-radius
|
|||
|
*/
|
|||
|
@define-mixin ck-rounded-corners {
|
|||
|
border-radius: 0;
|
|||
|
|
|||
|
@nest .ck-rounded-corners &,
|
|||
|
&.ck-rounded-corners {
|
|||
|
border-radius: var(--ck-border-radius);
|
|||
|
@mixin-content;
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},1046:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-list{display:flex;flex-direction:column;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-list .ck-list__item,.ck.ck-list .ck-list__separator{display:block}.ck.ck-list .ck-list__item>:focus{position:relative;z-index:var(--ck-z-default)}.ck.ck-list{border-radius:0}.ck-rounded-corners .ck.ck-list,.ck.ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-list{background:var(--ck-color-list-background);list-style-type:none}.ck.ck-list__item{cursor:default;min-width:12em}.ck.ck-list__item .ck-button{border-radius:0;min-height:unset;padding:calc(var(--ck-line-height-base)*.2*var(--ck-font-size-base)) calc(var(--ck-line-height-base)*.4*var(--ck-font-size-base));text-align:left;width:100%}.ck.ck-list__item .ck-button .ck-button__label{line-height:calc(var(--ck-line-height-base)*1.2*var(--ck-font-size-base))}.ck.ck-list__item .ck-button:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on{background:var(--ck-color-list-button-on-background);color:var(--ck-color-list-button-on-text)}.ck.ck-list__item .ck-button.ck-on:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-on-background-focus)}.ck.ck-list__item .ck-button.ck-on:focus:not(.ck-switchbutton):not(.ck-disabled){border-color:var(--ck-color-base-background)}.ck.ck-list__item .ck-button:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background)}.ck.ck-list__item .ck-switchbutton.ck-on{background:var(--ck-color-list-background);color:inherit}.ck.ck-list__item .ck-switchbutton.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background);color:inherit}.ck.ck-list__separator{background:var(--ck-color-base-border);height:1px;width:100%}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/list/list.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/list/list.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,YAGC,YAAa,CACb,qBAAsB,CCFtB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBDaD,CAZC,2DAEC,aACD,CAKA,kCACC,iBAAkB,CAClB,2BACD,CEfD,YCEC,eDGD,CALA,+DCME,qCDDF,CALA,YAIC,0CAA2C,CAD3C,oBAED,CAEA,kBACC,cAAe,CACf,cA2DD,CAzDC,6BAIC,eAAgB,CAHhB,gBAAiB,CAQjB,iIAEiE,CARjE,eAAgB,CADhB,UAwCD,CA7BC,+CAEC,yEACD,CAEA,oCACC,eACD,CAEA,mCACC,oDAAqD,CACrD,yCAaD,CAXC,0CACC,eACD,CAEA,2DACC,0DACD,CAEA,iFACC,4CACD,CAGD,qDACC,uDACD,CAMA,yCACC,0CAA2C,CAC3C,aAMD,CAJC,iEACC,uDAAwD,CACxD,aACD,CAKH,uBAGC,sCAAuC,CAFvC,UAAW,CACX,UAED",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../../mixins/_unselectable.css";
|
|||
|
|
|||
|
.ck.ck-list {
|
|||
|
@mixin ck-unselectable;
|
|||
|
|
|||
|
display: flex;
|
|||
|
flex-direction: column;
|
|||
|
|
|||
|
& .ck-list__item,
|
|||
|
& .ck-list__separator {
|
|||
|
display: block;
|
|||
|
}
|
|||
|
|
|||
|
/* Make sure that whatever child of the list item gets focus, it remains on the
|
|||
|
top. Thanks to that, styles like box-shadow, outline, etc. are not masked by
|
|||
|
adjacent list items. */
|
|||
|
& .ck-list__item > *:focus {
|
|||
|
position: relative;
|
|||
|
z-index: var(--ck-z-default);
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* Makes element unselectable.
|
|||
|
*/
|
|||
|
@define-mixin ck-unselectable {
|
|||
|
-moz-user-select: none;
|
|||
|
-webkit-user-select: none;
|
|||
|
-ms-user-select: none;
|
|||
|
user-select: none
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../../../mixins/_disabled.css";
|
|||
|
@import "../../../mixins/_rounded.css";
|
|||
|
@import "../../../mixins/_shadow.css";
|
|||
|
|
|||
|
.ck.ck-list {
|
|||
|
@mixin ck-rounded-corners;
|
|||
|
|
|||
|
list-style-type: none;
|
|||
|
background: var(--ck-color-list-background);
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-list__item {
|
|||
|
cursor: default;
|
|||
|
min-width: 12em;
|
|||
|
|
|||
|
& .ck-button {
|
|||
|
min-height: unset;
|
|||
|
width: 100%;
|
|||
|
text-align: left;
|
|||
|
border-radius: 0;
|
|||
|
|
|||
|
/* List items should have the same height. Use absolute units to make sure it is so
|
|||
|
because e.g. different heading styles may have different height
|
|||
|
https://github.com/ckeditor/ckeditor5-heading/issues/63 */
|
|||
|
padding:
|
|||
|
calc(.2 * var(--ck-line-height-base) * var(--ck-font-size-base))
|
|||
|
calc(.4 * var(--ck-line-height-base) * var(--ck-font-size-base));
|
|||
|
|
|||
|
& .ck-button__label {
|
|||
|
/* https://github.com/ckeditor/ckeditor5-heading/issues/63 */
|
|||
|
line-height: calc(1.2 * var(--ck-line-height-base) * var(--ck-font-size-base));
|
|||
|
}
|
|||
|
|
|||
|
&:active {
|
|||
|
box-shadow: none;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-on {
|
|||
|
background: var(--ck-color-list-button-on-background);
|
|||
|
color: var(--ck-color-list-button-on-text);
|
|||
|
|
|||
|
&:active {
|
|||
|
box-shadow: none;
|
|||
|
}
|
|||
|
|
|||
|
&:hover:not(.ck-disabled) {
|
|||
|
background: var(--ck-color-list-button-on-background-focus);
|
|||
|
}
|
|||
|
|
|||
|
&:focus:not(.ck-switchbutton):not(.ck-disabled) {
|
|||
|
border-color: var(--ck-color-base-background);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&:hover:not(.ck-disabled) {
|
|||
|
background: var(--ck-color-list-button-hover-background);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* It's unnecessary to change the background/text of a switch toggle; it has different ways
|
|||
|
of conveying its state (like the switcher) */
|
|||
|
& .ck-switchbutton {
|
|||
|
&.ck-on {
|
|||
|
background: var(--ck-color-list-background);
|
|||
|
color: inherit;
|
|||
|
|
|||
|
&:hover:not(.ck-disabled) {
|
|||
|
background: var(--ck-color-list-button-hover-background);
|
|||
|
color: inherit;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-list__separator {
|
|||
|
height: 1px;
|
|||
|
width: 100%;
|
|||
|
background: var(--ck-color-base-border);
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* Implements rounded corner interface for .ck-rounded-corners class.
|
|||
|
*
|
|||
|
* @see $ck-border-radius
|
|||
|
*/
|
|||
|
@define-mixin ck-rounded-corners {
|
|||
|
border-radius: 0;
|
|||
|
|
|||
|
@nest .ck-rounded-corners &,
|
|||
|
&.ck-rounded-corners {
|
|||
|
border-radius: var(--ck-border-radius);
|
|||
|
@mixin-content;
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},8793:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,':root{--ck-balloon-panel-arrow-z-index:calc(var(--ck-z-default) - 3)}.ck.ck-balloon-panel{display:none;position:absolute;z-index:var(--ck-z-modal)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{content:"";position:absolute}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_n]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_n]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_s]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_s]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel.ck-balloon-panel_visible{display:block}:root{--ck-balloon-border-width:1px;--ck-balloon-arrow-offset:2px;--ck-balloon-arrow-height:10px;--ck-balloon-arrow-half-width:8px;--ck-balloon-arrow-drop-shadow:0 2px 2px var(--ck-color-shadow-drop)}.ck.ck-balloon-panel{border-radius:0}.ck-rounded-corners .ck.ck-balloon-panel,.ck.ck-balloon-panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-balloon-panel{background:var(--ck-color-panel-background);border:var(--ck-balloon-border-width) solid var(--ck-color-panel-border);box-shadow:var(--ck-drop-shadow),0 0;min-height:15px}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{border-style:solid;height:0;width:0}.ck.ck-balloon-panel[class*=arrow_n]:after,.ck.ck-balloon-panel[class*=arrow_n]:before{border-width:0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_n]:before{border-color:transparent transparent var(--ck-color-panel-border) transparent;margin-top:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_n]:after{border-color:transparent transparent var(--ck-color-panel-background) transparent;margin-top:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_s]:after,.ck.ck-balloon-panel[class*=arrow_s]:before{border-width:var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_s]:before{border-color:var(--ck-color-panel-border) transparent transparent;filter:drop-shadow(var(--ck-balloon-arrow-drop-shadow));margin-bottom:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_s]:after{border-color:var(--ck-color-panel-background) transparent transparent transparent;margin-bottom:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_e]:after,.ck.ck-balloon-panel[class*=arrow_e]:before{border-width:var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height)}.ck.ck-balloon-panel[class*=arrow_e]:before{border-color:transparent transparent transparent var(--ck-color-panel-border);margin-right:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_e]:after{border-color:transparent transparent transparent var(--ck-color-panel-background);margin-right:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_w]:after,.ck.ck-balloon-panel[class*=arrow_w]:before{border-width:var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0}.ck.ck-balloon-panel[class*=arrow_w]:before{border-color:transparent var(--ck-color-panel-border) transparent transparent;margin-left:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_w]:after{border-color:transparent var(--ck-color-panel-background) transparent transparent;margin-left:calc(var(--ck-balloon-a
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
/* Make sure the balloon arrow does not float over its children. */
|
|||
|
--ck-balloon-panel-arrow-z-index: calc(var(--ck-z-default) - 3);
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-balloon-panel {
|
|||
|
display: none;
|
|||
|
position: absolute;
|
|||
|
|
|||
|
z-index: var(--ck-z-modal);
|
|||
|
|
|||
|
&.ck-balloon-panel_with-arrow {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
content: "";
|
|||
|
position: absolute;
|
|||
|
}
|
|||
|
|
|||
|
&::before {
|
|||
|
z-index: var(--ck-balloon-panel-arrow-z-index);
|
|||
|
}
|
|||
|
|
|||
|
&::after {
|
|||
|
z-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&[class*="arrow_n"] {
|
|||
|
&::before {
|
|||
|
z-index: var(--ck-balloon-panel-arrow-z-index);
|
|||
|
}
|
|||
|
|
|||
|
&::after {
|
|||
|
z-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&[class*="arrow_s"] {
|
|||
|
&::before {
|
|||
|
z-index: var(--ck-balloon-panel-arrow-z-index);
|
|||
|
}
|
|||
|
|
|||
|
&::after {
|
|||
|
z-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-balloon-panel_visible {
|
|||
|
display: block;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../../../mixins/_rounded.css";
|
|||
|
@import "../../../mixins/_shadow.css";
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-balloon-border-width: 1px;
|
|||
|
--ck-balloon-arrow-offset: 2px;
|
|||
|
--ck-balloon-arrow-height: 10px;
|
|||
|
--ck-balloon-arrow-half-width: 8px;
|
|||
|
--ck-balloon-arrow-drop-shadow: 0 2px 2px var(--ck-color-shadow-drop);
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-balloon-panel {
|
|||
|
@mixin ck-rounded-corners;
|
|||
|
@mixin ck-drop-shadow;
|
|||
|
|
|||
|
min-height: 15px;
|
|||
|
|
|||
|
background: var(--ck-color-panel-background);
|
|||
|
border: var(--ck-balloon-border-width) solid var(--ck-color-panel-border);
|
|||
|
|
|||
|
&.ck-balloon-panel_with-arrow {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
width: 0;
|
|||
|
height: 0;
|
|||
|
border-style: solid;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&[class*="arrow_n"] {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
border-width: 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width);
|
|||
|
}
|
|||
|
|
|||
|
&::before {
|
|||
|
border-color: transparent transparent var(--ck-color-panel-border) transparent;
|
|||
|
margin-top: calc( -1 * var(--ck-balloon-border-width) );
|
|||
|
}
|
|||
|
|
|||
|
&::after {
|
|||
|
border-color: transparent transparent var(--ck-color-panel-background) transparent;
|
|||
|
margin-top: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&[class*="arrow_s"] {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
border-width: var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width);
|
|||
|
}
|
|||
|
|
|||
|
&::before {
|
|||
|
border-color: var(--ck-color-panel-border) transparent transparent;
|
|||
|
filter: drop-shadow(var(--ck-balloon-arrow-drop-shadow));
|
|||
|
margin-bottom: calc( -1 * var(--ck-balloon-border-width) );
|
|||
|
}
|
|||
|
|
|||
|
&::after {
|
|||
|
border-color: var(--ck-color-panel-background) transparent transparent transparent;
|
|||
|
margin-bottom: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&[class*="arrow_e"] {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
border-width: var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height);
|
|||
|
}
|
|||
|
|
|||
|
&::before {
|
|||
|
border-color: transparent transparent transparent var(--ck-color-panel-border);
|
|||
|
margin-right: calc( -1 * var(--ck-balloon-border-width) );
|
|||
|
}
|
|||
|
|
|||
|
&::after {
|
|||
|
border-color: transparent transparent transparent var(--ck-color-panel-background);
|
|||
|
margin-right: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&[class*="arrow_w"] {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
border-width: var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0;
|
|||
|
}
|
|||
|
|
|||
|
&::before {
|
|||
|
border-color: transparent var(--ck-color-panel-border) transparent transparent;
|
|||
|
margin-left: calc( -1 * var(--ck-balloon-border-width) );
|
|||
|
}
|
|||
|
|
|||
|
&::after {
|
|||
|
border-color: transparent var(--ck-color-panel-background) transparent transparent;
|
|||
|
margin-left: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-balloon-panel_arrow_n {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
left: 50%;
|
|||
|
margin-left: calc(-1 * var(--ck-balloon-arrow-half-width));
|
|||
|
top: calc(-1 * var(--ck-balloon-arrow-height));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-balloon-panel_arrow_nw {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
left: calc(2 * var(--ck-balloon-arrow-half-width));
|
|||
|
top: calc(-1 * var(--ck-balloon-arrow-height));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-balloon-panel_arrow_ne {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
right: calc(2 * var(--ck-balloon-arrow-half-width));
|
|||
|
top: calc(-1 * var(--ck-balloon-arrow-height));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-balloon-panel_arrow_s {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
left: 50%;
|
|||
|
margin-left: calc(-1 * var(--ck-balloon-arrow-half-width));
|
|||
|
bottom: calc(-1 * var(--ck-balloon-arrow-height));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-balloon-panel_arrow_sw {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
left: calc(2 * var(--ck-balloon-arrow-half-width));
|
|||
|
bottom: calc(-1 * var(--ck-balloon-arrow-height));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-balloon-panel_arrow_se {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
right: calc(2 * var(--ck-balloon-arrow-half-width));
|
|||
|
bottom: calc(-1 * var(--ck-balloon-arrow-height));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-balloon-panel_arrow_sme {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
right: 25%;
|
|||
|
margin-right: calc(2 * var(--ck-balloon-arrow-half-width));
|
|||
|
bottom: calc(-1 * var(--ck-balloon-arrow-height));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-balloon-panel_arrow_smw {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
left: 25%;
|
|||
|
margin-left: calc(2 * var(--ck-balloon-arrow-half-width));
|
|||
|
bottom: calc(-1 * var(--ck-balloon-arrow-height));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-balloon-panel_arrow_nme {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
right: 25%;
|
|||
|
margin-right: calc(2 * var(--ck-balloon-arrow-half-width));
|
|||
|
top: calc(-1 * var(--ck-balloon-arrow-height));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-balloon-panel_arrow_nmw {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
left: 25%;
|
|||
|
margin-left: calc(2 * var(--ck-balloon-arrow-half-width));
|
|||
|
top: calc(-1 * var(--ck-balloon-arrow-height));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-balloon-panel_arrow_e {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
right: calc(-1 * var(--ck-balloon-arrow-height));
|
|||
|
margin-top: calc(-1 * var(--ck-balloon-arrow-half-width));
|
|||
|
top: 50%;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-balloon-panel_arrow_w {
|
|||
|
&::before,
|
|||
|
&::after {
|
|||
|
left: calc(-1 * var(--ck-balloon-arrow-height));
|
|||
|
margin-top: calc(-1 * var(--ck-balloon-arrow-half-width));
|
|||
|
top: 50%;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* Implements rounded corner interface for .ck-rounded-corners class.
|
|||
|
*
|
|||
|
* @see $ck-border-radius
|
|||
|
*/
|
|||
|
@define-mixin ck-rounded-corners {
|
|||
|
border-radius: 0;
|
|||
|
|
|||
|
@nest .ck-rounded-corners &,
|
|||
|
&.ck-rounded-corners {
|
|||
|
border-radius: var(--ck-border-radius);
|
|||
|
@mixin-content;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* A helper to combine multiple shadows.
|
|||
|
*/
|
|||
|
@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {
|
|||
|
box-shadow: $shadowA, $shadowB;
|
|||
|
}
|
|||
|
|
|||
|
/**
|
|||
|
* Gives an element a drop shadow so it looks like a floating panel.
|
|||
|
*/
|
|||
|
@define-mixin ck-drop-shadow {
|
|||
|
@mixin ck-box-shadow var(--ck-drop-shadow);
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},4650:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck .ck-balloon-rotator__navigation{align-items:center;display:flex;justify-content:center}.ck .ck-balloon-rotator__content .ck-toolbar{justify-content:center}.ck .ck-balloon-rotator__navigation{background:var(--ck-color-toolbar-background);border-bottom:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation>*{margin-bottom:var(--ck-spacing-small);margin-right:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation .ck-balloon-rotator__counter{margin-left:var(--ck-spacing-small);margin-right:var(--ck-spacing-standard)}.ck .ck-balloon-rotator__content .ck.ck-annotation-wrapper{box-shadow:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/balloonrotator.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/balloonrotator.css"],names:[],mappings:"AAKA,oCAEC,kBAAmB,CADnB,YAAa,CAEb,sBACD,CAKA,6CACC,sBACD,CCXA,oCACC,6CAA8C,CAC9C,sDAAuD,CACvD,iCAgBD,CAbC,sCAGC,qCAAsC,CAFtC,oCAAqC,CACrC,kCAED,CAGA,iEAIC,mCAAoC,CAHpC,uCAID,CAMA,2DACC,eACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck .ck-balloon-rotator__navigation {
|
|||
|
display: flex;
|
|||
|
align-items: center;
|
|||
|
justify-content: center;
|
|||
|
}
|
|||
|
|
|||
|
/* Buttons inside a toolbar should be centered when rotator bar is wider.
|
|||
|
* See: https://github.com/ckeditor/ckeditor5-ui/issues/495
|
|||
|
*/
|
|||
|
.ck .ck-balloon-rotator__content .ck-toolbar {
|
|||
|
justify-content: center;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck .ck-balloon-rotator__navigation {
|
|||
|
background: var(--ck-color-toolbar-background);
|
|||
|
border-bottom: 1px solid var(--ck-color-toolbar-border);
|
|||
|
padding: 0 var(--ck-spacing-small);
|
|||
|
|
|||
|
/* Let's keep similar appearance to \`ck-toolbar\`. */
|
|||
|
& > * {
|
|||
|
margin-right: var(--ck-spacing-small);
|
|||
|
margin-top: var(--ck-spacing-small);
|
|||
|
margin-bottom: var(--ck-spacing-small);
|
|||
|
}
|
|||
|
|
|||
|
/* Gives counter more breath than buttons. */
|
|||
|
& .ck-balloon-rotator__counter {
|
|||
|
margin-right: var(--ck-spacing-standard);
|
|||
|
|
|||
|
/* We need to use smaller margin because of previous button's right margin. */
|
|||
|
margin-left: var(--ck-spacing-small);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-balloon-rotator__content {
|
|||
|
|
|||
|
/* Disable default annotation shadow inside rotator with fake panels. */
|
|||
|
& .ck.ck-annotation-wrapper {
|
|||
|
box-shadow: none;
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},7676:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck .ck-fake-panel{position:absolute;z-index:calc(var(--ck-z-modal) - 1)}.ck .ck-fake-panel div{position:absolute}.ck .ck-fake-panel div:first-child{z-index:2}.ck .ck-fake-panel div:nth-child(2){z-index:1}:root{--ck-balloon-fake-panel-offset-horizontal:6px;--ck-balloon-fake-panel-offset-vertical:6px}.ck .ck-fake-panel div{background:var(--ck-color-panel-background);border:1px solid var(--ck-color-panel-border);border-radius:var(--ck-border-radius);box-shadow:var(--ck-drop-shadow),0 0;height:100%;min-height:15px;width:100%}.ck .ck-fake-panel div:first-child{margin-left:var(--ck-balloon-fake-panel-offset-horizontal);margin-top:var(--ck-balloon-fake-panel-offset-vertical)}.ck .ck-fake-panel div:nth-child(2){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*2);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*2)}.ck .ck-fake-panel div:nth-child(3){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*3);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*3)}.ck .ck-balloon-panel_arrow_s+.ck-fake-panel,.ck .ck-balloon-panel_arrow_se+.ck-fake-panel,.ck .ck-balloon-panel_arrow_sw+.ck-fake-panel{--ck-balloon-fake-panel-offset-vertical:-6px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/fakepanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/fakepanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,mBACC,iBAAkB,CAGlB,mCACD,CAEA,uBACC,iBACD,CAEA,mCACC,SACD,CAEA,oCACC,SACD,CCfA,MACC,6CAA8C,CAC9C,2CACD,CAGA,uBAKC,2CAA4C,CAC5C,6CAA8C,CAC9C,qCAAsC,CCXtC,oCAA8B,CDc9B,WAAY,CAPZ,eAAgB,CAMhB,UAED,CAEA,mCACC,0DAA2D,CAC3D,uDACD,CAEA,oCACC,kEAAqE,CACrE,+DACD,CACA,oCACC,kEAAqE,CACrE,+DACD,CAGA,yIAGC,4CACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck .ck-fake-panel {
|
|||
|
position: absolute;
|
|||
|
|
|||
|
/* Fake panels should be placed under main balloon content. */
|
|||
|
z-index: calc(var(--ck-z-modal) - 1);
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-fake-panel div {
|
|||
|
position: absolute;
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-fake-panel div:nth-child( 1 ) {
|
|||
|
z-index: 2;
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-fake-panel div:nth-child( 2 ) {
|
|||
|
z-index: 1;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../../../mixins/_shadow.css";
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-balloon-fake-panel-offset-horizontal: 6px;
|
|||
|
--ck-balloon-fake-panel-offset-vertical: 6px;
|
|||
|
}
|
|||
|
|
|||
|
/* Let's use \`.ck-balloon-panel\` appearance. See: balloonpanel.css. */
|
|||
|
.ck .ck-fake-panel div {
|
|||
|
@mixin ck-drop-shadow;
|
|||
|
|
|||
|
min-height: 15px;
|
|||
|
|
|||
|
background: var(--ck-color-panel-background);
|
|||
|
border: 1px solid var(--ck-color-panel-border);
|
|||
|
border-radius: var(--ck-border-radius);
|
|||
|
|
|||
|
width: 100%;
|
|||
|
height: 100%;
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-fake-panel div:nth-child( 1 ) {
|
|||
|
margin-left: var(--ck-balloon-fake-panel-offset-horizontal);
|
|||
|
margin-top: var(--ck-balloon-fake-panel-offset-vertical);
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-fake-panel div:nth-child( 2 ) {
|
|||
|
margin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 2);
|
|||
|
margin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 2);
|
|||
|
}
|
|||
|
.ck .ck-fake-panel div:nth-child( 3 ) {
|
|||
|
margin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 3);
|
|||
|
margin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 3);
|
|||
|
}
|
|||
|
|
|||
|
/* If balloon is positioned above element, we need to move fake panel to the top. */
|
|||
|
.ck .ck-balloon-panel_arrow_s + .ck-fake-panel,
|
|||
|
.ck .ck-balloon-panel_arrow_se + .ck-fake-panel,
|
|||
|
.ck .ck-balloon-panel_arrow_sw + .ck-fake-panel {
|
|||
|
--ck-balloon-fake-panel-offset-vertical: -6px;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* A helper to combine multiple shadows.
|
|||
|
*/
|
|||
|
@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {
|
|||
|
box-shadow: $shadowA, $shadowB;
|
|||
|
}
|
|||
|
|
|||
|
/**
|
|||
|
* Gives an element a drop shadow so it looks like a floating panel.
|
|||
|
*/
|
|||
|
@define-mixin ck-drop-shadow {
|
|||
|
@mixin ck-box-shadow var(--ck-drop-shadow);
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},5868:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-sticky-panel .ck-sticky-panel__content_sticky{position:fixed;top:0;z-index:var(--ck-z-modal)}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit{position:absolute;top:auto}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky{border-top-left-radius:0;border-top-right-radius:0;border-width:0 1px 1px;box-shadow:var(--ck-drop-shadow),0 0}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/stickypanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/stickypanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAMC,qDAEC,cAAe,CACf,KAAM,CAFN,yBAGD,CAEA,kEAEC,iBAAkB,CADlB,QAED,CCPA,qDAIC,wBAAyB,CACzB,yBAA0B,CAF1B,sBAAuB,CCFxB,oCDKA",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-sticky-panel {
|
|||
|
& .ck-sticky-panel__content_sticky {
|
|||
|
z-index: var(--ck-z-modal); /* #315 */
|
|||
|
position: fixed;
|
|||
|
top: 0;
|
|||
|
}
|
|||
|
|
|||
|
& .ck-sticky-panel__content_sticky_bottom-limit {
|
|||
|
top: auto;
|
|||
|
position: absolute;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../../../mixins/_shadow.css";
|
|||
|
|
|||
|
.ck.ck-sticky-panel {
|
|||
|
& .ck-sticky-panel__content_sticky {
|
|||
|
@mixin ck-drop-shadow;
|
|||
|
|
|||
|
border-width: 0 1px 1px;
|
|||
|
border-top-left-radius: 0;
|
|||
|
border-top-right-radius: 0;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* A helper to combine multiple shadows.
|
|||
|
*/
|
|||
|
@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {
|
|||
|
box-shadow: $shadowA, $shadowB;
|
|||
|
}
|
|||
|
|
|||
|
/**
|
|||
|
* Gives an element a drop shadow so it looks like a floating panel.
|
|||
|
*/
|
|||
|
@define-mixin ck-drop-shadow {
|
|||
|
@mixin ck-box-shadow var(--ck-drop-shadow);
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},6764:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/responsive-form/responsiveform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/responsive-form/responsiveform.css"],names:[],mappings:"AAQC,mCAMC,WAAY,CALZ,UAAW,CAEX,iBAAkB,CAClB,UAAW,CACX,QAAS,CAHT,OAAQ,CAKR,SACD,CAEA,yCACC,YACD,CCdA,oCDoBE,wCAMC,WAAY,CALZ,UAAW,CAEX,iBAAkB,CAClB,UAAW,CACX,QAAS,CAHT,OAAQ,CAKR,SACD,CAEA,8CACC,YACD,CC9BF,CCAD,qDACC,kDACD,CAEA,uBACC,+BAmED,CAjEC,6BAEC,YACD,CASC,uGACC,sCACD,CDvBD,oCCMD,uBAqBE,SAAU,CACV,oCA8CF,CA5CE,8CACC,wDAWD,CATC,6DACC,WAAY,CACZ,UACD,CAGA,4EACC,kBACD,CAKA,0DACC,kDACD,CAGD,iGAIC,eAAgB,CADhB,kCAAmC,CADnC,kCAmBD,CAfC,yHACC,gDACD,CARD,0OAeE,aAMF,CAJE,+IACC,kDACD,CDpEH",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";
|
|||
|
|
|||
|
.ck-vertical-form .ck-button {
|
|||
|
&::after {
|
|||
|
content: "";
|
|||
|
width: 0;
|
|||
|
position: absolute;
|
|||
|
right: -1px;
|
|||
|
top: -1px;
|
|||
|
bottom: -1px;
|
|||
|
z-index: 1;
|
|||
|
}
|
|||
|
|
|||
|
&:focus::after {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-responsive-form {
|
|||
|
@mixin ck-media-phone {
|
|||
|
& .ck-button {
|
|||
|
&::after {
|
|||
|
content: "";
|
|||
|
width: 0;
|
|||
|
position: absolute;
|
|||
|
right: -1px;
|
|||
|
top: -1px;
|
|||
|
bottom: -1px;
|
|||
|
z-index: 1;
|
|||
|
}
|
|||
|
|
|||
|
&:focus::after {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@define-mixin ck-media-phone {
|
|||
|
@media screen and (max-width: 600px) {
|
|||
|
@mixin-content;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";
|
|||
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
|||
|
|
|||
|
.ck-vertical-form > .ck-button:nth-last-child(2)::after {
|
|||
|
border-right: 1px solid var(--ck-color-base-border);
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-responsive-form {
|
|||
|
padding: var(--ck-spacing-large);
|
|||
|
|
|||
|
&:focus {
|
|||
|
/* See: https://github.com/ckeditor/ckeditor5/issues/4773 */
|
|||
|
outline: none;
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir ltr {
|
|||
|
& > :not(:first-child) {
|
|||
|
margin-left: var(--ck-spacing-standard);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir rtl {
|
|||
|
& > :not(:last-child) {
|
|||
|
margin-left: var(--ck-spacing-standard);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-media-phone {
|
|||
|
padding: 0;
|
|||
|
width: calc(.8 * var(--ck-input-width));
|
|||
|
|
|||
|
& .ck-labeled-field-view {
|
|||
|
margin: var(--ck-spacing-large) var(--ck-spacing-large) 0;
|
|||
|
|
|||
|
& .ck-input-text {
|
|||
|
min-width: 0;
|
|||
|
width: 100%;
|
|||
|
}
|
|||
|
|
|||
|
/* Let the long error messages wrap in the narrow form. */
|
|||
|
& .ck-labeled-field-view__error {
|
|||
|
white-space: normal;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* Styles for two last buttons in the form (save&cancel, edit&unlink, etc.). */
|
|||
|
& > .ck-button:nth-last-child(2) {
|
|||
|
&::after {
|
|||
|
border-right: 1px solid var(--ck-color-base-border);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
& > .ck-button:nth-last-child(1),
|
|||
|
& > .ck-button:nth-last-child(2) {
|
|||
|
padding: var(--ck-spacing-standard);
|
|||
|
margin-top: var(--ck-spacing-large);
|
|||
|
border-radius: 0;
|
|||
|
|
|||
|
&:not(:focus) {
|
|||
|
border-top: 1px solid var(--ck-color-base-border);
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir ltr {
|
|||
|
margin-left: 0;
|
|||
|
}
|
|||
|
|
|||
|
@mixin ck-dir rtl {
|
|||
|
margin-left: 0;
|
|||
|
|
|||
|
&:last-of-type {
|
|||
|
border-right: 1px solid var(--ck-color-base-border);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},9695:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-block-toolbar-button{position:absolute;z-index:var(--ck-z-default)}:root{--ck-color-block-toolbar-button:var(--ck-color-text);--ck-block-toolbar-button-size:var(--ck-font-size-normal)}.ck.ck-block-toolbar-button{color:var(--ck-color-block-toolbar-button);font-size:var(--ck-block-toolbar-size)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/toolbar/blocktoolbar.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css"],names:[],mappings:"AAKA,4BACC,iBAAkB,CAClB,2BACD,CCHA,MACC,oDAAqD,CACrD,yDACD,CAEA,4BACC,0CAA2C,CAC3C,sCACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-block-toolbar-button {
|
|||
|
position: absolute;
|
|||
|
z-index: var(--ck-z-default);
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-color-block-toolbar-button: var(--ck-color-text);
|
|||
|
--ck-block-toolbar-button-size: var(--ck-font-size-normal);
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-block-toolbar-button {
|
|||
|
color: var(--ck-color-block-toolbar-button);
|
|||
|
font-size: var(--ck-block-toolbar-size);
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},5542:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-toolbar{align-items:center;display:flex;flex-flow:row nowrap;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-toolbar>.ck-toolbar__items{align-items:center;display:flex;flex-flow:row wrap;flex-grow:1}.ck.ck-toolbar .ck.ck-toolbar__separator{display:inline-block}.ck.ck-toolbar .ck.ck-toolbar__separator:first-child,.ck.ck-toolbar .ck.ck-toolbar__separator:last-child{display:none}.ck.ck-toolbar .ck-toolbar__line-break{flex-basis:100%}.ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items{flex-direction:column}.ck.ck-toolbar.ck-toolbar_floating>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck-dropdown__button .ck-dropdown__arrow{display:none}.ck.ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-toolbar,.ck.ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-toolbar{background:var(--ck-color-toolbar-background);border:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck.ck-toolbar .ck.ck-toolbar__separator{align-self:stretch;background:var(--ck-color-toolbar-border);margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small);min-width:1px;width:1px}.ck.ck-toolbar .ck-toolbar__line-break{height:0}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break){margin-right:var(--ck-spacing-small)}.ck.ck-toolbar>.ck-toolbar__items:empty+.ck.ck-toolbar__separator{display:none}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break),.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown{margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck.ck-toolbar.ck-toolbar_vertical{padding:0}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items>.ck{border-radius:0;margin:0;width:100%}.ck.ck-toolbar.ck-toolbar_compact{padding:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>*{margin:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>:not(:first-child):not(:last-child){border-radius:0}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck.ck-button.ck-dropdown__button{padding-left:var(--ck-spacing-tiny)}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-dropdown__panel{min-width:auto}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-button>.ck-button__label{max-width:7em;width:auto}.ck-toolbar-container .ck.ck-toolbar{border:0}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck{margin-right:0}.ck.ck-toolbar[dir=rtl]:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-left:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:first-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_grouping[dir=rtl]>.ck-toolbar__items:not(:empty):not(:only-child),.ck.ck-toolbar[dir=rtl]>.ck.ck-toolbar__separator,[dir=rtl] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=rtl] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-right:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar__items>.ck:first-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../../mixins/_unselectable.css";
|
|||
|
|
|||
|
.ck.ck-toolbar {
|
|||
|
@mixin ck-unselectable;
|
|||
|
|
|||
|
display: flex;
|
|||
|
flex-flow: row nowrap;
|
|||
|
align-items: center;
|
|||
|
|
|||
|
& > .ck-toolbar__items {
|
|||
|
display: flex;
|
|||
|
flex-flow: row wrap;
|
|||
|
align-items: center;
|
|||
|
flex-grow: 1;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
& .ck.ck-toolbar__separator {
|
|||
|
display: inline-block;
|
|||
|
|
|||
|
/*
|
|||
|
* A leading or trailing separator makes no sense (separates from nothing on one side).
|
|||
|
* For instance, it can happen when toolbar items (also separators) are getting grouped one by one and
|
|||
|
* moved to another toolbar in the dropdown.
|
|||
|
*/
|
|||
|
&:first-child,
|
|||
|
&:last-child {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
& .ck-toolbar__line-break {
|
|||
|
flex-basis: 100%;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-toolbar_grouping > .ck-toolbar__items {
|
|||
|
flex-wrap: nowrap;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-toolbar_vertical > .ck-toolbar__items {
|
|||
|
flex-direction: column;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-toolbar_floating > .ck-toolbar__items {
|
|||
|
flex-wrap: nowrap;
|
|||
|
}
|
|||
|
|
|||
|
& > .ck.ck-toolbar__grouped-dropdown {
|
|||
|
& > .ck-dropdown__button .ck-dropdown__arrow {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* Makes element unselectable.
|
|||
|
*/
|
|||
|
@define-mixin ck-unselectable {
|
|||
|
-moz-user-select: none;
|
|||
|
-webkit-user-select: none;
|
|||
|
-ms-user-select: none;
|
|||
|
user-select: none
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../../../mixins/_rounded.css";
|
|||
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
|||
|
|
|||
|
.ck.ck-toolbar {
|
|||
|
@mixin ck-rounded-corners;
|
|||
|
|
|||
|
background: var(--ck-color-toolbar-background);
|
|||
|
padding: 0 var(--ck-spacing-small);
|
|||
|
border: 1px solid var(--ck-color-toolbar-border);
|
|||
|
|
|||
|
& .ck.ck-toolbar__separator {
|
|||
|
align-self: stretch;
|
|||
|
width: 1px;
|
|||
|
min-width: 1px;
|
|||
|
background: var(--ck-color-toolbar-border);
|
|||
|
|
|||
|
/*
|
|||
|
* These margins make the separators look better in balloon toolbars (when aligned with the "tip").
|
|||
|
* See https://github.com/ckeditor/ckeditor5/issues/7493.
|
|||
|
*/
|
|||
|
margin-top: var(--ck-spacing-small);
|
|||
|
margin-bottom: var(--ck-spacing-small);
|
|||
|
}
|
|||
|
|
|||
|
& .ck-toolbar__line-break {
|
|||
|
height: 0;
|
|||
|
}
|
|||
|
|
|||
|
& > .ck-toolbar__items {
|
|||
|
& > *:not(.ck-toolbar__line-break) {
|
|||
|
/* (#11) Separate toolbar items. */
|
|||
|
margin-right: var(--ck-spacing-small);
|
|||
|
}
|
|||
|
|
|||
|
/* Don't display a separator after an empty items container, for instance,
|
|||
|
when all items were grouped */
|
|||
|
&:empty + .ck.ck-toolbar__separator {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
& > .ck-toolbar__items > *:not(.ck-toolbar__line-break),
|
|||
|
& > .ck.ck-toolbar__grouped-dropdown {
|
|||
|
/* Make sure items wrapped to the next line have v-spacing */
|
|||
|
margin-top: var(--ck-spacing-small);
|
|||
|
margin-bottom: var(--ck-spacing-small);
|
|||
|
}
|
|||
|
|
|||
|
&.ck-toolbar_vertical {
|
|||
|
/* Items in a vertical toolbar span the entire width. */
|
|||
|
padding: 0;
|
|||
|
|
|||
|
/* Specificity matters here. See https://github.com/ckeditor/ckeditor5-theme-lark/issues/168. */
|
|||
|
& > .ck-toolbar__items > .ck {
|
|||
|
/* Items in a vertical toolbar should span the horizontal space. */
|
|||
|
width: 100%;
|
|||
|
|
|||
|
/* Items in a vertical toolbar should have no margin. */
|
|||
|
margin: 0;
|
|||
|
|
|||
|
/* Items in a vertical toolbar span the entire width so rounded corners are pointless. */
|
|||
|
border-radius: 0;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-toolbar_compact {
|
|||
|
/* No spacing around items. */
|
|||
|
padding: 0;
|
|||
|
|
|||
|
& > .ck-toolbar__items > * {
|
|||
|
/* Compact toolbar items have no spacing between them. */
|
|||
|
margin: 0;
|
|||
|
|
|||
|
/* "Middle" children should have no rounded corners. */
|
|||
|
&:not(:first-child):not(:last-child) {
|
|||
|
border-radius: 0;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
& > .ck.ck-toolbar__grouped-dropdown {
|
|||
|
/*
|
|||
|
* Dropdown button has asymmetric padding to fit the arrow.
|
|||
|
* This button has no arrow so let's revert that padding back to normal.
|
|||
|
*/
|
|||
|
& > .ck.ck-button.ck-dropdown__button {
|
|||
|
padding-left: var(--ck-spacing-tiny);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* A drop-down containing the nested toolbar with configured items. */
|
|||
|
& .ck-toolbar__nested-toolbar-dropdown {
|
|||
|
/* Prevent empty space in the panel when the dropdown label is visible and long but the toolbar has few items. */
|
|||
|
& > .ck-dropdown__panel {
|
|||
|
min-width: auto;
|
|||
|
}
|
|||
|
|
|||
|
& > .ck-button > .ck-button__label {
|
|||
|
max-width: 7em;
|
|||
|
width: auto;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@nest .ck-toolbar-container & {
|
|||
|
border: 0;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* stylelint-disable */
|
|||
|
|
|||
|
/*
|
|||
|
* Styles for RTL toolbars.
|
|||
|
*
|
|||
|
* Note: In some cases (e.g. a decoupled editor), the toolbar has its own "dir"
|
|||
|
* because its parent is not controlled by the editor framework.
|
|||
|
*/
|
|||
|
[dir="rtl"] .ck.ck-toolbar,
|
|||
|
.ck.ck-toolbar[dir="rtl"] {
|
|||
|
& > .ck-toolbar__items > .ck {
|
|||
|
margin-right: 0;
|
|||
|
}
|
|||
|
|
|||
|
&:not(.ck-toolbar_compact) > .ck-toolbar__items > .ck {
|
|||
|
/* (#11) Separate toolbar items. */
|
|||
|
margin-left: var(--ck-spacing-small);
|
|||
|
}
|
|||
|
|
|||
|
& > .ck-toolbar__items > .ck:last-child {
|
|||
|
margin-left: 0;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-toolbar_compact > .ck-toolbar__items > .ck {
|
|||
|
/* No rounded corners on the right side of the first child. */
|
|||
|
&:first-child {
|
|||
|
border-top-left-radius: 0;
|
|||
|
border-bottom-left-radius: 0;
|
|||
|
}
|
|||
|
|
|||
|
/* No rounded corners on the left side of the last child. */
|
|||
|
&:last-child {
|
|||
|
border-top-right-radius: 0;
|
|||
|
border-bottom-right-radius: 0;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* Separate the the separator form the grouping dropdown when some items are grouped. */
|
|||
|
& > .ck.ck-toolbar__separator {
|
|||
|
margin-left: var(--ck-spacing-small);
|
|||
|
}
|
|||
|
|
|||
|
/* Some spacing between the items and the separator before the grouped items dropdown. */
|
|||
|
&.ck-toolbar_grouping > .ck-toolbar__items:not(:empty):not(:only-child) {
|
|||
|
margin-left: var(--ck-spacing-small);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Styles for LTR toolbars.
|
|||
|
*
|
|||
|
* Note: In some cases (e.g. a decoupled editor), the toolbar has its own "dir"
|
|||
|
* because its parent is not controlled by the editor framework.
|
|||
|
*/
|
|||
|
[dir="ltr"] .ck.ck-toolbar,
|
|||
|
.ck.ck-toolbar[dir="ltr"] {
|
|||
|
& > .ck-toolbar__items > .ck:last-child {
|
|||
|
margin-right: 0;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-toolbar_compact > .ck-toolbar__items > .ck {
|
|||
|
/* No rounded corners on the right side of the first child. */
|
|||
|
&:first-child {
|
|||
|
border-top-right-radius: 0;
|
|||
|
border-bottom-right-radius: 0;
|
|||
|
}
|
|||
|
|
|||
|
/* No rounded corners on the left side of the last child. */
|
|||
|
&:last-child {
|
|||
|
border-top-left-radius: 0;
|
|||
|
border-bottom-left-radius: 0;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* Separate the the separator form the grouping dropdown when some items are grouped. */
|
|||
|
& > .ck.ck-toolbar__separator {
|
|||
|
margin-right: var(--ck-spacing-small);
|
|||
|
}
|
|||
|
|
|||
|
/* Some spacing between the items and the separator before the grouped items dropdown. */
|
|||
|
&.ck-toolbar_grouping > .ck-toolbar__items:not(:empty):not(:only-child) {
|
|||
|
margin-right: var(--ck-spacing-small);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* stylelint-enable */
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* Implements rounded corner interface for .ck-rounded-corners class.
|
|||
|
*
|
|||
|
* @see $ck-border-radius
|
|||
|
*/
|
|||
|
@define-mixin ck-rounded-corners {
|
|||
|
border-radius: 0;
|
|||
|
|
|||
|
@nest .ck-rounded-corners &,
|
|||
|
&.ck-rounded-corners {
|
|||
|
border-radius: var(--ck-border-radius);
|
|||
|
@mixin-content;
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},3332:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck.ck-balloon-panel.ck-tooltip{--ck-balloon-border-width:0px;--ck-balloon-arrow-offset:0px;--ck-balloon-arrow-half-width:4px;--ck-balloon-arrow-height:4px;--ck-color-panel-background:var(--ck-color-tooltip-background);padding:0 var(--ck-spacing-medium);pointer-events:none;z-index:calc(var(--ck-z-modal) + 100)}.ck.ck-balloon-panel.ck-tooltip .ck-tooltip__text{color:var(--ck-color-tooltip-text);font-size:.9em;line-height:1.5}.ck.ck-balloon-panel.ck-tooltip{box-shadow:none}.ck.ck-balloon-panel.ck-tooltip:before{display:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/tooltip/tooltip.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/tooltip/tooltip.css"],names:[],mappings:"AAKA,gCCGC,6BAA8B,CAC9B,6BAA8B,CAC9B,iCAAkC,CAClC,6BAA8B,CAC9B,8DAA+D,CAE/D,kCAAmC,CDPnC,mBAAoB,CAEpB,qCACD,CCMC,kDAGC,kCAAmC,CAFnC,cAAe,CACf,eAED,CAbD,gCAgBC,eAMD,CAHC,uCACC,YACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-balloon-panel.ck-tooltip {
|
|||
|
/* Keep tooltips transparent for any interactions. */
|
|||
|
pointer-events: none;
|
|||
|
|
|||
|
z-index: calc( var(--ck-z-modal) + 100 );
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../../../mixins/_rounded.css";
|
|||
|
|
|||
|
.ck.ck-balloon-panel.ck-tooltip {
|
|||
|
--ck-balloon-border-width: 0px;
|
|||
|
--ck-balloon-arrow-offset: 0px;
|
|||
|
--ck-balloon-arrow-half-width: 4px;
|
|||
|
--ck-balloon-arrow-height: 4px;
|
|||
|
--ck-color-panel-background: var(--ck-color-tooltip-background);
|
|||
|
|
|||
|
padding: 0 var(--ck-spacing-medium);
|
|||
|
|
|||
|
& .ck-tooltip__text {
|
|||
|
font-size: .9em;
|
|||
|
line-height: 1.5;
|
|||
|
color: var(--ck-color-tooltip-text);
|
|||
|
}
|
|||
|
|
|||
|
/* Reset balloon panel styles */
|
|||
|
box-shadow: none;
|
|||
|
|
|||
|
/* Hide the default shadow of the .ck-balloon-panel tip */
|
|||
|
&::before {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},4793:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck-hidden{display:none!important}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{box-sizing:border-box;height:auto;position:static;width:auto}:root{--ck-z-default:1;--ck-z-modal:calc(var(--ck-z-default) + 999)}.ck-transitions-disabled,.ck-transitions-disabled *{transition:none!important}:root{--ck-color-base-foreground:#fafafa;--ck-color-base-background:#fff;--ck-color-base-border:#ccced1;--ck-color-base-action:#53a336;--ck-color-base-focus:#6cb5f9;--ck-color-base-text:#333;--ck-color-base-active:#2977ff;--ck-color-base-active-focus:#0d65ff;--ck-color-base-error:#db3700;--ck-color-focus-border-coordinates:218,81.8%,56.9%;--ck-color-focus-border:hsl(var(--ck-color-focus-border-coordinates));--ck-color-focus-outer-shadow:#cae1fc;--ck-color-focus-disabled-shadow:rgba(119,186,248,.3);--ck-color-focus-error-shadow:rgba(255,64,31,.3);--ck-color-text:var(--ck-color-base-text);--ck-color-shadow-drop:rgba(0,0,0,.15);--ck-color-shadow-drop-active:rgba(0,0,0,.2);--ck-color-shadow-inner:rgba(0,0,0,.1);--ck-color-button-default-background:transparent;--ck-color-button-default-hover-background:#f0f0f0;--ck-color-button-default-active-background:#f0f0f0;--ck-color-button-default-disabled-background:transparent;--ck-color-button-on-background:#f0f7ff;--ck-color-button-on-hover-background:#dbecff;--ck-color-button-on-active-background:#dbecff;--ck-color-button-on-disabled-background:#f0f2f4;--ck-color-button-on-color:#2977ff;--ck-color-button-action-background:var(--ck-color-base-action);--ck-color-button-action-hover-background:#4d9d30;--ck-color-button-action-active-background:#4d9d30;--ck-color-button-action-disabled-background:#7ec365;--ck-color-button-action-text:var(--ck-color-base-background);--ck-color-button-save:#008a00;--ck-color-button-cancel:#db3700;--ck-color-switch-button-off-background:#939393;--ck-color-switch-button-off-hover-background:#7d7d7d;--ck-color-switch-button-on-background:var(--ck-color-button-action-background);--ck-color-switch-button-on-hover-background:#4d9d30;--ck-color-switch-button-inner-background:var(--ck-color-base-background);--ck-color-switch-button-inner-shadow:rgba(0,0,0,.1);--ck-color-dropdown-panel-background:var(--ck-color-base-background);--ck-color-dropdown-panel-border:var(--ck-color-base-border);--ck-color-input-background:var(--ck-color-base-background);--ck-color-input-border:var(--ck-color-base-border);--ck-color-input-error-border:var(--ck-color-base-error);--ck-color-input-text:var(--ck-color-base-text);--ck-color-input-disabled-background:#f2f2f2;--ck-color-input-disabled-border:var(--ck-color-base-border);--ck-color-input-disabled-text:#757575;--ck-color-list-background:var(--ck-color-base-background);--ck-color-list-button-hover-background:var(--ck-color-button-default-hover-background);--ck-color-list-button-on-background:var(--ck-color-button-on-color);--ck-color-list-button-on-background-focus:var(--ck-color-button-on-color);--ck-color-list-button-on-text:var(--ck-color-base-background);--ck-color-panel-background:var(--ck-color-base-background);--ck-color-panel-border:var(--ck-color-base-border);--ck-color-toolbar-background:var(--ck-color-base-background);--ck-color-toolbar-border:var(--ck-color-base-border);--ck-color-tooltip-background:var(--ck-color-base-text);--ck-color-tooltip-text:var(--ck-color-base-background);--ck-color-engine-placeholder-text:#707070;--ck-color-upload-bar-background:#6cb5f9;--ck-color-link-default:#0000f0;--ck-color-link-selected-background:rgba(31,176,255,.1);--ck-color-link-fake-selection:rgba(31,176,255,.3);--ck-color-highlight-background:#ff0;--ck-disabled-opacity:.5;--ck-focus-outer-shadow-geometry:0 0 0 3px;--ck-focus-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);--ck-focus-disabled-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);--ck-focus-error-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* A class which hides an element in DOM.
|
|||
|
*/
|
|||
|
.ck-hidden {
|
|||
|
/* Override selector specificity. Otherwise, all elements with some display
|
|||
|
style defined will override this one, which is not a desired result. */
|
|||
|
display: none !important;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck.ck-reset,
|
|||
|
.ck.ck-reset_all,
|
|||
|
.ck-reset_all *:not(.ck-reset_all-excluded *) {
|
|||
|
box-sizing: border-box;
|
|||
|
width: auto;
|
|||
|
height: auto;
|
|||
|
position: static;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-z-default: 1;
|
|||
|
--ck-z-modal: calc( var(--ck-z-default) + 999 );
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* A class that disables all transitions of the element and its children.
|
|||
|
*/
|
|||
|
.ck-transitions-disabled,
|
|||
|
.ck-transitions-disabled * {
|
|||
|
transition: none !important;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-color-base-foreground: hsl(0, 0%, 98%);
|
|||
|
--ck-color-base-background: hsl(0, 0%, 100%);
|
|||
|
--ck-color-base-border: hsl(220, 6%, 81%);
|
|||
|
--ck-color-base-action: hsl(104, 50.2%, 42.5%);
|
|||
|
--ck-color-base-focus: hsl(209, 92%, 70%);
|
|||
|
--ck-color-base-text: hsl(0, 0%, 20%);
|
|||
|
--ck-color-base-active: hsl(218.1, 100%, 58%);
|
|||
|
--ck-color-base-active-focus: hsl(218.2, 100%, 52.5%);
|
|||
|
--ck-color-base-error: hsl(15, 100%, 43%);
|
|||
|
|
|||
|
/* -- Generic colors ------------------------------------------------------------------------ */
|
|||
|
|
|||
|
--ck-color-focus-border-coordinates: 218, 81.8%, 56.9%;
|
|||
|
--ck-color-focus-border: hsl(var(--ck-color-focus-border-coordinates));
|
|||
|
--ck-color-focus-outer-shadow: hsl(212.4, 89.3%, 89%);
|
|||
|
--ck-color-focus-disabled-shadow: hsla(209, 90%, 72%,.3);
|
|||
|
--ck-color-focus-error-shadow: hsla(9,100%,56%,.3);
|
|||
|
--ck-color-text: var(--ck-color-base-text);
|
|||
|
--ck-color-shadow-drop: hsla(0, 0%, 0%, 0.15);
|
|||
|
--ck-color-shadow-drop-active: hsla(0, 0%, 0%, 0.2);
|
|||
|
--ck-color-shadow-inner: hsla(0, 0%, 0%, 0.1);
|
|||
|
|
|||
|
/* -- Buttons ------------------------------------------------------------------------------- */
|
|||
|
|
|||
|
--ck-color-button-default-background: transparent;
|
|||
|
--ck-color-button-default-hover-background: hsl(0, 0%, 94.1%);
|
|||
|
--ck-color-button-default-active-background: hsl(0, 0%, 94.1%);
|
|||
|
--ck-color-button-default-disabled-background: transparent;
|
|||
|
|
|||
|
--ck-color-button-on-background: hsl(212, 100%, 97.1%);
|
|||
|
--ck-color-button-on-hover-background: hsl(211.7, 100%, 92.9%);
|
|||
|
--ck-color-button-on-active-background: hsl(211.7, 100%, 92.9%);
|
|||
|
--ck-color-button-on-disabled-background: hsl(211, 15%, 95%);
|
|||
|
--ck-color-button-on-color: hsl(218.1, 100%, 58%);
|
|||
|
|
|||
|
|
|||
|
--ck-color-button-action-background: var(--ck-color-base-action);
|
|||
|
--ck-color-button-action-hover-background: hsl(104, 53.2%, 40.2%);
|
|||
|
--ck-color-button-action-active-background: hsl(104, 53.2%, 40.2%);
|
|||
|
--ck-color-button-action-disabled-background: hsl(104, 44%, 58%);
|
|||
|
--ck-color-button-action-text: var(--ck-color-base-background);
|
|||
|
|
|||
|
--ck-color-button-save: hsl(120, 100%, 27%);
|
|||
|
--ck-color-button-cancel: hsl(15, 100%, 43%);
|
|||
|
|
|||
|
--ck-color-switch-button-off-background: hsl(0, 0%, 57.6%);
|
|||
|
--ck-color-switch-button-off-hover-background: hsl(0, 0%, 49%);
|
|||
|
--ck-color-switch-button-on-background: var(--ck-color-button-action-background);
|
|||
|
--ck-color-switch-button-on-hover-background: hsl(104, 53.2%, 40.2%);
|
|||
|
--ck-color-switch-button-inner-background: var(--ck-color-base-background);
|
|||
|
--ck-color-switch-button-inner-shadow: hsla(0, 0%, 0%, 0.1);
|
|||
|
|
|||
|
/* -- Dropdown ------------------------------------------------------------------------------ */
|
|||
|
|
|||
|
--ck-color-dropdown-panel-background: var(--ck-color-base-background);
|
|||
|
--ck-color-dropdown-panel-border: var(--ck-color-base-border);
|
|||
|
|
|||
|
/* -- Input --------------------------------------------------------------------------------- */
|
|||
|
|
|||
|
--ck-color-input-background: var(--ck-color-base-background);
|
|||
|
--ck-color-input-border: var(--ck-color-base-border);
|
|||
|
--ck-color-input-error-border: var(--ck-color-base-error);
|
|||
|
--ck-color-input-text: var(--ck-color-base-text);
|
|||
|
--ck-color-input-disabled-background: hsl(0, 0%, 95%);
|
|||
|
--ck-color-input-disabled-border: var(--ck-color-base-border);
|
|||
|
--ck-color-input-disabled-text: hsl(0, 0%, 46%);
|
|||
|
|
|||
|
/* -- List ---------------------------------------------------------------------------------- */
|
|||
|
|
|||
|
--ck-color-list-background: var(--ck-color-base-background);
|
|||
|
--ck-color-list-button-hover-background: var(--ck-color-button-default-hover-background);
|
|||
|
--ck-color-list-button-on-background: var(--ck-color-button-on-color);
|
|||
|
--ck-color-list-button-on-background-focus: var(--ck-color-button-on-color);
|
|||
|
--ck-color-list-button-on-text: var(--ck-color-base-background);
|
|||
|
|
|||
|
/* -- Panel --------------------------------------------------------------------------------- */
|
|||
|
|
|||
|
--ck-color-panel-background: var(--ck-color-base-background);
|
|||
|
--ck-color-panel-border: var(--ck-color-base-border);
|
|||
|
|
|||
|
/* -- Toolbar ------------------------------------------------------------------------------- */
|
|||
|
|
|||
|
--ck-color-toolbar-background: var(--ck-color-base-background);
|
|||
|
--ck-color-toolbar-border: var(--ck-color-base-border);
|
|||
|
|
|||
|
/* -- Tooltip ------------------------------------------------------------------------------- */
|
|||
|
|
|||
|
--ck-color-tooltip-background: var(--ck-color-base-text);
|
|||
|
--ck-color-tooltip-text: var(--ck-color-base-background);
|
|||
|
|
|||
|
/* -- Engine -------------------------------------------------------------------------------- */
|
|||
|
|
|||
|
--ck-color-engine-placeholder-text: hsl(0, 0%, 44%);
|
|||
|
|
|||
|
/* -- Upload -------------------------------------------------------------------------------- */
|
|||
|
|
|||
|
--ck-color-upload-bar-background: hsl(209, 92%, 70%);
|
|||
|
|
|||
|
/* -- Link -------------------------------------------------------------------------------- */
|
|||
|
|
|||
|
--ck-color-link-default: hsl(240, 100%, 47%);
|
|||
|
--ck-color-link-selected-background: hsla(201, 100%, 56%, 0.1);
|
|||
|
--ck-color-link-fake-selection: hsla(201, 100%, 56%, 0.3);
|
|||
|
|
|||
|
/* -- Search result highlight ---------------------------------------------------------------- */
|
|||
|
|
|||
|
--ck-color-highlight-background: hsl(60, 100%, 50%)
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
/**
|
|||
|
* An opacity value of disabled UI item.
|
|||
|
*/
|
|||
|
--ck-disabled-opacity: .5;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
/**
|
|||
|
* The geometry of the of focused element's outer shadow.
|
|||
|
*/
|
|||
|
--ck-focus-outer-shadow-geometry: 0 0 0 3px;
|
|||
|
|
|||
|
/**
|
|||
|
* A visual style of focused element's outer shadow.
|
|||
|
*/
|
|||
|
--ck-focus-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);
|
|||
|
|
|||
|
/**
|
|||
|
* A visual style of focused element's outer shadow (when disabled).
|
|||
|
*/
|
|||
|
--ck-focus-disabled-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);
|
|||
|
|
|||
|
/**
|
|||
|
* A visual style of focused element's outer shadow (when has errors).
|
|||
|
*/
|
|||
|
--ck-focus-error-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);
|
|||
|
|
|||
|
/**
|
|||
|
* A visual style of focused element's border or outline.
|
|||
|
*/
|
|||
|
--ck-focus-ring: 1px solid var(--ck-color-focus-border);
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-font-size-base: 13px;
|
|||
|
--ck-line-height-base: 1.84615;
|
|||
|
--ck-font-face: Helvetica, Arial, Tahoma, Verdana, Sans-Serif;
|
|||
|
|
|||
|
--ck-font-size-tiny: 0.7em;
|
|||
|
--ck-font-size-small: 0.75em;
|
|||
|
--ck-font-size-normal: 1em;
|
|||
|
--ck-font-size-big: 1.4em;
|
|||
|
--ck-font-size-large: 1.8em;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
/* This is super-important. This is **manually** adjusted so a button without an icon
|
|||
|
is never smaller than a button with icon, additionally making sure that text-less buttons
|
|||
|
are perfect squares. The value is also shared by other components which should stay "in-line"
|
|||
|
with buttons. */
|
|||
|
--ck-ui-component-min-height: 2.3em;
|
|||
|
}
|
|||
|
|
|||
|
/**
|
|||
|
* Resets an element, ignoring its children.
|
|||
|
*/
|
|||
|
.ck.ck-reset,
|
|||
|
.ck.ck-reset_all,
|
|||
|
.ck-reset_all *:not(.ck-reset_all-excluded *) {
|
|||
|
/* Do not include inheritable rules here. */
|
|||
|
margin: 0;
|
|||
|
padding: 0;
|
|||
|
border: 0;
|
|||
|
background: transparent;
|
|||
|
text-decoration: none;
|
|||
|
vertical-align: middle;
|
|||
|
transition: none;
|
|||
|
|
|||
|
/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/105 */
|
|||
|
word-wrap: break-word;
|
|||
|
}
|
|||
|
|
|||
|
/**
|
|||
|
* Resets an element AND its children.
|
|||
|
*/
|
|||
|
.ck.ck-reset_all,
|
|||
|
.ck-reset_all *:not(.ck-reset_all-excluded *) {
|
|||
|
/* These are rule inherited by all children elements. */
|
|||
|
border-collapse: collapse;
|
|||
|
font: normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);
|
|||
|
color: var(--ck-color-text);
|
|||
|
text-align: left;
|
|||
|
white-space: nowrap;
|
|||
|
cursor: auto;
|
|||
|
float: none;
|
|||
|
}
|
|||
|
|
|||
|
.ck-reset_all {
|
|||
|
& .ck-rtl *:not(.ck-reset_all-excluded *) {
|
|||
|
text-align: right;
|
|||
|
}
|
|||
|
|
|||
|
& iframe:not(.ck-reset_all-excluded *) {
|
|||
|
/* For IE */
|
|||
|
vertical-align: inherit;
|
|||
|
}
|
|||
|
|
|||
|
& textarea:not(.ck-reset_all-excluded *) {
|
|||
|
white-space: pre-wrap;
|
|||
|
}
|
|||
|
|
|||
|
& textarea:not(.ck-reset_all-excluded *),
|
|||
|
& input[type="text"]:not(.ck-reset_all-excluded *),
|
|||
|
& input[type="password"]:not(.ck-reset_all-excluded *) {
|
|||
|
cursor: text;
|
|||
|
}
|
|||
|
|
|||
|
& textarea[disabled]:not(.ck-reset_all-excluded *),
|
|||
|
& input[type="text"][disabled]:not(.ck-reset_all-excluded *),
|
|||
|
& input[type="password"][disabled]:not(.ck-reset_all-excluded *) {
|
|||
|
cursor: default;
|
|||
|
}
|
|||
|
|
|||
|
& fieldset:not(.ck-reset_all-excluded *) {
|
|||
|
padding: 10px;
|
|||
|
border: 2px groove hsl(255, 7%, 88%);
|
|||
|
}
|
|||
|
|
|||
|
& button:not(.ck-reset_all-excluded *)::-moz-focus-inner {
|
|||
|
/* See http://stackoverflow.com/questions/5517744/remove-extra-button-spacing-padding-in-firefox */
|
|||
|
padding: 0;
|
|||
|
border: 0
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/**
|
|||
|
* Default UI rules for RTL languages.
|
|||
|
*/
|
|||
|
.ck[dir="rtl"],
|
|||
|
.ck[dir="rtl"] .ck {
|
|||
|
text-align: right;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* Default border-radius value.
|
|||
|
*/
|
|||
|
:root{
|
|||
|
--ck-border-radius: 2px;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
/**
|
|||
|
* A visual style of element's inner shadow (i.e. input).
|
|||
|
*/
|
|||
|
--ck-inner-shadow: 2px 2px 3px var(--ck-color-shadow-inner) inset;
|
|||
|
|
|||
|
/**
|
|||
|
* A visual style of element's drop shadow (i.e. panel).
|
|||
|
*/
|
|||
|
--ck-drop-shadow: 0 1px 2px 1px var(--ck-color-shadow-drop);
|
|||
|
|
|||
|
/**
|
|||
|
* A visual style of element's active shadow (i.e. comment or suggestion).
|
|||
|
*/
|
|||
|
--ck-drop-shadow-active: 0 3px 6px 1px var(--ck-color-shadow-drop-active);
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-spacing-unit: 0.6em;
|
|||
|
--ck-spacing-large: calc(var(--ck-spacing-unit) * 1.5);
|
|||
|
--ck-spacing-standard: var(--ck-spacing-unit);
|
|||
|
--ck-spacing-medium: calc(var(--ck-spacing-unit) * 0.8);
|
|||
|
--ck-spacing-small: calc(var(--ck-spacing-unit) * 0.5);
|
|||
|
--ck-spacing-tiny: calc(var(--ck-spacing-unit) * 0.3);
|
|||
|
--ck-spacing-extra-tiny: calc(var(--ck-spacing-unit) * 0.16);
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},3488:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,":root{--ck-color-resizer:var(--ck-color-focus-border);--ck-color-resizer-tooltip-background:#262626;--ck-color-resizer-tooltip-text:#f2f2f2;--ck-resizer-border-radius:var(--ck-border-radius);--ck-resizer-tooltip-offset:10px;--ck-resizer-tooltip-height:calc(var(--ck-spacing-small)*2 + 10px)}.ck .ck-widget,.ck .ck-widget.ck-widget_with-selection-handle{position:relative}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{position:absolute}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{display:block}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{visibility:visible}.ck .ck-size-view{background:var(--ck-color-resizer-tooltip-background);border:1px solid var(--ck-color-resizer-tooltip-text);border-radius:var(--ck-resizer-border-radius);color:var(--ck-color-resizer-tooltip-text);display:block;font-size:var(--ck-font-size-tiny);height:var(--ck-resizer-tooltip-height);line-height:var(--ck-resizer-tooltip-height);padding:0 var(--ck-spacing-small)}.ck .ck-size-view.ck-orientation-above-center,.ck .ck-size-view.ck-orientation-bottom-left,.ck .ck-size-view.ck-orientation-bottom-right,.ck .ck-size-view.ck-orientation-top-left,.ck .ck-size-view.ck-orientation-top-right{position:absolute}.ck .ck-size-view.ck-orientation-top-left{left:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-top-right{right:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-right{bottom:var(--ck-resizer-tooltip-offset);right:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-left{bottom:var(--ck-resizer-tooltip-offset);left:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-above-center{left:50%;top:calc(var(--ck-resizer-tooltip-height)*-1);transform:translate(-50%)}:root{--ck-widget-outline-thickness:3px;--ck-widget-handler-icon-size:16px;--ck-widget-handler-animation-duration:200ms;--ck-widget-handler-animation-curve:ease;--ck-color-widget-blurred-border:#dedede;--ck-color-widget-hover-border:#ffc83d;--ck-color-widget-editable-focus-background:var(--ck-color-base-background);--ck-color-widget-drag-handler-icon-color:var(--ck-color-base-background)}.ck .ck-widget{outline-color:transparent;outline-style:solid;outline-width:var(--ck-widget-outline-thickness);transition:outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_selected,.ck .ck-widget.ck-widget_selected:hover{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border)}.ck .ck-widget:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-editor__nested-editable{border:1px solid transparent}.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck .ck-editor__nested-editable:focus{background-color:var(--ck-color-widget-editable-focus-background);border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{background-color:transparent;border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0;box-sizing:border-box;left:calc(0px - var(--ck-widget-outline-thickness));opacity:0;padding:4px;top:0;transform:translateY(-100%);transition:background-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),visibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{color:var(--ck-color-widget-drag-handler-icon-color);height:var(--ck-widget-handler-icon-size);width:var(--ck-widget-handler-icon-size)}.ck .c
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-color-resizer: var(--ck-color-focus-border);
|
|||
|
--ck-color-resizer-tooltip-background: hsl(0, 0%, 15%);
|
|||
|
--ck-color-resizer-tooltip-text: hsl(0, 0%, 95%);
|
|||
|
|
|||
|
--ck-resizer-border-radius: var(--ck-border-radius);
|
|||
|
--ck-resizer-tooltip-offset: 10px;
|
|||
|
--ck-resizer-tooltip-height: calc(var(--ck-spacing-small) * 2 + 10px);
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-widget {
|
|||
|
/* This is neccessary for type around UI to be positioned properly. */
|
|||
|
position: relative;
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-widget.ck-widget_with-selection-handle {
|
|||
|
/* Make the widget wrapper a relative positioning container for the drag handle. */
|
|||
|
position: relative;
|
|||
|
|
|||
|
& .ck-widget__selection-handle {
|
|||
|
position: absolute;
|
|||
|
|
|||
|
& .ck-icon {
|
|||
|
/* Make sure the icon in not a subject to font-size or line-height to avoid
|
|||
|
unnecessary spacing around it. */
|
|||
|
display: block;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* Show the selection handle on mouse hover over the widget, but not for nested widgets. */
|
|||
|
&:hover > .ck-widget__selection-handle {
|
|||
|
visibility: visible;
|
|||
|
}
|
|||
|
|
|||
|
/* Show the selection handle when the widget is selected, but not for nested widgets. */
|
|||
|
&.ck-widget_selected > .ck-widget__selection-handle {
|
|||
|
visibility: visible;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-size-view {
|
|||
|
background: var(--ck-color-resizer-tooltip-background);
|
|||
|
color: var(--ck-color-resizer-tooltip-text);
|
|||
|
border: 1px solid var(--ck-color-resizer-tooltip-text);
|
|||
|
border-radius: var(--ck-resizer-border-radius);
|
|||
|
font-size: var(--ck-font-size-tiny);
|
|||
|
display: block;
|
|||
|
padding: 0 var(--ck-spacing-small);
|
|||
|
height: var(--ck-resizer-tooltip-height);
|
|||
|
line-height: var(--ck-resizer-tooltip-height);
|
|||
|
|
|||
|
&.ck-orientation-top-left,
|
|||
|
&.ck-orientation-top-right,
|
|||
|
&.ck-orientation-bottom-right,
|
|||
|
&.ck-orientation-bottom-left,
|
|||
|
&.ck-orientation-above-center {
|
|||
|
position: absolute;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-orientation-top-left {
|
|||
|
top: var(--ck-resizer-tooltip-offset);
|
|||
|
left: var(--ck-resizer-tooltip-offset);
|
|||
|
}
|
|||
|
|
|||
|
&.ck-orientation-top-right {
|
|||
|
top: var(--ck-resizer-tooltip-offset);
|
|||
|
right: var(--ck-resizer-tooltip-offset);
|
|||
|
}
|
|||
|
|
|||
|
&.ck-orientation-bottom-right {
|
|||
|
bottom: var(--ck-resizer-tooltip-offset);
|
|||
|
right: var(--ck-resizer-tooltip-offset);
|
|||
|
}
|
|||
|
|
|||
|
&.ck-orientation-bottom-left {
|
|||
|
bottom: var(--ck-resizer-tooltip-offset);
|
|||
|
left: var(--ck-resizer-tooltip-offset);
|
|||
|
}
|
|||
|
|
|||
|
/* Class applied if the widget is too small to contain the size label */
|
|||
|
&.ck-orientation-above-center {
|
|||
|
top: calc(var(--ck-resizer-tooltip-height) * -1);
|
|||
|
left: 50%;
|
|||
|
transform: translate(-50%);
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
@import "../mixins/_focus.css";
|
|||
|
@import "../mixins/_shadow.css";
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-widget-outline-thickness: 3px;
|
|||
|
--ck-widget-handler-icon-size: 16px;
|
|||
|
--ck-widget-handler-animation-duration: 200ms;
|
|||
|
--ck-widget-handler-animation-curve: ease;
|
|||
|
|
|||
|
--ck-color-widget-blurred-border: hsl(0, 0%, 87%);
|
|||
|
--ck-color-widget-hover-border: hsl(43, 100%, 62%);
|
|||
|
--ck-color-widget-editable-focus-background: var(--ck-color-base-background);
|
|||
|
--ck-color-widget-drag-handler-icon-color: var(--ck-color-base-background);
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-widget {
|
|||
|
outline-width: var(--ck-widget-outline-thickness);
|
|||
|
outline-style: solid;
|
|||
|
outline-color: transparent;
|
|||
|
transition: outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);
|
|||
|
|
|||
|
&.ck-widget_selected,
|
|||
|
&.ck-widget_selected:hover {
|
|||
|
outline: var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border);
|
|||
|
}
|
|||
|
|
|||
|
&:hover {
|
|||
|
outline-color: var(--ck-color-widget-hover-border);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-editor__nested-editable {
|
|||
|
border: 1px solid transparent;
|
|||
|
|
|||
|
/* The :focus style is applied before .ck-editor__nested-editable_focused class is rendered in the view.
|
|||
|
These styles show a different border for a blink of an eye, so \`:focus\` need to have same styles applied. */
|
|||
|
&.ck-editor__nested-editable_focused,
|
|||
|
&:focus {
|
|||
|
@mixin ck-focus-ring;
|
|||
|
@mixin ck-box-shadow var(--ck-inner-shadow);
|
|||
|
|
|||
|
background-color: var(--ck-color-widget-editable-focus-background);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-widget.ck-widget_with-selection-handle {
|
|||
|
& .ck-widget__selection-handle {
|
|||
|
padding: 4px;
|
|||
|
box-sizing: border-box;
|
|||
|
|
|||
|
/* Background and opacity will be animated as the handler shows up or the widget gets selected. */
|
|||
|
background-color: transparent;
|
|||
|
opacity: 0;
|
|||
|
|
|||
|
/* Transition:
|
|||
|
* background-color for the .ck-widget_selected state change,
|
|||
|
* visibility for hiding the handler,
|
|||
|
* opacity for the proper look of the icon when the handler disappears. */
|
|||
|
transition:
|
|||
|
background-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),
|
|||
|
visibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),
|
|||
|
opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);
|
|||
|
|
|||
|
/* Make only top corners round. */
|
|||
|
border-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;
|
|||
|
|
|||
|
/* Place the drag handler outside the widget wrapper. */
|
|||
|
transform: translateY(-100%);
|
|||
|
left: calc(0px - var(--ck-widget-outline-thickness));
|
|||
|
top: 0;
|
|||
|
|
|||
|
& .ck-icon {
|
|||
|
/* Make sure the dimensions of the icon are independent of the fon-size of the content. */
|
|||
|
width: var(--ck-widget-handler-icon-size);
|
|||
|
height: var(--ck-widget-handler-icon-size);
|
|||
|
color: var(--ck-color-widget-drag-handler-icon-color);
|
|||
|
|
|||
|
/* The "selected" part of the icon is invisible by default */
|
|||
|
& .ck-icon__selected-indicator {
|
|||
|
opacity: 0;
|
|||
|
|
|||
|
/* Note: The animation is longer on purpose. Simply feels better. */
|
|||
|
transition: opacity 300ms var(--ck-widget-handler-animation-curve);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* Advertise using the look of the icon that once clicked the handler, the widget will be selected. */
|
|||
|
&:hover .ck-icon .ck-icon__selected-indicator {
|
|||
|
opacity: 1;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* Show the selection handler on mouse hover over the widget, but not for nested widgets. */
|
|||
|
&:hover > .ck-widget__selection-handle {
|
|||
|
opacity: 1;
|
|||
|
background-color: var(--ck-color-widget-hover-border);
|
|||
|
}
|
|||
|
|
|||
|
/* Show the selection handler when the widget is selected, but not for nested widgets. */
|
|||
|
&.ck-widget_selected,
|
|||
|
&.ck-widget_selected:hover {
|
|||
|
& > .ck-widget__selection-handle {
|
|||
|
opacity: 1;
|
|||
|
background-color: var(--ck-color-focus-border);
|
|||
|
|
|||
|
/* When the widget is selected, notify the user using the proper look of the icon. */
|
|||
|
& .ck-icon .ck-icon__selected-indicator {
|
|||
|
opacity: 1;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* In a RTL environment, align the selection handler to the right side of the widget */
|
|||
|
/* stylelint-disable-next-line no-descending-specificity */
|
|||
|
.ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle {
|
|||
|
left: auto;
|
|||
|
right: calc(0px - var(--ck-widget-outline-thickness));
|
|||
|
}
|
|||
|
|
|||
|
/* https://github.com/ckeditor/ckeditor5/issues/6415 */
|
|||
|
.ck.ck-editor__editable.ck-read-only .ck-widget {
|
|||
|
/* Prevent the :hover outline from showing up because of the used outline-color transition. */
|
|||
|
transition: none;
|
|||
|
|
|||
|
&:not(.ck-widget_selected) {
|
|||
|
/* Disable visual effects of hover/active widget when CKEditor is in readOnly mode.
|
|||
|
* See: https://github.com/ckeditor/ckeditor5/issues/1261
|
|||
|
*
|
|||
|
* Leave the unit because this custom property is used in calc() by other features.
|
|||
|
* See: https://github.com/ckeditor/ckeditor5/issues/6775
|
|||
|
*/
|
|||
|
--ck-widget-outline-thickness: 0px;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-widget_with-selection-handle {
|
|||
|
& .ck-widget__selection-handle,
|
|||
|
& .ck-widget__selection-handle:hover {
|
|||
|
background: var(--ck-color-widget-blurred-border);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* Style the widget when it's selected but the editable it belongs to lost focus. */
|
|||
|
/* stylelint-disable-next-line no-descending-specificity */
|
|||
|
.ck.ck-editor__editable.ck-blurred .ck-widget {
|
|||
|
&.ck-widget_selected,
|
|||
|
&.ck-widget_selected:hover {
|
|||
|
outline-color: var(--ck-color-widget-blurred-border);
|
|||
|
|
|||
|
&.ck-widget_with-selection-handle {
|
|||
|
& > .ck-widget__selection-handle,
|
|||
|
& > .ck-widget__selection-handle:hover {
|
|||
|
background: var(--ck-color-widget-blurred-border);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
.ck.ck-editor__editable > .ck-widget.ck-widget_with-selection-handle:first-child,
|
|||
|
.ck.ck-editor__editable blockquote > .ck-widget.ck-widget_with-selection-handle:first-child {
|
|||
|
/* Do not crop selection handler if a widget is a first-child in the blockquote or in the root editable.
|
|||
|
In fact, anything with overflow: hidden.
|
|||
|
https://github.com/ckeditor/ckeditor5-block-quote/issues/28
|
|||
|
https://github.com/ckeditor/ckeditor5-widget/issues/44
|
|||
|
https://github.com/ckeditor/ckeditor5-widget/issues/66 */
|
|||
|
margin-top: calc(1em + var(--ck-widget-handler-icon-size));
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* A visual style of focused element's border.
|
|||
|
*/
|
|||
|
@define-mixin ck-focus-ring {
|
|||
|
/* Disable native outline. */
|
|||
|
outline: none;
|
|||
|
border: var(--ck-focus-ring)
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* A helper to combine multiple shadows.
|
|||
|
*/
|
|||
|
@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {
|
|||
|
box-shadow: $shadowA, $shadowB;
|
|||
|
}
|
|||
|
|
|||
|
/**
|
|||
|
* Gives an element a drop shadow so it looks like a floating panel.
|
|||
|
*/
|
|||
|
@define-mixin ck-drop-shadow {
|
|||
|
@mixin ck-box-shadow var(--ck-drop-shadow);
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},8506:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,".ck .ck-widget_with-resizer{position:relative}.ck .ck-widget__resizer{display:none;left:0;pointer-events:none;position:absolute;top:0}.ck-focused .ck-widget_with-resizer.ck-widget_selected>.ck-widget__resizer{display:block}.ck .ck-widget__resizer__handle{pointer-events:all;position:absolute}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{cursor:nwse-resize}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{cursor:nesw-resize}:root{--ck-resizer-size:10px;--ck-resizer-offset:calc(var(--ck-resizer-size)/-2 - 2px);--ck-resizer-border-width:1px}.ck .ck-widget__resizer{outline:1px solid var(--ck-color-resizer)}.ck .ck-widget__resizer__handle{background:var(--ck-color-focus-border);border:var(--ck-resizer-border-width) solid #fff;border-radius:var(--ck-resizer-border-radius);height:var(--ck-resizer-size);width:var(--ck-resizer-size)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{left:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{right:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right{bottom:var(--ck-resizer-offset);right:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left{bottom:var(--ck-resizer-offset);left:var(--ck-resizer-offset)}","",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widgetresize.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widgetresize.css"],names:[],mappings:"AAKA,4BAEC,iBACD,CAEA,wBACC,YAAa,CAMb,MAAO,CAFP,mBAAoB,CAHpB,iBAAkB,CAMlB,KACD,CAGC,2EACC,aACD,CAGD,gCAIC,kBAAmB,CAHnB,iBAcD,CATC,4IAEC,kBACD,CAEA,4IAEC,kBACD,CCpCD,MACC,sBAAuB,CAGvB,yDAAiE,CACjE,6BACD,CAEA,wBACC,yCACD,CAEA,gCAGC,uCAAwC,CACxC,gDAA6D,CAC7D,6CAA8C,CAH9C,6BAA8B,CAD9B,4BAyBD,CAnBC,oEAEC,6BAA8B,CAD9B,4BAED,CAEA,qEAEC,8BAA+B,CAD/B,4BAED,CAEA,wEACC,+BAAgC,CAChC,8BACD,CAEA,uEACC,+BAAgC,CAChC,6BACD",sourcesContent:[`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck .ck-widget_with-resizer {
|
|||
|
/* Make the widget wrapper a relative positioning container for the drag handle. */
|
|||
|
position: relative;
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-widget__resizer {
|
|||
|
display: none;
|
|||
|
position: absolute;
|
|||
|
|
|||
|
/* The wrapper itself should not interfere with the pointer device, only the handles should. */
|
|||
|
pointer-events: none;
|
|||
|
|
|||
|
left: 0;
|
|||
|
top: 0;
|
|||
|
}
|
|||
|
|
|||
|
.ck-focused .ck-widget_with-resizer.ck-widget_selected {
|
|||
|
& > .ck-widget__resizer {
|
|||
|
display: block;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-widget__resizer__handle {
|
|||
|
position: absolute;
|
|||
|
|
|||
|
/* Resizers are the only UI elements that should interfere with a pointer device. */
|
|||
|
pointer-events: all;
|
|||
|
|
|||
|
&.ck-widget__resizer__handle-top-left,
|
|||
|
&.ck-widget__resizer__handle-bottom-right {
|
|||
|
cursor: nwse-resize;
|
|||
|
}
|
|||
|
|
|||
|
&.ck-widget__resizer__handle-top-right,
|
|||
|
&.ck-widget__resizer__handle-bottom-left {
|
|||
|
cursor: nesw-resize;
|
|||
|
}
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-resizer-size: 10px;
|
|||
|
|
|||
|
/* Set the resizer with a 50% offset. */
|
|||
|
--ck-resizer-offset: calc( ( var(--ck-resizer-size) / -2 ) - 2px);
|
|||
|
--ck-resizer-border-width: 1px;
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-widget__resizer {
|
|||
|
outline: 1px solid var(--ck-color-resizer);
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-widget__resizer__handle {
|
|||
|
width: var(--ck-resizer-size);
|
|||
|
height: var(--ck-resizer-size);
|
|||
|
background: var(--ck-color-focus-border);
|
|||
|
border: var(--ck-resizer-border-width) solid hsl(0, 0%, 100%);
|
|||
|
border-radius: var(--ck-resizer-border-radius);
|
|||
|
|
|||
|
&.ck-widget__resizer__handle-top-left {
|
|||
|
top: var(--ck-resizer-offset);
|
|||
|
left: var(--ck-resizer-offset);
|
|||
|
}
|
|||
|
|
|||
|
&.ck-widget__resizer__handle-top-right {
|
|||
|
top: var(--ck-resizer-offset);
|
|||
|
right: var(--ck-resizer-offset);
|
|||
|
}
|
|||
|
|
|||
|
&.ck-widget__resizer__handle-bottom-right {
|
|||
|
bottom: var(--ck-resizer-offset);
|
|||
|
right: var(--ck-resizer-offset);
|
|||
|
}
|
|||
|
|
|||
|
&.ck-widget__resizer__handle-bottom-left {
|
|||
|
bottom: var(--ck-resizer-offset);
|
|||
|
left: var(--ck-resizer-offset);
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},4921:(E,T,f)=>{f.d(T,{Z:()=>x});var v=f(1799),I=f.n(v),C=f(2609),_=f.n(C)()(I());_.push([E.id,'.ck .ck-widget .ck-widget__type-around__button{display:block;overflow:hidden;position:absolute;z-index:var(--ck-z-default)}.ck .ck-widget .ck-widget__type-around__button svg{left:50%;position:absolute;top:50%;z-index:calc(var(--ck-z-default) + 2)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_before{left:min(10%,30px);top:calc(var(--ck-widget-outline-thickness)*-.5);transform:translateY(-50%)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_after{bottom:calc(var(--ck-widget-outline-thickness)*-.5);right:min(10%,30px);transform:translateY(50%)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{content:"";display:block;left:1px;position:absolute;top:1px;z-index:calc(var(--ck-z-default) + 1)}.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:none;left:0;position:absolute;right:0}.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__fake-caret{left:calc(var(--ck-widget-outline-thickness)*-1);right:calc(var(--ck-widget-outline-thickness)*-1)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:block;top:calc(var(--ck-widget-outline-thickness)*-1 - 1px)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__fake-caret{bottom:calc(var(--ck-widget-outline-thickness)*-1 - 1px);display:block}.ck.ck-editor__editable.ck-read-only .ck-widget__type-around,.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around,.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around{display:none}:root{--ck-widget-type-around-button-size:20px;--ck-color-widget-type-around-button-active:var(--ck-color-focus-border);--ck-color-widget-type-around-button-hover:var(--ck-color-widget-hover-border);--ck-color-widget-type-around-button-blurred-editable:var(--ck-color-widget-blurred-border);--ck-color-widget-type-around-button-radar-start-alpha:0;--ck-color-widget-type-around-button-radar-end-alpha:.3;--ck-color-widget-type-around-button-icon:var(--ck-color-base-background)}.ck .ck-widget .ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button);border-radius:100px;height:var(--ck-widget-type-around-button-size);opacity:0;pointer-events:none;transition:opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);width:var(--ck-widget-type-around-button-size)}.ck .ck-widget .ck-widget__type-around__button svg{height:8px;margin-top:1px;transform:translate(-50%,-50%);transition:transform .5s ease;width:10px}.ck .ck-widget .ck-widget__type-around__button svg *{stroke-dasharray:10;stroke-dashoffset:0;fill:none;stroke:var(--ck-color-widget-type-around-button-icon);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.ck .ck-widget .ck-widget__type-around__button svg line{stroke-dasharray:7}.ck .ck-widget .ck-widget__type-around__button:hover{animation:ck-widget-type-around-button-sonar 1s ease infinite}.ck .ck-widget .ck-widget__type-around__button:hover svg polyline{animation:ck-widget-type-around-arrow-dash 2s linear}.ck .ck-widget .ck-widget__type-around__button:hover svg line{animation:ck-widget-type-around-arrow-tip-dash 2s linear}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:1;pointer-events:auto}.ck .ck-widget:not(.ck-widget_selected)>.ck-widget__type-around>.ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button-hover)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
.ck .ck-widget {
|
|||
|
/*
|
|||
|
* Styles of the type around buttons
|
|||
|
*/
|
|||
|
& .ck-widget__type-around__button {
|
|||
|
display: block;
|
|||
|
position: absolute;
|
|||
|
overflow: hidden;
|
|||
|
z-index: var(--ck-z-default);
|
|||
|
|
|||
|
& svg {
|
|||
|
position: absolute;
|
|||
|
top: 50%;
|
|||
|
left: 50%;
|
|||
|
z-index: calc(var(--ck-z-default) + 2);
|
|||
|
}
|
|||
|
|
|||
|
&.ck-widget__type-around__button_before {
|
|||
|
/* Place it in the middle of the outline */
|
|||
|
top: calc(-0.5 * var(--ck-widget-outline-thickness));
|
|||
|
left: min(10%, 30px);
|
|||
|
|
|||
|
transform: translateY(-50%);
|
|||
|
}
|
|||
|
|
|||
|
&.ck-widget__type-around__button_after {
|
|||
|
/* Place it in the middle of the outline */
|
|||
|
bottom: calc(-0.5 * var(--ck-widget-outline-thickness));
|
|||
|
right: min(10%, 30px);
|
|||
|
|
|||
|
transform: translateY(50%);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Styles for the buttons when:
|
|||
|
* - the widget is selected,
|
|||
|
* - or the button is being hovered (regardless of the widget state).
|
|||
|
*/
|
|||
|
&.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button,
|
|||
|
& > .ck-widget__type-around > .ck-widget__type-around__button:hover {
|
|||
|
&::after {
|
|||
|
content: "";
|
|||
|
display: block;
|
|||
|
position: absolute;
|
|||
|
top: 1px;
|
|||
|
left: 1px;
|
|||
|
z-index: calc(var(--ck-z-default) + 1);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Styles for the horizontal "fake caret" which is displayed when the user navigates using the keyboard.
|
|||
|
*/
|
|||
|
& > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
|
|||
|
display: none;
|
|||
|
position: absolute;
|
|||
|
left: 0;
|
|||
|
right: 0;
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* When the widget is hovered the "fake caret" would normally be narrower than the
|
|||
|
* extra outline displayed around the widget. Let's extend the "fake caret" to match
|
|||
|
* the full width of the widget.
|
|||
|
*/
|
|||
|
&:hover > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
|
|||
|
left: calc( -1 * var(--ck-widget-outline-thickness) );
|
|||
|
right: calc( -1 * var(--ck-widget-outline-thickness) );
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Styles for the horizontal "fake caret" when it should be displayed before the widget (backward keyboard navigation).
|
|||
|
*/
|
|||
|
&.ck-widget_type-around_show-fake-caret_before > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
|
|||
|
top: calc( -1 * var(--ck-widget-outline-thickness) - 1px );
|
|||
|
display: block;
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Styles for the horizontal "fake caret" when it should be displayed after the widget (forward keyboard navigation).
|
|||
|
*/
|
|||
|
&.ck-widget_type-around_show-fake-caret_after > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
|
|||
|
bottom: calc( -1 * var(--ck-widget-outline-thickness) - 1px );
|
|||
|
display: block;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Integration with the read-only mode of the editor.
|
|||
|
*/
|
|||
|
.ck.ck-editor__editable.ck-read-only .ck-widget__type-around {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Integration with the restricted editing mode (feature) of the editor.
|
|||
|
*/
|
|||
|
.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Integration with the #isEnabled property of the WidgetTypeAround plugin.
|
|||
|
*/
|
|||
|
.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
`,`/*
|
|||
|
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|||
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|||
|
*/
|
|||
|
|
|||
|
:root {
|
|||
|
--ck-widget-type-around-button-size: 20px;
|
|||
|
--ck-color-widget-type-around-button-active: var(--ck-color-focus-border);
|
|||
|
--ck-color-widget-type-around-button-hover: var(--ck-color-widget-hover-border);
|
|||
|
--ck-color-widget-type-around-button-blurred-editable: var(--ck-color-widget-blurred-border);
|
|||
|
--ck-color-widget-type-around-button-radar-start-alpha: 0;
|
|||
|
--ck-color-widget-type-around-button-radar-end-alpha: .3;
|
|||
|
--ck-color-widget-type-around-button-icon: var(--ck-color-base-background);
|
|||
|
}
|
|||
|
|
|||
|
@define-mixin ck-widget-type-around-button-visible {
|
|||
|
opacity: 1;
|
|||
|
pointer-events: auto;
|
|||
|
}
|
|||
|
|
|||
|
@define-mixin ck-widget-type-around-button-hidden {
|
|||
|
opacity: 0;
|
|||
|
pointer-events: none;
|
|||
|
}
|
|||
|
|
|||
|
.ck .ck-widget {
|
|||
|
/*
|
|||
|
* Styles of the type around buttons
|
|||
|
*/
|
|||
|
& .ck-widget__type-around__button {
|
|||
|
width: var(--ck-widget-type-around-button-size);
|
|||
|
height: var(--ck-widget-type-around-button-size);
|
|||
|
background: var(--ck-color-widget-type-around-button);
|
|||
|
border-radius: 100px;
|
|||
|
transition: opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve), background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);
|
|||
|
|
|||
|
@mixin ck-widget-type-around-button-hidden;
|
|||
|
|
|||
|
& svg {
|
|||
|
width: 10px;
|
|||
|
height: 8px;
|
|||
|
transform: translate(-50%,-50%);
|
|||
|
transition: transform .5s ease;
|
|||
|
margin-top: 1px;
|
|||
|
|
|||
|
& * {
|
|||
|
stroke-dasharray: 10;
|
|||
|
stroke-dashoffset: 0;
|
|||
|
|
|||
|
fill: none;
|
|||
|
stroke: var(--ck-color-widget-type-around-button-icon);
|
|||
|
stroke-width: 1.5px;
|
|||
|
stroke-linecap: round;
|
|||
|
stroke-linejoin: round;
|
|||
|
}
|
|||
|
|
|||
|
& line {
|
|||
|
stroke-dasharray: 7;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&:hover {
|
|||
|
/*
|
|||
|
* Display the "sonar" around the button when hovered.
|
|||
|
*/
|
|||
|
animation: ck-widget-type-around-button-sonar 1s ease infinite;
|
|||
|
|
|||
|
/*
|
|||
|
* Animate active button's icon.
|
|||
|
*/
|
|||
|
& svg {
|
|||
|
& polyline {
|
|||
|
animation: ck-widget-type-around-arrow-dash 2s linear;
|
|||
|
}
|
|||
|
|
|||
|
& line {
|
|||
|
animation: ck-widget-type-around-arrow-tip-dash 2s linear;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Show type around buttons when the widget gets selected or being hovered.
|
|||
|
*/
|
|||
|
&.ck-widget_selected,
|
|||
|
&:hover {
|
|||
|
& > .ck-widget__type-around > .ck-widget__type-around__button {
|
|||
|
@mixin ck-widget-type-around-button-visible;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Styles for the buttons when the widget is NOT selected (but the buttons are visible
|
|||
|
* and still can be hovered).
|
|||
|
*/
|
|||
|
&:not(.ck-widget_selected) > .ck-widget__type-around > .ck-widget__type-around__button {
|
|||
|
background: var(--ck-color-widget-type-around-button-hover);
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Styles for the buttons when:
|
|||
|
* - the widget is selected,
|
|||
|
* - or the button is being hovered (regardless of the widget state).
|
|||
|
*/
|
|||
|
&.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button,
|
|||
|
& > .ck-widget__type-around > .ck-widget__type-around__button:hover {
|
|||
|
background: var(--ck-color-widget-type-around-button-active);
|
|||
|
|
|||
|
&::after {
|
|||
|
width: calc(var(--ck-widget-type-around-button-size) - 2px);
|
|||
|
height: calc(var(--ck-widget-type-around-button-size) - 2px);
|
|||
|
border-radius: 100px;
|
|||
|
background: linear-gradient(135deg, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,.3) 100%);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Styles for the "before" button when the widget has a selection handle. Because some space
|
|||
|
* is consumed by the handle, the button must be moved slightly to the right to let it breathe.
|
|||
|
*/
|
|||
|
&.ck-widget_with-selection-handle > .ck-widget__type-around > .ck-widget__type-around__button_before {
|
|||
|
margin-left: 20px;
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Styles for the horizontal "fake caret" which is displayed when the user navigates using the keyboard.
|
|||
|
*/
|
|||
|
& .ck-widget__type-around__fake-caret {
|
|||
|
pointer-events: none;
|
|||
|
height: 1px;
|
|||
|
animation: ck-widget-type-around-fake-caret-pulse linear 1s infinite normal forwards;
|
|||
|
|
|||
|
/*
|
|||
|
* The semi-transparent-outline+background combo improves the contrast
|
|||
|
* when the background underneath the fake caret is dark.
|
|||
|
*/
|
|||
|
outline: solid 1px hsla(0, 0%, 100%, .5);
|
|||
|
background: var(--ck-color-base-text);
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Styles of the widget when the "fake caret" is blinking (e.g. upon keyboard navigation).
|
|||
|
* Despite the widget being physically selected in the model, its outline should disappear.
|
|||
|
*/
|
|||
|
&.ck-widget_selected {
|
|||
|
&.ck-widget_type-around_show-fake-caret_before,
|
|||
|
&.ck-widget_type-around_show-fake-caret_after {
|
|||
|
outline-color: transparent;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
&.ck-widget_type-around_show-fake-caret_before,
|
|||
|
&.ck-widget_type-around_show-fake-caret_after {
|
|||
|
/*
|
|||
|
* When the "fake caret" is visible we simulate that the widget is not selected
|
|||
|
* (despite being physically selected), so the outline color should be for the
|
|||
|
* unselected widget.
|
|||
|
*/
|
|||
|
&.ck-widget_selected:hover {
|
|||
|
outline-color: var(--ck-color-widget-hover-border);
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Styles of the type around buttons when the "fake caret" is blinking (e.g. upon keyboard navigation).
|
|||
|
* In this state, the type around buttons would collide with the fake carets so they should disappear.
|
|||
|
*/
|
|||
|
& > .ck-widget__type-around > .ck-widget__type-around__button {
|
|||
|
@mixin ck-widget-type-around-button-hidden;
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Fake horizontal caret integration with the selection handle. When the caret is visible, simply
|
|||
|
* hide the handle because it intersects with the caret (and does not make much sense anyway).
|
|||
|
*/
|
|||
|
&.ck-widget_with-selection-handle {
|
|||
|
&.ck-widget_selected,
|
|||
|
&.ck-widget_selected:hover {
|
|||
|
& > .ck-widget__selection-handle {
|
|||
|
opacity: 0
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Fake horizontal caret integration with the resize UI. When the caret is visible, simply
|
|||
|
* hide the resize UI because it creates too much noise. It can be visible when the user
|
|||
|
* hovers the widget, though.
|
|||
|
*/
|
|||
|
&.ck-widget_selected.ck-widget_with-resizer > .ck-widget__resizer {
|
|||
|
opacity: 0
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Styles for the "before" button when the widget has a selection handle in an RTL environment.
|
|||
|
* The selection handler is aligned to the right side of the widget so there is no need to create
|
|||
|
* additional space for it next to the "before" button.
|
|||
|
*/
|
|||
|
.ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around > .ck-widget__type-around__button_before {
|
|||
|
margin-left: 0;
|
|||
|
margin-right: 20px;
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Hide type around buttons when the widget is selected as a child of a selected
|
|||
|
* nested editable (e.g. mulit-cell table selection).
|
|||
|
*
|
|||
|
* See https://github.com/ckeditor/ckeditor5/issues/7263.
|
|||
|
*/
|
|||
|
.ck-editor__nested-editable.ck-editor__editable_selected {
|
|||
|
& .ck-widget {
|
|||
|
&.ck-widget_selected,
|
|||
|
&:hover {
|
|||
|
& > .ck-widget__type-around > .ck-widget__type-around__button {
|
|||
|
@mixin ck-widget-type-around-button-hidden;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
* Styles for the buttons when the widget is selected but the user clicked outside of the editor (blurred the editor).
|
|||
|
*/
|
|||
|
.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button:not(:hover) {
|
|||
|
background: var(--ck-color-widget-type-around-button-blurred-editable);
|
|||
|
|
|||
|
& svg * {
|
|||
|
stroke: hsl(0,0%,60%);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@keyframes ck-widget-type-around-arrow-dash {
|
|||
|
0% {
|
|||
|
stroke-dashoffset: 10;
|
|||
|
}
|
|||
|
20%, 100% {
|
|||
|
stroke-dashoffset: 0;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@keyframes ck-widget-type-around-arrow-tip-dash {
|
|||
|
0%, 20% {
|
|||
|
stroke-dashoffset: 7;
|
|||
|
}
|
|||
|
40%, 100% {
|
|||
|
stroke-dashoffset: 0;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@keyframes ck-widget-type-around-button-sonar {
|
|||
|
0% {
|
|||
|
box-shadow: 0 0 0 0 hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-start-alpha));
|
|||
|
}
|
|||
|
50% {
|
|||
|
box-shadow: 0 0 0 5px hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-end-alpha));
|
|||
|
}
|
|||
|
100% {
|
|||
|
box-shadow: 0 0 0 5px hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-start-alpha));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@keyframes ck-widget-type-around-fake-caret-pulse {
|
|||
|
0% {
|
|||
|
opacity: 1;
|
|||
|
}
|
|||
|
49% {
|
|||
|
opacity: 1;
|
|||
|
}
|
|||
|
50% {
|
|||
|
opacity: 0;
|
|||
|
}
|
|||
|
99% {
|
|||
|
opacity: 0;
|
|||
|
}
|
|||
|
100% {
|
|||
|
opacity: 1;
|
|||
|
}
|
|||
|
}
|
|||
|
`],sourceRoot:""}]);const x=_},2609:E=>{E.exports=function(T){var f=[];return f.toString=function(){return this.map(function(v){var I=T(v);return v[2]?"@media ".concat(v[2]," {").concat(I,"}"):I}).join("")},f.i=function(v,I,C){typeof v=="string"&&(v=[[null,v,""]]);var _={};if(C)for(var x=0;x<this.length;x++){var St=this[x][0];St!=null&&(_[St]=!0)}for(var Mt=0;Mt<v.length;Mt++){var ot=[].concat(v[Mt]);C&&_[ot[0]]||(I&&(ot[2]?ot[2]="".concat(I," and ").concat(ot[2]):ot[2]=I),f.push(ot))}},f}},1799:E=>{function T(v,I){return function(C){if(Array.isArray(C))return C}(v)||function(C,_){var x=C&&(typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"]);if(x!=null){var St,Mt,ot=[],Qt=!0,Me=!1;try{for(x=x.call(C);!(Qt=(St=x.next()).done)&&(ot.push(St.value),!_||ot.length!==_);Qt=!0);}catch(Rt){Me=!0,Mt=Rt}finally{try{Qt||x.return==null||x.return()}finally{if(Me)throw Mt}}return ot}}(v,I)||function(C,_){if(C){if(typeof C=="string")return f(C,_);var x=Object.prototype.toString.call(C).slice(8,-1);if(x==="Object"&&C.constructor&&(x=C.constructor.name),x==="Map"||x==="Set")return Array.from(C);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return f(C,_)}}(v,I)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function f(v,I){(I==null||I>v.length)&&(I=v.length);for(var C=0,_=new Array(I);C<I;C++)_[C]=v[C];return _}E.exports=function(v){var I=T(v,4),C=I[1],_=I[3];if(!_)return C;if(typeof btoa=="function"){var x=btoa(unescape(encodeURIComponent(JSON.stringify(_)))),St="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(x),Mt="/*# ".concat(St," */"),ot=_.sources.map(function(Qt){return"/*# sourceURL=".concat(_.sourceRoot||"").concat(Qt," */")});return[C].concat(ot).concat([Mt]).join(`
|
|||
|
`)}return[C].join(`
|
|||
|
`)}},6062:(E,T,f)=>{var v,I=function(){return v===void 0&&(v=!!(window&&document&&document.all&&!window.atob)),v},C=function(){var j={};return function(F){if(j[F]===void 0){var b=document.querySelector(F);if(window.HTMLIFrameElement&&b instanceof window.HTMLIFrameElement)try{b=b.contentDocument.head}catch{b=null}j[F]=b}return j[F]}}(),_=[];function x(j){for(var F=-1,b=0;b<_.length;b++)if(_[b].identifier===j){F=b;break}return F}function St(j,F){for(var b={},L=[],lt=0;lt<j.length;lt++){var ut=j[lt],dt=F.base?ut[0]+F.base:ut[0],Se=b[dt]||0,se="".concat(dt," ").concat(Se);b[dt]=Se+1;var ae=x(se),dn={css:ut[1],media:ut[2],sourceMap:ut[3]};ae!==-1?(_[ae].references++,_[ae].updater(dn)):_.push({identifier:se,updater:re(dn,F),references:1}),L.push(se)}return L}function Mt(j){var F=document.createElement("style"),b=j.attributes||{};if(b.nonce===void 0){var L=f.nc;L&&(b.nonce=L)}if(Object.keys(b).forEach(function(ut){F.setAttribute(ut,b[ut])}),typeof j.insert=="function")j.insert(F);else{var lt=C(j.insert||"head");if(!lt)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");lt.appendChild(F)}return F}var ot,Qt=(ot=[],function(j,F){return ot[j]=F,ot.filter(Boolean).join(`
|
|||
|
`)});function Me(j,F,b,L){var lt=b?"":L.media?"@media ".concat(L.media," {").concat(L.css,"}"):L.css;if(j.styleSheet)j.styleSheet.cssText=Qt(F,lt);else{var ut=document.createTextNode(lt),dt=j.childNodes;dt[F]&&j.removeChild(dt[F]),dt.length?j.insertBefore(ut,dt[F]):j.appendChild(ut)}}function Rt(j,F,b){var L=b.css,lt=b.media,ut=b.sourceMap;if(lt?j.setAttribute("media",lt):j.removeAttribute("media"),ut&&typeof btoa<"u"&&(L+=`
|
|||
|
/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(ut))))," */")),j.styleSheet)j.styleSheet.cssText=L;else{for(;j.firstChild;)j.removeChild(j.firstChild);j.appendChild(document.createTextNode(L))}}var At=null,Ut=0;function re(j,F){var b,L,lt;if(F.singleton){var ut=Ut++;b=At||(At=Mt(F)),L=Me.bind(null,b,ut,!1),lt=Me.bind(null,b,ut,!0)}else b=Mt(F),L=Rt.bind(null,b,F),lt=function(){(function(dt){if(dt.parentNode===null)return!1;dt.parentNode.removeChild(dt)})(b)};return L(j),function(dt){if(dt){if(dt.css===j.css&&dt.media===j.media&&dt.sourceMap===j.sourceMap)return;L(j=dt)}else lt()}}E.exports=function(j,F){(F=F||{}).singleton||typeof F.singleton=="boolean"||(F.singleton=I());var b=St(j=j||[],F);return function(L){if(L=L||[],Object.prototype.toString.call(L)==="[object Array]"){for(var lt=0;lt<b.length;lt++){var ut=x(b[lt]);_[ut].references--}for(var dt=St(L,F),Se=0;Se<b.length;Se++){var se=x(b[Se]);_[se].references===0&&(_[se].updater(),_.splice(se,1))}b=dt}}}}},Te={};function P(E){var T=Te[E];if(T!==void 0)return T.exports;var f=Te[E]={id:E,exports:{}};return ln[E](f,f.exports,P),f.exports}P.n=E=>{var T=E&&E.__esModule?()=>E.default:()=>E;return P.d(T,{a:T}),T},P.d=(E,T)=>{for(var f in T)P.o(T,f)&&!P.o(E,f)&&Object.defineProperty(E,f,{enumerable:!0,get:T[f]})},P.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),P.o=(E,T)=>Object.prototype.hasOwnProperty.call(E,T),P.nc=void 0;var ko={};return(()=>{function E({emitter:i,activator:t,callback:e,contextElements:n}){i.listenTo(document,"mousedown",(o,r)=>{if(!t())return;const s=typeof r.composedPath=="function"?r.composedPath():[],a=typeof n=="function"?n():n;for(const c of a)if(c.contains(r.target)||s.includes(c))return;e()})}function T(i){const t=i;t.set("_isCssTransitionsDisabled",!1),t.disableCssTransitions=()=>{t._isCssTransitionsDisabled=!0},t.enableCssTransitions=()=>{t._isCssTransitionsDisabled=!1},t.extendTemplate({attributes:{class:[t.bindTemplate.if("_isCssTransitionsDisabled","ck-transitions-disabled")]}})}function f({view:i}){i.listenTo(i.element,"submit",(t,e)=>{e.preventDefault(),i.fire("submit")},{useCapture:!0})}P.d(ko,{default:()=>ws});const v=function(){try{return navigator.userAgent.toLowerCase()}catch{return""}}(),I={isMac:_(v),isWindows:function(i){return i.indexOf("windows")>-1}(v),isGecko:function(i){return!!i.match(/gecko\/\d+/)}(v),isSafari:function(i){return i.indexOf(" applewebkit/")>-1&&i.indexOf("chrome")===-1}(v),isiOS:function(i){return!!i.match(/iphone|ipad/i)||_(i)&&navigator.maxTouchPoints>0}(v),isAndroid:function(i){return i.indexOf("android")>-1}(v),isBlink:function(i){return i.indexOf("chrome/")>-1&&i.indexOf("edge/")<0}(v),features:{isRegExpUnicodePropertySupported:function(){let i=!1;try{i="ć".search(new RegExp("[\\p{L}]","u"))===0}catch{}return i}()}},C=I;function _(i){return i.indexOf("macintosh")>-1}function x(i,t,e,n){e=e||function(c,l){return c===l};const o=Array.isArray(i)?i:Array.prototype.slice.call(i),r=Array.isArray(t)?t:Array.prototype.slice.call(t),s=function(c,l,d){const h=St(c,l,d);if(h===-1)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};const u=Mt(c,h),g=Mt(l,h),m=St(u,g,d),p=c.length-m,k=l.length-m;return{firstIndex:h,lastIndexOld:p,lastIndexNew:k}}(o,r,e);return n?function(c,l){const{firstIndex:d,lastIndexOld:h,lastIndexNew:u}=c;if(d===-1)return Array(l).fill("equal");let g=[];return d>0&&(g=g.concat(Array(d).fill("equal"))),u-d>0&&(g=g.concat(Array(u-d).fill("insert"))),h-d>0&&(g=g.concat(Array(h-d).fill("delete"))),u<l&&(g=g.concat(Array(l-u).fill("equal"))),g}(s,r.length):function(c,l){const d=[],{firstIndex:h,lastIndexOld:u,lastIndexNew:g}=l;return g-h>0&&d.push({index:h,type:"insert",values:c.slice(h,g)}),u-h>0&&d.push({index:h+(g-h),type:"delete",howMany:u-h}),d}(r,s)}function St(i,t,e){for(let n=0;n<Math.max(i.length,t.length);n++)if(i[n]===void 0||t[n]===void 0||!e(i[n],t[n]))return n;return-1}function Mt(i,t){return i.slice(t).reverse()}fu
|
|||
|
Read more: ${F}#error-${i}`}function dt(i,t){const e=ut(i);return t?[i,t,e]:[i,e]}const Se="36.0.1",se=typeof window=="object"?window:P.g;if(se.CKEDITOR_VERSION)throw new b("ckeditor-duplicated-modules",null);se.CKEDITOR_VERSION=Se;const ae=Symbol("listeningTo"),dn=Symbol("emitterId"),Ce=Symbol("delegations"),As=J(Object);function J(i){return i?class extends i{on(t,e,n){this.listenTo(this,t,e,n)}once(t,e,n){let o=!1;this.listenTo(this,t,(r,...s)=>{o||(o=!0,r.off(),e.call(this,r,...s))},n)}off(t,e){this.stopListening(this,t,e)}listenTo(t,e,n,o={}){let r,s;this[ae]||(this[ae]={});const a=this[ae];fi(t)||_s(t);const c=fi(t);(r=a[c])||(r=a[c]={emitter:t,callbacks:{}}),(s=r.callbacks[e])||(s=r.callbacks[e]=[]),s.push(n),function(l,d,h,u,g){d._addEventListener?d._addEventListener(h,u,g):l._addEventListener.call(d,h,u,g)}(this,t,e,n,o)}stopListening(t,e,n){const o=this[ae];let r=t&&fi(t);const s=o&&r?o[r]:void 0,a=s&&e?s.callbacks[e]:void 0;if(!(!o||t&&!s||e&&!a))if(n)bi(this,t,e,n),a.indexOf(n)!==-1&&(a.length===1?delete s.callbacks[e]:bi(this,t,e,n));else if(a){for(;n=a.pop();)bi(this,t,e,n);delete s.callbacks[e]}else if(s){for(e in s.callbacks)this.stopListening(t,e);delete o[r]}else{for(r in o)this.stopListening(o[r].emitter);delete this[ae]}}fire(t,...e){try{const n=t instanceof Rt?t:new Rt(this,t),o=n.name;let r=vs(this,o);if(n.path.push(this),r){const a=[n,...e];r=Array.from(r);for(let c=0;c<r.length&&(r[c].callback.apply(this,a),n.off.called&&(delete n.off.called,this._removeEventListener(o,r[c].callback)),!n.stop.called);c++);}const s=this[Ce];if(s){const a=s.get(o),c=s.get("*");a&&ys(a,n,e),c&&ys(c,n,e)}return n.return}catch(n){b.rethrowUnexpectedError(n,this)}}delegate(...t){return{to:(e,n)=>{this[Ce]||(this[Ce]=new Map),t.forEach(o=>{const r=this[Ce].get(o);r?r.set(e,n):this[Ce].set(o,new Map([[e,n]]))})}}}stopDelegating(t,e){if(this[Ce])if(t)if(e){const n=this[Ce].get(t);n&&n.delete(e)}else this[Ce].delete(t);else this[Ce].clear()}_addEventListener(t,e,n){(function(s,a){const c=Cs(s);if(c[a])return;let l=a,d=null;const h=[];for(;l!==""&&!c[l];)c[l]={callbacks:[],childEvents:[]},h.push(c[l]),d&&c[l].childEvents.push(d),d=l,l=l.substr(0,l.lastIndexOf(":"));if(l!==""){for(const u of h)u.callbacks=c[l].callbacks.slice();c[l].childEvents.push(d)}})(this,t);const o=ki(this,t),r={callback:e,priority:re.get(n.priority)};for(const s of o)j(s,r)}_removeEventListener(t,e){const n=ki(this,t);for(const o of n)for(let r=0;r<o.length;r++)o[r].callback==e&&(o.splice(r,1),r--)}}:As}function _s(i,t){i[dn]||(i[dn]=t||Ut())}function fi(i){return i[dn]}function Cs(i){return i._events||Object.defineProperty(i,"_events",{value:{}}),i._events}function ki(i,t){const e=Cs(i)[t];if(!e)return[];let n=[e.callbacks];for(let o=0;o<e.childEvents.length;o++){const r=ki(i,e.childEvents[o]);n=n.concat(r)}return n}function vs(i,t){let e;return i._events&&(e=i._events[t])&&e.callbacks.length?e.callbacks:t.indexOf(":")>-1?vs(i,t.substr(0,t.lastIndexOf(":"))):null}function ys(i,t,e){for(let[n,o]of i){o?typeof o=="function"&&(o=o(t.name)):o=t.name;const r=new Rt(t.source,o);r.path=[...t.path],n.fire(r,...e)}}function bi(i,t,e,n){t._removeEventListener?t._removeEventListener(e,n):i._removeEventListener.call(t,e,n)}["on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(i=>{J[i]=As.prototype[i]});const ct=function(i){var t=typeof i;return i!=null&&(t=="object"||t=="function")},bo=Symbol("observableProperties"),wo=Symbol("boundObservables"),Ao=Symbol("boundProperties"),hn=Symbol("decoratedMethods"),xs=Symbol("decoratedOriginal"),Es=X(J());function X(i){return i?class extends i{set(t,e){if(ct(t))return void Object.keys(t).forEach(o=>{this.set(o,t[o])},this);wi(this);const n=this[bo];if(t in this&&!n.has(t))throw new b("observable-set-cannot-override",this);Object.defineProperty(this,t,{enumerable:!0,configurable:!0,get:()=>n.get(t),set(o){const r=n.get(t);let s=this.fire(`set:${t}`,t,o,r);s===void 0&&(s=o),r===s&&n.has(t)||(n.set(t,s),this.fire(`change:${t}`,t,s,r))}}),this[t]=e}bi
|
|||
|
`))this.fire(t.type,t,{inputType:"insertParagraph",targetRanges:[n.createRange(a[0].end)]});else if(t.inputType=="insertText"&&s&&s.includes(`
|
|||
|
`)){const c=s.split(/\n{1,2}/g);let l=a;for(let d=0;d<c.length;d++){const h=c[d];h!=""&&(this.fire(t.type,t,{data:h,dataTransfer:r,targetRanges:l,inputType:t.inputType,isComposing:t.isComposing}),l=[o.selection.getFirstRange()]),d+1<c.length&&(this.fire(t.type,t,{inputType:"insertParagraph",targetRanges:l}),l=[o.selection.getFirstRange()])}}else this.fire(t.type,t,{data:s,dataTransfer:r,targetRanges:a,inputType:t.inputType,isComposing:t.isComposing})}}class qb extends pe{constructor(t){super(t),this.document.on("keydown",(e,n)=>{if(this.isEnabled&&((o=n.keyCode)==q.arrowright||o==q.arrowleft||o==q.arrowup||o==q.arrowdown)){const r=new yn(this.document,"arrowKey",this.document.selection.getFirstRange());this.document.fire(r,n),r.stop.called&&e.stop()}var o})}observe(){}}class Wb extends pe{constructor(t){super(t);const e=this.document;e.on("keydown",(n,o)=>{if(!this.isEnabled||o.keyCode!=q.tab||o.ctrlKey)return;const r=new yn(e,"tab",e.selection.getFirstRange());e.fire(r,o),r.stop.called&&n.stop()})}observe(){}}class $b extends X(){constructor(t){super(),this.document=new Vo(t),this.domConverter=new qo(this.document),this.domRoots=new Map,this.set("isRenderingInProgress",!1),this.set("hasDomSelection",!1),this._renderer=new $k(this.domConverter,this.document.selection),this._renderer.bind("isFocused","isSelecting","isComposing").to(this.document,"isFocused","isSelecting","isComposing"),this._initialDomRootAttributes=new WeakMap,this._observers=new Map,this._ongoingChange=!1,this._postFixersInProgress=!1,this._renderingDisabled=!1,this._hasChangedSinceTheLastRendering=!1,this._writer=new Tc(this.document),this.addObserver(nl),this.addObserver(wr),this.addObserver(Ub),this.addObserver(Jk),this.addObserver(db),this.addObserver(Hb),this.addObserver(qb),this.addObserver(Gb),this.addObserver(Wb),this.document.on("arrowKey",qk,{priority:"low"}),Fk(this),this.on("render",()=>{this._render(),this.document.fire("layoutChanged"),this._hasChangedSinceTheLastRendering=!1}),this.listenTo(this.document.selection,"change",()=>{this._hasChangedSinceTheLastRendering=!0}),this.listenTo(this.document,"change:isFocused",()=>{this._hasChangedSinceTheLastRendering=!0})}attachDomRoot(t,e="main"){const n=this.document.getRoot(e);n._name=t.tagName.toLowerCase();const o={};for(const{name:s,value:a}of Array.from(t.attributes))o[s]=a,s==="class"?this._writer.addClass(a.split(" "),n):this._writer.setAttribute(s,a,n);this._initialDomRootAttributes.set(t,o);const r=()=>{this._writer.setAttribute("contenteditable",(!n.isReadOnly).toString(),n),n.isReadOnly?this._writer.addClass("ck-read-only",n):this._writer.removeClass("ck-read-only",n)};r(),this.domRoots.set(e,t),this.domConverter.bindElements(t,n),this._renderer.markToSync("children",n),this._renderer.markToSync("attributes",n),this._renderer.domDocuments.add(t.ownerDocument),n.on("change:children",(s,a)=>this._renderer.markToSync("children",a)),n.on("change:attributes",(s,a)=>this._renderer.markToSync("attributes",a)),n.on("change:text",(s,a)=>this._renderer.markToSync("text",a)),n.on("change:isReadOnly",()=>this.change(r)),n.on("change",()=>{this._hasChangedSinceTheLastRendering=!0});for(const s of this._observers.values())s.observe(t,e)}detachDomRoot(t){const e=this.domRoots.get(t);Array.from(e.attributes).forEach(({name:o})=>e.removeAttribute(o));const n=this._initialDomRootAttributes.get(e);for(const o in n)e.setAttribute(o,n[o]);this.domRoots.delete(t),this.domConverter.unbindDomElement(e)}getDomRoot(t="main"){return this.domRoots.get(t)}addObserver(t){let e=this._observers.get(t);if(e)return e;e=new t(this),this._observers.set(t,e);for(const[n,o]of this.domRoots)e.observe(o,n);return e.enable(),e}getObserver(t){return this._observers.get(t)}disableObservers(){for(const t of this._observers.values())t.disable()}enableObservers(){for(const t of this._observers.values())t.enable()}scrollToTheSelection(){const t=this.document.selection.getFirstRange();t&&function({target:e,viewportOffset:n=0}){const o=Hi(e);let r=o,s=null;for(;r;){let a;a=Cf(r==o?e:s),_f(a,()=>Oa(e,r));const c=Oa(e,r);if(Af(r,c,n)
|
|||
|
`;else{let e=null;for(const n of i.getChildren()){const o=Md(n);e&&(e.is("containerElement")||n.is("containerElement"))&&(Td.includes(e.name)||Td.includes(n.name)?t+=`
|
|||
|
`:t+=`
|
|||
|
|
|||
|
`),t+=o,e=n}}return t}class be extends S{static get pluginName(){return"ClipboardPipeline"}init(){this.editor.editing.view.addObserver(jr),this._setupPasteDrop(),this._setupCopyCut()}_setupPasteDrop(){const t=this.editor,e=t.model,n=t.editing.view,o=n.document;this.listenTo(o,"clipboardInput",r=>{t.isReadOnly&&r.stop()},{priority:"highest"}),this.listenTo(o,"clipboardInput",(r,s)=>{const a=s.dataTransfer;let c;if(s.content)c=s.content;else{let h="";a.getData("text/html")?h=function(u){return u.replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,(g,m)=>m.length==1?" ":m).replace(/<!--[\s\S]*?-->/g,"")}(a.getData("text/html")):a.getData("text/plain")&&(((l=(l=a.getData("text/plain")).replace(/</g,"<").replace(/>/g,">").replace(/\r?\n\r?\n/g,"</p><p>").replace(/\r?\n/g,"<br>").replace(/\t/g," ").replace(/^\s/," ").replace(/\s$/," ").replace(/\s\s/g," ")).includes("</p><p>")||l.includes("<br>"))&&(l=`<p>${l}</p>`),h=l),c=this.editor.data.htmlProcessor.toView(h)}var l;const d=new Rt(this,"inputTransformation");this.fire(d,{content:c,dataTransfer:a,targetRanges:s.targetRanges,method:s.method}),d.stop.called&&r.stop(),n.scrollToTheSelection()},{priority:"low"}),this.listenTo(this,"inputTransformation",(r,s)=>{if(s.content.isEmpty)return;const a=this.editor.data.toModel(s.content,"$clipboardHolder");a.childCount!=0&&(r.stop(),e.change(()=>{this.fire("contentInsertion",{content:a,method:s.method,dataTransfer:s.dataTransfer,targetRanges:s.targetRanges})}))},{priority:"low"}),this.listenTo(this,"contentInsertion",(r,s)=>{s.resultRange=e.insertContent(s.content)},{priority:"low"})}_setupCopyCut(){const t=this.editor,e=t.model.document,n=t.editing.view.document,o=(r,s)=>{const a=s.dataTransfer;s.preventDefault();const c=t.data.toView(t.model.getSelectedContent(e.selection));n.fire("clipboardOutput",{dataTransfer:a,content:c,method:r.name})};this.listenTo(n,"copy",o,{priority:"low"}),this.listenTo(n,"cut",(r,s)=>{t.isReadOnly?s.preventDefault():o(r,s)},{priority:"low"}),this.listenTo(n,"clipboardOutput",(r,s)=>{s.content.isEmpty||(s.dataTransfer.setData("text/html",this.editor.data.htmlProcessor.toData(s.content)),s.dataTransfer.setData("text/plain",Md(s.content))),s.method=="cut"&&t.model.deleteContent(e.selection)},{priority:"low"})}}class Sd{constructor(t,e=20){this._batch=null,this.model=t,this._size=0,this.limit=e,this._isLocked=!1,this._changeCallback=(n,o)=>{o.isLocal&&o.isUndoable&&o!==this._batch&&this._reset(!0)},this._selectionChangeCallback=()=>{this._reset()},this.model.document.on("change",this._changeCallback),this.model.document.selection.on("change:range",this._selectionChangeCallback),this.model.document.selection.on("change:attribute",this._selectionChangeCallback)}get batch(){return this._batch||(this._batch=this.model.createBatch({isTyping:!0})),this._batch}get size(){return this._size}input(t){this._size+=t,this._size>=this.limit&&this._reset(!0)}get isLocked(){return this._isLocked}lock(){this._isLocked=!0}unlock(){this._isLocked=!1}destroy(){this.model.document.off("change",this._changeCallback),this.model.document.selection.off("change:range",this._selectionChangeCallback),this.model.document.selection.off("change:attribute",this._selectionChangeCallback)}_reset(t=!1){this.isLocked&&!t||(this._batch=null,this._size=0)}}class LA extends V{constructor(t,e){super(t),this._buffer=new Sd(t.model,e)}get buffer(){return this._buffer}destroy(){super.destroy(),this._buffer.destroy()}execute(t={}){const e=this.editor.model,n=e.document,o=t.text||"",r=o.length;let s=n.selection;t.selection?s=t.selection:t.range&&(s=e.createSelection(t.range));const a=t.resultRange;e.enqueueChange(this._buffer.batch,c=>{this._buffer.lock(),e.deleteContent(s),o&&e.insertContent(c.createText(o,n.selection.getAttributes()),s),a?c.setSelection(a):s.is("documentSelection")||c.setSelection(s),this._buffer.unlock(),this._buffer.input(r)})}}const Nd=["insertText","insertReplacementText"];class OA extends pe{constructor(t){super(t),C.isAndroid&&Nd.push("insertCompositionText");const e=t.d
|