-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
512 additions
and
677 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
62 changes: 62 additions & 0 deletions
62
djangocms_text_ckeditor5/static/djangocms_text_ckeditor5/css/cms.linkfield.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
.ck.ck-balloon-panel { | ||
.cms-linkfield-wrapper { | ||
font-size: 0.8rem; | ||
position: relative; | ||
input[type="text"] { | ||
padding-inline-end: 3em; | ||
background: var(--dca-white) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="16" fill="%23808080" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>') no-repeat inline-end center; | ||
background-size: auto 1em; | ||
} | ||
.cms-linkfield-selected { | ||
font-weight: bold; | ||
} | ||
.cms-linkfield-dropdown:not(:empty), .cms-linkfield-dropdown:active { | ||
/* Hide dropdown when empty */ | ||
visibility: visible; | ||
} | ||
.cms-linkfield-dropdown { | ||
z-index: 1; | ||
visibility: hidden; | ||
position: absolute; | ||
max-block-size: 400px; | ||
overflow: auto; | ||
inset-inline-start: 0; | ||
inset-block-start: 100%; | ||
border: 1px solid var(--dca-gray-lighter); | ||
background: var(--dca-white); | ||
inline-size: 120%; | ||
resize: both; | ||
border-end-start-radius: 4px; | ||
border-end-end-radius: 4px; | ||
box-shadow: 0 1.5px 1.5px rgba(var(--dca-shadow),.4); | ||
.cms-linkfield-error { | ||
color: red; | ||
font-size: 0.8rem; | ||
} | ||
div { | ||
padding: 0.3rem 6px; | ||
white-space: nowrap; | ||
font-weight: normal; | ||
border-block-end: 1px solid var(--dca-gray-lighter); | ||
&:last-child { | ||
border-bottom: none; | ||
} | ||
&.cms-linkfield-parent { | ||
font-weight: bold; | ||
background: var(--dca-gray-lightest); | ||
} | ||
&.cms-linkfield-message { | ||
font-style: italic; | ||
color: var(--dca-gray); | ||
} | ||
&.cms-linkfield-option { | ||
cursor: pointer; | ||
} | ||
&.cms-linkfield-option:hover { | ||
background: var(--dca-primary); | ||
color: var(--dca-white); | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
162 changes: 0 additions & 162 deletions
162
private/js/ckeditor5_plugins/cms-link/src/autocomplete.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.