2017-03-22 12:42:45 +00:00
|
|
|
@import 'mediawiki.mixins';
|
|
|
|
|
2017-03-27 13:00:31 +00:00
|
|
|
.CodeMirror {
|
|
|
|
line-height: 1.5em;
|
|
|
|
padding: 0.1em;
|
|
|
|
}
|
|
|
|
|
2017-09-13 19:15:31 +00:00
|
|
|
.wikiEditor-ui .CodeMirror {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2017-03-27 13:00:31 +00:00
|
|
|
.mw-codeMirror-classicToolbar {
|
|
|
|
border: 1px solid #a2a9b1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror pre,
|
|
|
|
.CodeMirror-lines {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2017-03-22 12:42:45 +00:00
|
|
|
.mw-editbutton-codemirror-on {
|
2017-05-12 06:13:41 +00:00
|
|
|
// WikiEditor toolbar
|
|
|
|
&.tool-button {
|
|
|
|
.background-image-svg( 'images/cm-on.svg', 'images/cm-on.png' );
|
|
|
|
}
|
|
|
|
// Classic toolbar
|
|
|
|
&.mw-toolbar-editbutton {
|
|
|
|
.background-image-svg( 'images/old-cm-on.svg', 'images/old-cm-on.png' );
|
|
|
|
}
|
2017-03-22 12:42:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-editbutton-codemirror-off {
|
2017-05-12 06:13:41 +00:00
|
|
|
// WikiEditor toolbar
|
|
|
|
&.tool-button {
|
|
|
|
.background-image-svg( 'images/cm-off.svg', 'images/cm-off.png' );
|
|
|
|
}
|
|
|
|
// Classic toolbar
|
|
|
|
&.mw-toolbar-editbutton {
|
|
|
|
.background-image-svg( 'images/old-cm-off.svg', 'images/old-cm-off.png' );
|
|
|
|
}
|
2017-03-22 12:42:45 +00:00
|
|
|
}
|
2017-03-21 14:42:04 +00:00
|
|
|
|
2017-05-12 09:10:29 +00:00
|
|
|
.wikiEditor-ui-toolbar,
|
2017-03-21 14:42:04 +00:00
|
|
|
.oo-ui-popupWidget.ve-init-mw-switchPopupWidget {
|
|
|
|
// Increase z-index to above scrollbar
|
|
|
|
z-index: 7;
|
|
|
|
}
|