.CodeMirror { height: 100%; } .cm-link { color: #008cff !important; text-decoration: none !important; } .cm-link:hover { text-decoration: underline !important; } .CodeMirror.ctrl-pressed .cm-link:hover { cursor: pointer !important; } .right.mode-list { height: fit-content; } .right-header { padding: 8px 10px 0 10px; } .right-header > .right-header-top { display: flex; flex-direction: row; justify-content: space-between; padding-bottom: 7px; } .right-header > .right-header-top > .class-name { font-size: 24px; color: #d1d1d1; } .right-header > .right-header-top > .class-name > .class-icon { background: url(/img/jsfile.svg); width: 30px; height: 30px; background-size: cover; margin-right: 5px; display: inline-block; } .right-header > .right-header-top > .display-mode-buttons { display: flex; flex-direction: row; width: 58px; justify-content: space-between; } .right-header > .right-header-top > .display-mode-buttons > .display-mode-button { width: 24px; height: 24px; border: 1px solid #d1d1d1; border-radius: 5px; background-size: 18px; background-repeat: no-repeat; background-position: center; cursor: pointer; } .right-header > .right-header-top > .display-mode-buttons > .display-mode-button.selected, .right-header > .right-header-top > .display-mode-buttons > .display-mode-button:hover { background-color: #ffffff40; } .right-header > .right-header-top > .display-mode-buttons > .display-mode-button.mode-tabs { background-image: url(/img/fa-tabs.svg); } .right-header > .right-header-top > .display-mode-buttons > .display-mode-button.mode-list { background-image: url(/img/fa-bars.svg); } .right-header > .tabs { display: flex; flex-direction: row; border-bottom: 1px solid #d1d1d1; padding: 0 10px; user-select: none; } .right-header > .tabs > .tab { border: 1px solid #d1d1d1; border-bottom: 0; color: #d1d1d1; padding: 5px 10px; cursor: pointer; position: relative; } .right-header > .tabs > .tab > .filler { position: absolute; width: 100%; height: 1px; left: 0; background: #443f3b; bottom: -1px; } .right-header > .tabs > .tab:not(.selected):hover { background-color: #ffffff40; } .right-header > .tabs > .tab.selected { border-bottom: 0; } .right > .content { margin-left: 10px; border: 1px solid #d1d1d1; border-top: 0; width: calc(100% - 22px); } .right.mode-list > .content { border: 0; } .right:not(.mode-list) > .content > .content-tab-title { display: none; } .right > .content > .content-tab { display: none; position: relative; color: #d1d1d1; } .right.mode-list > .content > .content-tab, .right > .content > .content-tab.active { display: block; } .right.mode-list > .content > .content-tab { padding: 10px; } .right.mode-list > .content > .content-tab:not(:last-child) { display: block; border-bottom: 1px solid #d1d1d1; } .right.mode-list > .content { padding-bottom: 20px; } .right.mode-list > .content > .content-tab#editor > .CodeMirror { border: 1px solid #d1d1d1; } .right.mode-tabs > .content > .content-tab > .content-tab-title { display: none; } .right > .content > .content-tab#editor { height: calc(100% - 85px); } .right:not(.mode-list) > .content > .content-tab:not(#editor) { height: calc(100% - 105px); overflow-y: auto; } .right.mode-list > .right-header > .tabs { display: none; } /* Full Source Prompt >>> */ .right > .content > .content-tab#editor > .full-source-prompt { position: absolute; opacity: 0.2; top: 20px; right: 20px; width: 250px; display: flex; flex-direction: column; align-items: flex-end; border: 1px solid #d1d1d1; padding: 10px; background: #1a1a1a; user-select: none; } .right > .content > .content-tab#editor > .full-source-prompt:hover { opacity: 0.95; } .right > .content > .content-tab#editor > .full-source-prompt > .full-source-prompt-text { color: #d1d1d1; } .right > .content > .content-tab#editor > .full-source-prompt > .full-source-prompt-button { padding: 5px 10px; border: 1px solid #d1d1d1; cursor: pointer; color: #d1d1d1; width: fit-content; border-radius: 5px; } .right > .content > .content-tab#editor > .full-source-prompt > .full-source-prompt-button:hover { background-color: #ffffff40; } /* <<< Full Source Prompt */ /* Class items with indentation >>> */ .right > .content > .content-tab .class-item.indent > .class-icon { position: relative; } .right > .content > .content-tab .class-item.indent:not(:first-child) > .class-icon:before { content: '↳'; position: absolute; color: #d1d1d1; left: -10px; } .right > .content > .content-tab .class-item.indent > .spacing { display: inline-block; } /* <<< Class items with indentation */