dev

Note: After publishing, you may have to bypass your browser's cache to see the changes.

/* linkSuggest */
#IPM-wrapper {
	z-index: 1050;
	margin: 28px -13px;
	padding: 0;
	font-size: 14px;
}
#IPM-list .oo-ui-labelElement-label {
	white-space: pre-wrap;
}
#IPM-list .IPM-ui-linkSuggest-message .oo-ui-labelElement-label {
	font-style: italic;
}
.IPM-ui-linkSuggest-selectable.oo-ui-optionWidget-highlighted {
	background-color: rgb(var(--theme-link-color--rgb), .15);
	color: var(--theme-link-color);
}

/* customInsert */
.custom-insert .tool-select .menu .options .option:hover,
.option:has(.IPM-open),
.custom-insert:has(.IPM-open) {
	background-color: rgba(var(--webeditor-link-color--rgb), 0.15);
}
.rich-text-editor__toolbar__icons-container {
	display: flex !important;
	align-items: center;
}
.rich-text-editor__toolbar .custom-separator {
	border-right: 1px solid var(--webeditor-border-color);
	content: "";
	height: 20px;
}
.rich-text-editor__toolbar:has(.IPM-open) {
	opacity: 1 !important;
}
.rich-text-editor__toolbar .custom-insert {
	pointer-events: all !important;
}
.rich-text-editor__toolbar .custom-insert .tool-select .label {
	display: inline-flex;
	gap: 6px;
}
.rich-text-editor__toolbar .custom-insert .tool-select .label::after {
	-webkit-mask: url(/resources-ucp/mw139/dist/svg/wds-icons-menu-control-tiny.svg?c6ecf) no-repeat center;
	mask: url(/resources-ucp/mw139/dist/svg/wds-icons-menu-control-tiny.svg?c6ecf) no-repeat center;
	width: 12px;
	content: "";
	background: url("/extensions-ucp/mw139/WikiEditor/modules/images/toolbar/arrow-down.svg?4c840") center no-repeat;
	display: block;
	background-color: rgba(var(--theme-page-text-color--rgb), .6);
	background-image: none;
}
.custom-insert a,
.custom-insert .options {
	color: var(--theme-page-text-color) !important;
}
.custom-insert .options .option {
	display: block;
	padding: 0.5em;
	text-decoration: none;
	white-space: nowrap;
}
.custom-insert .options {
	background-color: var(--theme-page-background-color--secondary);
	border: none;
	box-shadow: 0 3px 12px #0000004d;
	margin-left: -5px;
	position: absolute;
	display: none;
	z-index: 1;
	cursor: pointer;
	pointer-events: all !important;
}
.rich-text-editor__wrapper, .EditorModal__content {
	overflow: visible !important;
}
:is(.custom-insert:hover, .custom-insert :hover, .IPM-open) .options,
.custom-insert .options:has(.IPM-open),
.custom-insert .IPM-open {
	display: block !important;
}
.group-custom > .tool-select > .menu > .options:before {
	content: "";
	display: none;
	height: 0;
	left: 50%;
	pointer-events: none;
	position: absolute;
	width: 0;
	z-index: 400;
	display: block;
	border: 8px solid #0000;
	border-bottom: 8px solid var(--theme-page-background-color--secondary);
	margin-left: -8px;
	top: -18px;
}
.options-nested-list, .group-custom > .tool-select > .menu > .options {
	border-radius: 3px;
	border: 1px solid var(--theme-border-color) !important;
	background-color: var(--theme-page-background-color--secondary);
}
.options-nested > .label {
	padding-left: 0 !important;
	height: unset !important;
	text-transform: none !important;
	font-weight: 700;
}
.options-nested > .options-nested-list {
	display: none !important;
	position: absolute;
	left: 100%;
}
.options-nested:hover > .options-nested-list,
.options-nested-list:hover,
.options-nested-list:has(.IPM-open),
.IPM-open.options-nested-list {
	display: unset !important;
}

/* Quick fix for hyperlink popup when editing a posted message */
#fandom-web-editor-portal .hyperlink-modal {
	z-index: 1050;
}