2023-07-08 23:26:11 +00:00
|
|
|
/* src/css/codeblocks.css */
|
|
|
|
|
.code-styler-pre-parent {
|
|
|
|
|
margin-bottom: 16px;
|
2023-06-03 04:04:36 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.code-styler pre.code-styler-pre {
|
2023-07-08 23:26:11 +00:00
|
|
|
background: var(--code-styler-codeblock-background-colour) !important;
|
|
|
|
|
border-radius: var(--border-radius) !important;
|
|
|
|
|
min-height: unset;
|
|
|
|
|
padding: 0px !important;
|
|
|
|
|
overflow: hidden !important;
|
2023-03-14 20:43:52 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
.code-styler pre.code-styler-pre[class*=language-] {
|
|
|
|
|
background: linear-gradient(90deg, var(--language-border-colour), var(--language-border-colour) var(--language-border-width), var(--code-styler-codeblock-background-colour) var(--language-border-width), var(--code-styler-codeblock-background-colour) 100%) !important;
|
|
|
|
|
padding-left: var(--language-border-width) !important;
|
2023-07-07 12:14:42 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.code-styler pre.code-styler-pre code {
|
2023-07-08 23:26:11 +00:00
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: min-content auto;
|
|
|
|
|
grid-template-rows: auto;
|
|
|
|
|
padding-top: var(--code-padding) !important;
|
|
|
|
|
padding-bottom: var(--code-padding) !important;
|
|
|
|
|
padding-left: 0px !important;
|
|
|
|
|
padding-right: 0px !important;
|
|
|
|
|
border-radius: 0px !important;
|
|
|
|
|
background: none !important;
|
|
|
|
|
transition:
|
|
|
|
|
max-height ease-in-out var(--duration-button),
|
|
|
|
|
padding ease-in-out var(--duration-button),
|
|
|
|
|
border-top ease-in-out var(--duration-button);
|
|
|
|
|
max-height: 0;
|
|
|
|
|
overflow-x: scroll;
|
|
|
|
|
}
|
|
|
|
|
.code-styler pre.code-styler-pre code:not(:has(> input[style*="display: inline;"])):active {
|
|
|
|
|
--line-wrapping: var(--line-active-wrapping) !important;
|
2023-06-03 12:54:05 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.code-styler pre.code-styler-pre.code-styler-collapsed code {
|
2023-07-08 23:26:11 +00:00
|
|
|
padding-top: 0 !important;
|
|
|
|
|
padding-bottom: 0 !important;
|
2023-06-03 12:54:05 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.code-styler pre.code-styler-pre::before,
|
|
|
|
|
.code-styler pre.code-styler-pre::after {
|
2023-07-08 23:26:11 +00:00
|
|
|
content: none !important;
|
2023-07-06 11:57:51 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.markdown-source-view.mod-cm6 .cm-embed-block pre.code-styler-pre {
|
2023-07-08 23:26:11 +00:00
|
|
|
margin: 1em 0px;
|
2023-06-01 21:16:31 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
.code-styler .markdown-source-view [class*=code-styler-line].HyperMD-codeblock-begin {
|
|
|
|
|
border-top-left-radius: 0px !important;
|
|
|
|
|
border-top-right-radius: 0px !important;
|
|
|
|
|
border-top: none !important;
|
2023-06-26 13:22:46 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
.code-styler .markdown-source-view [class*=code-styler-line].HyperMD-codeblock-end {
|
|
|
|
|
border-bottom-left-radius: var(--border-radius);
|
|
|
|
|
border-bottom-right-radius: var(--border-radius);
|
2023-07-05 20:35:24 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
body:not(.code-styler-show-langicons-always):not(.code-styler-show-langnames-always) .markdown-source-view :not(pre.code-styler-pre) > .code-styler-header-container + .HyperMD-codeblock-begin,
|
2023-07-08 23:26:11 +00:00
|
|
|
body:not(.code-styler-show-langnames-always) .markdown-source-view :not(pre.code-styler-pre) > .code-styler-header-container:not(:has(img.code-styler-icon)) + .HyperMD-codeblock-begin,
|
|
|
|
|
body .markdown-source-view :not(pre.code-styler-pre) > .code-styler-header-container:not(:has([class*="code-styler-header-language-tag-"])) + .HyperMD-codeblock-begin,
|
|
|
|
|
body .markdown-source-view :not([class^="code-styler-header-container"]) + [class*=code-styler-line].HyperMD-codeblock-begin,
|
|
|
|
|
body .markdown-source-view [class*=code-styler-line].HyperMD-codeblock-begin:nth-of-type(1) {
|
|
|
|
|
border-top-left-radius: var(--border-radius) !important;
|
|
|
|
|
border-top-right-radius: var(--border-radius) !important;
|
|
|
|
|
}
|
|
|
|
|
.code-styler .markdown-source-view .HyperMD-codeblock[class*=code-styler-line] {
|
|
|
|
|
background: linear-gradient(90deg, var(--gradient-background-colour) var(--gradient-highlights-colour-stop), transparent 100%), var(--code-styler-codeblock-background-colour) !important;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
padding: 0 !important;
|
|
|
|
|
padding-left: var(--size-4-4) !important;
|
|
|
|
|
}
|
|
|
|
|
.code-styler .markdown-source-view .HyperMD-codeblock[class*=code-styler-line][class*=language-] {
|
|
|
|
|
background: linear-gradient(90deg, var(--language-border-colour), var(--language-border-colour) var(--language-border-width), var(--gradient-background-colour) var(--language-border-width) var(--gradient-highlights-colour-stop), transparent 100%), var(--code-styler-codeblock-background-colour) !important;
|
|
|
|
|
}
|
|
|
|
|
.code-styler .markdown-source-view .HyperMD-codeblock[class*=code-styler-line][class*=language-] [class^=code-styler-line-number] {
|
|
|
|
|
margin-left: var(--language-border-width);
|
|
|
|
|
}
|
|
|
|
|
body:not([class*="code-styler-show-langicons"]) .code-styler-header-container-specific div:has(> img.code-styler-icon),
|
2023-07-07 16:40:20 +00:00
|
|
|
body:not(.code-styler-show-langicons-always) .code-styler-header-container div:has(> img.code-styler-icon) {
|
2023-07-08 23:26:11 +00:00
|
|
|
display: none;
|
2023-06-10 14:50:52 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
body:not([class*="code-styler-show-langnames"]) .code-styler-header-container-specific [class^=code-styler-header-language-tag],
|
|
|
|
|
body:not(.code-styler-show-langnames-always) .code-styler-header-container [class^=code-styler-header-language-tag] {
|
|
|
|
|
display: none;
|
2023-06-10 14:50:52 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
body:not(.code-styler-show-langicons-always):not(.code-styler-show-langnames-always) .code-styler-header-container,
|
2023-07-08 23:26:11 +00:00
|
|
|
body:not(.code-styler-show-langnames-always) .code-styler-header-container:not(:has(img.code-styler-icon)) {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
body .markdown-source-view :not(pre.code-styler-pre) > .code-styler-header-container:not([class*="language-"]),
|
|
|
|
|
body pre.code-styler-pre:not([class*="language-"]) .code-styler-header-container {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
[class^=code-styler-header-container] {
|
|
|
|
|
font-size: var(--header-font-size);
|
|
|
|
|
user-select: none;
|
|
|
|
|
height: var(--container-height);
|
|
|
|
|
min-height: var(--container-min-height);
|
|
|
|
|
padding-top: var(--header-padding);
|
|
|
|
|
margin-top: 0px !important;
|
|
|
|
|
display: flex !important;
|
|
|
|
|
overflow: visible;
|
|
|
|
|
transition: border-bottom ease-in-out var(--duration-button);
|
|
|
|
|
box-sizing: content-box;
|
|
|
|
|
}
|
|
|
|
|
.markdown-source-view :not(pre.code-styler-pre) > [class^=code-styler-header-container] {
|
|
|
|
|
background: linear-gradient(var(--code-styler-header-background-colour) 0%, var(--code-styler-header-background-colour) calc(100% - var(--header-separator-width)), var(--code-styler-header-separator-colour) calc(100% - var(--header-separator-width)), var(--code-styler-header-separator-colour) 100%) var(--language-border-width) bottom/100% border-box no-repeat, var(--language-border-colour) !important;
|
|
|
|
|
padding-left: var(--language-border-width);
|
|
|
|
|
border-top-left-radius: var(--border-radius);
|
|
|
|
|
border-top-right-radius: var(--border-radius);
|
|
|
|
|
padding-bottom: var(--header-separator-width);
|
|
|
|
|
border-top: var(--code-styler-header-border);
|
|
|
|
|
border-left: var(--code-styler-header-border);
|
|
|
|
|
border-right: var(--code-styler-header-border);
|
|
|
|
|
}
|
|
|
|
|
pre.code-styler-pre [class^=code-styler-header-container] {
|
|
|
|
|
background-color: var(--code-styler-header-background-colour);
|
|
|
|
|
border-bottom: var(--header-separator-width) solid var(--code-styler-header-separator-colour);
|
|
|
|
|
}
|
|
|
|
|
.markdown-source-view :not(pre.code-styler-pre) > [class^=code-styler-header-container]:not(:has(+ .HyperMD-codeblock-begin)) {
|
|
|
|
|
background: linear-gradient(var(--code-styler-header-background-colour) 0%, var(--code-styler-header-background-colour) 100%) var(--language-border-width) bottom/100% border-box no-repeat, var(--language-border-colour) !important;
|
|
|
|
|
padding-bottom: var(--header-padding);
|
|
|
|
|
border-bottom-left-radius: var(--border-radius);
|
|
|
|
|
border-bottom-right-radius: var(--border-radius);
|
|
|
|
|
border-bottom: var(--code-styler-header-border);
|
|
|
|
|
border-bottom: var(--collapsed-bottom-border);
|
|
|
|
|
}
|
|
|
|
|
pre.code-styler-pre.code-styler-collapsed [class^=code-styler-header-container] {
|
|
|
|
|
border-bottom: var(--collapsed-bottom-border);
|
|
|
|
|
}
|
|
|
|
|
[class^=code-styler-header-container] [class^=code-styler-header-language-tag] {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-content: center;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
height: 100%;
|
|
|
|
|
padding-left: var(--header-spacing);
|
|
|
|
|
padding-right: var(--header-spacing);
|
|
|
|
|
margin-right: var(--header-spacing);
|
|
|
|
|
padding-top: calc(1em * var(--header-inner-vertical-padding));
|
|
|
|
|
padding-bottom: calc(1em * var(--header-inner-vertical-padding));
|
|
|
|
|
font-size: inherit;
|
|
|
|
|
border-radius: var(--border-radius) var(--border-radius) 0px 0px;
|
|
|
|
|
background-color: var(--code-styler-header-language-tag-background-colour);
|
|
|
|
|
color: var(--code-styler-header-language-tag-text-colour);
|
|
|
|
|
font-weight: var(--code-styler-header-language-tag-text-bold, normal);
|
|
|
|
|
font-style: var(--code-styler-header-language-tag-text-italic, normal);
|
|
|
|
|
text-align: center;
|
|
|
|
|
transition: border-radius ease-in-out var(--duration-button), padding ease-in-out var(--duration-button);
|
|
|
|
|
}
|
|
|
|
|
.markdown-source-view :not(pre.code-styler-pre) > [class^=code-styler-header-container]:not(:has(+ .HyperMD-codeblock-begin)) [class^=code-styler-header-language-tag],
|
|
|
|
|
pre.code-styler-pre.code-styler-collapsed [class^=code-styler-header-container] [class^=code-styler-header-language-tag] {
|
|
|
|
|
border-radius: var(--border-radius);
|
2023-06-04 11:25:18 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.code-styler-header-text {
|
2023-07-08 23:26:11 +00:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-content: center;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
padding-left: 0px;
|
|
|
|
|
padding-top: calc(1em * var(--header-inner-vertical-padding));
|
|
|
|
|
padding-bottom: calc(1em * var(--header-inner-vertical-padding));
|
|
|
|
|
font-size: inherit;
|
|
|
|
|
color: var(--code-styler-header-text-colour);
|
|
|
|
|
font-weight: var(--code-styler-header-title-text-bold, normal);
|
|
|
|
|
font-style: var(--code-styler-header-title-text-italic, normal);
|
|
|
|
|
transition: padding ease-in-out var(--duration-button);
|
|
|
|
|
}
|
|
|
|
|
body:not([class*="code-styler-show-langicons"]) .code-styler-header-container-specific [class^=code-styler-header-language-tag],
|
|
|
|
|
body:not(.code-styler-show-langicons-always) .code-styler-header-container [class^=code-styler-header-language-tag],
|
|
|
|
|
body .code-styler-header-container-specific:not(:has(div > img.code-styler-icon)) [class^=code-styler-header-language-tag] {
|
|
|
|
|
border-top-left-radius: 0 !important;
|
|
|
|
|
border-bottom-left-radius: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
body:not([class*="code-styler-show-langicons"]):not([class*="code-styler-show-langnames"]) .code-styler-header-container-specific .code-styler-header-text,
|
2023-07-07 16:40:20 +00:00
|
|
|
body:not(.code-styler-show-langicons-always):not(.code-styler-show-langnames) .code-styler-header-container .code-styler-header-text,
|
2023-07-08 23:26:11 +00:00
|
|
|
body .code-styler-header-container-specific:not(:has([class^="code-styler-header-language-tag-"])) .code-styler-header-text {
|
|
|
|
|
padding-left: var(--header-spacing);
|
2023-06-10 16:34:14 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
div:has(> img.code-styler-icon) {
|
2023-07-08 23:26:11 +00:00
|
|
|
display: inline-flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-content: center;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
padding-top: calc(1em * var(--header-inner-vertical-padding));
|
|
|
|
|
padding-bottom: calc(1em * var(--header-inner-vertical-padding));
|
|
|
|
|
padding-left: var(--header-spacing);
|
|
|
|
|
padding-right: var(--header-spacing);
|
|
|
|
|
transition: padding ease-in-out var(--duration-button);
|
2023-07-01 09:13:36 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.code-styler-icon {
|
2023-07-08 23:26:11 +00:00
|
|
|
width: var(--language-icon-size);
|
|
|
|
|
height: var(--language-icon-size);
|
|
|
|
|
filter: var(--language-icon-filter);
|
|
|
|
|
margin: 0 !important;
|
|
|
|
|
border: none !important;
|
2023-01-25 22:56:55 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
pre.code-styler-pre [class^=code-styler-line-highlighted] > .code-styler-line-text {
|
|
|
|
|
background-image: linear-gradient(90deg, var(--gradient-background-colour) 0% var(--gradient-highlights-colour-stop), var(--code-styler-codeblock-background-colour) 100%);
|
2023-06-27 02:44:59 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.code-styler-line-highlighted {
|
2023-07-08 23:26:11 +00:00
|
|
|
--gradient-background-colour: var(--code-styler-default-highlight-colour) !important;
|
2023-06-27 02:44:59 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.code-styler-active-line-highlight .cm-active,
|
|
|
|
|
.code-styler-active-line-highlight-editor .cm-active {
|
2023-07-08 23:26:11 +00:00
|
|
|
background: linear-gradient(to right, var(--code-styler-active-editor-line-colour), var(--gradient-highlights-colour-stop), transparent) !important;
|
2023-07-07 10:40:11 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
.code-styler-active-line-highlight .markdown-source-view .HyperMD-codeblock[class*=code-styler-line].cm-active,
|
|
|
|
|
.code-styler-active-line-highlight-codeblock .markdown-source-view .HyperMD-codeblock[class*=code-styler-line].cm-active {
|
|
|
|
|
background: linear-gradient(to right, var(--code-styler-active-codeblock-line-colour), var(--gradient-highlights-colour-stop), var(--code-styler-codeblock-background-colour)) !important;
|
2023-07-04 16:19:34 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.code-styler:not(.code-styler-show-line-numbers) .code-styler-line-number,
|
|
|
|
|
.code-styler-line-number-hide {
|
2023-07-08 23:26:11 +00:00
|
|
|
display: none;
|
2023-07-07 10:40:11 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
pre.code-styler-pre > code > div:first-child > [class^=code-styler-line-number] {
|
|
|
|
|
box-shadow: 0px calc(-1 * var(--code-padding)) var(--code-styler-gutter-background-colour);
|
|
|
|
|
transition: box-shadow ease-in-out var(--duration-button);
|
2023-07-07 10:40:11 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
pre.code-styler-pre.code-styler-collapsed > code > div:first-child > [class^=code-styler-line-number] {
|
|
|
|
|
box-shadow: 0px 0px var(--code-styler-gutter-background-colour);
|
2023-07-07 10:40:11 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
pre.code-styler-pre > code > div:last-child > [class^=code-styler-line-number] {
|
|
|
|
|
box-shadow: 0px var(--code-padding) var(--code-styler-gutter-background-colour);
|
2023-07-07 10:40:11 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
pre.code-styler-pre > code > div:only-child > [class^=code-styler-line-number] {
|
|
|
|
|
box-shadow: 0px calc(-1 * var(--code-padding)) var(--code-styler-gutter-background-colour), 0px var(--code-padding) var(--code-styler-gutter-background-colour);
|
2023-07-07 10:40:11 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
[class^=code-styler-line-number] {
|
|
|
|
|
padding-left: calc(4px + var(--language-border-width));
|
|
|
|
|
padding-right: 8px;
|
|
|
|
|
text-align: right;
|
|
|
|
|
min-width: var(--line-number-gutter-min-width);
|
|
|
|
|
background-color: var(--code-styler-gutter-background-colour);
|
|
|
|
|
font-size: var(--code-size);
|
|
|
|
|
font-family: var(--font-monospace);
|
|
|
|
|
color: var(--code-styler-gutter-text-colour);
|
|
|
|
|
user-select: none;
|
2023-07-07 10:40:11 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.markdown-source-view .HyperMD-codeblock .code-styler-line-number,
|
|
|
|
|
.markdown-source-view .HyperMD-codeblock .code-styler-line-number-specific {
|
2023-07-08 23:26:11 +00:00
|
|
|
padding-top: var(--line-number-height-correction);
|
|
|
|
|
position: absolute;
|
|
|
|
|
box-sizing: content-box;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
height: 100%;
|
|
|
|
|
min-width: calc(var(--line-number-gutter-min-width) - 12px);
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
direction: rtl;
|
|
|
|
|
left: 0;
|
2023-07-07 10:40:11 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.markdown-source-view .HyperMD-codeblock-begin .code-styler-line-number,
|
|
|
|
|
.markdown-source-view .HyperMD-codeblock-begin .code-styler-line-number-specific,
|
|
|
|
|
.markdown-source-view .HyperMD-codeblock-end .code-styler-line-number,
|
|
|
|
|
.markdown-source-view .HyperMD-codeblock-end .code-styler-line-number-specific {
|
2023-07-08 23:26:11 +00:00
|
|
|
width: var(--line-number-gutter-width);
|
2023-07-07 10:40:11 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
pre.code-styler-pre [class^=code-styler-line-number] {
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
grid-column: 1;
|
|
|
|
|
position: sticky;
|
|
|
|
|
top: -1px;
|
|
|
|
|
left: 0;
|
|
|
|
|
border-top: var(--line-number-height-correction) solid transparent;
|
2023-06-27 02:44:59 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
pre.code-styler-pre div:last-child > [class^=code-styler-line-number] {
|
|
|
|
|
width: unset;
|
2023-07-07 10:40:11 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
.code-styler-gutter-highlight pre.code-styler-pre [class*=code-styler-line-highlighted] [class^=code-styler-line-number] {
|
|
|
|
|
background-color: var(--gradient-background-colour);
|
2023-07-07 12:14:42 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
.code-styler-active-line-highlight.code-styler-gutter-highlight .markdown-source-view .HyperMD-codeblock[class*=code-styler-line].cm-active [class^=code-styler-line-number],
|
|
|
|
|
.code-styler-active-line-highlight-codeblock.code-styler-gutter-highlight .markdown-source-view .HyperMD-codeblock[class*=code-styler-line].cm-active [class^=code-styler-line-number],
|
|
|
|
|
.code-styler-gutter-highlight [class*=code-styler-line-highlighted] [class^=code-styler-line-number] {
|
|
|
|
|
background-color: rgba(0, 0, 0, 0);
|
2023-07-07 10:40:11 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
.code-styler-gutter-active-line .cm-active [class^=code-styler-line-number] {
|
|
|
|
|
color: var(--code-styler-gutter-active-text-colour);
|
2023-07-07 10:40:11 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.code-styler.code-styler-show-line-numbers .markdown-source-view .HyperMD-codeblock:has(.code-styler-line-number),
|
|
|
|
|
.code-styler.code-styler-show-line-numbers .markdown-source-view .HyperMD-codeblock:has(.code-styler-line-number-specific) {
|
2023-07-08 23:26:11 +00:00
|
|
|
padding-left: calc(12px + var(--language-border-width) + var(--line-number-gutter-width) + var(--line-number-gutter-padding)) !important;
|
2023-07-07 10:40:11 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
.code-styler .markdown-source-view .HyperMD-codeblock[class*=code-styler-line]::before {
|
|
|
|
|
content: none !important;
|
2023-06-27 02:44:59 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
pre.code-styler-pre > code > div[class*=code-styler-line] {
|
|
|
|
|
display: contents !important;
|
2023-06-27 02:44:59 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre .code-styler-line-text {
|
2023-07-08 23:26:11 +00:00
|
|
|
flex-basis: 100%;
|
|
|
|
|
padding-left: var(--line-number-gutter-padding);
|
|
|
|
|
grid-column: 2;
|
2023-07-07 10:40:11 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
.HyperMD-codeblock:has(> .cm-widgetBuffer) {
|
|
|
|
|
white-space: nowrap;
|
2023-07-07 10:40:11 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
.HyperMD-codeblock:has(> .cm-widgetBuffer) > .cm-hmd-codeblock {
|
|
|
|
|
white-space: break-spaces;
|
2023-06-27 02:44:59 +00:00
|
|
|
}
|
2023-07-07 10:40:11 +00:00
|
|
|
@keyframes outdent {
|
2023-07-08 23:26:11 +00:00
|
|
|
from {
|
|
|
|
|
margin-right: calc(var(--copy-code-header-right-margin) - var(--dent-difference));
|
|
|
|
|
clip-path: var(--polygon-in);
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
margin-right: var(--copy-code-header-right-margin);
|
|
|
|
|
clip-path: var(--polygon-out);
|
|
|
|
|
}
|
2023-06-27 02:44:59 +00:00
|
|
|
}
|
2023-07-07 10:40:11 +00:00
|
|
|
@keyframes indent {
|
2023-07-08 23:26:11 +00:00
|
|
|
from {
|
|
|
|
|
margin-right: var(--copy-code-header-right-margin);
|
|
|
|
|
clip-path: var(--polygon-out);
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
margin-right: calc(var(--copy-code-header-right-margin) - var(--dent-difference));
|
|
|
|
|
clip-path: var(--polygon-in);
|
|
|
|
|
}
|
2023-06-27 02:44:59 +00:00
|
|
|
}
|
2023-07-07 10:40:11 +00:00
|
|
|
@keyframes reverse-outdent {
|
2023-07-08 23:26:11 +00:00
|
|
|
from {
|
|
|
|
|
clip-path: var(--polygon-in);
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
clip-path: var(--polygon-out);
|
|
|
|
|
}
|
2023-07-07 10:40:11 +00:00
|
|
|
}
|
|
|
|
|
@keyframes reverse-indent {
|
2023-07-08 23:26:11 +00:00
|
|
|
from {
|
|
|
|
|
clip-path: var(--polygon-out);
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
clip-path: var(--polygon-in);
|
|
|
|
|
}
|
2023-06-27 02:44:59 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.markdown-rendered pre.code-styler-pre button {
|
2023-07-08 23:26:11 +00:00
|
|
|
transition: visibility var(--duration-button), opacity var(--duration-button);
|
|
|
|
|
visibility: visible;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
display: unset !important;
|
|
|
|
|
color: var(--code-styler-button-colour) !important;
|
|
|
|
|
background: transparent !important;
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
font-family: var(--font-interface);
|
|
|
|
|
font-size: var(--font-ui-smaller);
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0 !important;
|
|
|
|
|
border: none !important;
|
|
|
|
|
margin-top: 0 !important;
|
|
|
|
|
margin-bottom: 0 !important;
|
2023-06-26 16:42:56 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre:not(.code-styler-collapsed):not(:hover) button,
|
|
|
|
|
pre.code-styler-pre.code-styler-collapsed button,
|
2023-07-08 23:26:11 +00:00
|
|
|
pre.code-styler-pre:not(.code-styler-collapsed):not(:hover) [class^=code-styler-header-container]::after {
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
[class^=code-styler-header-container]::after {
|
|
|
|
|
position: relative;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
margin: auto;
|
|
|
|
|
margin-right: var(--header-button-spacing);
|
|
|
|
|
content: "\200b";
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
background-color: var(--code-styler-button-colour);
|
|
|
|
|
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' xml:space='preserve'%3E%3Cpath d='M16 22 6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z'/%3E%3Cpath fill='none' d='M0 0h32v32H0z'/%3E%3C/svg%3E");
|
|
|
|
|
-webkit-mask-repeat: no-repeat;
|
|
|
|
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
|
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
|
visibility: visible;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
scale: 0.8;
|
|
|
|
|
transition:
|
|
|
|
|
transform var(--duration-button) ease-out,
|
|
|
|
|
visibility var(--duration-button),
|
|
|
|
|
opacity var(--duration-button),
|
|
|
|
|
scale var(--duration-button) cubic-bezier(0.4, 0.14, 0.3, 1);
|
|
|
|
|
}
|
|
|
|
|
pre.code-styler-pre.code-styler-collapsed [class^=code-styler-header-container]::after,
|
|
|
|
|
.markdown-source-view :not(pre.code-styler-pre) > [class^=code-styler-header-container]:not(:has(+ .HyperMD-codeblock-begin))::after {
|
|
|
|
|
transform: rotate(-90deg);
|
|
|
|
|
}
|
|
|
|
|
[class^=code-styler-header-container]:hover::after {
|
|
|
|
|
scale: 1;
|
|
|
|
|
}
|
|
|
|
|
body:not(.code-styler-show-langicons-always):not(.code-styler-show-langnames-always) pre.code-styler-pre:has(.code-styler-header-container) button.copy-code-button,
|
|
|
|
|
body:not(.code-styler-show-langnames-always) pre.code-styler-pre:not(:has(.code-styler-header-container-specific)):not(:has(.code-styler-header-container img.code-styler-icon)) button.copy-code-button,
|
|
|
|
|
body pre.code-styler-pre:not([class*="language-"]):has(.code-styler-header-container) button.copy-code-button {
|
|
|
|
|
top: calc(0.5 * var(--font-text-size) * 0.875 * var(--line-height-normal)) !important;
|
|
|
|
|
--copy-code-header-right-margin: 12px;
|
2023-06-26 21:29:40 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
body:not(.code-styler-show-langicons-always):not(.code-styler-show-langnames-always) .markdown-source-view :not(pre.code-styler-pre) > .code-styler-header-container + .HyperMD-codeblock-begin,
|
2023-07-08 23:26:11 +00:00
|
|
|
body:not(.code-styler-show-langnames-always) .markdown-source-view :not(pre.code-styler-pre) > .code-styler-header-container:not(:has(img.code-styler-icon)) + .HyperMD-codeblock-begin,
|
|
|
|
|
body .markdown-source-view :not(pre.code-styler-pre) > .code-styler-header-container:not(:has([class*="code-styler-header-language-tag-"])) + .HyperMD-codeblock-begin {
|
|
|
|
|
overflow: hidden;
|
2023-07-02 18:41:45 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
body:not(.code-styler-show-langicons-always):not(.code-styler-show-langnames-always) .markdown-source-view :not(pre.code-styler-pre) > .code-styler-header-container + .HyperMD-codeblock-begin span.code-block-flair,
|
2023-07-08 23:26:11 +00:00
|
|
|
body:not(.code-styler-show-langnames-always) .markdown-source-view :not(pre.code-styler-pre) > .code-styler-header-container:not(:has(img.code-styler-icon)) + .HyperMD-codeblock-begin span.code-block-flair,
|
|
|
|
|
body .markdown-source-view :not(pre.code-styler-pre) > .code-styler-header-container:not(:has([class*="code-styler-header-language-tag-"])) + .HyperMD-codeblock-begin span.code-block-flair {
|
|
|
|
|
top: calc(0.5 * var(--font-text-size) * 0.875 * var(--line-height-normal)) !important;
|
|
|
|
|
--copy-code-header-right-margin: 12px;
|
2023-06-26 19:53:21 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre button.copy-code-button {
|
2023-07-08 23:26:11 +00:00
|
|
|
transform: translateY(-50%);
|
|
|
|
|
top: max(calc(0.5 * var(--container-height) * 1), calc(0.5 * var(--container-min-height) * 1)) !important;
|
|
|
|
|
bottom: unset !important;
|
2023-06-26 19:53:21 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre button.copy-code-button,
|
2023-07-08 23:26:11 +00:00
|
|
|
pre.code-styler-pre button.run-code-button,
|
2023-07-07 16:40:20 +00:00
|
|
|
.markdown-source-view.mod-cm6 .HyperMD-codeblock.code-styler-line span.code-block-flair {
|
2023-07-08 23:26:11 +00:00
|
|
|
margin-right: calc(var(--copy-code-header-right-margin) - var(--dent-difference));
|
|
|
|
|
will-change: margin-right, clip-path;
|
|
|
|
|
clip-path: var(--polygon-in);
|
2023-06-25 18:56:38 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre button.copy-code-button:not(:active),
|
2023-07-08 23:26:11 +00:00
|
|
|
pre.code-styler-pre button.run-code-button:not(:active),
|
2023-07-07 16:40:20 +00:00
|
|
|
.markdown-source-view.mod-cm6 .HyperMD-codeblock.code-styler-line span.code-block-flair:not(:active) {
|
2023-07-08 23:26:11 +00:00
|
|
|
animation: indent var(--duration-button);
|
2023-06-25 18:56:38 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre button.copy-code-button:hover,
|
2023-07-08 23:26:11 +00:00
|
|
|
pre.code-styler-pre button.run-code-button:hover,
|
|
|
|
|
.markdown-source-view.mod-cm6 .HyperMD-codeblock.code-styler-line span.code-block-flair:hover {
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
animation: outdent var(--duration-button);
|
|
|
|
|
margin-right: var(--copy-code-header-right-margin);
|
|
|
|
|
clip-path: var(--polygon-out);
|
2023-06-26 16:42:56 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre button.copy-code-button:active,
|
2023-07-08 23:26:11 +00:00
|
|
|
pre.code-styler-pre button.run-code-button:active,
|
2023-07-07 16:40:20 +00:00
|
|
|
.markdown-source-view.mod-cm6 .HyperMD-codeblock.code-styler-line span.code-block-flair:active {
|
2023-07-08 23:26:11 +00:00
|
|
|
scale: 0.95;
|
|
|
|
|
transition: scale var(--duration-button) cubic-bezier(0.4, 0.14, 0.3, 1);
|
2023-06-26 16:42:56 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre button.copy-code-button::before,
|
|
|
|
|
.markdown-source-view.mod-cm6 .HyperMD-codeblock.code-styler-line span.code-block-flair::before {
|
2023-07-08 23:26:11 +00:00
|
|
|
content: "\200b";
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 14px;
|
|
|
|
|
height: 14px;
|
|
|
|
|
padding-right: 4px;
|
|
|
|
|
background-color: var(--code-styler-button-colour);
|
|
|
|
|
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M28 10v18H10V10h18m0-2H10a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2Z'/%3E%3Cpath d='M4 18H2V4a2 2 0 0 1 2-2h14v2H4Z'/%3E%3Cpath fill='none' d='M0 0h32v32H0z' data-name='<Transparent Rectangle>'/%3E%3C/svg%3E");
|
|
|
|
|
-webkit-mask-repeat: no-repeat;
|
|
|
|
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M28 10v18H10V10h18m0-2H10a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2Z'/%3E%3Cpath d='M4 18H2V4a2 2 0 0 1 2-2h14v2H4Z'/%3E%3Cpath fill='none' d='M0 0h32v32H0z' data-name='<Transparent Rectangle>'/%3E%3C/svg%3E");
|
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
|
vertical-align: 1px;
|
2023-06-26 19:53:21 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.markdown-source-view.mod-cm6 .HyperMD-codeblock.code-styler-line span.code-block-flair {
|
2023-07-08 23:26:11 +00:00
|
|
|
transform: translateY(-50%);
|
|
|
|
|
font-size: 0;
|
|
|
|
|
top: min(calc(-0.5 * var(--container-height) * 1.1 - var(--header-separator-width)), calc(-0.5 * var(--container-min-height) * 1.1 - var(--header-separator-width))) !important;
|
|
|
|
|
right: 0;
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
padding: 0;
|
|
|
|
|
position: absolute;
|
|
|
|
|
line-height: initial !important;
|
|
|
|
|
margin-top: 0 !important;
|
|
|
|
|
margin-bottom: 0 !important;
|
2023-06-26 19:53:21 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.markdown-source-view.mod-cm6 .HyperMD-codeblock.code-styler-line span.code-block-flair > * {
|
2023-07-08 23:26:11 +00:00
|
|
|
width: 0px;
|
2023-06-26 19:53:21 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.markdown-source-view.mod-cm6 .HyperMD-codeblock.code-styler-line span.code-block-flair::before {
|
2023-07-08 23:26:11 +00:00
|
|
|
visibility: visible;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
vertical-align: -1px;
|
|
|
|
|
font-size: var(--font-ui-smaller);
|
2023-06-26 19:53:21 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.markdown-source-view.mod-cm6 .HyperMD-codeblock.code-styler-line span.code-block-flair::after {
|
2023-07-08 23:26:11 +00:00
|
|
|
visibility: visible;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
font-size: var(--font-ui-smaller);
|
|
|
|
|
content: "Copy";
|
|
|
|
|
color: var(--code-styler-button-colour);
|
2023-06-25 18:56:38 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.markdown-source-view.mod-cm6 .HyperMD-codeblock-begin.code-styler-line {
|
2023-07-08 23:26:11 +00:00
|
|
|
overflow: visible;
|
2023-07-02 18:41:45 +00:00
|
|
|
}
|
2023-06-25 18:56:38 +00:00
|
|
|
|
2023-07-08 23:26:11 +00:00
|
|
|
/* src/css/inlineCode.css */
|
2023-07-07 18:08:14 +00:00
|
|
|
.code-styler .cm-s-obsidian span.cm-inline-code,
|
|
|
|
|
.code-styler .markdown-rendered :not(pre) > code {
|
2023-07-08 23:26:11 +00:00
|
|
|
font-weight: var(--code-styler-inline-font-weight);
|
|
|
|
|
color: var(--code-styler-inline-colour);
|
|
|
|
|
background-color: var(--code-styler-inline-background-colour) !important;
|
|
|
|
|
border-radius: var(--code-styler-inline-border-radius) !important;
|
|
|
|
|
padding: var(--code-styler-inline-padding-vertical) var(--code-styler-inline-padding-horizontal) !important;
|
|
|
|
|
margin: 0px var(--code-styler-inline-margin-horizontal) !important;
|
|
|
|
|
}
|
|
|
|
|
.code-styler .cm-s-obsidian span.cm-formatting-code {
|
|
|
|
|
color: var(--code-styler-inline-colour-active);
|
|
|
|
|
display: inline !important;
|
|
|
|
|
}
|
2023-07-09 19:38:57 +00:00
|
|
|
.code-styler .cm-s-obsidian span.code-styler-inline-opener ~ span.cm-inline-code:not(.cm-formatting-code) {
|
|
|
|
|
margin-left: 0px !important;
|
|
|
|
|
padding-left: 0px !important;
|
|
|
|
|
border-radius: 0px var(--code-styler-inline-border-radius) var(--code-styler-inline-border-radius) 0px !important;
|
|
|
|
|
}
|
|
|
|
|
.code-styler .cm-s-obsidian span.code-styler-inline-opener,
|
2023-07-08 23:26:11 +00:00
|
|
|
.code-styler .cm-s-obsidian span.cm-formatting-code:has(+ span.cm-inline-code:not(.cm-formatting-code)) {
|
|
|
|
|
color: var(--code-styler-inline-colour-active);
|
|
|
|
|
border-radius: var(--code-styler-inline-border-radius) 0px 0px var(--code-styler-inline-border-radius) !important;
|
|
|
|
|
padding-left: var(--code-styler-inline-padding-horizontal) !important;
|
|
|
|
|
padding-right: 0px !important;
|
|
|
|
|
margin-left: var(--code-styler-inline-margin-horizontal) !important;
|
|
|
|
|
margin-right: 0px !important;
|
|
|
|
|
}
|
|
|
|
|
.code-styler .cm-s-obsidian span.cm-formatting-code + span.cm-inline-code:not(.cm-formatting-code) {
|
|
|
|
|
color: var(--code-styler-inline-colour-active);
|
|
|
|
|
border-radius: 0px !important;
|
|
|
|
|
padding-left: 0px !important;
|
|
|
|
|
padding-right: 0px !important;
|
|
|
|
|
margin: 0px 0px !important;
|
|
|
|
|
}
|
|
|
|
|
.code-styler .cm-s-obsidian span.cm-inline-code:not(.cm-formatting-code) + span.cm-formatting-code {
|
|
|
|
|
color: var(--code-styler-inline-colour-active);
|
|
|
|
|
border-radius: 0px var(--code-styler-inline-border-radius) var(--code-styler-inline-border-radius) 0px !important;
|
|
|
|
|
padding-left: 0px !important;
|
|
|
|
|
padding-right: var(--code-styler-inline-padding-horizontal) !important;
|
|
|
|
|
margin-left: 0px !important;
|
|
|
|
|
margin-right: var(--code-styler-inline-margin-horizontal) !important;
|
2023-07-07 18:08:14 +00:00
|
|
|
}
|
2023-07-10 22:04:01 +00:00
|
|
|
body.code-styler span.code-styler-inline-opener > span > img.code-styler-inline-icon:not([class*="emoji"]) {
|
2023-07-08 23:26:11 +00:00
|
|
|
height: calc(var(--code-size) * 1.2);
|
2023-07-10 22:04:01 +00:00
|
|
|
margin-bottom: 2px !important;
|
2023-07-08 23:26:11 +00:00
|
|
|
vertical-align: middle;
|
2023-07-10 22:04:01 +00:00
|
|
|
display: inline !important;
|
2023-07-08 23:07:07 +00:00
|
|
|
}
|
2023-07-09 09:21:14 +00:00
|
|
|
.code-styler span.code-styler-inline-opener .code-styler-inline-title {
|
2023-07-08 23:26:11 +00:00
|
|
|
font-weight: var(--code-styler-inline-title-font-weight);
|
2023-07-09 19:38:57 +00:00
|
|
|
color: var(--code-styler-inline-title-colour);
|
2023-07-08 23:07:07 +00:00
|
|
|
}
|
2023-07-09 09:21:14 +00:00
|
|
|
.code-styler span.code-styler-inline-opener .code-styler-inline-title::after {
|
2023-07-08 23:26:11 +00:00
|
|
|
content: "\ff5c";
|
|
|
|
|
color: var(--code-styler-inline-title-color);
|
2023-07-08 23:07:07 +00:00
|
|
|
}
|
2023-07-09 09:21:14 +00:00
|
|
|
.code-styler span.code-styler-inline-opener span:has(> img.code-styler-inline-icon) {
|
2023-07-08 23:26:11 +00:00
|
|
|
padding-right: 8px;
|
2023-07-08 23:07:07 +00:00
|
|
|
}
|
2023-07-10 22:56:24 +00:00
|
|
|
.code-styler .cm-s-obsidian span.cm-inline-code .code-styler-inline-parameters {
|
|
|
|
|
color: var(--code-comment);
|
|
|
|
|
}
|
2023-07-07 18:08:14 +00:00
|
|
|
|
2023-07-08 23:26:11 +00:00
|
|
|
/* src/css/pdfExport.css */
|
|
|
|
|
div.print {
|
|
|
|
|
--line-wrapping: pre-wrap !important;
|
2023-02-07 21:32:55 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
.code-styler div.print pre.code-styler-pre code {
|
|
|
|
|
max-height: unset;
|
2023-07-03 03:58:51 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
.code-styler div.print pre.code-styler-pre.code-styler-collapsed code {
|
|
|
|
|
display: none !important;
|
2023-06-04 08:55:56 +00:00
|
|
|
}
|
2023-06-03 13:11:19 +00:00
|
|
|
|
2023-07-08 23:26:11 +00:00
|
|
|
/* src/css/pickr.css */
|
|
|
|
|
.pickr {
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: visible;
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
}
|
|
|
|
|
.pickr * {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
outline: none;
|
|
|
|
|
border: none;
|
|
|
|
|
appearance: none;
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
}
|
|
|
|
|
.pickr .pcr-button {
|
|
|
|
|
position: relative;
|
|
|
|
|
height: 2em;
|
|
|
|
|
width: 2em;
|
|
|
|
|
padding: 0.5em;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-family:
|
|
|
|
|
-apple-system,
|
|
|
|
|
BlinkMacSystemFont,
|
|
|
|
|
"Segoe UI",
|
|
|
|
|
"Roboto",
|
|
|
|
|
"Helvetica Neue",
|
|
|
|
|
Arial,
|
|
|
|
|
sans-serif;
|
|
|
|
|
border-radius: .15em;
|
|
|
|
|
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" stroke="%2342445A" stroke-width="5px" stroke-linecap="round"><path d="M45,45L5,5"></path><path d="M45,5L5,45"></path></svg>') no-repeat center;
|
|
|
|
|
background-size: 0;
|
|
|
|
|
transition: all 0.3s;
|
|
|
|
|
}
|
|
|
|
|
.pickr .pcr-button::before {
|
|
|
|
|
position: absolute;
|
|
|
|
|
content: "";
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
|
|
|
|
background-size: .5em;
|
|
|
|
|
border-radius: .15em;
|
|
|
|
|
z-index: -1;
|
|
|
|
|
}
|
|
|
|
|
.pickr .pcr-button::before {
|
|
|
|
|
z-index: initial;
|
|
|
|
|
}
|
|
|
|
|
.pickr .pcr-button::after {
|
|
|
|
|
position: absolute;
|
|
|
|
|
content: "";
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
height: 100%;
|
|
|
|
|
width: 100%;
|
|
|
|
|
transition: background 0.3s;
|
|
|
|
|
background: var(--pcr-color);
|
|
|
|
|
border-radius: .15em;
|
|
|
|
|
}
|
|
|
|
|
.pickr .pcr-button.clear {
|
|
|
|
|
background-size: 70%;
|
|
|
|
|
}
|
|
|
|
|
.pickr .pcr-button.clear::before {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
.pickr .pcr-button.clear:focus {
|
|
|
|
|
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color);
|
|
|
|
|
}
|
|
|
|
|
.pickr .pcr-button.disabled {
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
}
|
|
|
|
|
.pickr *,
|
|
|
|
|
.pcr-app * {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
outline: none;
|
|
|
|
|
border: none;
|
|
|
|
|
appearance: none;
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
}
|
|
|
|
|
.pickr input:focus,
|
|
|
|
|
.pickr input.pcr-active,
|
|
|
|
|
.pickr button:focus,
|
|
|
|
|
.pickr button.pcr-active,
|
|
|
|
|
.pcr-app input:focus,
|
|
|
|
|
.pcr-app input.pcr-active,
|
|
|
|
|
.pcr-app button:focus,
|
|
|
|
|
.pcr-app button.pcr-active {
|
|
|
|
|
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color);
|
|
|
|
|
}
|
|
|
|
|
.pickr .pcr-palette,
|
|
|
|
|
.pickr .pcr-slider,
|
|
|
|
|
.pcr-app .pcr-palette,
|
|
|
|
|
.pcr-app .pcr-slider {
|
|
|
|
|
transition: box-shadow 0.3s;
|
|
|
|
|
}
|
|
|
|
|
.pickr .pcr-palette:focus,
|
|
|
|
|
.pickr .pcr-slider:focus,
|
|
|
|
|
.pcr-app .pcr-palette:focus,
|
|
|
|
|
.pcr-app .pcr-slider:focus {
|
|
|
|
|
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(0, 0, 0, 0.25);
|
|
|
|
|
}
|
|
|
|
|
.pcr-app {
|
|
|
|
|
position: fixed;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
z-index: 10000;
|
|
|
|
|
border-radius: 0.1em;
|
|
|
|
|
background: #fff;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
transition: opacity 0.3s, visibility 0s 0.3s;
|
|
|
|
|
font-family:
|
|
|
|
|
-apple-system,
|
|
|
|
|
BlinkMacSystemFont,
|
|
|
|
|
"Segoe UI",
|
|
|
|
|
"Roboto",
|
|
|
|
|
"Helvetica Neue",
|
|
|
|
|
Arial,
|
|
|
|
|
sans-serif;
|
|
|
|
|
box-shadow: 0 0.15em 1.5em 0 rgba(0, 0, 0, 0.1), 0 0 1em 0 rgba(0, 0, 0, 0.03);
|
|
|
|
|
left: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app.visible {
|
|
|
|
|
transition: opacity 0.3s;
|
|
|
|
|
visibility: visible;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-swatches {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
margin-top: 0.75em;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-swatches.pcr-last {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
@supports (display: grid) {
|
|
|
|
|
.pcr-app .pcr-swatches {
|
|
|
|
|
display: grid;
|
|
|
|
|
align-items: center;
|
|
|
|
|
grid-template-columns: repeat(auto-fit, 1.75em);
|
|
|
|
|
}
|
2023-07-07 10:58:23 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
.pcr-app .pcr-swatches > button {
|
|
|
|
|
font-size: 1em;
|
|
|
|
|
position: relative;
|
|
|
|
|
width: calc(1.75em - 10px);
|
|
|
|
|
height: calc(1.75em - 10px);
|
|
|
|
|
border-radius: 0.15em;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
margin: 2.5px;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
justify-self: center;
|
|
|
|
|
transition: all 0.15s;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background: transparent;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-swatches > button::before {
|
|
|
|
|
position: absolute;
|
|
|
|
|
content: "";
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
|
|
|
|
background-size: 6px;
|
|
|
|
|
border-radius: .15em;
|
|
|
|
|
z-index: -1;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-swatches > button::after {
|
|
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: var(--pcr-color);
|
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
|
|
|
border-radius: 0.15em;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-swatches > button:hover {
|
|
|
|
|
filter: brightness(1.05);
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-swatches > button:not(.pcr-active) {
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-interaction {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin: 0 -0.2em 0 -0.2em;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-interaction > * {
|
|
|
|
|
margin: 0 0.2em;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-interaction input {
|
|
|
|
|
letter-spacing: 0.07em;
|
|
|
|
|
font-size: 0.75em;
|
|
|
|
|
text-align: center;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
color: #75797e;
|
|
|
|
|
background: #f1f3f4;
|
|
|
|
|
border-radius: .15em;
|
|
|
|
|
transition: all 0.15s;
|
|
|
|
|
padding: 0.45em 0.5em;
|
|
|
|
|
margin-top: 0.75em;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-interaction input:hover {
|
|
|
|
|
filter: brightness(0.975);
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-interaction input:focus {
|
|
|
|
|
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(66, 133, 244, 0.75);
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-result {
|
|
|
|
|
color: #75797e;
|
|
|
|
|
text-align: left;
|
|
|
|
|
flex: 1 1 8em;
|
|
|
|
|
min-width: 8em;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
border-radius: .15em;
|
|
|
|
|
background: #f1f3f4;
|
|
|
|
|
cursor: text;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-result::-moz-selection {
|
|
|
|
|
background: #4285f4;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-result::selection {
|
|
|
|
|
background: #4285f4;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-type.active {
|
|
|
|
|
color: #fff;
|
|
|
|
|
background: #4285f4;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-save,
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-cancel,
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-clear {
|
|
|
|
|
color: #fff;
|
|
|
|
|
width: auto;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-save,
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-cancel,
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-clear {
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-save:hover,
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-cancel:hover,
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-clear:hover {
|
|
|
|
|
filter: brightness(0.925);
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-save {
|
|
|
|
|
background: #4285f4;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-clear,
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-cancel {
|
|
|
|
|
background: #f44250;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-clear:focus,
|
|
|
|
|
.pcr-app .pcr-interaction .pcr-cancel:focus {
|
|
|
|
|
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(244, 66, 80, 0.75);
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-selection .pcr-picker {
|
|
|
|
|
position: absolute;
|
|
|
|
|
height: 18px;
|
|
|
|
|
width: 18px;
|
|
|
|
|
border: 2px solid #fff;
|
|
|
|
|
border-radius: 100%;
|
|
|
|
|
-webkit-user-select: none;
|
|
|
|
|
-moz-user-select: none;
|
|
|
|
|
-ms-user-select: none;
|
|
|
|
|
user-select: none;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-selection .pcr-color-palette,
|
|
|
|
|
.pcr-app .pcr-selection .pcr-color-chooser,
|
|
|
|
|
.pcr-app .pcr-selection .pcr-color-opacity {
|
|
|
|
|
position: relative;
|
|
|
|
|
-webkit-user-select: none;
|
|
|
|
|
-moz-user-select: none;
|
|
|
|
|
-ms-user-select: none;
|
|
|
|
|
user-select: none;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
cursor: grab;
|
|
|
|
|
cursor: -webkit-grab;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app .pcr-selection .pcr-color-palette:active,
|
|
|
|
|
.pcr-app .pcr-selection .pcr-color-chooser:active,
|
|
|
|
|
.pcr-app .pcr-selection .pcr-color-opacity:active {
|
|
|
|
|
cursor: grabbing;
|
|
|
|
|
cursor: -webkit-grabbing;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] {
|
|
|
|
|
width: 14.25em;
|
|
|
|
|
max-width: 95vw;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-swatches {
|
|
|
|
|
margin-top: .6em;
|
|
|
|
|
padding: 0 .6em;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-interaction {
|
|
|
|
|
padding: 0 .6em .6em .6em;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-gap: .6em;
|
|
|
|
|
grid-template-columns: 1fr 4fr;
|
|
|
|
|
grid-template-rows: 5fr auto auto;
|
|
|
|
|
align-items: center;
|
|
|
|
|
height: 10.5em;
|
|
|
|
|
width: 100%;
|
|
|
|
|
align-self: flex-start;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-preview {
|
|
|
|
|
grid-area: 2 / 1 / 4 / 1;
|
|
|
|
|
height: 100%;
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
margin-left: .6em;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-preview .pcr-last-color {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-preview .pcr-current-color {
|
|
|
|
|
position: relative;
|
|
|
|
|
background: var(--pcr-color);
|
|
|
|
|
width: 2em;
|
|
|
|
|
height: 2em;
|
|
|
|
|
border-radius: 50em;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-preview .pcr-current-color::before {
|
|
|
|
|
position: absolute;
|
|
|
|
|
content: "";
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
|
|
|
|
background-size: .5em;
|
|
|
|
|
border-radius: .15em;
|
|
|
|
|
z-index: -1;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-palette {
|
|
|
|
|
grid-area: 1 / 1 / 2 / 3;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-palette .pcr-palette {
|
|
|
|
|
border-radius: .15em;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-palette .pcr-palette::before {
|
|
|
|
|
position: absolute;
|
|
|
|
|
content: "";
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
|
|
|
|
background-size: .5em;
|
|
|
|
|
border-radius: .15em;
|
|
|
|
|
z-index: -1;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-chooser {
|
|
|
|
|
grid-area: 2 / 2 / 2 / 2;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-opacity {
|
|
|
|
|
grid-area: 3 / 2 / 3 / 2;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-chooser,
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-opacity {
|
|
|
|
|
height: 0.5em;
|
|
|
|
|
margin: 0 .6em;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-chooser .pcr-picker,
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-opacity .pcr-picker {
|
|
|
|
|
top: 50%;
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-chooser .pcr-slider,
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-opacity .pcr-slider {
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
border-radius: 50em;
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-chooser .pcr-slider {
|
|
|
|
|
background: linear-gradient(to right, red, #ff0, lime, cyan, blue, #f0f, red);
|
|
|
|
|
}
|
|
|
|
|
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-opacity .pcr-slider {
|
|
|
|
|
background: linear-gradient(to right, transparent, black), url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
|
|
|
|
background-size: 100%, 0.25em;
|
2023-07-07 10:58:23 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
.pcr-app .pcr-swatches > button {
|
|
|
|
|
padding: 0;
|
2023-07-07 12:14:42 +00:00
|
|
|
}
|
2023-07-07 10:58:23 +00:00
|
|
|
|
2023-07-08 23:26:11 +00:00
|
|
|
/* src/css/pluginCompatibility.css */
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre code ~ code.language-output {
|
2023-07-08 23:26:11 +00:00
|
|
|
display: block;
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
padding-bottom: calc(2.5 * var(--code-padding)) !important;
|
|
|
|
|
padding-left: calc(var(--line-number-gutter-padding)) !important;
|
|
|
|
|
border-top: var(--header-separator-width) solid var(--code-styler-header-separator-colour);
|
2023-06-27 01:23:47 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre.code-styler-collapsed code ~ code.language-output {
|
2023-07-08 23:26:11 +00:00
|
|
|
border-top-color: transparent;
|
|
|
|
|
border-top-width: 0;
|
2023-06-27 01:23:47 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre:hover code ~ code.language-output {
|
2023-07-08 23:26:11 +00:00
|
|
|
margin-bottom: 0;
|
2023-06-27 02:44:59 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre code ~ code.language-output input.interactive-stdin {
|
2023-07-08 23:26:11 +00:00
|
|
|
color: var(--text-normal);
|
|
|
|
|
background-color: var(--code-styler-codeblock-background-colour);
|
|
|
|
|
padding: 2px 8px;
|
|
|
|
|
border-color: var(--code-comment);
|
|
|
|
|
border-style: solid;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
border-width: 1px;
|
2023-06-27 02:44:59 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre code ~ code.language-output hr {
|
2023-07-08 23:26:11 +00:00
|
|
|
display: none;
|
2023-06-30 14:05:59 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre button.run-code-button {
|
2023-07-08 23:26:11 +00:00
|
|
|
--copy-code-header-right-margin: 12px;
|
|
|
|
|
--dent-difference: 24px;
|
|
|
|
|
height: 14px;
|
|
|
|
|
margin-bottom: 6px !important;
|
2023-06-27 01:23:47 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre.code-styler-collapsed button.run-code-button {
|
2023-07-08 23:26:11 +00:00
|
|
|
top: 500px;
|
2023-06-28 11:50:44 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre button.run-code-button::before {
|
2023-07-08 23:26:11 +00:00
|
|
|
content: "\200b";
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 14px;
|
|
|
|
|
height: 14px;
|
|
|
|
|
padding-right: 4px;
|
|
|
|
|
background-color: var(--code-styler-button-colour);
|
|
|
|
|
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M7 28a1 1 0 0 1-1-1V5a1 1 0 0 1 1.482-.876l20 11a1 1 0 0 1 0 1.752l-20 11A1 1 0 0 1 7 28Z'/%3E%3Cpath fill='none' d='M0 0h32v32H0z' data-name='<Transparent Rectangle>'/%3E%3C/svg%3E");
|
|
|
|
|
-webkit-mask-repeat: no-repeat;
|
|
|
|
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M7 28a1 1 0 0 1-1-1V5a1 1 0 0 1 1.482-.876l20 11a1 1 0 0 1 0 1.752l-20 11A1 1 0 0 1 7 28Z'/%3E%3Cpath fill='none' d='M0 0h32v32H0z' data-name='<Transparent Rectangle>'/%3E%3C/svg%3E");
|
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
|
vertical-align: 0px;
|
2023-06-27 01:23:47 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre button.clear-button-disabled,
|
|
|
|
|
pre.code-styler-pre button.run-button-disabled {
|
2023-07-08 23:26:11 +00:00
|
|
|
display: none !important;
|
2023-06-27 01:23:47 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre button.clear-button {
|
2023-07-08 23:26:11 +00:00
|
|
|
height: 14px;
|
|
|
|
|
margin-bottom: 6px !important;
|
|
|
|
|
margin-left: calc(var(--language-border-width) + 12px);
|
|
|
|
|
will-change: margin-right, clip-path;
|
|
|
|
|
clip-path: var(--polygon-in);
|
2023-06-27 01:23:47 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre button.clear-button::before {
|
2023-07-08 23:26:11 +00:00
|
|
|
content: "\200b";
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 14px;
|
|
|
|
|
height: 14px;
|
|
|
|
|
padding-right: 4px;
|
|
|
|
|
background-color: var(--code-styler-button-colour);
|
|
|
|
|
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 4 6 14l1.41 1.41L15 7.83V28h2V7.83l7.59 7.58L26 14 16 4z'/%3E%3Cpath fill='none' d='M0 0h32v32H0z' data-name='<Transparent Rectangle>'/%3E%3C/svg%3E");
|
|
|
|
|
-webkit-mask-repeat: no-repeat;
|
|
|
|
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 4 6 14l1.41 1.41L15 7.83V28h2V7.83l7.59 7.58L26 14 16 4z'/%3E%3Cpath fill='none' d='M0 0h32v32H0z' data-name='<Transparent Rectangle>'/%3E%3C/svg%3E");
|
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
|
vertical-align: 0px;
|
2023-06-27 01:23:47 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre button.clear-button:not(:active) {
|
2023-07-08 23:26:11 +00:00
|
|
|
animation: reverse-indent var(--duration-button);
|
2023-06-27 01:23:47 +00:00
|
|
|
}
|
2023-07-08 23:26:11 +00:00
|
|
|
pre.code-styler-pre button.clear-button:hover {
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
animation: reverse-outdent var(--duration-button);
|
|
|
|
|
margin-right: var(--copy-code-header-right-margin);
|
|
|
|
|
clip-path: var(--polygon-out);
|
2023-06-27 01:23:47 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre button.clear-button:active {
|
2023-07-08 23:26:11 +00:00
|
|
|
scale: 0.95;
|
|
|
|
|
transition: scale var(--duration-button) cubic-bezier(0.4, 0.14, 0.3, 1);
|
2023-06-27 01:23:47 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.code-styler-pre-parent.has-run-code-button .load-state-indicator {
|
2023-07-08 23:26:11 +00:00
|
|
|
color: none;
|
|
|
|
|
background: none;
|
|
|
|
|
z-index: 10;
|
2023-06-14 23:52:43 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.code-styler-pre-parent.has-run-code-button .load-state-indicator::before {
|
2023-07-08 23:26:11 +00:00
|
|
|
box-shadow: none;
|
2023-06-03 13:11:19 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.code-styler-pre-parent.has-run-code-button .load-state-indicator svg {
|
2023-07-08 23:26:11 +00:00
|
|
|
color: var(--code-styler-button-colour);
|
2023-06-27 02:44:59 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.code-styler-pre-parent.has-run-code-button .load-state-indicator svg:hover {
|
2023-07-08 23:26:11 +00:00
|
|
|
color: var(--code-styler-button-active-colour);
|
2023-06-27 02:44:59 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.code-styler-pre-parent.has-run-code-button .load-state-indicator.visible {
|
2023-07-08 23:26:11 +00:00
|
|
|
transform: translateX(0);
|
2023-05-13 15:19:32 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.block-language-preview pre.code-styler-pre code {
|
2023-07-08 23:26:11 +00:00
|
|
|
white-space: unset;
|
2023-06-30 18:52:11 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
pre.code-styler-pre span.code-block-line_num-wrap,
|
|
|
|
|
pre.code-styler-pre div.code-block-highlight-wrap {
|
2023-07-08 23:26:11 +00:00
|
|
|
display: none;
|
2023-06-27 20:01:24 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.markdown-source-view.mod-cm6 .cm-embed-block .code-styler-pre-parent + .edit-block-button::after {
|
2023-07-08 23:26:11 +00:00
|
|
|
content: "Edit Block";
|
|
|
|
|
font-size: var(--font-ui-smaller);
|
|
|
|
|
padding-left: 4px;
|
2023-06-27 20:01:24 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.markdown-source-view.mod-cm6 .cm-embed-block:not(:hover) .code-styler-pre-parent + .edit-block-button {
|
2023-07-08 23:26:11 +00:00
|
|
|
visibility: hidden;
|
|
|
|
|
opacity: 0;
|
2023-06-27 20:01:24 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.markdown-source-view.mod-cm6 .cm-embed-block .code-styler-pre-parent + .edit-block-button {
|
2023-07-08 23:26:11 +00:00
|
|
|
--copy-code-header-right-margin: calc(2.2 * var(--header-button-spacing));
|
|
|
|
|
--dent-difference: 0px;
|
|
|
|
|
--polygon-in: polygon(0 0, 18px 0, 18px 36px, 0 36px);
|
|
|
|
|
transition: visibility var(--duration-button), opacity var(--duration-button);
|
|
|
|
|
visibility: visible;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
top: max(calc(0.5 * var(--container-height) * 1), calc(0.5 * var(--container-min-height) * 1));
|
|
|
|
|
margin: 0;
|
|
|
|
|
margin-right: calc(var(--copy-code-header-right-margin) - var(--dent-difference));
|
|
|
|
|
will-change: margin-right, clip-path;
|
|
|
|
|
clip-path: var(--polygon-in);
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
body:not(.code-styler-show-langicons-always):not(.code-styler-show-langnames-always) .cm-embed-block .code-styler-pre-parent:has(pre.code-styler-pre .code-styler-header-container) + .edit-block-button,
|
|
|
|
|
body:not(.code-styler-show-langnames-always) .cm-embed-block .code-styler-pre-parent:not(:has(pre.code-styler-pre .code-styler-header-container-specific)):not(:has(pre.code-styler-pre .code-styler-header-container img.code-styler-icon)) + .edit-block-button,
|
|
|
|
|
body .cm-embed-block .code-styler-pre-parent:has(pre.code-styler-pre:not([class*="language-"]) .code-styler-header-container) + .edit-block-button {
|
|
|
|
|
--copy-code-header-right-margin: 4px;
|
|
|
|
|
top: calc(0.5 * var(--font-text-size) * 0.875 * var(--line-height-normal));
|
2023-06-27 20:01:24 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.markdown-source-view.mod-cm6 .cm-embed-block:hover .code-styler-pre-parent + .edit-block-button:hover {
|
2023-07-08 23:26:11 +00:00
|
|
|
background: transparent;
|
|
|
|
|
animation: reverse-outdent var(--duration-button);
|
|
|
|
|
margin-right: var(--copy-code-header-right-margin);
|
|
|
|
|
clip-path: var(--polygon-out);
|
2023-06-27 20:01:24 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
.markdown-source-view.mod-cm6 .cm-embed-block:hover .code-styler-pre-parent + .edit-block-button:active {
|
2023-07-08 23:26:11 +00:00
|
|
|
scale: 0.95;
|
|
|
|
|
transition: scale var(--duration-button) cubic-bezier(0.4, 0.14, 0.3, 1);
|
2023-06-27 20:01:24 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
div.block-language-include pre.code-styler-pre button.copy-code-button {
|
2023-07-08 23:26:11 +00:00
|
|
|
margin: 0;
|
|
|
|
|
margin-right: calc(var(--copy-code-header-right-margin) - var(--dent-difference));
|
2023-06-30 20:10:46 +00:00
|
|
|
}
|
2023-07-07 16:40:20 +00:00
|
|
|
div.block-language-include pre.code-styler-pre button.copy-code-button:hover {
|
2023-07-08 23:26:11 +00:00
|
|
|
margin-right: var(--copy-code-header-right-margin);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* src/styles.css */
|
|
|
|
|
body {
|
|
|
|
|
--border-radius: 10px;
|
|
|
|
|
--gradient-background-colour: transparent;
|
|
|
|
|
--code-padding: 8px;
|
|
|
|
|
--container-height: calc(var(--language-icon-size) + 2 * var(--header-inner-vertical-padding) * var(--header-font-size));
|
|
|
|
|
--container-min-height: calc((var(--header-font-size) + 2 * var(--header-inner-vertical-padding) * var(--header-font-size)) * var(--line-height-normal));
|
|
|
|
|
--language-border-colour: var(--code-styler-codeblock-background-colour);
|
|
|
|
|
--language-border-width: 0px;
|
|
|
|
|
--header-font-size: var(--code-size);
|
|
|
|
|
--header-padding: 0px;
|
|
|
|
|
--header-inner-vertical-padding: 0.3;
|
|
|
|
|
--header-spacing: 15px;
|
|
|
|
|
--header-button-spacing: 14px;
|
|
|
|
|
--header-separator-width: 2px;
|
|
|
|
|
--header-separator-width-padding: var(--header-separator-width);
|
|
|
|
|
--code-styler-header-border: none;
|
|
|
|
|
--collapsed-bottom-border: 0 solid transparent;
|
|
|
|
|
--language-icon-size: 28px;
|
|
|
|
|
--language-icon-filter: none;
|
|
|
|
|
--gradient-highlights-colour-stop: 100%;
|
|
|
|
|
--line-number-height-correction: 2px;
|
|
|
|
|
--line-number-gutter-padding: 16px;
|
|
|
|
|
--line-number-gutter-min-width: 32.67px;
|
|
|
|
|
--line-wrapping: pre-wrap;
|
|
|
|
|
--line-active-wrapping: var(--line-wrapping);
|
|
|
|
|
--code-styler-button-colour: var(--text-muted);
|
|
|
|
|
--code-styler-button-active-colour: white;
|
|
|
|
|
--duration-button: 240ms;
|
|
|
|
|
--dent-difference: 30px;
|
|
|
|
|
--polygon-in: polygon(0 0, 16px 0, 16px 36px, 0 36px);
|
|
|
|
|
--polygon-out: polygon(0 0, 100% 0, 100% 100%, 0 100%);
|
|
|
|
|
--copy-code-header-right-margin: calc(3 * var(--header-button-spacing));
|
|
|
|
|
--code-styler-inline-font-weight: 400;
|
|
|
|
|
--code-styler-inline-border-radius: 6px;
|
|
|
|
|
--code-styler-inline-padding-vertical: 5px;
|
|
|
|
|
--code-styler-inline-padding-horizontal: 5px;
|
|
|
|
|
--code-styler-inline-margin-horizontal: 0px;
|
|
|
|
|
--code-styler-inline-colour: var(--code-normal);
|
|
|
|
|
--code-styler-inline-colour-active: var(--code-normal);
|
|
|
|
|
--code-styler-inline-background-colour: var(--code-background);
|
|
|
|
|
}
|
|
|
|
|
.setting-item.code-styler-spaced .checkbox-container + .pickr {
|
|
|
|
|
padding-left: 10px;
|
|
|
|
|
}
|
|
|
|
|
.code-styler-donation {
|
|
|
|
|
width: 70%;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
.code-styler-setting-text-area textarea {
|
|
|
|
|
width: 400px;
|
|
|
|
|
height: 220px;
|
2023-06-30 20:10:46 +00:00
|
|
|
}
|
2023-08-05 15:01:57 +00:00
|
|
|
/*# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsic3JjL2Nzcy9jb2RlYmxvY2tzLmNzcyIsICJzcmMvY3NzL2lubGluZUNvZGUuY3NzIiwgInNyYy9jc3MvcGRmRXhwb3J0LmNzcyIsICJzcmMvY3NzL3BpY2tyLmNzcyIsICJzcmMvY3NzL3BsdWdpbkNvbXBhdGliaWxpdHkuY3NzIiwgInNyYy9zdHlsZXMuY3NzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyIvKiogUHJlIGVsZW1lbnRzICovXG4uY29kZS1zdHlsZXItcHJlLXBhcmVudHtcblx0bWFyZ2luLWJvdHRvbTogMTZweDtcbn1cbi5jb2RlLXN0eWxlciBwcmUuY29kZS1zdHlsZXItcHJlIHtcblx0YmFja2dyb3VuZDogdmFyKC0tY29kZS1zdHlsZXItY29kZWJsb2NrLWJhY2tncm91bmQtY29sb3VyKSAhaW1wb3J0YW50O1xuXHRib3JkZXItcmFkaXVzOiB2YXIoLS1ib3JkZXItcmFkaXVzKSAhaW1wb3J0YW50O1xuXHRtaW4taGVpZ2h0OiB1bnNldDtcblx0cGFkZGluZzogMHB4ICFpbXBvcnRhbnQ7XG5cdG92ZXJmbG93OiBoaWRkZW4gIWltcG9ydGFudDtcbn1cbi5jb2RlLXN0eWxlciBwcmUuY29kZS1zdHlsZXItcHJlW2NsYXNzKj0nbGFuZ3VhZ2UtJ10ge1xuXHRiYWNrZ3JvdW5kOiBsaW5lYXItZ3JhZGllbnQoOTBkZWcsIHZhcigtLWxhbmd1YWdlLWJvcmRlci1jb2xvdXIpLCB2YXIoLS1sYW5ndWFnZS1ib3JkZXItY29sb3VyKSB2YXIoLS1sYW5ndWFnZS1ib3JkZXItd2lkdGgpLCB2YXIoLS1jb2RlLXN0eWxlci1jb2RlYmxvY2stYmFja2dyb3VuZC1jb2xvdXIpIHZhcigtLWxhbmd1YWdlLWJvcmRlci13aWR0aCksIHZhcigtLWNvZGUtc3R5bGVyLWNvZGVibG9jay1iYWNrZ3JvdW5kLWNvbG91cikgMTAwJSkgIWltcG9ydGFudDtcblx0cGFkZGluZy1sZWZ0OiB2YXIoLS1sYW5ndWFnZS1ib3JkZXItd2lkdGgpICFpbXBvcnRhbnQ7XG59XG4uY29kZS1zdHlsZXIgcHJlLmNvZGUtc3R5bGVyLXByZSBjb2RlIHtcblx0ZGlzcGxheTogZ3JpZDtcblx0Z3JpZC10ZW1wbGF0ZS1jb2x1bW5zOiBtaW4tY29udGVudCBhdXRvO1xuXHRncmlkLXRlbXBsYXRlLXJvd3M6IGF1dG87XG5cdHBhZGRpbmctdG9wOiB2YXIoLS1jb2RlLXBhZGRpbmcpICFpbXBvcnRhbnQ7XG5cdHBhZGRpbmctYm90dG9tOiB2YXIoLS1jb2RlLXBhZGRpbmcpICFpbXBvcnRhbnQ7XG5cdHBhZGRpbmctbGVmdDogMHB4ICFpbXBvcnRhbnQ7XG5cdHBhZGRpbmctcmlnaHQ6IDBweCAhaW1wb3J0YW50O1xuXHRib3JkZXItcmFkaXVzOiAwcHggIWltcG9ydGFudDtcblx0YmFja2dyb3VuZDogbm9uZSAhaW1wb3J0YW50O1xuXHR0cmFuc2l0aW9uOiBtYXgtaGVpZ2h0IGVhc2UtaW4tb3V0IHZhcigtLWR1cmF0aW9uLWJ1dHRvbiksIHBhZGRpbmcgZWFzZS1pbi1vdXQgdmFyKC0tZHVyYXRpb24tYnV0dG9uKSwgYm9yZGVyLXRvcCBlYXNlLWluLW91dCB2YXIoLS1kdXJhdGlvbi1idXR0b24pO1xuXHRtYXgtaGVpZ2h0OiAwO1xuXHRvdmVyZmxvdy14OiBzY3JvbGw7XG59XG4uY29kZS1zdHlsZXIgcHJlLmNvZGUtc3R5bGVyLXByZSBjb2RlOm5vdCg6aGFzKCA+IGlucHV0W3N0eWxlKj1cImRpc3BsYXk6IGlubGluZTtcIl0pKTphY3RpdmUge1xuXHQtLWxpbmUtd3JhcHBpbmc6IHZhcigtLWxpbmUtYWN0aXZlLXdyYXBwaW5nKSAhaW1wb3J0YW50O1xufVxuLmNvZGUtc3R5bGVyIHByZS5jb2RlLXN0eWxlci1wcmUuY29kZS1zdHlsZXItY29sbGFwc2VkIGNvZGUge1xuXHRwYWRkaW5nLXRvcDogMCAhaW1wb3J0YW50O1xuXHRwYWRkaW5nLWJvdHRvbTogMCAhaW1wb3J0YW50O1xufVxuLmNvZGUtc3R5bGVyIHByZS5jb2RlLXN0eWxlci1wcmU6OmJlZm9yZSxcbi5jb2RlLXN0eWxlciBwcmUuY29kZS1zdHlsZXItcHJlOjphZnRlciB7XG5cdGNvbnRlbnQ6IG5vbmUgIWltcG9ydGFudDtcbn1cbi5tYXJrZG93bi1zb3VyY2Utdmlldy5tb2QtY202IC5jbS1lbWJlZC1ibG9jayBwcmUuY29kZS1zdHlsZXItcHJlIHtcblx0bWFyZ2luOiAxZW0gMHB4O1xufVxuXG4vKiogRWRpdGluZyBNb2RlIEJvZHkgKi9cbi5jb2RlLXN0eWxlciAubWFya2Rvd24tc291cmNlLXZpZXcgW2NsYXNzKj1cImNvZGUtc3R5bGVyLWxpbmVcIl0uSHlwZXJNRC1jb2RlYmxvY2stYmVnaW4ge1xuXHRib3JkZXItdG9wLWxlZnQtcmFkaXVzOiAwcHggIWltcG9ydGFudDtcblx0Ym9yZGVyLXRvcC1yaWdodC1yYWRpdXM6IDBweCAhaW1wb3J0YW50O1xuXHRib3JkZXItdG9wOiBub25lICFpbXBvcnRhbnQ7XG59XG4uY29kZS1zdHlsZXIgLm1hcmtkb3duLXNvdXJjZS12aWV3IFtjbGFzcyo9XCJjb2RlLXN0eWxlci1saW5lXCJdLkh5cGVyTUQtY29kZWJsb2NrLWVuZCB7XG5cdGJvcmRlci1ib3R0b20tbGVmdC1yYWRpdXM6IHZhcigtLWJvcmRlci1yYWRpdXMpO1xuXHRib3JkZXItYm90dG9tLXJpZ2h0LXJhZGl1czogdmFyKC0tYm9yZGVyLXJhZGl1cyk7XG59XG5ib2R5Om5vdCguY29kZS1zdHlsZXItc2hvdy1sYW5naWNvbnMtYWx3YXlzKTpub3QoLmNvZGUtc3R5bGVyLXNob3ctbGFuZ25hbWVzLWFsd2F5cykgLm1hcmtkb3duLXNvdXJjZS12aWV3IDpub3QocHJlLmNvZGUtc3R5bGVyLXByZSkgPiAuY29kZS1zdHlsZXItaGVhZGVyLWNvbnRhaW5lciArIC5IeXBlck1ELWNvZGVibG9jay1iZWdpbixcbmJvZHk6bm90KC5jb2RlLXN0eWxlci1zaG93LWxhbmduYW1lcy1hbHdheXMpIC5tYXJrZG93bi1zb3VyY2UtdmlldyA6bm90KHByZS5jb2RlLXN0eWxlci1wcmUpID4gLmNvZGUtc3R5bGVyLWhlYWRlci1jb250YWluZXI6bm90KDpoYXMoIGltZy5jb2RlLXN0eWxlci1pY29uKSkgKyAuSHlwZXJNRC1jb2RlYmxvY2stYmVnaW4sXG5ib2R5IC5tYXJrZG93bi1zb3VyY2UtdmlldyA6bm90KHByZS5jb2RlLXN0eWxlci1wcmUpID4gLmNvZGUtc3R5bGVyLWhlYWRlci1jb250YWluZXI6bm90KDpoYXMoW2NsYXNzKj0nY29kZS1zdHlsZXItaGVhZGVyLWxhbmd1YWdlLXRhZy0nXSkpICsgLkh5cGVyTUQtY29kZWJsb2NrLWJlZ2luLFxuYm9keSAubWFya2Rvd24tc291cmNlLXZpZXcgOm5vdChbY2xhc3NePSdjb2RlLXN0eWxlci1oZWFkZXItY29udGFpbmVyJ
|