@import "godopu-dark/fonts.css"; /*by H16nning*/ :root { --bg-color: #212121; --side-bar-bg-color: #1a1a1a; --control-text-color: #e6ecf1; --primary-color: rgb(60, 220, 220); /* --primary-color: red; */ --primary-btn-border-color: #3884ff; --active-file-bg-color: #5d6574; --active-file-text-color: inherit; --active-file-border-color: #3884ff; --item-hover-text-color: #8092af; --item-hover-bg-color: #29303c; --window-border: 0px solid #212121; /* --window-border: 1px solid red; */ --select-text-font-color: #e6ecf1; --select-text-bg-color: #3277e5; --md-char-color: #8092af; --heading-char-color: #8092af; --meta-content-color: #3783ff; --borders: #1a1a1a; --table-border-color: #353c49; --boxes: #29303c; --boxes-darker: #424b5a; --boxes-darker2: #485364; --boxes-darkest: #5b697e; --drag-placeholder-color: #424b5a; --mds: #183055; --text-color: #e6ecf1; --heading-text-color: white; --light-text-color: #5b697e; --light-text-color-brighter: #768292; --codeboxes: white; --rawblock-edit-panel-bd: transparent; --primary-color-white: #5272a7; --primary-color-white-darker: #5a83c5; --primary-color-darker: #1f65d6; --focus-ring-color: #3783ff; --danger-color: rgb(255, 70, 66); --font-family: "Roboto", sans-serif; --code-font-family: "Source Code Pro"; --monospace: "Source Code Pro"; } html, .form-control, .modal { font-size: 16px; } body { background: var(--bg-color); font-family: var(--font-family); font-weight: 400; color: white; line-height: 1.625rem; height: 100%; } #write { max-width: 75rem; margin: 0 auto; padding: 30px; padding-bottom: 100px; position: static; width: 100%; } #write > ul:first-child, #write > ol:first-child { margin-top: 30px; } a { color: var(--primary-color); text-decoration: none !important; transition-duration: 0.2s; transition-property: color; } a:hover { color: var(--primary-color-darker); } .ty-preferences a { color: var(--primary-color); } h1, h2, h3, h4, h5, h6 { position: relative; color: var(--heading-text-color); cursor: text; } h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, h5:hover a.anchor, h6:hover a.anchor { text-decoration: none; } h1 tt, h1 code { font-size: inherit; } h2 tt, h2 code { font-size: inherit; } h3 tt, h3 code { font-size: inherit; } h4 tt, h4 code { font-size: inherit; } h5 tt, h5 code { font-size: inherit; } h6 tt, h6 code { font-size: inherit; } h1 { font-size: 1.6rem; font-weight: 500; line-height: 1.5; margin-top: 1rem; margin-bottom: 1rem; padding-bottom: 0.4rem; border-bottom: solid 1px darkgray; } h2 { font-size: 1.4rem; font-weight: 700; line-height: 1.5; margin-top: 0.8rem; margin-bottom: 0.5rem; } h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.5; margin-top: 0.6rem; margin-bottom: 0.5rem; } h4 { font-size: 1.2rem; font-weight: 700; line-height: 1.5; margin-top: 0.5rem; margin-bottom: 0.5rem; margin-left: 0.5rem; } h5 { font-size: 1.1rem; font-weight: 700; line-height: 1.5; margin-top: 0.5rem; margin-bottom: 0.5rem; margin-left: 1rem; } h6 { font-size: 1rem; font-weight: 700; line-height: 1.5; margin-top: 0.5rem; margin-bottom: 0.5rem; margin-left: 1.5rem; opacity: 0.8; } h4:before { content: "□ "; } h5:before { content: "○ "; } h6:before { content: "─ "; } #write > h1.md-focus:before, #write > h2.md-focus:before, #write > h3.md-focus:before, #write > h4.md-focus:before, #write > h5.md-focus:before, #write > h6.md-focus:before { color: var(--light-text-color); border: none; position: absolute; font-size: 1rem; font-weight: 700; padding: 0px; line-height: 1; } #write > h1.md-focus:before { content: "h1"; top: 0.8rem; left: -1.75rem; } #write > h2.md-focus:before { content: "h2"; top: 0.6rem; left: -1.75rem; } #write > h3.md-focus:before { content: "h3"; top: 0.45rem; left: -1.75rem; } #write > h4.md-focus:before { content: "h4"; top: 0.4rem; left: -1.75rem; } #write > h5.md-focus:before { content: "h5"; top: 0.4rem; left: -1.75rem; } #write > h6.md-focus:before { content: "h6"; top: 0.2rem; left: -1.75rem; } h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child, blockquote h1, blockquote h2, blockquote h3, blockquote h4, blockquote h5, blockquote h6 { margin-top: 0rem; } p, blockquote, ul, ol, dl { margin: 0.5rem 0rem 0.5rem 0rem; } li > ol, li > ul { margin: 0 0; } /* hr { height: 2px; padding: 0; margin: 16px 0; background-color: var(--borders); border: 0 none; overflow: hidden; box-sizing: content-box; } */ hr { background-color: lightgray; border: solid lightgray; border-radius: 0.5rem; height: 0.06cm; margin: 2rem 10rem; page-break-after: always; } li p.first { display: inline-block; } ul, ol { padding-left: 30px; } ul:first-child, ol:first-child { margin-top: 0; } ul:last-child, ol:last-child { margin-bottom: 0; } .md-blockmeta { color: var(--md-char-color); } mark { /* background-color: rgb(56, 132, 255, 0.4); */ background-color: #C27BA0; color: var(--text-color); } /*BLOCKQUOTE*/ blockquote { width: 100%; background-color: var(--borders); border-left: 4px solid rgb(212, 212, 212); border-radius: 0.3em; padding: 1rem; } blockquote blockquote { padding-right: 0; } table { font-size: 0.875rem; padding: 0; margin: 1.5rem 0; word-break: initial; } /*TABLE*/ table tr { border-top: 1px solid var(--borders); border-bottom: 1px solid var(--borders); margin: 0; padding: 0; } table tr.md-end-block { border-top: none; } table tr th { font-weight: bold; border: none; border-bottom: solid 2px var(--borders); margin: 0; padding: 10px 16px; transition-duration: 0.1s; transition-property: background-color; } table tr td { border: none; margin: 0; padding: 10px 16px; transition-duration: 0.1s; transition-property: background-color; } #write table tr td:hover, #write table tr th:hover { background-color: var(--boxes); } table tr th:first-child, table tr td:first-child { margin-top: 0; } table tr th:last-child, table tr td:last-child { margin-bottom: 0; } /*OTHER TABLE THINGS*/ .ty-table-edit { padding: 0.3rem; border: solid 1px var(--borders); border-radius: 0.3rem; box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 8px 0px; transition-duration: 0.3s; transition-property: opacity; } .ty-table-edit:active, .ty-table-edit:focus, .popover:active, .popover:focus { box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 8px 0px; } .popover { border: solid 1px var(--borders); box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 8px 0px; border-radius: 0.3rem; } .popover .arrow { border-bottom-color: var(--borders); } .md-grid-board .md-grid-ext { background-color: var(--boxes); } .md-grid-board tr[row="1"] .md-grid-ext { background-color: var(--boxes-darkest); } .md-grid-board a.md-active, .md-grid-board a:hover { background-color: var(--primary-color-white); border-color: var(--primary-color-white-darker); } #md-grid-width, #md-grid-height { border-radius: 0.3rem; border-color: var(--borders); transition-duration: 0.3s; transition-property: border-color; } #md-grid-width:focus, #md-grid-height:focus { border-radius: 0.3rem; border-color: var(--primary-color); } /*CODE*/ .CodeMirror { padding: 1rem; font-family: "Source Code Pro", monospace; } .cm-s-inner .CodeMirror-gutters { background-color: none; border-right: none; border-radius: 0px; width: 2rem; color: white; height: 100%; white-space: nowrap; } .CodeMirror.cm-s-typora-default div.CodeMirror-cursor { border-left: solid 2px var(--light-text-color-brighter); } .CodeMirror.cm-s-typora-default .CodeMirror-activeline-background { background-color: var(--boxes); } .cm-s-inner .CodeMirror-cursor { color: white; border-left: solid 1px white; } .cm-s-inner .CodeMirror-linenumber { color: white; opacity: 0.6; } .cm-s-inner .CodeMirror-line::selection, .cm-s-inner .CodeMirror-line::-moz-selection, .cm-s-inner .CodeMirror-line > span::selection, .cm-s-inner .CodeMirror-line > span::-moz-selection, .cm-s-inner .CodeMirror-line > span > span::selection, .cm-s-inner .CodeMirror-line > span > span::-moz-selection { background-color: rgba(255, 255, 255, 0.1); } .cm-s-inner span.cm-comment { color: #9daab6; } .cm-s-inner span.cm-string, .cm-s-inner span.cm-string-2 { color: #71a7ff; } .cm-s-inner span.cm-number { color: #ff9d3d; } .cm-s-inner span.cm-variable, .cm-s-inner span.cm-variable-2 { color: white; } .cm-s-inner span.cm-def { color: white; } .cm-s-inner span.cm-operator { color: #ff9d3d; } .cm-s-inner span.cm-keyword { color: #61e3a5; } .cm-s-inner span.cm-atom { color: #bd93f9; } .cm-s-inner span.cm-meta { color: #f8f8f2; } .cm-s-inner span.cm-link { color: var(--primary-color); } .cm-s-inner span.cm-tag, .cm-s-inner .cm-header { color: #b4f6d6; } .cm-s-inner span.cm-attribute { color: #ff9d3d; } .cm-s-inner span.cm-qualifier, .cm-s-inner span.cm-type, .cm-s-inner span.cm-variable-3 { color: #82ee9d; } .cm-s-inner span.cm-property { color: #ffd6ad; } .cm-s-inner span.cm-builtin { color: #8ffaaa; } .md-fences.md-focus .cm-s-inner .CodeMirror-activeline-background { background: none; } .cm-s-inner .CodeMirror-selected, .cm-s-inner .CodeMirror-selectedtext { background-color: rgba(255, 255, 255, 0.1); } .cm-s-typora-default .cm-header, .cm-s-typora-default .cm-property { color: var(--primary-color); } #typora-source span.cm-variable { color: var(--window-border); } #write .code-tooltip { box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 8px 0px; border: solid 1px var(--borders); border-radius: 0.3rem; background-color: var(--bg-color); color: var(--text-color); width: 15rem; height: 2.5rem; bottom: -3rem; padding: 0.1875rem; } #write .code-tooltip .ty-input { border: solid 1px var(--borders); height: 2rem; line-height: 2rem; margin: 0rem; padding-left: 0.5rem !important; text-align: left; display: block; font-size: 0.8rem; font-weight: 600; font-family: var(--font-family); transition-duration: 0.3s; transition-property: border; } #write .code-tooltip .ty-input:focus { border-color: var(--primary-color); } .html-for-mac .ty-cm-lang-input:empty:after { left: 0.5rem; } .autoComplt-list li, .fences-auto-suggest li { font-weight: 500; transition-duration: 0.3s; transition-property: background-color, color; } .autoComplt-list li.active, .fences-auto-suggest li:hover { background-color: var(--boxes); color: var(--primary-color); } .md-fences, tt { border-radius: 0.3rem; color: #ffffff; padding: 1.5rem; font-size: 16px; } code { font-family: "Roboto"; padding: 0.25rem 0.5rem; background-color: var(--boxes); font-size: 0.9rem; border-radius: 0.2rem; } .md-fences .CodeMirror div.CodeMirror-cursor, .md-htmlblock-panel .CodeMirror div.CodeMirror-cursor { border-left: solid 1px white; } .md-fences { margin-bottom: 1.5rem; margin-top: 1.5rem; padding-top: 8px; padding-bottom: 6px; border-radius: 12px; background-color: var(--borders); } /*CHECKBOXES*/ .md-task-list-item > input:before, input[type="checkbox"]:before { border-radius: 0.2rem; margin-top: -0.08rem; margin-left: -0.1rem; width: 1rem; height: 1rem; background-color: var(--boxes-darkest); content: " "; display: block; transition-duration: 0.3s; transition-property: background-color; } .md-task-list-item:hover > input:before, input[type="checkbox"]:hover:before { background-color: var(--boxes-darker); } .md-task-list-item > input:checked:before, .md-task-list-item > input[checked]:before, input[type="checkbox"]:checked:before { background-color: var(--primary-color); } .md-task-list-item:hover > input:checked:before, .md-task-list-item:hover > input[checked]:before, input[type="checkbox"]:hover:checked:before { background-color: var(--primary-color-darker); } .md-task-list-item > input:after, .md-task-list-item > input:after, input[type="checkbox"]:after { transform: rotate(-45deg); position: absolute; border: 2px solid white; border-top: 0; border-right: 0; top: 0.16rem; left: 0.1rem; width: 0.6rem; height: 0.375rem; content: " "; opacity: 0; transition-duration: 0.3s; transition-property: opacity; } .md-task-list-item > input:checked:after, .md-task-list-item > input[checked]:after, input[type="checkbox"]:checked:after { opacity: 1; } .ty-preferences input[type="checkbox"]:before { width: 1.2rem; height: 1.2rem; } .ty-preferences input[type="checkbox"]:after { width: 0.5rem; height: 0.32rem; top: 0.19rem; left: 0.14rem; } @media print { html { font-size: 13px; } table, pre { page-break-inside: avoid; } pre { word-wrap: break-word; } } #write pre.md-meta-block { padding: 0.6rem; line-height: 1.5; background-color: var(--boxes); margin: -0.3rem 0 -0.3rem 0; font-family: serif; font-size: 20px; border: 0; border-radius: 0.2rem; font-weight: bold; color: var(--text-color); border-left: solid 4px var(--primary-color); } /* #write pre.md-meta-block { background: transparent; border-bottom: solid; border-color: #393451; width: auto; font-family: "Times New Roman", Times, serif; font-size: 20px; font-weight: bold; margin: 0em; margin-top: -0.5em; color: #393451; max-width: 100%; /* text-align : center; } */ .md-image > .md-meta { border-radius: 3px; padding: 2px 0px 0px 4px; font-size: 0.9em; color: inherit; } .md-tag { color: var(--md-char-color); opacity: 1; } .md-toc { margin: 1.5rem 0rem; } /*MATH*/ .md-rawblock { margin: 1.5rem 0rem; } .md-rawblock-container { transition-duration: 0.3s; transition-property: box-shadow, border; padding: 8px; border: solid 1px transparent; border-radius: 0.3rem; } .md-rawblock:hover > .md-rawblock-container { background-color: transparent; border: solid 1px var(--borders); box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 8px 0px; } .md-mathblock-input .CodeMirror div.CodeMirror-cursor { border-left: 1px solid white; } .md-math-block .md-rawblock-control:not(.md-rawblock-tooltip) { background-color: var(--bg-color); border-left: solid 2px var(--primary-color); border-right: solid 2px var(--primary-color); } .md-math-block .md-rawblock-before { border-top-left-radius: 0.3rem; border-top-right-radius: 0.3rem; border-top: solid 2px var(--primary-color); } .md-math-block .md-rawblock-after { border-bottom-left-radius: 0.3rem; border-bottom-right-radius: 0.3rem; border-bottom: solid 2px var(--primary-color); margin-bottom: 0.5rem; } #write .md-math-block .code-tooltip { width: 100%; } /*HTML*/ .md-htmlblock-panel { border: solid 2px var(--primary-color); border-radius: 0.3rem; } /*FOOTER*/ .footer-item { opacity: 1 !important; color: var(--light-text-color); transition: 0.3s; background: none !important; } .footer-item:hover { color: var(--light-text-color-brighter) !important; } #outline-btn:hover { color: var(--light-text-color-brighter) !important; } /*SIDEBAR*/ #typora-sidebar { border-right: solid 1px var(--borders); } .info-panel-tab { opacity: 1; } .info-panel-tab-border { color: var(--primary-color); } #ty-sidebar-search-back-btn { margin: auto; } .ty-show-outline-filter #file-library-search, .ty-show-search #file-library-search { height: 4rem; } #file-library-search-input { height: 2rem; } #file-library-search-panel input { margin-top: 8px !important; } .ty-sidebar-search-panel .searchpanel-search-option-btn { top: 14px; } #typora-sidebar #filesearch-case-ion-btn, #typora-sidebar #filesearch-word-ion-btn { background: none; margin-top: 0.45rem; transition-duration: 0.2s; transition-property: background-color; } #typora-sidebar #filesearch-case-ion-btn:hover, #typora-sidebar #filesearch-word-ion-btn:hover { color: var(--primary-color); } /*sidebar outline*/ #close-outline-filter-btn { top: 15px; opacity: 1; color: var(--light-text-color) !important; } #close-outline-filter-btn:hover { color: var(--primary-color) !important; background-color: transparent !important; } #close-outline-filter-btn:active { background-color: transparent !important; } #outline-content { padding-right: 0px; line-height: 1rem; } .outline-item { display: flex; padding-top: 0px; padding-bottom: 0px; } .outline-item .outline-label { display: block; width: 100%; padding-top: 0.4rem; padding-bottom: 0.4rem; border-right: solid 2px transparent; font-size: 0.8rem; font-weight: 500; color: var(--light-text-color-darker); transition-duration: 0.3s; transition-property: color; } .outline-item:hover { background: none; } .outline-item:hover .outline-label { color: var(--primary-color); } .outline-label:hover { text-decoration: none; } .outline-active.outline-label { border-right: solid 2px var(--primary-color); font-weight: 500; color: var(--primary-color); } .outline-expander { padding-top: 0.4rem; padding-right: 0.5rem; } /*sidebar file-list and search results*/ #file-library-list[data-state="complete"] #sidebar-loading-template { padding: 0rem; } #typora-sidebar .file-list-item, .ty-search-item { border: none; transition-duration: 0.3s !important; transition-property: background-color, border, color !important; padding: 1rem; } #typora-sidebar .file-list-item:hover, .ty-search-item:hover { background: var(--borders); } #typora-sidebar .ty-search-item-line:hover, #typora-sidebar .ty-search-item-line.active { background-color: transparent; } #typora-sidebar .ty-search-item-line.active { color: var(--primary-color); font-weight: 800; } #typora-sidebar .file-list-item-file-name { font-weight: 800; font-size: 0.9rem; margin-bottom: 0rem; line-height: 1.8rem; float: right; } #typora-sidebar .file-list-item-file-ext-part { font-weight: 800; opacity: 0.5; } #typora-sidebar .file-list-item-parent-loc, #typora-sidebar .file-list-item-time { font-weight: 400; opacity: 0.5; display: block; } #typora-sidebar .file-list-item-summary { float: left; font-size: 0.8rem; opacity: 0.9; } #typora-sidebar input.file-list-item-file-name { margin: 0.5rem 0rem 0.5rem 0.7rem; padding: 0.4rem !important; line-height: 1rem; float: right; border-radius: 0.3rem; font-weight: 500; background-color: var(--bg-color) !important; } #typora-sidebar .file-list-item.file-library-file-node { border: none; } #typora-sidebar .file-tree-node.active .file-node-background, #typora-sidebar .file-list-item.active, #typora-sidebar .ty-search-item.active { /* background-color: var(--bg-color); */ background-color: transparent; outline: 1px solid var(--borders); border: none; color: var(--primary-color) !important; } #typora-sidebar .file-tree-node.active .file-node-content { color: var(--primary-color) !important; opacity: 1; } #typora-sidebar .file-tree-node { padding: 0rem; font-weight: 500; font-size: 0.9rem; margin-left: 0.8rem; } #typora-sidebar .file-tree-node .file-node-content { padding: 0rem; line-height: 1.6rem; height: 1.6rem; background: none; opacity: 0.6; } #typora-sidebar .file-tree-node:not(.file-node-root) .file-node-content:hover { opacity: 1; } #typora-sidebar .file-tree-node .file-node-background { padding: 0rem; height: 1.6rem; } #typora-sidebar .file-tree-node .file-node-icon { margin-right: 0.5rem; } #typora-sidebar .file-tree-node .file-node-icon.fa-file-text-o { margin-top: 0rem; } #typora-sidebar .file-tree-node .file-node-icon.fa-folder { margin-top: 0.12rem; margin-left: 0.2rem; } #typora-sidebar .file-tree-node .fa-caret-down, #typora-sidebar .file-tree-node .fa-caret-right { position: relative; top: 2px; } #typora-sidebar .file-tree-node .file-tree-rename-input { height: 1.6rem; background: none; border: none; font-size: 0.9rem; font-weight: 500; margin: 0rem; padding-left: 0rem; } /*no left border*/ #typora-sidebar .file-tree-node.active > .file-node-background { border: none; } /*no dotted highlighting*/ .file-library-node:not(.file-node-root):focus > .file-node-content { outline: none; } #typora-sidebar #sidebar-files-menu { border: solid 1px var(--borders); border-radius: 0.3rem; box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 8px 0px; } #typora-sidebar #ty-sidebar-footer { /* border-top: solid 1px var(--borders); */ background-color: var(--borders); font-weight: 500; } #typora-sidebar #ty-sidebar-footer li { transition-duration: 0.2s; transition-property: background-color, color; } #typora-sidebar #ty-sidebar-footer li:hover { color: var(--primary-color); background-color: var(--boxes); } #typora-sidebar .ty-search-item-collapse-icon { top: 9px; } /*cursor*/ .file-node-content:hover { cursor: pointer; } .file-tree-node:not(.file-node-root):not(.file-node-expanded) .file-node-background { transition-duration: 0.2s; transition-property: background-color; } /* .file-tree-node:not(.file-node-root):not(.file-node-expanded):hover .file-node-background{ background-color: var(--borders); } */ /*sidebar footer*/ #typora-sidebar .sidebar-footer-item { transition-duration: 0.2s; transition-property: background-color, color; font-weight: 700; } #typora-sidebar .sidebar-footer-item:hover { color: var(--primary-color); background-color: var(--boxes); } #typora-quick-open { background-color: var(--bg-color); border: 1px solid var(--borders); border-radius: 0.3rem; padding: 0rem; box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 8px 0px; } #typora-quick-open-input { margin-right: 20px; } #typora-quick-open-input .input { box-shadow: none; border: none; margin: 0.5rem; margin-left: 0.8rem; } .typora-quick-open-item { background-color: var(--bg-color); border: none; font-weight: 500; transition-duration: 0.2s; transition-property: background-color; } .typora-quick-open-item:hover { background-color: var(--boxes); color: var(--primary-color); } .typora-quick-open-item.active { background-color: var(--boxes); border: none; } .ty-quick-open-category-title { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; opacity: 1; color: var(--light-text-color); line-height: 32px; padding-top: 6px; height: 32px; } /** focus mode */ .on-focus-mode blockquote { border-left-color: rgba(85, 85, 85, 0.12); } .md-lang { color: var(--primary-color); } /*NOTIFICATION*/ #md-notification { border-bottom: solid 1px var(--borders); box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 8px 0px; } #md-notifcation .btn { border: 0; } /*PREFERENCES*/ .ty-preferences { font-family: var(--font-family); } .ty-preferences .window-header { justify-content: space-between; box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 8px 0px; border-bottom: solid 1px var(--borders); } .ty-preferences .window-header-content { background-color: var(--bg-color); margin: 0rem; } .ty-preferences .window-header h2 { font-weight: 600; font-size: 1.5rem; margin: 0rem; margin-left: 1rem; } .unibody-window .ty-preferences .window-header h2 { margin-left: 1rem !important; } .ty-preferences .window-header-back { margin-left: 1.2rem; } .ty-preferences .window-header-back .icon { border-right: none; } /*preferences sidebar*/ .ty-preferences .window-content { background-color: var(--bg-color); } .ty-preferences .nav-group-item { color: var(--text-color); height: 2.5rem; line-height: 2.6rem; font-weight: 500; padding: 0px 0px 0px 2rem; font-size: 1rem; transition-duration: 0.2s; transition-property: background-color; } .ty-preferences .nav-group-item:hover { background-color: var(--borders); border-radius: 0px; } .ty-preferences .nav-group-item.active { border-radius: 0rem; border: none; outline: 1px solid var(--borders); background-color: var(--bg-color); color: var(--primary-color); } .ty-preferences .pane-sm { background: var(--boxes); flex-basis: 240px; flex-grow: 0; justify-content: center; border-right: 1px solid var(--borders); margin: 0rem; padding: 0rem; } .ty-preferences .pane-sm .list-group { width: 100%; max-width: 30rem; } .ty-preferences .list-group-header { display: flex; justify-content: space-around; } .ty-preferences .list-group-header div { width: 100%; margin-right: 18px; margin-left: 18px; } .ty-preferences .pane-sm .search-input { margin: 0rem !important; width: 100%; font-size: 1rem !important; height: 2.75rem; } .ty-preferences .pane-sm .search-input:active, .ty-preferences .pane-sm .search-input:focus { border: solid 1px var(--primary-color) !important; outline: none; } /*preferences main*/ .ty-preferences .panel-header { font-weight: 600; font-size: 1.6rem; } /*preferences stuff*/ .ty-preferences .dropdown-menu > li, .dropdown-item { font-weight: 500; font-size: 1rem; transition-duration: 0.2s; transition-property: all; } .ty-preferences .dropdown-menu .active, .ty-preferences .dropdown-menu li:hover, .dropdown-item:hover { background-color: var(--boxes); color: var(--primary-color); } #ty-spell-check-dict-missing-secondary-btn:hover { color: var(--primary-color) !important; } .header-close .icon { border: none !important; } /*DROPDOWN*/ .dropdown-menu:not(.megamenu-menu-list), .auto-suggest-container { background-color: var(--bg-color); border: solid 1px var(--borders) !important; box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 8px 0px; user-select: none; } .dropdown-menu > li > a { font-weight: 500; font-size: 0.8rem; transition-duration: 0.2s; transition-property: all; } .dropdown-menu > .active > a, .dropdown-menu > li > a:hover, .menu-style-btn.active, .context-menu.dropdown-menu > .active > a, .context-menu.dropdown-menu > li > a:hover { color: var(--primary-color); background-color: var(--boxes); } .menu-style-btn { color: var(--text-color); border: none; transition-duration: 0.2s; transition-property: all; } .menu-style-btn:hover { color: var(--primary-color); background-color: var(--boxes); border: none; } header .menu-style-btn:hover { background-color: transparent; } .menu-item-container { padding: 0 12px 0 4px; } .menu-item-container a.menu-style-btn { padding: 0.3rem 0.6rem; margin: 0; } .dropdown-menu .divider { border-color: var(--borders); } /*BUTTON*/ .btn, button, .md-image-btn { border: none !important; border-radius: 0.3em !important; color: var(--text-color) !important; transition-duration: 0.2s; transition-property: all; font-size: 0.9em !important; font-weight: 500; outline: none; } .btn-default, .md-image-btn { border: none !important; border-radius: 0.3em !important; background-color: var(--boxes) !important; } .btn:hover, .button-hover, .md-image-btn:hover { border: none; border-radius: 0.3em; background-color: var(--borders) !important; color: var(--text-color); } button:active, button.active, .btn:active, .btn-default:active, .md-image-btn:active { border: none; border-radius: 0.3em; background-color: var(--boxes-darker) !important; box-shadow: none; outline: none; color: var(--text-color); } .btn:focus, .md-image-btn:focus { border: none !important; outline: none !important; background-color: var(--boxes-darker); } .btn-primary { border: none; border-radius: 0.3em; background-color: var(--primary-color); color: white !important; } .btn-primary:hover, .btn-primary:focus { color: white; background-color: var(--primary-color-darker) !important; } .btn.dropdown-toggle-split, .btn.dropdown-toggle-split:hover { border-radius: 0em 0.3em 0.3em 0em; } #ty-spell-check-dict-missing-primary-btn { border-radius: 0.3em 0em 0em 0.3em; } .open > .dropdown-toggle.btn-primary { background-color: var(--primary-color); border-color: transparent; } /*GHOST BUTTON*/ .window-header button, #close-sidebar-menu-btn, .html-for-mac .sidebar-tab-btn, .label-hint, .ty-table-edit .btn { background-color: transparent !important; color: var(--light-text-color) !important; opacity: 1 !important; transition-duration: 0.2s; transition-property: color; } .window-header button:hover, .window-header button:focus, #close-sidebar-menu-btn:hover, #close-sidebar-menu-btn:focus, .html-for-mac .sidebar-tab-btn:hover, .html-for-mac .sidebar-tab-btn:focus, .label-hint:hover, .label-hint:focus, .ty-table-edit .btn:hover, .ty-table-edit .btn:focus { color: var(--primary-color) !important; background: none !important; } .ty-table-edit .btn.active { color: var(--primary-color) !important; box-shadow: none; } /*IMAGE BUTTON*/ .md-image-btn { background-color: var(--boxes); transition-duration: 0.2s; transition-property: background-color; } .md-image-btn:before { color: var(--text-color); transition-duration: 0.2s; transition-property: color; } .md-image-btn:hover { background-color: var(--borders); } .md-image-btn:hover:before { color: var(--primary-color); } .md-image-input-src-btn { border-radius: 0.3rem 0rem 0rem 0.3rem !important; } .md-image-pick-file-btn { border-left: none; border-radius: 0rem 0.3rem 0.3rem 0rem !important; } /*SEARCH-INPUTS*/ .search-input, .search, .form-control, #file-library-search-input { background-color: transparent !important; border-radius: 0.3rem !important; border: solid 1px var(--boxes-darker2) !important; box-shadow: none !important; color: var(---heading-text-color) !important; font-size: 0.9rem !important; font-weight: 500; padding: 0.7rem !important; height: 2rem; transition-duration: 0.2s; transition-property: border; } .search-input:focus, .search:focus, .form-control:focus, #file-library-search-input:focus { background-color: transparent !important; border-radius: 0.3rem !important; border-color: var(--primary-color) !important; box-shadow: none !important; color: var(--heading-text-color) !important; font-size: 0.9rem !important; font-weight: 500; padding: 0.7rem !important; } .search-input::placeholder, .search::placeholder, .form-control::placeholder, #file-library-search-input::placeholder { color: var(--light-text-color-brighter) !important; } .clear-btn-icon { top: 9px !important /*required*/; right: 9px !important /*required*/; } .content tr.search-hit, .search-hit, .md-search-hit, .md-search-hit.md-search-select, .md-search-select, .ty-file-search-match-text { background: rgba(56, 132, 255, 0.3) !important; } /*SEARCHPANEL*/ #md-searchpanel { border-bottom: 1px solid var(--borders); box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 8px 0px; max-height: 46px; } #md-searchpanel.searchpanel-replace-mode { max-height: 84px; } #md-searchpanel input { height: 2rem; margin: 0rem !important; padding: 6px 12px !important; font-size: 12px !important; } #md-searchpanel .input-group-addon { height: 2rem; } #md-searchpanel .input-group-addon.close-btn { padding-left: 8px; } .unibody-window #md-searchpanel .btn { line-height: 2rem; } .searchpanel-search-option-btn { top: 9px; border: none; color: var(--light-text-color-brighter) !important /*required*/; transition-duration: 0.3s; } .searchpanel-search-option-btn:hover { color: var(--primary-color) !important /*required*/; background-color: transparent !important /*required*/; } .searchpanel-search-option-btn.select, .searchpanel-search-option-btn.active { color: white !important; background-color: var(--primary-color) !important; } #searchpanel-case-option-btn { right: 33px; } #searchpanel-word-option-btn { right: 9px; } #searchpanel-word-option-btn, #searchpanel-case-option-btn { background: none; } #md-searchpanel .btn:not(.close-btn):hover { box-shadow: none; } /*NUMBER-INPUT*/ input[type="text"]::placeholder { color: var(--light-text-color-brighter) !important; } input[type="number"] { background-color: var(--boxes) !important; border: none !important; border-radius: 0.3rem; } input[type="number"]:focus { background-color: var(--item-hover-bg-color) !important; } /*SELECTS*/ select { background-color: var(--bg-color) !important; border-radius: 0.3rem !important; border: solid 1px var(--boxes-darker2) !important; box-shadow: none !important; color: var(---heading-text-color) !important; font-size: 0.9rem !important; font-weight: 500 !important; padding: 0.3rem !important; height: 2.1rem; transition-duration: 0.2s; transition-property: border; } select:hover { background-color: var(--bg-color) !important; border-radius: 0r3em !important; border-color: var(--primary-color) !important; box-shadow: none !important; color: var(--heading-text-color) !important; font-size: 0.9rem !important; } /*MODAL*/ .modal-header, #common-dialog .modal-header { border-bottom: solid 1px var(--borders); padding-bottom: 15px; } .modal-title { font-size: 1.25rem; font-weight: 500; user-select: none; } .modal-body { font-size: 0.9rem; color: var(--light-text-color-brighter); user-select: none; } .modal-content { box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 8px 0px; border: solid 1px var(--borders); border-radius: 0.3rem; } .modal-footer { border-top: solid 1px var(--borders); } .modal-open .modal.fade.in { background-color: rgba(2, 7, 12, 0.781); } /*SCROLLBAR*/ ::-webkit-scrollbar { width: 9px; height: 8px; padding: 4px; position: absolute; background-color: var(--borders); border: solid 1px var(--boxes-darker); border-radius: 4.5px; } ::-webkit-scrollbar:hover { background-color: var(--borders); } ::-webkit-scrollbar-corner { background: 0 0; } ::-webkit-scrollbar-thumb { background: var(--boxes-darker2); background-clip: padding-box; border-radius: 4.5px; margin-right: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--boxes-darkest); } ::-webkit-scrollbar-thumb:active { background: var(--boxes-darkest); } /*LANGS*/ .ty-spell-check-panel-item { font-weight: 500; transition-duration: 0.2s; transition-property: background-color, color; } .ty-spell-check-panel-item:hover { color: var(--primary-color); background-color: var(--boxes); } .ty-spell-check-panel-item.ty-active { background-color: var(--boxes); } /*TOOLTIP*/ .ty-tooltip { color: var(--text-color) !important; background-color: var(--boxes) !important; border-radius: 0.3rem !important; border: 1px solid var(--borders) !important; -webkit-filter: none !important; filter: none; box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 8px 0px; } /*FOOTER*/ footer.ty-footer { border: none; } .footer-item:hover { background-color: var(--boxes) !important; } #footer-word-count-info { padding: 4px 0; } .footer-word-count-info-line { padding: 0.25rem; line-height: 1.6rem; } #footer-word-count-info tr { font-weight: 500; font-size: 0.8rem; transition-duration: 0.2s; transition-property: all; } #footer-word-count-info tr td:nth-child(1) { padding: 0rem; padding-right: 1rem; } #footer-word-count-info .ty-footer-word-count-all tr:hover { color: var(--primary-color) !important; background-color: var(--boxes) !important; } /*MEGAMENU*/ .megamenu-menu { box-shadow: none; background-color: var(--boxes); border-right: 1px solid var(--borders); } .megamenu-opened .megamenu-menu { left: 0px; } #megamenu-menu-list { box-shadow: none; border: none; background-color: transparent; } #megamenu-menu-list li a { color: var(--text-color); height: 2rem; line-height: 1.8rem; transition-duration: 0.2s; transition-property: background-color; } #megamenu-menu-list li a:hover { background-color: var(--borders); } #megamenu-menu-list li a.active { color: var(--primary-color); background-color: var(--bg-color); outline: solid 1px var(--borders); } #megamenu-menu-list .divider { background-color: var(--borders); margin: 16px 0 0 0; } .megamenu-menu-list .saved #m-saved { cursor: default; } .megamenu-menu-list .saved #m-saved .fa { color: var(--primary-color); } .megamenu-menu-list .saved #m-saved:hover { background-color: transparent; } .megamenu-menu-list #m-close:hover { color: var(--danger-color); } .megamenu-menu-header { border-bottom: solid 1px var(--borders); margin-bottom: 1.2rem; height: 74px; transition-duration: 0.3s; } .megamenu-menu-header:hover { background-color: var(--borders); } .megamenu-menu-header #megamenu-menu-header-title { color: var(--text-color); font-weight: 700; font-size: 16px; left: 56px; top: 24px; } #megamenu-back-btn { color: var(--text-color); font-size: 16px; left: 24px; top: 24px; } .megamenu-opened header { background-color: var(--bg-color); background-image: none; } .megamenu-content { background-color: var(--bg-color); background-image: none; } .megamenu-menu-panel:not(:first-of-type) { margin-top: 2rem; } .megamenu-menu-panel h1 { font-weight: 900; font-size: 1.8rem; margin: 1rem 0rem 0.4rem 0rem; } .megamenu-menu-panel h2 { font-weight: 800; font-size: 1.3rem; margin: 1rem 0rem 0.4rem 0rem; } /*recent files*/ #recent-file-panel tbody tr { font-weight: 600; transition-duration: 0.4s; } #recent-file-panel tbody tr:hover, .megamenu-menu-panel tbody tr:hover td:nth-child(1) { color: var(--primary-color); } #recent-file-panel tbody tr:nth-child(2n-1) { background-color: var(--boxes); } /*about help*/ .about-content-slogon { color: var(--light-text-color); } /*for the god himself*/ .about-content-slogon span { color: var(--primary-color) !important; } #about-content tbody tr { font-weight: 500; transition-duration: 0.4s; } #about-content tbody tr:hover { color: var(--primary-color); background-color: var(--boxes) !important /*required important*/; } .long-btn { margin-bottom: 12px; margin-left: 2px; box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 6px; background-color: var(--bg-color); border: 1px solid var(--borders); border-radius: 0.3rem; padding: 1rem; font-weight: 500; font-size: 1rem; transition-duration: 0.2s; } .long-btn:hover { background-color: var(--bg-color); border: 1px solid var(--primary-color); color: var(--primary-color) !important /*important required*/; } #m-import-local:hover .preference-item-hint { color: var(--primary-color); opacity: 0.7; } #recent-file-panel-action-btn { height: 34px; border: none; background-color: var(--boxes); } #theme-preview-grid { max-width: none; padding: 1rem; background-color: var(--boxes); border-radius: 0.5rem; } .theme-preview-div { border: none; border-radius: 0.4rem; box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 15px; margin: 0.75rem; transition-duration: 0.3s; } .theme-preview-div:hover { box-shadow: rgba(0, 0, 0, 0.6) 3px 8px 15px; cursor: pointer; transform: rotate3d(1, -0.2, 0.2, 15deg); } .theme-preview-content { width: 100%; height: 100%; border-radius: 0.4rem; } .theme-preview-content html { width: 100%; height: 100%; } .theme-preview-div.active .fa { color: var(--primary-color); bottom: 4px; left: 4px; } .theme-preview-div .fa-check-circle:before { background-color: var(--bg-color); padding: 0px 2px; border-radius: 1rem; } .megamenu-menu-panel tbody tr { border-radius: 0.3rem; transition-duration: 0.2s; transition-property: background-color; } .megamenu-menu-panel tbody tr:hover { background-color: var(--borders) !important /*required important*/; } /*MIN MAX CLOSE*/ #w-min, #w-max, #w-restore, #w-close { border-radius: 0px !important; font-size: 10px !important; width: 46px !important; height: 29px !important; } .btn.toolbar-icon svg, .btn.toolbar-icon .ty-icon { position: relative; top: 2px; } #w-close.btn.toolbar-icon .ty-icon { left: 1px; } #w-close:hover { background-color: var(--danger-color) !important; color: white !important; } /*EXTRA STUFF*/ a[type="page-link"] { display: block; background-color: var(--bg-color); box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 8px 0px; border: 1px solid var(--borders); border-radius: 0.3rem; padding: 1rem; font-weight: 600; transition-duration: 0.2s; transition-property: border, box-shadow; } a[type="page-link"]:hover { box-shadow: rgba(0, 0, 0.2, 0.2) 0px 3px 8px 0px; border: 1px solid var(--primary-color); } p[type="description"] { color: var(--light-text-color); margin: 0rem; margin-bottom: 1rem; } p > .md-image:only-child:not(.md-img-error) img, p > img:only-child { display: inline-block; }