codemirror.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567
  1. /* BASICS */
  2. .CodeMirror {
  3. /* Set height, width, borders, and global font properties here */
  4. font-family: monospace;
  5. height: 300px;
  6. color: black;
  7. direction: ltr;
  8. }
  9. /* PADDING */
  10. .CodeMirror-lines {
  11. padding: 4px 0; /* Vertical padding around content */
  12. }
  13. .CodeMirror pre.CodeMirror-line,
  14. .CodeMirror pre.CodeMirror-line-like {
  15. padding: 0 4px; /* Horizontal padding of content */
  16. }
  17. .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
  18. background-color: white; /* The little square between H and V scrollbars */
  19. }
  20. /* GUTTER */
  21. .CodeMirror-gutters {
  22. border-right: 1px solid #ddd;
  23. background-color: #f7f7f7;
  24. white-space: nowrap;
  25. }
  26. .CodeMirror-linenumbers {}
  27. .CodeMirror-linenumber {
  28. padding: 0 3px 0 5px;
  29. min-width: 20px;
  30. text-align: right;
  31. color: #999;
  32. white-space: nowrap;
  33. }
  34. .CodeMirror-guttermarker { color: black; }
  35. .CodeMirror-guttermarker-subtle { color: #999; }
  36. /* CURSOR */
  37. .CodeMirror-cursor {
  38. border-left: 1px solid black;
  39. border-right: none;
  40. width: 0;
  41. }
  42. /* Shown when moving in bi-directional text */
  43. .CodeMirror div.CodeMirror-secondarycursor {
  44. border-left: 1px solid silver;
  45. }
  46. .cm-fat-cursor .CodeMirror-cursor {
  47. width: auto;
  48. border: 0 !important;
  49. background: #7e7;
  50. }
  51. .cm-fat-cursor div.CodeMirror-cursors {
  52. z-index: 1;
  53. }
  54. .cm-fat-cursor .CodeMirror-line::selection,
  55. .cm-fat-cursor .CodeMirror-line > span::selection,
  56. .cm-fat-cursor .CodeMirror-line > span > span::selection { background: transparent; }
  57. .cm-fat-cursor .CodeMirror-line::-moz-selection,
  58. .cm-fat-cursor .CodeMirror-line > span::-moz-selection,
  59. .cm-fat-cursor .CodeMirror-line > span > span::-moz-selection { background: transparent; }
  60. .cm-fat-cursor { caret-color: transparent; }
  61. @-moz-keyframes blink {
  62. 0% {}
  63. 50% { background-color: transparent; }
  64. 100% {}
  65. }
  66. @-webkit-keyframes blink {
  67. 0% {}
  68. 50% { background-color: transparent; }
  69. 100% {}
  70. }
  71. @keyframes blink {
  72. 0% {}
  73. 50% { background-color: transparent; }
  74. 100% {}
  75. }
  76. /* Can style cursor different in overwrite (non-insert) mode */
  77. .CodeMirror-overwrite .CodeMirror-cursor {}
  78. .cm-tab { display: inline-block; text-decoration: inherit; }
  79. .CodeMirror-rulers {
  80. position: absolute;
  81. left: 0; right: 0; top: -50px; bottom: 0;
  82. overflow: hidden;
  83. }
  84. .CodeMirror-ruler {
  85. border-left: 1px solid #ccc;
  86. top: 0; bottom: 0;
  87. position: absolute;
  88. }
  89. /* DEFAULT THEME */
  90. .cm-s-default .cm-header {color: blue;}
  91. .cm-s-default .cm-quote {color: #090;}
  92. .cm-negative {color: #d44;}
  93. .cm-positive {color: #292;}
  94. .cm-header, .cm-strong {font-weight: bold;}
  95. .cm-em {font-style: italic;}
  96. .cm-link {text-decoration: underline;}
  97. .cm-strikethrough {text-decoration: line-through;}
  98. .cm-s-default .cm-keyword {color: #708;}
  99. .cm-s-default .cm-atom {color: #219;}
  100. .cm-s-default .cm-number {color: #164;}
  101. .cm-s-default .cm-def {color: #00f;}
  102. .cm-s-default .cm-variable,
  103. .cm-s-default .cm-punctuation,
  104. .cm-s-default .cm-property,
  105. .cm-s-default .cm-operator {}
  106. .cm-s-default .cm-variable-2 {color: #05a;}
  107. .cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}
  108. .cm-s-default .cm-comment {color: #a50;}
  109. .cm-s-default .cm-string {color: #a11;}
  110. .cm-s-default .cm-string-2 {color: #f50;}
  111. .cm-s-default .cm-meta {color: #555;}
  112. .cm-s-default .cm-qualifier {color: #555;}
  113. .cm-s-default .cm-builtin {color: #30a;}
  114. .cm-s-default .cm-bracket {color: #997;}
  115. .cm-s-default .cm-tag {color: #170;}
  116. .cm-s-default .cm-attribute {color: #00c;}
  117. .cm-s-default .cm-hr {color: #999;}
  118. .cm-s-default .cm-link {color: #00c;}
  119. .cm-s-default .cm-error {color: #f00;}
  120. .cm-invalidchar {color: #f00;}
  121. .CodeMirror-composing { border-bottom: 2px solid; }
  122. /* Default styles for common addons */
  123. div.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}
  124. div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
  125. .CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
  126. .CodeMirror-activeline-background {background: #e8f2ff;}
  127. /* STOP */
  128. /* The rest of this file contains styles related to the mechanics of
  129. the editor. You probably shouldn't touch them. */
  130. .CodeMirror {
  131. position: relative;
  132. overflow: hidden;
  133. background: white;
  134. }
  135. .CodeMirror-scroll {
  136. overflow: scroll !important; /* Things will break if this is overridden */
  137. /* 50px is the magic margin used to hide the element's real scrollbars */
  138. /* See overflow: hidden in .CodeMirror */
  139. margin-bottom: -50px; margin-right: -50px;
  140. padding-bottom: 50px;
  141. height: 100%;
  142. outline: none; /* Prevent dragging from highlighting the element */
  143. position: relative;
  144. z-index: 0;
  145. }
  146. .CodeMirror-sizer {
  147. position: relative;
  148. border-right: 50px solid transparent;
  149. }
  150. /* The fake, visible scrollbars. Used to force redraw during scrolling
  151. before actual scrolling happens, thus preventing shaking and
  152. flickering artifacts. */
  153. .CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
  154. position: absolute;
  155. z-index: 6;
  156. display: none;
  157. outline: none;
  158. }
  159. .CodeMirror-vscrollbar {
  160. right: 0; top: 0;
  161. overflow-x: hidden;
  162. overflow-y: scroll;
  163. }
  164. .CodeMirror-hscrollbar {
  165. bottom: 0; left: 0;
  166. overflow-y: hidden;
  167. overflow-x: scroll;
  168. }
  169. .CodeMirror-scrollbar-filler {
  170. right: 0; bottom: 0;
  171. }
  172. .CodeMirror-gutter-filler {
  173. left: 0; bottom: 0;
  174. }
  175. .CodeMirror-gutters {
  176. position: absolute; left: 0; top: 0;
  177. min-height: 100%;
  178. z-index: 3;
  179. }
  180. .CodeMirror-gutter {
  181. white-space: normal;
  182. height: 100%;
  183. display: inline-block;
  184. vertical-align: top;
  185. margin-bottom: -50px;
  186. }
  187. .CodeMirror-gutter-wrapper {
  188. position: absolute;
  189. z-index: 4;
  190. background: none !important;
  191. border: none !important;
  192. }
  193. .CodeMirror-gutter-background {
  194. position: absolute;
  195. top: 0; bottom: 0;
  196. z-index: 4;
  197. }
  198. .CodeMirror-gutter-elt {
  199. position: absolute;
  200. cursor: default;
  201. z-index: 4;
  202. }
  203. .CodeMirror-gutter-wrapper ::selection { background-color: transparent }
  204. .CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }
  205. .CodeMirror-lines {
  206. cursor: text;
  207. min-height: 1px; /* prevents collapsing before first draw */
  208. }
  209. .CodeMirror pre.CodeMirror-line,
  210. .CodeMirror pre.CodeMirror-line-like {
  211. /* Reset some styles that the rest of the page might have set */
  212. -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
  213. border-width: 0;
  214. background: transparent;
  215. font-family: inherit;
  216. font-size: inherit;
  217. margin: 0;
  218. white-space: pre;
  219. word-wrap: normal;
  220. line-height: inherit;
  221. color: inherit;
  222. z-index: 2;
  223. position: relative;
  224. overflow: visible;
  225. -webkit-tap-highlight-color: transparent;
  226. -webkit-font-variant-ligatures: contextual;
  227. font-variant-ligatures: contextual;
  228. }
  229. .CodeMirror-wrap pre.CodeMirror-line,
  230. .CodeMirror-wrap pre.CodeMirror-line-like {
  231. word-wrap: break-word;
  232. white-space: pre-wrap;
  233. word-break: normal;
  234. }
  235. .CodeMirror-linebackground {
  236. position: absolute;
  237. left: 0; right: 0; top: 0; bottom: 0;
  238. z-index: 0;
  239. }
  240. .CodeMirror-linewidget {
  241. position: relative;
  242. z-index: 2;
  243. padding: 0.1px; /* Force widget margins to stay inside of the container */
  244. }
  245. .CodeMirror-widget {}
  246. .CodeMirror-rtl pre { direction: rtl; }
  247. .CodeMirror-code {
  248. outline: none;
  249. }
  250. /* Force content-box sizing for the elements where we expect it */
  251. .CodeMirror-scroll,
  252. .CodeMirror-sizer,
  253. .CodeMirror-gutter,
  254. .CodeMirror-gutters,
  255. .CodeMirror-linenumber {
  256. -moz-box-sizing: content-box;
  257. box-sizing: content-box;
  258. }
  259. .CodeMirror-measure {
  260. position: absolute;
  261. width: 100%;
  262. height: 0;
  263. overflow: hidden;
  264. visibility: hidden;
  265. }
  266. .CodeMirror-cursor {
  267. position: absolute;
  268. pointer-events: none;
  269. }
  270. .CodeMirror-measure pre { position: static; }
  271. div.CodeMirror-cursors {
  272. visibility: hidden;
  273. position: relative;
  274. z-index: 3;
  275. }
  276. div.CodeMirror-dragcursors {
  277. visibility: visible;
  278. }
  279. .CodeMirror-focused div.CodeMirror-cursors {
  280. visibility: visible;
  281. }
  282. .CodeMirror-selected { background: #d9d9d9; }
  283. .CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
  284. .CodeMirror-crosshair { cursor: crosshair; }
  285. .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
  286. .CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
  287. .cm-searching {
  288. background-color: #ffa;
  289. background-color: rgba(255, 255, 0, .4);
  290. }
  291. /* Used to force a border model for a node */
  292. .cm-force-border { padding-right: .1px; }
  293. @media print {
  294. /* Hide the cursor when printing */
  295. .CodeMirror div.CodeMirror-cursors {
  296. visibility: hidden;
  297. }
  298. }
  299. /* See issue #2901 */
  300. .cm-tab-wrap-hack:after { content: ''; }
  301. /* Help users use markselection to safely style text background */
  302. span.CodeMirror-selectedtext { background: none; }
  303. /* addon/hint/show-hint.css */
  304. .CodeMirror-hints {
  305. position: absolute;
  306. z-index: 1100;
  307. overflow: hidden;
  308. list-style: none;
  309. margin: 0;
  310. padding: 0;
  311. background: var(--background-tertiary);
  312. font-family: monospace;
  313. overflow-y: auto;
  314. box-sizing: border-box;
  315. }
  316. .CodeMirror-hint {
  317. align-items: center;
  318. color: var(--text-inverted);
  319. cursor: pointer;
  320. display: flex;
  321. font-family: 'Fira Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  322. font-size: 14px;
  323. font-weight: normal;
  324. height: auto;
  325. letter-spacing: 0;
  326. line-height: initial;
  327. list-style: none;
  328. overflow: hidden;
  329. padding: 11px 15px;
  330. text-align: left;
  331. text-overflow: ellipsis;
  332. text-transform: initial;
  333. touch-action: manipulation;
  334. user-select: none;
  335. white-space: nowrap;
  336. word-break: break-all;
  337. }
  338. .CodeMirror-hint:not(:first-child) {
  339. box-shadow: 0 1px rgba(255, 255, 255, 0.13) inset;
  340. }
  341. li.CodeMirror-hint-active {
  342. background: var(--highlight);
  343. color: var(--text-inverted);
  344. }
  345. .CodeMirror-hint kbd {
  346. background: none;
  347. border-radius: 3px;
  348. border: 1px solid var(--background-modifier-border);
  349. box-shadow: var(--elevation-stroke);
  350. color: inherit;
  351. display: inline-block;
  352. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  353. font-size: 12px;
  354. line-height: 1;
  355. margin: 0 1px;
  356. margin-left: 7px;
  357. opacity: 0.5;
  358. padding: 2px 5px;
  359. vertical-align: baseline;
  360. }
  361. li.CodeMirror-hint-active kbd {
  362. background: inherit;
  363. color: inherit;
  364. }
  365. /* addon/lint/lint.css */
  366. /* The lint marker gutter */
  367. .CodeMirror-lint-markers {
  368. width: 16px;
  369. }
  370. .CodeMirror-lint-tooltip {
  371. background-color: var(--background-tertiary);
  372. border: 1px solid var(--border);
  373. border-radius: 3px;
  374. color: var(--text-inverted);
  375. font-family: monospace;
  376. font-size: 10pt;
  377. overflow: hidden;
  378. padding: 2px 5px;
  379. position: fixed;
  380. white-space: pre;
  381. white-space: pre-wrap;
  382. z-index: 1100;
  383. max-width: 600px;
  384. opacity: 0;
  385. transition: opacity .4s;
  386. -moz-transition: opacity .4s;
  387. -webkit-transition: opacity .4s;
  388. -o-transition: opacity .4s;
  389. -ms-transition: opacity .4s;
  390. }
  391. .CodeMirror-lint-mark {
  392. background-position: left bottom;
  393. background-repeat: repeat-x;
  394. }
  395. .CodeMirror-lint-mark-warning {
  396. background-image: url("data:image/svg+xml,%3Csvg width='4px' height='3px' viewBox='0 0 4 3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23FAAB00' d='M2,1.5C2,1.2,2.2,1,2.5,1C2.8,1,3,1.2,3,1.5c0,0.7,0.4,1.2,1,1.4V1.5C4,0.7,3.3,0,2.5,0S1,0.7,1,1.5 C1,1.8,0.8,2,0.5,2S0,1.8,0,1.5c0,0,0,0,0,0v1.4C0.2,3,0.3,3,0.5,3C1.3,3,2,2.3,2,1.5z'/%3E%3C/svg%3E%0A");
  397. }
  398. .CodeMirror-lint-mark-error {
  399. background-image: url("data:image/svg+xml,%3Csvg width='4px' height='3px' viewBox='0 0 4 3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23D74242' d='M2,1.5C2,1.2,2.2,1,2.5,1C2.8,1,3,1.2,3,1.5c0,0.7,0.4,1.2,1,1.4V1.5C4,0.7,3.3,0,2.5,0S1,0.7,1,1.5 C1,1.8,0.8,2,0.5,2S0,1.8,0,1.5c0,0,0,0,0,0v1.4C0.2,3,0.3,3,0.5,3C1.3,3,2,2.3,2,1.5z'/%3E%3C/svg%3E%0A");
  400. }
  401. .CodeMirror-lint-marker {
  402. background-position: center center;
  403. background-repeat: no-repeat;
  404. cursor: pointer;
  405. display: inline-block;
  406. height: 16px;
  407. width: 16px;
  408. vertical-align: middle;
  409. position: relative;
  410. }
  411. .CodeMirror-lint-message {
  412. padding-left: 18px;
  413. background-position: top left;
  414. background-repeat: no-repeat;
  415. }
  416. .CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {
  417. background-image: url("data:image/svg+xml,%3Csvg width='16px' height='16px' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%23FAAB00' d='M9.5,2.9l4.8,8.6c0.5,0.8,0.2,1.9-0.7,2.4 c-0.3,0.1-0.6,0.2-0.8,0.2H3.2c-1,0-1.7-0.8-1.7-1.7c0-0.3,0.1-0.6,0.2-0.8l4.8-8.6C7,2.1,8,1.8,8.8,2.2C9.1,2.4,9.4,2.6,9.5,2.9z M8,4.5c-0.5,0-0.8,0.4-0.8,0.9l0.1,3.5c0,0.5,0.4,0.9,0.9,0.9H7.8c0.5,0,0.9-0.4,0.9-0.9l0.1-3.5C8.9,4.9,8.5,4.5,8,4.5L8,4.5z M8,12.3c0.5,0,0.9-0.4,0.9-0.9S8.5,10.6,8,10.6c-0.5,0-0.9,0.4-0.9,0.9S7.5,12.3,8,12.3z'/%3E%3C/svg%3E");
  418. }
  419. .CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
  420. background-image: url("data:image/svg+xml,%3Csvg width='16px' height='16px' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%23D74242' d='M8,14.6c-3.6,0-6.6-2.9-6.6-6.6S4.4,1.5,8,1.5s6.6,2.9,6.6,6.6 S11.6,14.6,8,14.6z M10.1,5.3L8,7.4L5.9,5.3c-0.2-0.2-0.4-0.2-0.6,0c-0.2,0.2-0.2,0.4,0,0.6L7.4,8l-2,2.1c-0.2,0.2-0.2,0.4,0,0.6 c0.2,0.2,0.4,0.2,0.6,0l2-2.1l2.1,2.1c0.2,0.2,0.4,0.2,0.6,0s0.2-0.4,0-0.6L8.6,8l2.1-2.1c0.2-0.2,0.2-0.4,0-0.6S10.2,5.2,10.1,5.3z'/%3E%3C/svg%3E");
  421. }
  422. .CodeMirror-lint-marker-multiple {
  423. background-image: url("data:image/svg+xml,%3Csvg width='16px' height='16px' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon fill-rule='evenodd' clip-rule='evenodd' fill='%23888888' points='9,3 7,3 7,7 3,7 3,9 7,9 7,13 9,13 9,9 13,9 13,7 9,7'/%3E%3C/svg%3E");
  424. background-repeat: no-repeat;
  425. background-position: right bottom;
  426. width: 100%;
  427. height: 100%;
  428. }
  429. .CodeMirror-lint-line-error {
  430. background-color: rgba(183, 76, 81, 0.08);
  431. }
  432. .CodeMirror-lint-line-warning {
  433. background-color: rgba(255, 211, 0, 0.1);
  434. }
  435. /* ZAMMAD THEME */
  436. .cm-s-zammad.CodeMirror {
  437. background-color: var(--background-primary);
  438. color: var(--text-normal);
  439. /* Zammad form control style */
  440. border: 1px solid var(--border);
  441. border-radius: 3px;
  442. /* Make editor resizable (not supported by IE!) */
  443. resize: vertical;
  444. }
  445. .cm-s-zammad .CodeMirror-gutters {
  446. background: var(--background-primary-alt);
  447. color: var(--text-muted);
  448. border-color: var(--border);
  449. margin-left: -1px;
  450. }
  451. .cm-s-zammad .CodeMirror-cursor {
  452. border-left-color: var(--text-normal);
  453. }
  454. .cm-s-zammad .cm-header {color: var(--text-highlight);}
  455. .cm-s-zammad .cm-quote {color: var(--supergood-color);}
  456. .cm-s-zammad .cm-negative {color: var(--danger-color);}
  457. .cm-s-zammad .cm-positive {color: var(--supergood-color);}
  458. .cm-s-zammad .cm-keyword {color: #708;}
  459. .cm-s-zammad .cm-atom {color: var(--highlight);}
  460. .cm-s-zammad .cm-number {color: var(--supergood-color);}
  461. .cm-s-zammad .cm-def {color: var(--highlight);}
  462. .cm-s-zammad .cm-variable,
  463. .cm-s-zammad .cm-punctuation,
  464. .cm-s-zammad .cm-property,
  465. .cm-s-zammad .cm-operator {color: var(--text-normal);}
  466. .cm-s-zammad .cm-variable-2 {color: var(--highlight);}
  467. .cm-s-zammad .cm-variable-3, .cm-s-zammad .cm-type, .cm-s-zammad .cm-json {color: var(--supergood-color);}
  468. .cm-s-zammad .cm-comment {color: var(--ghost-color);}
  469. .cm-s-zammad .cm-string {color: var(--ok-color);}
  470. .cm-s-zammad .cm-string-2 {color: var(--good-color);}
  471. .cm-s-zammad .cm-meta {color: var(--text-muted);}
  472. .cm-s-zammad .cm-qualifier {color: var(--text-muted);}
  473. .cm-s-zammad .cm-builtin {color: #30a;}
  474. .cm-s-zammad .cm-bracket {color: var(--good-color);}
  475. .cm-s-zammad .cm-tag {color: var(--supergood-color);}
  476. .cm-s-zammad .cm-attribute {color: var(--highlight);}
  477. .cm-s-zammad .cm-hr {color: var(--pending-color);}
  478. .cm-s-zammad .cm-link {color: var(--text-link);}
  479. .cm-s-zammad .cm-error {color: var(--danger-color);}
  480. .cm-s-zammad .cm-invalidchar {color: var(--danger-color);}
  481. .cm-s-zammad .CodeMirror-line::selection,
  482. .cm-s-zammad .CodeMirror-line>span::selection,
  483. .cm-s-zammad .CodeMirror-line>span>span::selection {
  484. background: var(--interactive-muted);
  485. }
  486. .cm-s-zammad .CodeMirror-line::-moz-selection,
  487. .cm-s-zammad .CodeMirror-line>span::-moz-selection,
  488. .cm-s-zammad .CodeMirror-line>span>span::-moz-selection {
  489. background: var(--interactive-muted);
  490. }
  491. .cm-s-zammad div.CodeMirror-selected {
  492. background: var(--interactive-muted);
  493. }