2020-10-28 11:08:49 -04:00
|
|
|
[data-editor-loading] {
|
|
|
|
@include gl-relative;
|
|
|
|
@include gl-display-flex;
|
|
|
|
@include gl-justify-content-center;
|
|
|
|
@include gl-align-items-center;
|
2021-02-18 13:10:41 -05:00
|
|
|
@include gl-z-index-0;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
filter: blur(5px);
|
|
|
|
}
|
2020-10-28 11:08:49 -04:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
2021-04-29 17:10:03 -04:00
|
|
|
@include spinner-deprecated(32px, 3px);
|
2020-10-28 11:08:49 -04:00
|
|
|
@include gl-absolute;
|
|
|
|
@include gl-z-index-1;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-18 17:10:06 -04:00
|
|
|
[id^='source-editor-'] {
|
2020-10-15 14:08:43 -04:00
|
|
|
height: 500px;
|
2020-03-10 17:09:21 -04:00
|
|
|
}
|
2021-03-16 14:11:53 -04:00
|
|
|
|
2021-08-16 08:09:17 -04:00
|
|
|
.source-editor-preview {
|
|
|
|
@include gl-display-flex;
|
|
|
|
|
|
|
|
.md {
|
|
|
|
@include gl-overflow-scroll;
|
|
|
|
@include gl-px-6;
|
|
|
|
@include gl-py-4;
|
|
|
|
@include gl-w-full;
|
|
|
|
}
|
2021-08-17 11:10:19 -04:00
|
|
|
|
|
|
|
.gl-source-editor {
|
|
|
|
@include gl-order-n1;
|
|
|
|
}
|
2021-08-16 08:09:17 -04:00
|
|
|
}
|
|
|
|
|
2021-06-18 17:10:06 -04:00
|
|
|
.monaco-editor.gl-source-editor {
|
2021-03-16 14:11:53 -04:00
|
|
|
.margin-view-overlays {
|
|
|
|
.line-numbers {
|
|
|
|
@include gl-display-flex;
|
|
|
|
@include gl-justify-content-end;
|
|
|
|
@include gl-relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
@include gl-visibility-hidden;
|
|
|
|
@include gl-align-self-center;
|
|
|
|
@include gl-bg-gray-400;
|
|
|
|
@include gl-mr-2;
|
|
|
|
@include gl-w-4;
|
|
|
|
@include gl-h-4;
|
|
|
|
mask-image: asset_url('icons-stacked.svg#link');
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: cover;
|
|
|
|
mask-position: center;
|
|
|
|
content: '';
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
@include gl-text-decoration-underline;
|
|
|
|
cursor: pointer !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover::before {
|
|
|
|
@include gl-visibility-visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus::before {
|
|
|
|
@include gl-visibility-visible;
|
|
|
|
outline: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-anchor {
|
|
|
|
@include gl-display-block;
|
|
|
|
@include gl-absolute;
|
|
|
|
@include gl-w-full;
|
|
|
|
@include gl-h-full;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-05-23 11:08:42 -04:00
|
|
|
|
|
|
|
// Remove custom focus from element
|
|
|
|
.inputarea {
|
|
|
|
@include gl-shadow-none;
|
|
|
|
}
|
2021-03-16 14:11:53 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.active-line-text {
|
|
|
|
@include gl-bg-orange-600;
|
|
|
|
@include gl-opacity-3;
|
|
|
|
}
|