/* For styling the entire Joplin app (except the rendered Markdown, which is defined in `userstyle.css`) */
/*****************************************************************************
* Styling for Dark Theme *
* *
* For styling the entire Joplin app (except the rendered Markdown, *
* which is defined in `userstyle.css`) *
*****************************************************************************/
:root {
--editor-heading-color: #569CD6;
--editor-heading-font-weight: bold; /* not used */
--editor-heading-font-size: 1.1em; /* not used */
--editor-code-color: greenyellow;
--editor-text-in-brackets-color: #f9ee98; /* yellowish */
--editor-text-in-parens-color: #dddddd; /* lightgrey */
--editor-strong-color: #2c78b6;
--editor-emphasis-color: #2c78b6;
--editor-emphasis-font-style: italic;
--editor-list-element-color: deepskyblue;
--editor-checkbox-color: lightgrey;
--editor-checkbox-checked-color: #FFCB6B; /* orange */
--editor-selected-text-bgcolor: #0663d3; /* blue */
}
/* not used: to take effect the proper section must be uncommented */
/*------ Editor: Headings ---------------------------------------------------*/
.cm-header {
color: var(--editor-heading-color) !important;
}
/*---------------------------------------------------------------------------*/
/*------ Editor: inline code and codeblocks ---------------------------------*/
pre.CodeMirror-line span[role="presentation"] span.cm-comment {
color: var(--editor-code-color) !important;
}
/*---------------------------------------------------------------------------*/
/*------ Editor: text in brackets [ ] ---------------------------------------*/
.cm-link-text {
color: var(--editor-text-in-brackets-color) !important;
}
/*---------------------------------------------------------------------------*/
/*------ Editor: text/link in parens ( ) ------------ ----------------------*/
.cm-string.cm-url {
color: var(--editor-text-in-parens-color) !important;
}
/*---------------------------------------------------------------------------*/
/*------ Editor: strong -----------------------------------------------------*/
.cm-strong {
color: var(--editor-strong-color) !important;
}
/*---------------------------------------------------------------------------*/
/*------ Editor: italics ----------------------------------------------------*/
.cm-em {
color: var(--editor-emphasis-color) !important;
}
/*---------------------------------------------------------------------------*/
/*------ Editor: list elements and checkbox elements ------------------------*/
.cm-variable-2, .cm-variable-3, .cm-keyword {
color: var(--editor-list-element-color) !important;
}
/*---------------------------------------------------------------------------*/
/*------ Editor: checkbox [ ] and [x] ---------------------------------------*/
.cm-meta {
color: var(--editor-checkbox-checked-color) !important;
}
.cm-property {
color: var(--editor-checkbox-checked-color) !important;
}
/*---------------------------------------------------------------------------*/
/*------ Editor: selected text background color -----------------------------*/
.CodeMirror-selected {
background: var(--editor-selected-text-bgcolor) !important;
}
/*---------------------------------------------------------------------------*/
/*------ Notebook and note list panes: Dim items ----------------------------*/
/*
a.list-item {
color: #A3A79F !important;
}
.fas.fa-caret-right, .fas.fa-caret-down {
color: #575856 !important;
}
.note-list input[type="checkbox"i] {
opacity: .5;
}
*/
/*---------------------------------------------------------------------------*/
/*------ Notebook pane: use lines for notebook tree -------------------------*/
/*
.folders i.fas.fa-caret-right, .folders i.fas.fa-caret-down {
padding-right: 3px !important;
}
.folders .list-item-container {
margin: 0 !important;
}
.folders a.list-item {
border-left: 1px solid #575856 !important;
padding-left: 9px;
margin: 0 !important;
}
*/
/*---------------------------------------------------------------------------*/
/*------ Remove New notebook button -----------------------------------------*/
/*
#react-root > div > div > div.resizableLayoutItem.rli-root > div.resizableLayoutItem.rli-sideBar > div > div > div:nth-child(1) > div:nth-child(1) > button {
display: none;
}
*/
/*---------------------------------------------------------------------------*/
/*------ Remove New to-do button --------------------------------------------*/
/*
button[title="New to-do"] {
display: none;
}
*/
/*---------------------------------------------------------------------------*/
/*------ Remove New note button ---------------------------------------------*/
/*
button[title="New note"] {
display: none;
}
*/
/*---------------------------------------------------------------------------*/
/*------ Remove Code View button --------------------------------------------*/
/*
div.editor-toolbar div button {
display: none !important;
}
*/
/*---------------------------------------------------------------------------*/
/*------ Remove Spellcheck button -------------------------------------------*/
/*
a[title="Spell checker"] {
display: none;
}
*/
/*---------------------------------------------------------------------------*/
/*------ Input fields: Search (global, local), Note Title -------------------*/
/* .header input { */
input {
border-radius: 14px !important;
border: 1px solid rgb(85, 85, 85);
outline: none;
/*
background-color: #888888 !important;
*/
}
/*---------------------------------------------------------------------------*/
/*------ Attachment pane: make first 2 columns easier to read ---------------*/
#react-root > div > div > div:nth-child(1) > div:nth-child(2) > table > tbody > tr > td.titleCell,
#react-root > div > div > div:nth-child(1) > div:nth-child(2) > table > tbody > tr > td:nth-child(2) {
font-size: unset !important;
}
/*---------------------------------------------------------------------------*/
/*------ Sync button --------------------------------------------------------*/
/* Add button background, add rounded corners */
div.side-bar > div > button {
background-color: #25282E !important;
border-radius: 16px !important;
}
/* Outline colour change on hover */
div.side-bar > div > button:hover {
border: 1px solid #3B74DF !important;
border-radius: 16px !important;
}
/* Prevent button text color changing on hover */
div.side-bar > div > button > span {
color: #FFFFFF !important;
}
/*---------------------------------------------------------------------------*/
/*------ Toolbar buttons ----------------------------------------------------*/
.icon-code:before {
display: block;
content: url("data:image/svg+xml;charset=UTF-8, ");
background-size: 18px 18px;
height: 18px;
width: 18px;
padding-left: 3px;
}
.icon-numbered-list:before {
display: block;
content: url("data:image/svg+xml;charset=UTF-8, ");
background-size: 18px 18px;
height: 18px;
width: 18px;
padding-left: 3px;
}
.icon-to-do-list:before {
display: block;
content: url("data:image/svg+xml;charset=UTF-8, ");
background-size: 18px 18px;
height: 18px;
width: 18px;
padding-left: 2px;
}
/*---------------------------------------------------------------------------*/