2021-01-29 00:20:46 +05:30
|
|
|
[data-editor-loading] {
|
|
|
|
@include gl-relative;
|
|
|
|
@include gl-display-flex;
|
|
|
|
@include gl-justify-content-center;
|
|
|
|
@include gl-align-items-center;
|
2021-04-17 20:07:23 +05:30
|
|
|
@include gl-z-index-0;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
filter: blur(5px);
|
|
|
|
}
|
2021-01-29 00:20:46 +05:30
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
2021-06-08 01:23:25 +05:30
|
|
|
@include spinner-deprecated(32px, 3px);
|
2021-01-29 00:20:46 +05:30
|
|
|
@include gl-absolute;
|
|
|
|
@include gl-z-index-1;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-30 23:02:18 +05:30
|
|
|
[id^='source-editor-'] {
|
2021-01-03 14:25:43 +05:30
|
|
|
height: 500px;
|
2020-04-08 14:13:33 +05:30
|
|
|
}
|
2021-04-29 21:17:54 +05:30
|
|
|
|
2021-10-27 15:23:28 +05:30
|
|
|
.source-editor-preview {
|
|
|
|
@include gl-display-flex;
|
|
|
|
|
|
|
|
.md {
|
|
|
|
@include gl-overflow-scroll;
|
|
|
|
@include gl-px-6;
|
|
|
|
@include gl-py-4;
|
|
|
|
@include gl-w-full;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gl-source-editor {
|
|
|
|
@include gl-order-n1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-30 23:02:18 +05:30
|
|
|
.monaco-editor.gl-source-editor {
|
2021-04-29 21:17:54 +05:30
|
|
|
.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-07-16 23:28:13 +05:30
|
|
|
|
|
|
|
// Remove custom focus from element
|
|
|
|
.inputarea {
|
|
|
|
@include gl-shadow-none;
|
|
|
|
}
|
2021-04-29 21:17:54 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.active-line-text {
|
|
|
|
@include gl-bg-orange-600;
|
|
|
|
@include gl-opacity-3;
|
|
|
|
}
|