<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.recessim.com/w/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-FDCodeEditor.css</id>
	<title>MediaWiki:Gadget-FDCodeEditor.css - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.recessim.com/w/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-FDCodeEditor.css"/>
	<link rel="alternate" type="text/html" href="https://wiki.recessim.com/w/index.php?title=MediaWiki:Gadget-FDCodeEditor.css&amp;action=history"/>
	<updated>2026-09-22T11:22:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.recessim.com/w/index.php?title=MediaWiki:Gadget-FDCodeEditor.css&amp;diff=3796&amp;oldid=prev</id>
		<title>Hash: FDCodeEditor gadget styles</title>
		<link rel="alternate" type="text/html" href="https://wiki.recessim.com/w/index.php?title=MediaWiki:Gadget-FDCodeEditor.css&amp;diff=3796&amp;oldid=prev"/>
		<updated>2026-09-21T18:26:56Z</updated>

		<summary type="html">&lt;p&gt;FDCodeEditor gadget styles&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/* FDCodeEditor - styling for the CodeMirror editor that replaces the FlexDiagrams&lt;br /&gt;
 * Mermaid/DOT textarea. Loaded only while the gadget is enabled.&lt;br /&gt;
 *&lt;br /&gt;
 * TWO-LEVEL SELECTORS ARE DELIBERATE (0-0-2-0), and so is the absence of&lt;br /&gt;
 * !important. CodeMirror&amp;#039;s own codemirror.less arrives via addModules, i.e. AFTER&lt;br /&gt;
 * the site.styles &amp;lt;link&amp;gt;, so a flat `.cm-editor { ... }` here would lose the&lt;br /&gt;
 * specificity tie and silently do nothing. Same trap already documented for&lt;br /&gt;
 * FD_Mermaid.css / FD_DOT.css overrides in [[MediaWiki:Common.css]].&lt;br /&gt;
 *&lt;br /&gt;
 * The matching `textarea.mermaidCode` / `textarea.dotCode` rules in Common.css are&lt;br /&gt;
 * intentionally left alone: they still apply for anyone who switches this gadget&lt;br /&gt;
 * off in Preferences.&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
/* CodeMirror takes its initial height from the textarea&amp;#039;s outerHeight() before&lt;br /&gt;
 * hiding it, so the 340px minimum set in Common.css carries over by itself. What&lt;br /&gt;
 * does NOT carry over is the native resize handle - it belonged to a textarea that&lt;br /&gt;
 * is now display:none - so put it back on the editor, keeping the code/preview&lt;br /&gt;
 * split draggable the way it is today. */&lt;br /&gt;
.mermaidEditPane .cm-editor,&lt;br /&gt;
.dotEditPane .cm-editor {&lt;br /&gt;
	resize: vertical;&lt;br /&gt;
	overflow: hidden;&lt;br /&gt;
	border: 1px solid #a2a9b1;&lt;br /&gt;
	border-radius: 2px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.mermaidEditPane .cm-editor.cm-focused,&lt;br /&gt;
.dotEditPane .cm-editor.cm-focused {&lt;br /&gt;
	border-color: #36c;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Match the monospace sizing the textarea had, so toggling the gadget on and off&lt;br /&gt;
 * does not reflow the diagram source under you. */&lt;br /&gt;
.mermaidEditPane .cm-content,&lt;br /&gt;
.dotEditPane .cm-content {&lt;br /&gt;
	font-family: monospace, monospace;&lt;br /&gt;
	font-size: 13px;&lt;br /&gt;
	line-height: 1.4;&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Hash</name></author>
	</entry>
</feed>