/* * Typora theme: Bonne Nouvelle * * This theme is largely based on Typora’s built-in "Night" theme, * with additional modifications and ideas inspired by the * "Screenplay" theme by pranavgn: * https://github.com/pranavgn/Typora-Screenplay-Theme * */ :root { --bg-color: #18171d; --side-bar-bg-color: #242229; --text-color: #b8bfc6; --select-text-bg-color:#4a89dc; --item-hover-bg-color: #0a0d16; --control-text-color: #b7b7b7; --control-text-hover-color: #eee; --window-border: 1px solid #555; --active-file-bg-color: #45454a; --active-file-border-color: #8d8df0; --primary-color: #a3d5fe; --active-file-text-color: white; --item-hover-bg-color: #70717d; --item-hover-text-color: white; --primary-color: #6dc1e7; --rawblock-edit-panel-bd: #333; --search-select-bg-color: #428bca; } body { fill: currentColor; font-size: 12pt; font-family: "Courier Screenplay", "Courier New", "Courier", monospace; font-weight: normal; line-height: 1; padding: 0; margin: 0; background-color: #18171d; color: #b8bfc6; border-color: transparent; } h1, h2, h3, h4, h5, h6, p, blockquote { margin: 0; padding: 0; font-weight: normal; font-size: 12pt; line-height: 1.5; } #write { width: 8in; margin: 0 auto; padding-top: 1in; padding-bottom: 1in; padding-left: 0; padding-right: 0; box-sizing: border-box; background-color: #18171d; counter-reset: chapter; } #write li::marker { content: "— "; } #write h1 { text-transform: uppercase; margin-top: 1em; margin-bottom: 1em; font-weight: bold; font-size: 14pt; text-align: center; } #write h2 { font-size: 16pt; margin-top: 2em; margin-bottom: 2.5em; margin-left: 0; position: relative; display: block; min-height: 1em; } #write h2::before { content: "• • •"; display: block; text-align: center; opacity: 70%; margin: 2em 0; } #write h2::after { counter-increment: chapter; content: "Chapitre " counter(chapter) "."; position: absolute; left: 0; bottom: 0; text-align: right; font-size: 11pt; transform: translateX(-120%); } #write blockquote { font-style: italic; text-align: center; margin: 0.5in auto; max-width: 50%; } #write blockquote p { text-align: center; margin: 1em auto; max-width: 100%; } .auto-suggest-container { border: 0px; background-color: #525C65; } #typora-quick-open { background-color: #525C65; } #typora-quick-open input{ background-color: #525C65; border: 0; border-bottom: 1px solid grey; } .typora-quick-open-item { background-color: inherit; color: inherit; } .typora-quick-open-item.active, .typora-quick-open-item:hover { background-color: #4D8BDB; color: white; } .typora-quick-open-item:hover { background-color: rgba(77, 139, 219, 0.8); } .typora-search-spinner > div { background-color: #fff; } .btn, .btn .btn-default { background: transparent; color: #b8bfc6; } .popover-title { background: transparent; } .md-image>.md-meta { color: #BBBBBB; background: transparent; } .md-expand.md-image>.md-meta { color: #DDD; } .md-toc-item { color: #A8C2DC; } #write div.md-toc-tooltip { background-color: #18171d; } .dropdown-menu .btn:hover, .dropdown-menu .btn:focus, .md-toc .btn:hover, .md-toc .btn:focus { color: white; background: black; } #toc-dropmenu { background: rgba(50, 54, 59, 0.93); border: 1px solid rgba(253, 253, 253, 0.15); } #toc-dropmenu .divider { background-color: #9b9b9b; } .outline-expander:before { top: 2px; } #typora-sidebar { box-shadow: none; border-right: 1px dashed; border-right: none; } .sidebar-tabs { border-bottom:0; } #typora-sidebar:hover .outline-title-wrapper { border-left: 1px dashed; } .outline-title-wrapper .btn { color: inherit; } .outline-item { padding-top: 5px; padding-bottom: 5px; } .outline-item:hover { background-color: inherit; font-weight: bold; } .outline-label:hover { text-decoration: none; } .modal-content { background: var(--bg-color); border: 0; } .modal-title { font-size: 1.5em; } .modal-content input { background-color: rgba(26, 21, 21, 0.51); color: white; } .modal-content .input-group-addon { color: white; } .modal-backdrop { background-color: rgba(174, 174, 174, 0.7); } .modal-content .btn-primary { border-color: var(--primary-color); } #md-searchpanel { border-bottom: 1px dashed grey; } /** UI for electron */ .context-menu, #spell-check-panel, #footer-word-count-info { background-color: #42464A; } .context-menu.dropdown-menu .divider, .dropdown-menu .divider { background-color: #777777; opacity: 1; } footer { color: inherit; } @media (max-width: 1000px) { footer { border-top: none; } footer:hover { color: inherit; } } #file-info-file-path .file-info-field-value:hover { background-color: #555; color: #dedede; } .megamenu-content, .megamenu-opened header { background: var(--bg-color); } .megamenu-menu-panel h2, .megamenu-menu-panel h1, .long-btn { color: inherit; } .megamenu-menu-panel input[type='text'] { background: inherit; border: 0; border-bottom: 1px solid; } #recent-file-panel-action-btn { background: inherit; border: 1px grey solid; } .megamenu-menu-panel .dropdown-menu > li > a { color: inherit; background-color: #2F353A; text-decoration: none; } .megamenu-menu-panel table td:nth-child(1) { color: inherit; font-weight: bold; } .megamenu-menu-panel tbody tr:hover td:nth-child(1) { color: white; } .modal-footer .btn-default, .modal-footer .btn-primary, .modal-footer .btn-default:not(:hover) { border: 1px solid; border-color: transparent; } .btn-primary { color: white; } .btn-default:hover, .btn-default:focus, .btn-default.focus, .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default { color: white; border: 1px solid #ddd; background-color: inherit; } .modal-header { border-bottom: 0; } .modal-footer { border-top: 0; } #recent-file-panel tbody tr:nth-child(2n-1) { background-color: transparent !important; } .megamenu-menu-panel tbody tr:hover td:nth-child(2) { color: inherit; } .megamenu-menu-panel .btn { border: 1px solid #eee; background: transparent; } .mouse-hover .toolbar-icon.btn:hover, #w-full.mouse-hover, #w-pin.mouse-hover { background-color: inherit; } .typora-node::-webkit-scrollbar { width: 5px; } .typora-node::-webkit-scrollbar-thumb:vertical { background: rgba(250, 250, 250, 0.3); } .typora-node::-webkit-scrollbar-thumb:vertical:active { background: rgba(250, 250, 250, 0.5); } #w-unpin { background-color: #4182c4; } #top-titlebar, #top-titlebar * { color: var(--item-hover-text-color); } .typora-sourceview-on #toggle-sourceview-btn, #footer-word-count:hover, .ty-show-word-count #footer-word-count { background: #333333; } #toggle-sourceview-btn:hover { color: #eee; background: #333333; } .on-focus-mode .md-end-block:not(.md-focus):not(.md-focus-container) * { color: #686868 !important; } .on-focus-mode .md-end-block:not(.md-focus) img, .on-focus-mode .md-task-list-item:not(.md-focus-container)>input { opacity: #686868 !important; } .on-focus-mode li[cid]:not(.md-focus-container){ color: #686868; } .on-focus-mode .md-fences.md-focus .CodeMirror-code>*:not(.CodeMirror-activeline) *, .on-focus-mode .CodeMirror.cm-s-inner:not(.CodeMirror-focused) * { color: #686868 !important; } .on-focus-mode .md-focus, .on-focus-mode .md-focus-container { color: #fff; } .on-focus-mode #typora-source .CodeMirror-code>*:not(.CodeMirror-activeline) * { color: #686868 !important; } .active-tab-files #info-panel-tab-file, .active-tab-files #info-panel-tab-file:hover, .active-tab-outline #info-panel-tab-outline, .active-tab-outline #info-panel-tab-outline:hover { color: #eee; } .sidebar-footer-item:hover, .footer-item:hover { background: inherit; color: white; } .ty-side-sort-btn.active, .ty-side-sort-btn:hover, .selected-folder-menu-item a:after { color: white; } #sidebar-files-menu { border:solid 1px; box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.79); background-color: var(--bg-color); } .file-list-item { border-bottom:none; } .file-list-item-summary { opacity: 1; } .file-list-item.active:first-child { border-top: none; } .file-node-background { height: 32px; } .file-library-node.active>.file-node-content, .file-list-item.active { color: white; color: var(--active-file-text-color); } .file-library-node.active>.file-node-background{ background-color: #45454a; background-color: var(--active-file-bg-color); } .file-list-item.active { background-color: #45454a; background-color: var(--active-file-bg-color); } #ty-tooltip { background-color: black; color: #eee; } footer.ty-footer { border-color: #656565; } .ty-preferences .btn-default { background: transparent; } .ty-preferences .btn-default:hover { background: #57616b; } .ty-preferences select { border: 1px solid #989698; height: 21px; } .ty-preferences .nav-group-item.active, .export-item.active, .export-items-list-control, .export-detail { background: var(--item-hover-bg-color); } .ty-preferences input[type="search"] { border-color: #333; background: #333; line-height: 22px; border-radius: 6px; color: white; } .ty-preferences input[type="search"]:focus { box-shadow: none; } [data-is-directory="true"] .file-node-content { margin-bottom: 0; } .file-node-title { line-height: 22px; } .html-for-mac .file-node-open-state, .html-for-mac .file-node-icon { line-height: 26px; } ::-webkit-scrollbar-thumb { background: rgba(230, 230, 230, 0.30); } ::-webkit-scrollbar-thumb:active { background: rgba(230, 230, 230, 0.50); } #typora-sidebar:hover div.sidebar-content-content::-webkit-scrollbar-thumb:horizontal { background: rgba(230, 230, 230, 0.30); } .nav-group-item:active { background-color: #474d54 !important; } .md-search-hit { background: rgba(199, 140, 60, 0.81); color: #eee; } .md-search-hit * { color: #eee; } #md-searchpanel input { color: white; } .modal-backdrop.in { opacity: 1; backdrop-filter: blur(1px); } .clear-btn-icon { top: 8px; }