2016-05-11 04:22:32 +02:00
|
|
|
.CodeMirror {
|
2016-09-14 19:03:51 +02:00
|
|
|
@include themify() {
|
|
|
|
border: 1px solid getThemifyVariable('ide-border-color');
|
|
|
|
}
|
|
|
|
font-family: Inconsolata, monospace;
|
|
|
|
height: 100%;
|
2016-05-11 04:22:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-linenumbers {
|
|
|
|
padding-right: #{10 / $base-font-size}rem;
|
2016-12-19 23:07:04 +01:00
|
|
|
|
2016-05-11 04:22:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-linenumber {
|
2016-12-19 23:07:04 +01:00
|
|
|
width: #{32 / $base-font-size}rem;
|
|
|
|
left: 0 !important;
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('inactive-text-color');
|
|
|
|
}
|
2016-05-11 04:22:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-lines {
|
|
|
|
padding-top: #{25 / $base-font-size}rem;
|
2016-05-13 00:29:38 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-line {
|
2016-06-20 20:58:15 +02:00
|
|
|
padding-left: #{5 / $base-font-size}rem;
|
|
|
|
}
|
2016-07-13 01:11:07 +02:00
|
|
|
|
2017-07-17 22:13:59 +02:00
|
|
|
.CodeMirror-activeline-background {
|
|
|
|
background-color: rgba(0,0,0,0.025) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-linebackground {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.line-runtime-error {
|
|
|
|
background-color: #ffaaaa !important;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-guttermarker-subtle {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-foldgutter-folded {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-foldgutter-open {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-07-13 01:11:07 +02: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;
|
2016-12-19 23:07:04 +01:00
|
|
|
width: #{48 / $base-font-size}rem;
|
2016-07-13 01:11:07 +02:00
|
|
|
position: absolute;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2016-07-13 01:24:57 +02:00
|
|
|
.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {
|
|
|
|
background-image: none;
|
|
|
|
padding-left: inherit;
|
|
|
|
}
|
|
|
|
|
2016-07-13 01:11:07 +02: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;
|
2016-12-19 23:07:04 +01:00
|
|
|
width: #{48 / $base-font-size}rem !important;
|
2016-07-13 01:11:07 +02:00
|
|
|
height: 100%;
|
|
|
|
// background-color: rgb(255, 95, 82);
|
|
|
|
}
|
2016-07-13 01:24:57 +02:00
|
|
|
|
|
|
|
.CodeMirror-lint-tooltip {
|
2016-09-14 19:03:51 +02: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-22 00:52:44 +02:00
|
|
|
color: getThemifyVariable('primary-text-color');
|
2016-09-14 19:03:51 +02:00
|
|
|
}
|
2016-07-21 21:07:53 +02:00
|
|
|
border-radius: 2px;
|
2016-12-14 16:41:50 +01:00
|
|
|
font-family: Montserrat, sans-serif;
|
2016-07-13 01:24:57 +02:00
|
|
|
}
|
2016-09-07 22:33:01 +02:00
|
|
|
|
2016-09-22 00:52:44 +02:00
|
|
|
.CodeMirror-gutters {
|
|
|
|
@include themify() {
|
|
|
|
background-color: getThemifyVariable('editor-gutter-color');
|
|
|
|
border-color: getThemifyVariable('ide-border-color');
|
|
|
|
}
|
2016-10-05 18:26:49 +02:00
|
|
|
// left: 0 !important;
|
2016-12-19 23:07:04 +01:00
|
|
|
width: #{48 / $base-font-size}rem;
|
2016-07-13 01:24:57 +02:00
|
|
|
}
|
2016-09-07 22:33:01 +02:00
|
|
|
|
2017-01-05 20:40:04 +01:00
|
|
|
.editor-holder {
|
|
|
|
height: calc(100% - #{29 / $base-font-size}rem);
|
|
|
|
width: 100%;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor__header {
|
|
|
|
height: #{29 / $base-font-size}rem;
|
|
|
|
}
|
2016-12-19 23:07:04 +01:00
|
|
|
|
2016-09-07 22:33:01 +02:00
|
|
|
.editor__options-button {
|
2016-09-13 22:42:06 +02:00
|
|
|
@include themify() {
|
|
|
|
@extend %icon;
|
|
|
|
}
|
2016-09-07 22:33:01 +02:00
|
|
|
position: absolute;
|
2016-12-19 23:19:07 +01:00
|
|
|
top: #{10 / $base-font-size}rem;
|
|
|
|
right: #{2 / $base-font-size}rem;
|
2016-09-07 22:33:01 +02:00
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
2016-12-19 23:07:04 +01:00
|
|
|
|
2016-09-07 22:33:01 +02:00
|
|
|
.editor__options {
|
|
|
|
display: none;
|
|
|
|
@extend %modal;
|
|
|
|
position: absolute;
|
2016-12-20 06:21:04 +01:00
|
|
|
right: #{0 / $base-font-size}rem;
|
|
|
|
padding: #{8 / $base-font-size}rem #{20 / $base-font-size}rem;
|
|
|
|
font-size: #{12 / $base-font-size}rem;
|
|
|
|
@include themify() {
|
|
|
|
background-color: getThemifyVariable('modal-background-color');
|
|
|
|
box-shadow: 0 0 18px getThemifyVariable('shadow-color');
|
|
|
|
}
|
2016-09-07 22:33:01 +02:00
|
|
|
.editor--options & {
|
|
|
|
display: block;
|
|
|
|
}
|
2016-09-12 07:31:30 +02:00
|
|
|
}
|
|
|
|
|
2016-12-20 06:21:04 +01:00
|
|
|
.editor__options li {
|
|
|
|
padding: #{4 / $base-font-size}rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor__options a {
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('secondary-text-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-09 18:52:14 +01:00
|
|
|
.editor__file-name {
|
|
|
|
@include themify() {
|
2016-12-19 23:07:04 +01:00
|
|
|
color: getThemifyVariable('secondary-text-color');
|
2016-11-09 18:52:14 +01:00
|
|
|
}
|
2016-12-19 23:07:04 +01:00
|
|
|
height: #{29 / $base-font-size}rem;
|
2016-12-19 23:19:07 +01:00
|
|
|
padding-top: #{7 / $base-font-size}rem;
|
|
|
|
padding-left: #{56 / $base-font-size}rem;
|
2016-11-09 18:52:14 +01:00
|
|
|
font-size: #{12 / $base-font-size}rem;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2016-09-12 07:31:30 +02:00
|
|
|
}
|