2016-05-11 02:22:32 +00:00
|
|
|
.CodeMirror {
|
2016-09-14 17:03:51 +00:00
|
|
|
@include themify() {
|
|
|
|
border: 1px solid getThemifyVariable('ide-border-color');
|
|
|
|
}
|
|
|
|
font-family: Inconsolata, monospace;
|
|
|
|
height: 100%;
|
2016-05-11 02:22:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-linenumbers {
|
|
|
|
padding-right: #{10 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-linenumber {
|
|
|
|
width: #{35 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-lines {
|
|
|
|
padding-top: #{25 / $base-font-size}rem;
|
2016-05-12 22:29:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-line {
|
2016-06-20 18:58:15 +00:00
|
|
|
padding-left: #{5 / $base-font-size}rem;
|
|
|
|
}
|
2016-07-12 23:11:07 +00:00
|
|
|
|
|
|
|
.CodeMirror-gutter-wrapper {
|
|
|
|
right: 100%;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-lint-marker-warning, .CodeMirror-lint-marker-error, .CodeMirror-lint-marker-multiple {
|
|
|
|
background-image: none;
|
|
|
|
width: 70px;
|
|
|
|
position: absolute;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2016-07-12 23:24:57 +00:00
|
|
|
.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {
|
|
|
|
background-image: none;
|
|
|
|
padding-left: inherit;
|
|
|
|
}
|
|
|
|
|
2016-07-12 23:11:07 +00:00
|
|
|
.CodeMirror-lint-marker-warning {
|
|
|
|
background-color: rgb(255, 190, 5);
|
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-lint-marker-error {
|
|
|
|
background-color: rgb(255, 95, 82);
|
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-gutter-elt:not(.CodeMirror-linenumber) {
|
|
|
|
opacity: 0.3;
|
|
|
|
width: 70px !important;
|
|
|
|
height: 100%;
|
|
|
|
// background-color: rgb(255, 95, 82);
|
|
|
|
}
|
2016-07-12 23:24:57 +00:00
|
|
|
|
|
|
|
.CodeMirror-lint-tooltip {
|
2016-09-14 17:03:51 +00:00
|
|
|
@include themify() {
|
|
|
|
background-color: getThemifyVariable('modal-background-color');
|
|
|
|
border: 1px solid getThemifyVariable('modal-border-color');
|
|
|
|
box-shadow: 0 12px 12px getThemifyVariable('shadow-color');
|
2016-09-21 22:52:44 +00:00
|
|
|
color: getThemifyVariable('primary-text-color');
|
2016-09-14 17:03:51 +00:00
|
|
|
}
|
2016-07-21 19:07:53 +00:00
|
|
|
border-radius: 2px;
|
2016-09-14 17:03:51 +00:00
|
|
|
font-family: 'Avenir Next', Montserrat, sans-serif;
|
2016-07-12 23:24:57 +00:00
|
|
|
}
|
2016-09-07 20:33:01 +00:00
|
|
|
|
2016-09-21 22:52:44 +00:00
|
|
|
.CodeMirror-gutters {
|
|
|
|
@include themify() {
|
|
|
|
background-color: getThemifyVariable('editor-gutter-color');
|
|
|
|
border-color: getThemifyVariable('ide-border-color');
|
|
|
|
}
|
2016-10-05 16:26:49 +00:00
|
|
|
// left: 0 !important;
|
2016-07-12 23:24:57 +00:00
|
|
|
}
|
2016-09-07 20:33:01 +00:00
|
|
|
|
|
|
|
.editor__options-button {
|
2016-09-13 20:42:06 +00:00
|
|
|
@include themify() {
|
|
|
|
@extend %icon;
|
|
|
|
}
|
2016-09-07 20:33:01 +00:00
|
|
|
position: absolute;
|
2016-11-09 17:52:14 +00:00
|
|
|
top: 0;
|
|
|
|
right: #{1.5 / $base-font-size}rem; // move left to avoid vertical scroll bar
|
2016-09-07 20:33:01 +00:00
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor__options {
|
|
|
|
display: none;
|
|
|
|
@extend %modal;
|
|
|
|
position: absolute;
|
|
|
|
top: #{20 / $base-font-size}rem;
|
|
|
|
right: #{5 / $base-font-size}rem;
|
|
|
|
padding: #{10 / $base-font-size}rem;
|
|
|
|
|
|
|
|
.editor--options & {
|
|
|
|
display: block;
|
|
|
|
}
|
2016-09-12 05:31:30 +00:00
|
|
|
}
|
|
|
|
|
2016-11-09 17:52:14 +00:00
|
|
|
.editor__file-name {
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('inactive-text-color');
|
|
|
|
}
|
|
|
|
padding: 0 0 #{7 / $base-font-size}rem #{76 / $base-font-size}rem;
|
|
|
|
font-size: #{12 / $base-font-size}rem;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2016-09-12 05:31:30 +00:00
|
|
|
}
|