| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- .extensions__code {
- @apply relative z-0 flex flex-row flex-nowrap justify-between;
- &-lang {
- @apply p-1 text-sm;
- background: var(--ls-secondary-background-color);
- word-break: keep-all;
- position: absolute;
- width: fit-content;
- /* height:2rem; */
- order: 3;
- left: auto;
- right: 0;
- /* margin-top: 4px; */
- z-index: 9999;
- padding: 4px 6px;
- line-height: 1em;
- opacity: .8;
- &:hover {
- cursor: pointer;
- opacity: 1;
- user-select: none;
- }
- }
- &-calc {
- @apply text-sm;
- padding: 23px 0.25em 0.25em 0.25em;
- width: max-content;
- text-align: right;
- &-output-line {
- height: 23px;
- white-space: pre;
- font-family: Fira Code, Monaco, Menlo, Consolas, 'COURIER NEW', monospace;
- }
- }
- }
- .CodeMirror {
- height: auto;
- max-height: 1024px;
- width: 100%;
- font-family: Fira Code, Monaco, Menlo, Consolas, 'COURIER NEW', monospace;
- border-radius: 2px;
- line-height: 1.45em;
- &:not(.CodeMirror-focused) {
- .CodeMirror-activeline-background {
- background: unset !important;
- }
- }
- pre.CodeMirror-line {
- box-shadow: none !important;
- }
- .CodeMirror-hscrollbar {
- cursor: pointer;
- }
- }
- .cm-s-solarized.CodeMirror {
- box-shadow: none;
- }
|