2024-08-22 19:08:50 -06:00
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2024-08-28 17:25:36 -06:00
EverForest Ant Dark by Octavia N . ( https : / / github . com / Lolabird / everforest-ant-dark-trilium-theme )
2024-08-22 19:08:50 -06:00
This theme inspired by and meant to be paired with the KDE Plasma theme Ant Dark and the more generally available theme EverForest .
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2024-08-26 13:02:17 -06:00
/*****FONT IMPORTS*****/
@ font-face {
2025-03-29 16:27:00 -06:00
font-family : "JetBrainsMono" ;
src : url ( '/custom/themes/EFAD/JetBrainsMono-Regular.woff2' ) format ( "woff2" ) ;
font-weight : 400 ;
font-style : normal ;
2024-08-26 13:02:17 -06:00
}
@ font-face {
2025-03-29 16:27:00 -06:00
font-family : "JetBrainsMono" ;
src : url ( '/custom/themes/EFAD/JetBrainsMono-Italic.woff2' ) format ( "woff2" ) ;
font-weight : 400 ;
font-style : oblique ;
2024-08-26 13:02:17 -06:00
}
@ font-face {
2025-03-29 16:27:00 -06:00
font-family : "JetBrainsMono" ;
src : url ( '/custom/themes/EFAD/JetBrainsMono-Bold.woff2' ) format ( "woff2" ) ;
font-weight : 700 ;
font-style : normal ;
2024-08-26 13:02:17 -06:00
}
@ font-face {
2025-03-29 16:27:00 -06:00
font-family : "JetBrainsMono" ;
src : url ( '/custom/themes/EFAD/JetBrainsMono-BoldItalic.woff2' ) format ( "woff2" ) ;
font-weight : 700 ;
font-style : oblique ;
2024-08-26 13:02:17 -06:00
}
2024-08-28 14:07:25 -06:00
@ font-face {
2025-03-29 16:27:00 -06:00
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-300-Light.woff2' ) format ( "woff2" ) ;
font-weight : 300 ;
font-style : normal ;
2024-08-28 14:07:25 -06:00
}
@ font-face {
2025-03-29 16:27:00 -06:00
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-300-LightItalic.woff2' ) format ( "woff2" ) ;
font-weight : 300 ;
font-style : oblique ;
2024-08-28 14:07:25 -06:00
}
2024-08-26 13:02:17 -06:00
@ font-face {
2025-03-29 16:27:00 -06:00
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-400-Book.woff2' ) format ( "woff2" ) ;
font-weight : 400 ;
font-style : normal ;
2024-08-26 13:02:17 -06:00
}
@ font-face {
2025-03-29 16:27:00 -06:00
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-400-BookItalic.woff2' ) format ( "woff2" ) ;
font-weight : 400 ;
font-style : oblique ;
2024-08-26 13:02:17 -06:00
}
2024-10-11 13:32:48 -06:00
@ font-face {
2025-03-29 16:27:00 -06:00
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-500-Medium.woff2' ) format ( "woff2" ) ;
font-weight : 500 ;
font-style : normal ;
2024-10-11 13:32:48 -06:00
}
@ font-face {
2025-03-29 16:27:00 -06:00
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-500-MediumItalic.woff2' ) format ( "woff2" ) ;
font-weight : 500 ;
font-style : oblique ;
2024-10-11 13:32:48 -06:00
}
2024-08-27 21:08:40 -06:00
@ font-face {
2025-03-29 16:27:00 -06:00
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-600-Semi.woff2' ) format ( "woff2" ) ;
font-weight : 600 ;
font-style : normal ;
2024-08-27 21:08:40 -06:00
}
@ font-face {
2025-03-29 16:27:00 -06:00
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-600-SemiItalic.woff2' ) format ( "woff2" ) ;
font-weight : 600 ;
font-style : oblique ;
2024-08-27 21:08:40 -06:00
}
2024-08-26 13:02:17 -06:00
@ font-face {
2025-03-29 16:27:00 -06:00
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-700-Bold.woff2' ) format ( "woff2" ) ;
font-weight : 700 ;
font-style : normal ;
2024-08-26 13:02:17 -06:00
}
@ font-face {
2025-03-29 16:27:00 -06:00
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-700-BoldItalic.woff2' ) format ( "woff2" ) ;
font-weight : 700 ;
font-style : oblique ;
2024-08-26 13:02:17 -06:00
}
2024-08-27 21:08:40 -06:00
@ font-face {
2025-03-29 16:27:00 -06:00
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-800-Heavy.woff2' ) format ( "woff2" ) ;
font-weight : 800 ;
font-style : normal ;
2024-08-27 21:08:40 -06:00
}
@ font-face {
2025-03-29 16:27:00 -06:00
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-800-HeavyItalic.woff2' ) format ( "woff2" ) ;
font-weight : 800 ;
font-style : oblique ;
2024-08-27 21:08:40 -06:00
}
2024-08-26 13:02:17 -06:00
2024-08-22 19:08:50 -06:00
/*****ROOT (COLOR AND FONT KEY)*****/
: root {
2025-03-29 16:27:00 -06:00
/***main body (including CKEditor), modal(options menu), and some code colors (see last section for more code colors)*/
--text-gray : # D8D8D8 ;
--devils-gray-lol : # 666 /*replace with a grayer version of cool-gray*/ ;
--background-gray : # 192124 ;
--soft-gray : # 23272E ;
--sand : # D3C6AA ;
--tan : # F4D289 ;
--cool-gray : # 5D7576 ;
--light-turquoise : # 6DF9CD ;
--soft-sea-green : # 99ccb1 ;
--header-font-family : Jost , sans-serif ;
--code-select-gray : # 253749 ;
--table-header-gray : # 30363B ;
--tree-background-gray : # 232A2E ;
--cherry-red : # FF3030 ;
--code-comment : # 95ACB2 ;
--code-tag : # 759DC2 ;
--code-string : # 91A192 ;
--code-number : # FFB380 ;
--code-pseudo : # 27AE60 ;
--code-class : # 5BB394 ;
--code-keyword : # CE9292 ;
--code-meta : # BDA88C ;
--code-def : # 5C9CE4 ;
--code-var : # D29E58 ;
--code-builtin : # C39AD0 ;
--code-attribute : # CBE0EA ;
2024-08-22 19:08:50 -06:00
}
/*****HTML (GENERAL STYLES)*****/
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
These are variables that already exist in the native stylesheet , just redefined here . This could have been put in ':root' or 'body{}' but for the sake of organization , I kept them in 'html' where they have been similarly placed in the Light Theme .
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
html {
2025-03-29 16:27:00 -06:00
--theme-style : dark ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
/***fonts***/
/*general fonts*/
--main-font-family : Jost , sans-serif ;
--main-font-size : 1 . 2rem ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
--tree-font-family : Jost , sans-serif ;
--tree-font-size : 1 . 3rem ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
--detail-font-family : Jost , sans-serif ;
--detail-font-size : 1 . 3rem ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
/*code fonts*/
--monospace-font-family : JetBrainsMono , monospace ;
--monospace-font-size : 1 . 2rem ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
/***colors***/
/*main notes window*/
--main-background-color : var ( --background-gray ) ;
--main-text-color : var ( --text-gray ) ;
--main-border-color : var ( --devils-gray-lol ) ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
/*changes the window icons(x, [], -) and some text fields*/
--accented-background-color : var ( --soft-gray ) ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
/*changes the edit icons on text notes and the alert messages*/
--more-accented-background-color : var ( --table-header-gray ) ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
/*left, bottom left, and lower upper right icons*/
--button-background-color : transparent ;
--button-disabled-background-color : var ( --table-header-gray ) ;
--button-border-color : var ( --text-gray ) ;
--button-text-color : var ( --text-gray ) ;
--button-border-radius : 5px ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
/*changes button in label detail*/
--primary-button-background-color : var ( --table-header-gray ) ;
--primary-button-text-color : var ( --text-gray ) ;
--primary-button-border-color : var ( --text-gray ) ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
/* "muted-text-color" affects several components, but most are individually styled in this doc, so this should only affect the drop shadow of protected notes titles. */
--muted-text-color : var ( --devils-gray-lol ) ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
/*notes title and text fields in options menu and find (ctrl+f) search*/
--input-text-color : var ( --sand ) ;
/*affects all form inputs*/
--input-background-color : var ( --backround-gray ) ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
/*changes the 'x' on the note tabs and the right+click and trilium (icon) menus*/
--hover-item-text-color : var ( --text-gray ) ;
/*changes side and right+click menus and note tabs*/
--hover-item-background-color : var ( --soft-gray ) ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
/*tree*/
--active-item-text-color : var ( --soft-gray ) ;
--active-item-background-color : var ( --sand ) ;
--left-pane-background-color : var ( --tree-background-gray ) ;
--left-pane-text-color : var ( --text-gray ) ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
/*right+click menus*/
--menu-text-color : var ( --text-gray ) ;
--menu-background-color : var ( --background-gray ) ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
/*the options menu*/
--modal-background-color : var ( --background-gray ) ;
--modal-backdrop-color : var ( --text-gray ) ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
/*left and bottom left menus*/
--launcher-pane-background-color : var ( --background-gray ) ;
--launcher-pane-text-color : var ( --sand ) ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
/*tabs*/
--active-tab-background-color : var ( --sand ) ;
--active-tab-text-color : var ( --background-gray ) ;
--active-tab-hover-background-color : var ( --text-gray ) ;
--inactive-tab-background-color : var ( --table-header-gray ) ;
--inactive-tab-text-color : var ( --text-gray ) ;
--inactive-tab-hover-background-color : var ( --soft-gray ) ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
/*general*/
--scrollbar-border-color : var ( --sand ) ;
--tooltip-background-color : var ( --background-gray ) ;
--link-color : var ( --light-turquoise ) ;
2024-08-22 19:08:50 -06:00
2025-03-29 16:27:00 -06:00
--mermaid-theme : dark ;
2024-08-22 19:08:50 -06:00
}
2025-04-05 04:53:49 -06:00
* : focus-visible {
outline : var ( --sand ) auto 1px ;
}
2024-08-28 14:07:25 -06:00
2024-08-22 19:08:50 -06:00
/*****Image Caption*****/
2024-08-28 11:56:32 -06:00
. ck-content figure . image > figcaption {
2025-03-29 16:27:00 -06:00
font-size : 1rem ;
font-weight : 300 ;
font-style : oblique ;
color : var ( --sand ) ! important ;
2024-08-28 11:56:32 -06:00
}
2024-09-18 01:50:02 -06:00
. ck-content figure . image > figcaption code {
2025-03-29 16:27:00 -06:00
font-size : . 8rem ;
2024-09-18 01:50:02 -06:00
}
2024-08-28 11:56:32 -06:00
. ck-content figure . image > figcaption i {
2025-03-29 16:27:00 -06:00
font-style : normal ;
color : var ( --text-gray ) ;
2024-08-22 19:08:50 -06:00
}
2024-08-28 12:51:58 -06:00
. ck-content figure . image > figcaption b , . ck-content figure . image > figcaption strong {
2025-03-29 16:27:00 -06:00
color : var ( --text-gray ) ;
2024-08-28 12:51:58 -06:00
}
2024-08-22 19:08:50 -06:00
2024-08-28 14:07:25 -06:00
2024-08-22 19:08:50 -06:00
/*****Scrollbar*****/
:: -webkit-scrollbar-thumb {
2025-03-29 16:27:00 -06:00
background-color : transparent ! important ;
2024-08-22 19:08:50 -06:00
}
:: -webkit-scrollbar-thumb : hover {
2025-03-29 16:27:00 -06:00
border-color : var ( --tan ) ! important ;
2024-08-22 19:08:50 -06:00
}
2024-08-28 14:07:25 -06:00
2024-08-22 19:08:50 -06:00
/*****TABS*****/
2025-04-19 15:23:35 -06:00
div . tab-row-widget . note-tab . note-tab-wrapper {
height : 39px ;
padding : 5px 5px 2px 11px ;
margin-top : 1px ;
border-radius : 8px 8px 0 0 ;
2025-03-29 16:27:00 -06:00
font-size : var ( --detail-font-size ) ;
font-family : var ( --header-font-family ) ;
2024-08-22 19:08:50 -06:00
}
. tab-row-widget . note-tab . note-tab-title {
2025-03-29 16:27:00 -06:00
font-size : 1 . 5rem ;
2024-08-22 19:08:50 -06:00
}
. tab-row-widget . note-tab . note-tab-close {
2025-03-29 16:27:00 -06:00
font-size : 1 . 5rem ;
margin-bottom : 10px ;
2024-08-22 19:08:50 -06:00
}
2024-08-29 21:39:31 -06:00
. note-tab div . note-tab-close . bx . bx-x : hover {
2025-03-29 16:27:00 -06:00
background : transparent ;
2025-03-30 01:29:24 -06:00
color : var ( --tan ) ! important ;
2024-08-29 21:39:31 -06:00
}
. note-tab [ active ] div . note-tab-close . bx . bx-x : hover {
2025-03-29 16:27:00 -06:00
background : transparent ;
2025-03-30 01:31:11 -06:00
color : var ( --cherry-red ) ! important ;
2024-08-29 21:39:31 -06:00
}
2024-08-22 19:08:50 -06:00
/*fixes the issue of not being able to access widgets in the top bar*/
. tab-row-filler {
2025-03-29 16:27:00 -06:00
-webkit-app-region : none ! important ;
2024-08-22 19:08:50 -06:00
}
2024-08-28 14:07:25 -06:00
2024-08-22 19:08:50 -06:00
/*****TOC*****/
2025-04-07 15:04:26 -06:00
span . toc ol , span . highlights-list ol {
2025-04-07 15:46:11 -06:00
padding-left : 1 . 5rem ;
}
2024-09-09 17:27:51 -06:00
/***Only applies if 'Show Position in TOC' widget is in use***/
. toc-widget span . toc li [ style ] {
2025-03-29 16:27:00 -06:00
color : var ( --tan ) ! important ;
2024-09-09 17:27:51 -06:00
}
2025-04-06 12:47:19 -06:00
. toc-widget span . toc li : not ( [ style * = "color:" ] ) , . toc-widget span . toc li : not ( [ style * = "color:" ] ) * {
2025-03-29 16:27:00 -06:00
color : inherit ! important ;
2024-09-09 17:27:51 -06:00
}
2024-09-01 17:23:47 -06:00
. toc-widget . toc li , . highlights-list > ol > li {
2025-03-29 16:27:00 -06:00
text-align : left ;
2024-08-27 03:21:41 -06:00
}
2025-03-31 19:56:48 -06:00
. toc kbd {
background : transparent ;
text-decoration : underline ;
color : inherit ;
}
2024-08-22 19:08:50 -06:00
2024-08-28 14:07:25 -06:00
2024-08-22 19:08:50 -06:00
/*****Included Notes*****/
. include-note {
2025-03-29 16:27:00 -06:00
margin-bottom : 1 . 1rem ! important ;
2024-08-22 19:08:50 -06:00
}
2024-08-28 14:07:25 -06:00
2024-08-22 19:08:50 -06:00
/*****HEADERS*****/
/*h1 is not defined, because it's not currently an option for headers in the main body*/
2024-10-06 09:29:33 -06:00
. ck-content h2 {
2025-03-29 16:27:00 -06:00
color : # C0902B ;
font-weight : 800 ;
font-family : var ( --header-font-family ) ;
font-size : 2rem ;
2024-08-22 19:08:50 -06:00
}
2025-03-26 02:57:24 -06:00
. ck-content h2 code , . ck-content h2 code b , . ck-content h2 code strong , . ck-content h2 code i , . ck-content h2 code em , . ck-content h2 kbd , . ck-content h2 kbd i , . ck-content h2 kbd b , . ck-content h2 kbd strong {
2025-03-29 16:27:00 -06:00
font-size : 1 . 6rem ;
background : transparent ;
2024-08-22 19:08:50 -06:00
}
2025-03-25 21:57:24 -06:00
. ck-content h2 kbd , . ck-content h2 kbd i , . ck-content h2 kbd b , . ck-content h2 kbd strong {
2025-03-26 02:57:24 -06:00
text-decoration : underline ;
2025-03-25 21:57:24 -06:00
}
2024-08-22 19:08:50 -06:00
2024-10-06 09:29:33 -06:00
. ck-content h3 {
2025-03-29 16:27:00 -06:00
color : # B29556 ;
font-weight : 700 ;
font-family : var ( --header-font-family ) ;
font-size : 1 . 9rem ;
2024-08-22 19:08:50 -06:00
}
2025-03-26 02:57:24 -06:00
. ck-content h3 code , . ck-content h3 code b , . ck-content h3 code strong , . ck-content h3 code i , . ck-content h3 code em , . ck-content h3 kbd , . ck-content h3 kbd i , . ck-content h3 kbd b , . ck-content h3 kbd strong {
2025-03-29 16:27:00 -06:00
font-size : 1 . 4rem ;
background : transparent ;
2024-08-22 19:08:50 -06:00
}
2025-03-25 21:57:24 -06:00
. ck-content h3 kbd , . ck-content h3 kbd i , . ck-content h3 kbd b , . ck-content h3 kbd strong {
2025-03-26 02:57:24 -06:00
text-decoration : underline ;
2025-03-25 21:57:24 -06:00
}
2024-08-22 19:08:50 -06:00
2024-10-06 09:29:33 -06:00
. ck-content h4 {
2025-03-29 16:27:00 -06:00
color : # E2B24D ;
font-weight : 600 ;
font-family : var ( --header-font-family ) ;
font-size : 1 . 78rem ;
2024-08-22 19:08:50 -06:00
}
2025-03-26 02:57:24 -06:00
. ck-content h4 code , . ck-content h4 code b , . ck-content h4 code strong , . ck-content h4 code i , . ck-content h4 code em , . ck-content h4 kbd , . ck-content h4 kbd i , . ck-content h4 kbd b , . ck-content h4 kbd strong {
2025-03-29 16:27:00 -06:00
font-size : 1 . 3rem ;
background : transparent ;
2024-08-22 19:08:50 -06:00
}
2025-03-25 21:57:24 -06:00
. ck-content h4 kbd , . ck-content h4 kbd i , . ck-content h4 kbd b , . ck-content h4 kbd strong {
2025-03-26 02:57:24 -06:00
text-decoration : underline ;
2025-03-25 21:57:24 -06:00
}
2024-08-22 19:08:50 -06:00
2024-10-06 09:29:33 -06:00
. ck-content h5 {
2025-03-29 16:27:00 -06:00
color : # BDA97F ;
font-weight : 600 ;
font-family : var ( --header-font-family ) ;
font-size : 1 . 65rem ;
2024-08-22 19:08:50 -06:00
}
2025-03-26 02:57:24 -06:00
. ck-content h5 code , . ck-content h5 code b , . ck-content h5 code strong , . ck-content h5 code i , . ck-content h5 code em , . ck-content h5 kbd , . ck-content h5 kbd i , . ck-content h5 kbd b , . ck-content h5 kbd strong {
2025-03-29 16:27:00 -06:00
font-size : 1 . 18rem ;
background : transparent ;
2024-08-22 19:08:50 -06:00
}
2025-03-25 21:57:24 -06:00
. ck-content h5 kbd , . ck-content h5 kbd i , . ck-content h5 kbd b , . ck-content h5 kbd strong {
2025-03-26 02:57:24 -06:00
text-decoration : underline ;
2025-03-25 21:57:24 -06:00
}
2024-08-22 19:08:50 -06:00
2024-10-06 09:29:33 -06:00
. ck-content h6 {
2025-03-29 16:27:00 -06:00
color : var ( --tan ) ;
font-weight : 600 ;
font-family : var ( --header-font-family ) ;
font-size : 1 . 53rem ;
2024-08-22 19:08:50 -06:00
}
2025-03-26 02:57:24 -06:00
. ck-content h6 code , . ck-content h6 code b , . ck-content h6 code strong , . ck-content h6 code i , . ck-content h6 code em , . ck-content h6 kbd , . ck-content h6 kbd i , . ck-content h6 kbd b , . ck-content h6 kbd strong {
2025-03-29 16:27:00 -06:00
font-size : 1 . 1rem ;
background : transparent ;
2024-08-22 19:08:50 -06:00
}
2025-03-25 21:57:24 -06:00
. ck-content h6 kbd , . ck-content h6 kbd i , . ck-content h6 kbd b , . ck-content h6 kbd strong {
2025-03-26 02:57:24 -06:00
text-decoration : underline ;
2025-03-25 21:57:24 -06:00
}
2024-08-22 19:08:50 -06:00
/*****TABLE*****/
. ck-content . table > figcaption {
2025-03-29 16:27:00 -06:00
background-color : var ( --table-header-gray ) ;
color : var ( --tan ) ;
font-size : 1 . 3rem ;
font-weight : 600 ;
font-family : var ( --header-font-family ) ;
2024-08-22 19:08:50 -06:00
}
. ck-content . table table , . ck-content . table table td , . ck-content . table table th {
2025-03-29 16:27:00 -06:00
border : none ;
2024-08-22 19:08:50 -06:00
}
. ck-content . table table th {
2025-03-29 16:27:00 -06:00
font-weight : 600 ! important ;
font-size : 1 . 15rem ;
color : var ( --sand )
2024-08-22 19:08:50 -06:00
}
2024-08-26 16:00:58 -06:00
tr : nth-child ( odd ) {
2025-03-29 16:27:00 -06:00
background-color : var ( --table-header-gray ) ;
2024-08-26 16:00:58 -06:00
}
. ck-content . table table th {
2025-03-29 16:27:00 -06:00
background-color : var ( --background-gray ) ! important ;
2024-08-22 19:08:50 -06:00
}
2024-08-26 16:00:58 -06:00
. ck-content . table table tbody tr : nth-child ( odd ) th {
2025-03-29 16:27:00 -06:00
background-color : var ( --table-header-gray ) ! important ;
2024-08-22 19:08:50 -06:00
}
2024-08-26 16:00:58 -06:00
. ck-content . table table tbody tr : nth-child ( even ) th {
2025-03-29 16:27:00 -06:00
background-color : var ( --background-gray ) ! important ;
2024-08-26 16:00:58 -06:00
}
2024-10-05 20:43:50 -06:00
. ck-content . table table {
2025-03-29 16:27:00 -06:00
width : 100 % ;
max-height : 90vh ;
overflow : auto ;
2024-10-05 20:43:50 -06:00
}
. ck-content . table table thead th {
2025-03-29 16:27:00 -06:00
position : sticky ;
position : -webkit-sticky ;
top : 0 ;
z-index : 1 ;
2024-10-05 20:43:50 -06:00
}
. ck-content . table table tbody th {
2025-03-29 16:27:00 -06:00
position : relative ;
2024-10-05 20:43:50 -06:00
}
. ck-content . table table thead th : first-child {
2025-03-29 16:27:00 -06:00
position : sticky ;
position : -webkit-sticky ;
left : 0 ;
z-index : 2 ;
2024-10-05 20:43:50 -06:00
}
. ck-content . table table tbody th {
2025-03-29 16:27:00 -06:00
position : sticky ;
left : 0 ;
z-index : 1 ;
2024-10-05 20:43:50 -06:00
}
2024-08-22 19:08:50 -06:00
/*****TEXT DECORATION*****/
2024-08-28 12:51:58 -06:00
body strong , body b {
2025-03-25 21:10:47 -06:00
color : var ( --sand ) ;
font-weight : 700 ;
}
body em , body i {
color : var ( --sand ) ;
2024-08-22 19:08:50 -06:00
}
2025-03-29 14:57:38 -06:00
body u {
text-decoration-style : dashed ;
}
2025-04-07 11:47:25 -06:00
body s , body del {
2025-03-29 14:57:38 -06:00
text-decoration-style : double ;
}
2024-08-22 19:08:50 -06:00
2025-03-25 21:10:47 -06:00
/*****LISTS*****/
2024-08-22 19:08:50 -06:00
li label {
2025-03-29 16:27:00 -06:00
display : inline ;
line-height : 2rem ;
2024-08-22 19:08:50 -06:00
}
2024-10-06 11:13:24 -06:00
. ck-content . todo-list . todo-list__label > input [ checked ] : before , . ck-editor__editable . ck-content . todo-list . todo-list__label > span [ contenteditable = false ] > input [ checked ] : before {
2025-03-29 16:27:00 -06:00
background : var ( --soft-sea-green ) ;
border-color : var ( --soft-sea-green ) ! important ;
2024-08-22 19:08:50 -06:00
}
2024-10-06 11:13:24 -06:00
. ck-content . todo-list . todo-list__label > input [ checked ] : after , . ck-editor__editable . ck-content . todo-list . todo-list__label > span [ contenteditable = false ] > input [ checked ] : after {
2025-03-29 16:27:00 -06:00
border-color : var ( --background-gray ) ;
2024-10-06 11:13:24 -06:00
}
. ck-content . todo-list . todo-list__label > input : not ( [ checked ] ) : before , . ck-editor__editable . ck-content . todo-list . todo-list__label > span [ contenteditable = false ] > input : not ( [ checked ] ) : before {
2025-03-29 16:27:00 -06:00
border : 1px solid var ( --cherry-red ) ! important ;
background : var ( --background-gray ) ;
2025-03-23 22:12:17 -06:00
}
2025-03-25 21:10:47 -06:00
/*****CARDS*****/
/***blockquotes***/
2024-08-22 19:08:50 -06:00
. ck-content blockquote {
2025-03-29 16:27:00 -06:00
color : var ( --sand ) ;
font-weight : 300 ;
font-size : 1 . 65rem ;
overflow : hidden ;
padding-right : 0 ;
padding-left : . 5em ;
2025-04-05 04:10:55 -06:00
margin : 1 . 5rem 10rem ;
2025-03-29 16:27:00 -06:00
font-style : italic ;
border-left : 3px solid var ( --tan ) ;
2024-08-22 19:08:50 -06:00
}
. ck-content blockquote p {
2025-03-29 16:27:00 -06:00
margin-bottom : 0 ;
padding-bottom : . 3em ;
2024-08-22 19:08:50 -06:00
}
2024-08-28 12:51:58 -06:00
. ck-content blockquote b , . ck-content blockquote strong {
2025-03-29 16:27:00 -06:00
color : var ( --text-gray ) ;
font-weight : 500 ;
2024-10-11 13:32:48 -06:00
}
2025-03-24 01:03:24 -06:00
. ck-content blockquote i , . ck-content blockquote i > b , . ck-content blockquote i > strong , . ck-content blockquote em , . ck-content blockquote em > b , . ck-content blockquote em > strong {
2025-03-29 16:27:00 -06:00
font-style : normal ;
color : var ( --text-gray ) ;
}
2025-03-26 02:00:15 -06:00
. ck-content blockquote code , . ck-content blockquote kbd , . ck-content blockquote code strong , . ck-content blockquote kbd strong {
font-size : 1 . 25rem ;
2024-10-11 13:32:48 -06:00
}
2025-03-26 02:00:15 -06:00
. ck-content blockquote code strong , . ck-content blockquote kbd strong {
font-weight : 700 ;
2024-08-28 12:51:58 -06:00
}
2024-09-20 09:47:56 -06:00
2025-03-24 00:04:14 -06:00
/***asides***/
2025-03-23 22:23:16 -06:00
. ck-content . admonition . note {
2025-03-29 16:27:00 -06:00
--accent-color : var ( --code-attribute ) ! important ;
--rgb : 203 , 224 , 234 ;
2025-03-23 22:23:16 -06:00
}
. ck-content . admonition . tip {
2025-03-29 16:27:00 -06:00
--accent-color : var ( --code-builtin ) ! important ;
--rgb : 195 , 154 , 208 ;
2025-03-23 22:23:16 -06:00
}
. ck-content . admonition . important {
2025-03-29 16:27:00 -06:00
--accent-color : var ( --code-def ) ! important ;
--rgb : 92 , 156 , 228 ;
2025-03-23 22:23:16 -06:00
}
. ck-content . admonition . caution {
2025-03-29 16:27:00 -06:00
--accent-color : var ( --cherry-red ) ! important ;
--rgb : 255 , 48 , 48 ;
2025-03-23 22:23:16 -06:00
}
. ck-content . admonition . warning {
2025-03-29 16:27:00 -06:00
--accent-color : var ( --code-var ) ! important ;
--rgb : 210 , 158 , 88 ;
2025-03-23 22:23:16 -06:00
}
2025-03-24 03:29:21 -06:00
. ck-content aside . admonition {
2025-03-29 16:27:00 -06:00
/*--accent-color: var(--card-border-color);*/
--card-background-color : rgba ( var ( --rgb ) , . 12 ) ;
border : none ;
border-left : 3px solid var ( --accent-color ) ;
box-shadow : var ( --card-box-shadow ) ;
background : var ( --card-background-color ) ;
border-radius : 0 ;
padding : 0 ;
margin : 1 . 5rem 5rem ;
position : relative ;
padding-left : 2em ;
overflow : hidden ;
font-weight : 300 ;
font-size : 1 . 35rem ;
2025-03-24 03:29:21 -06:00
}
. ck-content aside . admonition :: before {
2025-03-29 16:27:00 -06:00
color : var ( --accent-color ) ;
font-family : boxicons ! important ;
position : absolute ;
top : 0 ;
left : . 5em ;
2025-03-24 03:29:21 -06:00
}
2025-03-23 22:23:16 -06:00
2025-03-23 22:12:17 -06:00
/***footnotes***/
2025-03-25 06:00:58 -06:00
/*inline*/
span . footnote-reference > sup > a {
2025-03-29 16:27:00 -06:00
font-weight : 100 ;
font-size : . 9em ;
2025-03-25 06:00:58 -06:00
}
/*block*/
2025-03-23 22:12:17 -06:00
div . footnote-section . ck-widget {
2025-03-29 16:27:00 -06:00
border : none ;
border-top : 1px solid var ( --devils-gray-lol ) ;
border-radius : 0 ;
counter-reset : footnote-counter ;
margin : 2 . 5rem 0 ;
padding : 10px 0 ;
opacity : 0 . 9 ;
font-size : 1 . 2rem ;
2025-03-25 06:00:58 -06:00
}
. ck-content span . footnote-back-link {
2025-03-29 16:27:00 -06:00
margin-right : 0 ;
position : relative ;
top : 0 ;
2025-03-25 06:00:58 -06:00
}
. ck-content li . footnote-item : before {
2025-03-29 16:27:00 -06:00
content : counter ( footnote-counter ) ". " ;
display : inline-block ;
min-width : 25px ;
position : relative ;
right : 0 . 2em ;
text-align : right ;
overflow : hidden ;
margin-left : -5px ;
2024-09-20 09:44:54 -06:00
}
2024-08-22 19:08:50 -06:00
2025-03-25 21:10:47 -06:00
/*****LINKS*****/
2025-03-31 20:02:58 -06:00
body a * , a . ck-widget span {
2025-04-07 11:47:25 -06:00
color : var ( --link-color ) ;
2025-03-30 01:27:31 -06:00
}
. ck-content a : hover {
2025-04-07 11:47:25 -06:00
text-decoration-style : double ! important ;
2025-03-25 21:10:47 -06:00
}
2025-03-31 20:02:58 -06:00
. ck-content a [ href ^ = "#root" ] : not ( . ck-widget ) {
2025-04-07 11:47:25 -06:00
text-decoration : underline dotted ;
2025-03-29 16:27:00 -06:00
}
2025-03-30 01:27:31 -06:00
. ck-content a : not ( [ href ^ = "#" ] , [ href ^ = "https://" ] , [ href ^ = "http://" ] ) {
2025-04-07 11:47:25 -06:00
color : var ( --cherry-red ) ;
text-decoration : underline wavy 1px ;
2025-03-26 00:16:48 -06:00
}
2025-03-25 21:10:47 -06:00
2024-08-22 19:08:50 -06:00
/*****ICONS*****/
/*main note icon*/
. note-icon :: before {
2025-03-29 16:27:00 -06:00
color : var ( --devils-gray-lol ) ;
2024-08-22 19:08:50 -06:00
}
. note-icon : hover :: before {
2025-03-29 16:27:00 -06:00
color : var ( --sand ) ;
border-color : var ( --sand ) ! important ; /*not working*/
2024-08-22 19:08:50 -06:00
}
. note-icon : focus :: before , . bx-calendar : focus :: before {
2025-03-29 16:27:00 -06:00
color : var ( --sand ) ;
2024-08-22 19:08:50 -06:00
}
. icon-list {
2025-03-29 16:27:00 -06:00
color : var ( --soft-sea-green ) ;
2024-08-22 19:08:50 -06:00
}
/***note properties menu***/
. ribbon-tab-title-icon {
2025-03-29 16:27:00 -06:00
color : var ( --devils-gray-lol ) ;
2024-08-22 19:08:50 -06:00
}
. ribbon-tab-title-icon : hover {
2025-03-29 16:27:00 -06:00
color : var ( --sand ) ;
2024-08-22 19:08:50 -06:00
}
2024-09-18 13:25:06 -06:00
/***launcher, floating tree, icon action and title bar buttons***/
2024-10-10 20:38:59 -06:00
div . title-bar-buttons . component button , button . icon-action , . icon-action {
2025-03-29 16:27:00 -06:00
color : var ( --sand ) ! important ;
2024-08-22 19:08:50 -06:00
}
2024-10-10 20:38:59 -06:00
# launcher-pane . launcher-button : hover , button . tree-floating-button : hover , . title-bar-buttons div : hover button , button . icon-action : hover , . icon-action : hover {
2025-03-29 16:27:00 -06:00
color : var ( --tan ) ! important ;
border : none ! important ;
2024-08-22 19:08:50 -06:00
}
2025-04-06 12:11:33 -06:00
# launcher-pane button . launcher-button {
2025-04-07 11:47:25 -06:00
padding : 0 ;
2025-04-06 12:11:33 -06:00
}
2024-08-22 19:08:50 -06:00
2024-09-18 14:28:42 -06:00
/***Calendar***/
div . dropdown-menu . dropdown-menu-right > div . calendar-dropdown-widget > div . calendar-body > a . calendar-date : hover , . calendar-dropdown-widget . calendar-btn : hover {
2025-03-29 16:27:00 -06:00
color : var ( --tan ) ! important ;
background : var ( --soft-gray ) ;
2024-09-18 14:28:42 -06:00
}
a . calendar-date . calendar-date-exists {
2025-03-29 16:27:00 -06:00
color : var ( --sand ) ;
2024-09-18 14:28:42 -06:00
}
a . calendar-date . calendar-date-today {
2025-03-29 16:27:00 -06:00
background : var ( --table-header-gray ) ;
2024-09-18 14:28:42 -06:00
}
2024-08-22 19:08:50 -06:00
/***tree***/
/*note icon*/
. fancytree-custom-icon {
2025-03-29 16:27:00 -06:00
color : var ( --sand ) ;
2024-08-22 19:08:50 -06:00
}
2024-09-09 15:06:29 -06:00
span . fancytree-active > . fancytree-custom-icon {
2025-03-29 16:27:00 -06:00
color : var ( --soft-gray ) ;
2024-09-09 15:06:29 -06:00
}
2024-08-22 19:08:50 -06:00
. note-icon-widget button . note-icon {
2025-03-29 16:27:00 -06:00
border : none ! important ;
2024-08-22 19:08:50 -06:00
}
span . fancytree-node . protected > span . fancytree-custom-icon {
2025-03-29 16:27:00 -06:00
filter : drop-shadow ( 2px 2px 2px var ( --soft-sea-green ) ) ;
2024-08-22 19:08:50 -06:00
}
/*drop down icon*/
. fancytree-expander :: before {
2025-03-29 16:27:00 -06:00
color : var ( --devils-gray-lol ) ;
2024-08-22 19:08:50 -06:00
}
2024-08-27 18:57:56 -06:00
/*tree action buttons*/
button . tree-floating-button {
2025-03-29 16:27:00 -06:00
font-size : 1 . 5rem ! important ;
2024-08-27 18:57:56 -06:00
}
2024-08-22 19:08:50 -06:00
/***Trilium icon***/
body . global-menu-button {
2025-03-29 16:27:00 -06:00
background-image : url ( "/assets/vX/images/icon-grey.png" ) ;
2024-08-22 19:08:50 -06:00
}
/*****INPUT FIELDS*****/
/***password and options menu fields***/
. form-control {
2025-03-29 16:27:00 -06:00
color : var ( --text-gray ) ! important ;
2024-08-22 19:08:50 -06:00
}
. form-control : focus {
2025-03-29 16:27:00 -06:00
color : var ( --sand ) ! important ;
background-color : var ( --soft-gray ) ;
border-color : var ( --text-gray ) ! important ;
outline : 0 ;
box-shadow : 0 0 0 0 . 2rem rgb ( 252 251 179 / 50 % ) ! important ;
2024-08-22 19:08:50 -06:00
}
2024-08-27 18:31:49 -06:00
. component . title-row {
2025-03-29 16:27:00 -06:00
margin-top : 10px ;
margin-bottom : 10px ;
2024-08-27 18:31:49 -06:00
}
2024-08-22 19:08:50 -06:00
. note-title-widget input . note-title {
2025-03-29 16:27:00 -06:00
font-family : var ( --header-font-family ) ;
2024-08-22 19:08:50 -06:00
}
. note-title : focus {
2025-03-29 16:27:00 -06:00
color : var ( --text-gray ) ! important ;
background-color : var ( --soft-gray ) ! important ;
border-color : var ( --text-gray ) ! important ;
outline : 0 ;
box-shadow : 0 0 0 0 . 2rem rgb ( 252 251 179 / 50 % ) ! important ;
2024-08-22 19:08:50 -06:00
}
/***selection and find/replace (button)***/
:: selection {
2025-03-29 16:27:00 -06:00
background : # 253749 ! important /*var(--code-select-gray)*/ ;
2024-08-22 19:08:50 -06:00
}
2024-08-28 18:47:50 -06:00
span . ck-find-result {
2025-03-29 16:27:00 -06:00
color : var ( --background-gray ) ! important ;
background : var ( --sand ) ;
2024-08-28 18:47:50 -06:00
}
span . ck-find-result_selected {
2025-03-29 16:27:00 -06:00
color : var ( --background-gray ) ! important ;
background : var ( --tan ) ;
2024-08-22 19:08:50 -06:00
}
2024-09-14 12:49:21 -06:00
/***Modal search active dropdown selection***/
2024-09-14 12:12:43 -06:00
. aa-dropdown-menu . aa-suggestion . aa-cursor b {
2025-03-29 16:27:00 -06:00
color : var ( --soft-gray ) ;
2024-09-14 12:12:43 -06:00
}
2024-10-11 17:51:18 -06:00
/***Empty note field***/
input . form-control . note-autocomplete . note-autocomplete-input . aa-input {
2025-03-29 16:27:00 -06:00
height : auto ;
2024-10-11 17:51:18 -06:00
}
2024-08-22 19:08:50 -06:00
/*****BUTTONS*****/
2025-04-05 03:07:33 -06:00
/***modal buttons***/
button . help-button {
color : var ( --sand ) ;
2025-04-05 03:59:54 -06:00
font-size : 1 . 7rem ;
2025-04-05 03:07:33 -06:00
}
button . help-button : hover {
color : var ( --tan ) ;
}
button . btn-close {
filter : invert ( 1 )
}
/***edit button***/
2024-09-19 13:08:33 -06:00
. bx-edit-alt {
2025-03-29 16:27:00 -06:00
height : 40px ;
2024-09-19 13:08:33 -06:00
}
2024-08-22 19:08:50 -06:00
/***primary and secondary buttons***/
button : focus : not ( . close ) : not ( . help-button ) : not ( . ck-button-save ) : not ( . ck-button-cancel ) , . btn : focus {
2025-03-29 16:27:00 -06:00
color : var ( --text-gray ) ! important ;
background-color : var ( --devils-gray-lol ) ! important ;
border-color : var ( --text-gray ) ! important ;
outline : 0 ;
box-shadow : 0 0 0 0 . 2rem rgb ( 252 251 179 / 50 % ) ! important ;
2024-08-22 19:08:50 -06:00
}
button : hover : not ( . close ) : not ( . help-button ) : not ( . ck-button-save ) : not ( . ck-button-cancel ) , . btn : hover {
2025-03-29 16:27:00 -06:00
background-color : var ( --soft-gray ) ! important ;
color : var ( --sand ) ;
border-color : var ( --sand ) ;
2024-08-22 19:08:50 -06:00
}
/***table sub-menu***/
/*table field input label*/
. ck . ck-labeled-field-view > . ck . ck-labeled-field-view__input-wrapper > . ck . ck-label {
2025-03-29 16:27:00 -06:00
background : var ( --soft-gray ) ;
color : var ( --text-gray ) ;
2024-08-22 19:08:50 -06:00
}
/*table field and button inputs*/
. ck . ck-button : active , . ck . ck-button : focus , a . ck . ck-button : active , a . ck . ck-button : focus , . ck . ck-input-text : focus {
2025-03-29 16:27:00 -06:00
border : 1px solid var ( --text-gray ) ! important ;
box-shadow : 0 0 0 0 . 2rem rgb ( 252 251 179 / 50 % ) ! important ;
2024-08-22 19:08:50 -06:00
}
. ck . ck-input-text [ readonly ] : focus {
2025-03-29 16:27:00 -06:00
border : 1px solid var ( --ck-color-input-disabled-border ) ! important ;
background : var ( --ck-color-input-disabled-background ) ! important ;
color : var ( --ck-color-input-disabled-text ) ! important ;
2024-08-22 19:08:50 -06:00
}
/*color button*/
. ck . ck-input-color > . ck . ck-dropdown > . ck . ck-button . ck-input-color__button . ck-disabled , . ck . ck-input-color > . ck . ck-dropdown > . ck . ck-button . ck-input-color__button . ck-disabled > . ck . ck-input-color__button__preview , . ck . ck-input-color > . ck . ck-dropdown > . ck . ck-button . ck-input-color__button . ck-disabled > . ck . ck-input-color__button__preview > . ck . ck-input-color__button__preview__no-color-indicator {
2025-03-29 16:27:00 -06:00
border : 1px solid var ( --ck-color-input-disabled-border ) ! important ;
2024-08-22 19:08:50 -06:00
}
2024-08-29 13:50:32 -06:00
/*image caption field*/
. ck . ck-editor__nested-editable . ck-editor__nested-editable_focused , . ck . ck-editor__nested-editable : focus {
2025-03-29 16:27:00 -06:00
background-color : var ( --ck-color-widget-editable-focus-background ) ;
border : none /*var(--ck-focus-ring)*/ ;
box-shadow : var ( --ck-inner-shadow ) , 0 0 ;
outline : none ;
2024-08-29 13:50:32 -06:00
}
2024-09-18 12:32:53 -06:00
/*backend logs*/
textarea . backend-log-textarea {
2025-03-29 16:27:00 -06:00
color : var ( --soft-sea-green ) ! important ;
background : var ( --soft-gray ) ! important ;
2024-09-18 12:32:53 -06:00
}
2024-08-22 19:08:50 -06:00
2024-08-28 14:07:25 -06:00
2024-08-22 19:08:50 -06:00
/*****NOTE MAP*****/
. note-detail-relation-map path , . note-detail-relation-map . jtk-endpoint {
2025-03-29 16:27:00 -06:00
fill : var ( --soft-sea-green ) ! important ;
2024-08-22 19:08:50 -06:00
}
svg . jtk-connector path {
2025-03-29 16:27:00 -06:00
stroke : var ( --soft-sea-green ) ;
fill : none ! important ;
2024-08-22 19:08:50 -06:00
}
2024-09-17 19:08:35 -06:00
. note-detail-relation-map . note-box {
2025-03-29 16:27:00 -06:00
padding : 12px 30px 12px 12px ;
position : absolute ! important ;
background-color : var ( --tree-background-gray ) ;
color : var ( --main-text-color ) ;
z-index : 4 ;
border : 1px solid # 666 ;
box-shadow : 1px 1px 12px # 777 ;
border-radius : 8px ;
opacity : 0 . 9 ;
font-size : 15px ;
width : auto ;
height : auto ;
max-width : 230px ;
min-width : 150px ;
max-height : 200px ;
overflow : hidden ;
2024-09-17 19:08:35 -06:00
}
2024-08-22 19:08:50 -06:00
2024-08-28 14:07:25 -06:00
2024-10-06 17:05:45 -06:00
/*****FLOATING BUTTONS*****/
/***Backlinks Popup***/
2024-09-18 14:58:02 -06:00
. floating-buttons-children {
2025-03-29 16:27:00 -06:00
flex-direction : column-reverse ! important ;
2024-09-18 14:58:02 -06:00
}
. backlinks-ticker {
2025-03-29 16:27:00 -06:00
padding : 6px 3px ! important ;
writing-mode : vertical-lr ;
margin-bottom : 15px ;
2024-09-18 14:58:02 -06:00
}
2024-08-22 19:08:50 -06:00
div . backlinks-items {
2025-03-29 16:27:00 -06:00
z-index : 10 ;
position : absolute ;
top : 50px ;
right : 10px ;
width : 400px ;
border-radius : 10px ;
background-color : var ( --soft-gray ) ;
color : var ( --text-gray ) ;
padding : 20px ;
overflow-y : auto ;
box-shadow : 2px 2px 5px var ( --text-gray ) ;
2024-08-22 19:08:50 -06:00
}
div . backlinks-items div : hover {
2025-03-29 16:27:00 -06:00
background-color : var ( --code-select-gray ) ;
2024-08-22 19:08:50 -06:00
}
. backlink-excerpt . backlink-link {
2025-03-29 16:27:00 -06:00
background-color : var ( --table-header-gray ) ! important ;
2024-08-22 19:08:50 -06:00
}
. backlinks-ticker : hover {
2025-03-29 16:27:00 -06:00
background-color : var ( --code-select-gray ) ;
2024-08-22 19:08:50 -06:00
}
2025-01-12 18:39:35 -07:00
/***Relation Map and CanvasButtons***/
2024-10-06 17:05:45 -06:00
. relation-map-buttons {
2025-03-29 16:27:00 -06:00
display : flex ;
gap : 10px ;
flex-direction : column ;
2024-10-06 17:05:45 -06:00
}
. relation-map-buttons > . btn-group {
2025-03-29 16:27:00 -06:00
position : relative ;
display : -ms-inline-flexbox ;
display : inline-flex ;
flex-direction : column ;
vertical-align : middle ;
2024-10-06 17:05:45 -06:00
}
. relation-map-buttons > button , . relation-map-buttons > . btn-group button {
2025-03-29 16:27:00 -06:00
border : none ! important ;
2024-10-06 17:05:45 -06:00
}
2025-01-12 18:39:35 -07:00
. relation-map-buttons > . btn-group > . btn-group : not ( : first-child ) , . relation-map-buttons > . btn-group > . btn : not ( : first-child ) , . relation-map-buttons > . btn-group > . btn-group : not ( : last-child ) > . btn , . relation-map-buttons > . btn-group > . btn : not ( : last-child ) : not ( . dropdown-toggle ) , button . copy-image-reference-button , button . export-mermaid-button {
2025-03-29 16:27:00 -06:00
margin : 5px 0 5px 1px ! important ;
border-radius : var ( --button-border-radius ) ;
2024-10-06 17:05:45 -06:00
}
2025-04-07 15:37:03 -06:00
. relation-map-buttons > button : hover , . relation-map-buttons > . btn-group button : hover , button . copy-image-reference-button : hover , button . export-mermaid-button : hover , . floating-buttons-children > button : hover , . floating-buttons-children . floating-button : hover , div . content-floating-buttons button . bx : hover , button . close-floating-buttons-button : hover {
2025-03-29 16:27:00 -06:00
border : none ;
background : transparent ! important ;
color : var ( --tan ) ;
2024-10-06 17:05:45 -06:00
}
2024-10-11 16:17:59 -06:00
/***Close Button***/
2024-10-11 15:42:13 -06:00
. close-floating-buttons-button {
2025-03-29 16:27:00 -06:00
border : none ! important ;
color : var ( --button-text-color ) ;
padding : 6px ;
border-radius : 100px ;
margin : 5px ;
2024-10-11 15:42:13 -06:00
}
2024-10-06 17:05:45 -06:00
2025-04-07 11:47:25 -06:00
. button-widget . bx . component . bx-pencil . visible , . button-widget . bx . component . visible . bx-lock-alt {
padding : 5px 9px 30px ;
}
div . content-floating-buttons . bottom-right {
2025-04-07 10:53:19 -06:00
bottom : 5px ;
right : 10px ;
}
2025-04-07 11:55:00 -06:00
div . content-floating-buttons button . bx {
2025-04-07 10:53:19 -06:00
font-size : 130 % ;
padding : 4px ;
width : 38px ;
height : 34px ;
2025-04-07 12:23:18 -06:00
border : none ;
2025-04-07 10:53:19 -06:00
}
2024-08-28 14:07:25 -06:00
2024-10-05 20:43:50 -06:00
/*****ATTRIBUTES POPUP*****/
2024-08-22 19:08:50 -06:00
. attr-help td {
2025-03-29 16:27:00 -06:00
color : var ( --text-gray ) ! important ;
2024-08-22 19:08:50 -06:00
}
2025-04-05 21:28:24 -06:00
. ck . ck-balloon-panel . ck-balloon-panel_visible {
display : block ;
z-index : 100000 ;
}
2024-08-22 19:08:50 -06:00
2024-08-28 14:07:25 -06:00
2024-10-05 20:43:50 -06:00
/*****DELETION ALERT*****/
2024-09-20 13:36:11 -06:00
. alert-danger {
2025-03-29 16:27:00 -06:00
color : # f5c6cb ;
background-color : # 930210 ;
border-color : # f5c6cb ;
2024-09-20 13:36:11 -06:00
}
2024-08-22 19:08:50 -06:00
/*****CODE IN TEXT NOTES)*****/
/***code blocks***/
2026-01-17 15:19:09 -07:00
. ck-content pre , . ck-content pre . hljs {
2025-03-29 16:27:00 -06:00
background : var ( --soft-gray ) ;
font-size : 0 . 95rem ;
border-color : var ( --soft-sea-green ) ;
2024-08-22 19:08:50 -06:00
}
. ck-content pre code {
2025-03-29 16:27:00 -06:00
font-size : 0 . 95rem ;
background : transparent ! important ;
color : var ( --soft-sea-green ) ! important ;
2024-08-22 19:08:50 -06:00
}
/*code block label*/
pre :: after {
2025-03-29 16:27:00 -06:00
background : var ( --code-select-gray ) ! important ;
color : var ( --sand ) ! important ;
border-color : var ( --sand ) ! important ;
letter-spacing : 1px ;
2024-08-22 19:08:50 -06:00
}
2025-03-24 12:03:26 -06:00
/***inline code and kbd***/
2024-08-22 19:08:50 -06:00
. ck-content code , . ck-content code i , . ck-content code strong {
2025-03-29 16:27:00 -06:00
font-size : . 95rem ;
background : var ( --soft-gray ) ;
color : var ( --soft-sea-green ) ! important ;
letter-spacing : 1px ;
padding : . 1rem . 3rem ;
border-radius : . 25rem ;
2024-08-22 19:08:50 -06:00
}
. ck-content . ck-code_selected {
2025-03-29 16:27:00 -06:00
background-color : var ( --code-select-gray ) ! important ;
letter-spacing : 1px ;
2024-08-22 19:08:50 -06:00
}
2025-03-24 12:03:26 -06:00
. ck-content kbd , . ck-content kbd i , . ck-content kbd strong {
2025-03-29 16:27:00 -06:00
font-size : . 95rem ;
letter-spacing : 1px ;
padding : . 1rem . 3rem ;
border-radius : . 25rem ;
background-color : var ( --table-header-gray ) ;
color : var ( --sand ) ;
2025-03-24 12:03:26 -06:00
}
2024-08-22 19:08:50 -06:00
/*****CKEDITOR*****/
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
NOTE : The following lines of code affect the editor menus . Similar to the General Styles section , the variables below are simply redefined here .
I 've commented out the lines that don' t seem to have an affect on anything , along with adding a question mark ( ? ) in a comment to differentiate those lines from the rest of the code . They are left here in case anyone wants to experiment and figure out where those lines have an effect . If you find anything , please let me know so I can update the code ^ _ ^
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
body {
2025-03-29 16:27:00 -06:00
/***overrides generic colors***/
--ck-color-base-text : var ( --tan ) ; /*toggled color (editor sub-menu)*/
--ck-color-base-foreground : var ( --table-header-gray ) ; /*tiny attached triangle and selection hover*/
--ck-color-focus-border : var ( --sand ) ; /*table and color (editor menu) focus*/
--ck-color-text : var ( --soft-sea-green ) ; /*text color*/
/* --ck-color-shadow-drop: red; /*?*/
/* --ck-color-shadow-inner: red; /*?*/
/***overrides the default '.ck-button' class colors***/
/*general buttons*/
--ck-color-button-default-background : transparent ;
--ck-color-button-default-hover-background : var ( --table-header-gray ) ;
--ck-color-button-default-active-background : var ( --devils-gray-lol ) ;
--ck-color-button-default-active-shadow : var ( --devils-gray-lol ) ; /*thin line on top of active buttons*/
--ck-color-button-default-disabled-background : var ( --background-gray ) ; /*disabled buttons*/
--ck-color-button-on-color : var ( --tan ) ; /*selected property/button*/
/*dropdown buttons*/
--ck-color-button-on-background : var ( --code-select-gray ) ; /*active*/
--ck-color-button-on-hover-background : var ( --table-header-gray ) ; /*hover*/
--ck-color-button-on-active-background : var ( --devils-gray-lol ) ; /*exit click on active*/
--ck-color-button-on-active-shadow : transparent ; /*top line on exit click of active*/
/*--ck-color-button-on-disabled-background: red; /*?*/
/*find button (editor sub-menu)*/
--ck-color-button-action-background : var ( --tan ) ! important ;
--ck-color-button-action-hover-background : var ( --devils-gray-lol ) ! important ;
--ck-color-button-action-active-background : var ( --tan ) ! important ; /*find button active and field descritpion*/
--ck-color-button-action-active-shadow : transparent ! important ; /*top line*/
/*--ck-color-button-action-disabled-background: red; /*?*/
--ck-color-button-action-text : var ( --soft-gray ) ! important ; /*find button(editor sub-menu)*/
/*save and cancel*/
--ck-color-button-save : var ( --soft-sea-green ) /*hsl(120, 100%, 46%)*/ ; /*table sub-menu*/
--ck-color-button-cancel : hsl ( 15 , 100 % , 56 % ) ; /*table sub-menu*/
/***overrides the default '.ck-dropdown' class colors (color sub-menus)***/
--ck-color-dropdown-panel-background : var ( --soft-gray ) ;
--ck-color-dropdown-panel-border : var ( --devils-gray-lol ) ;
/***overrides the default '.ck-splitbutton' class colors***/
--ck-color-split-button-hover-background : var ( --devils-gray-lol ) ;
--ck-color-split-button-hover-border : var ( --soft-sea-green ) ;
/***overrides the default '.ck-input' class colors***/
/*--ck-color-input-background: red; /*?*/
--ck-color-input-border : var ( --text-gray ) ; /*inactive (enabled AND disabled) editable field(editor sub-menus)*/
/*--ck-color-input-text: red; /*?*/
--ck-color-input-disabled-background : var ( --soft-gray ) ; /*disabled color picker(table sub-menu)*/
--ck-color-input-disabled-border : var ( --background-gray ) ; /*disabled editor border (table sub-menu)*/
--ck-color-input-disabled-text : var ( --text-gray ) ; /*editor input text (enable AND disabled)*/
/***overrides the default '.ck-list' (list menus) class colors***/
--ck-color-list-background : transparent ; /*focus out*/
--ck-color-list-button-hover-background : var ( --table-header-gray ) ;
--ck-color-list-button-on-background : var ( --sand ) ; /*toggled active*/
--ck-color-list-button-on-background-focus : var ( --devils-gray-lol ) ; /*hover on toggled/active*/
--ck-color-list-button-on-text : var ( --soft-gray ) ; /*toggled/active*/
/***overrides the default .ck-balloon-panel class colors (overall look and feel of the editor toolbars and sub-menus)***/
--ck-color-panel-background : var ( --soft-gray ) ;
--ck-color-panel-border : var ( --devils-gray-lol ) ;
/***overrides the default .ck-toolbar class colors***/
--ck-color-toolbar-background : var ( --soft-gray ) ; /*lots of overlap with the above backgound setting*/
--ck-color-toolbar-border : var ( --sand ) ; /*section separators*/
/***overrides the default .ck-tooltip class colors***/
--ck-color-tooltip-background : var ( --sand ) ;
--ck-color-tooltip-text : var ( --background-gray ) ;
/* Overrides the default colors used by the ckeditor5-image package.*/
/*--ck-color-image-caption-background: red; /*?*/
/*--ck-color-image-caption-text: red; /*?*/
/***overrides the default colors used by the ckeditor5-widget (image/table) package***/
--ck-color-widget-blurred-border : var ( --devils-gray-lol ) ; /*shows up briefly after switching tabs*/
--ck-color-widget-hover-border : var ( --sand ) ; /*object in focus*/
--ck-color-widget-editable-focus-background : var ( --table-header-gray ) ; /*table caption in focus*/
/***overrides the default colors used by the ckeditor5-link package***/
/*--ck-color-link-default: red; /*this is overridden by a link setting set earlier in the code*/
--ck-color-table-focused-cell-background : var ( --table-header-gray ) ;
/*--ck-color-todo-list-checkmark-border: red; /*?*/
--ck-color-engine-placeholder-text : var ( --text-gray ) ; /*caption placeholder text*/
--ck-z-modal : 10000 ;
/*--ck-color-widget-type-around-button: red; /*?*/
--ck-color-widget-type-around-button-hover : var ( --tan ) ; /*applies when table/image is in focus*/
2024-08-22 19:08:50 -06:00
}
2024-10-06 17:05:45 -06:00
/*****ADDONS*****/
/***Highlight.js***/
2024-09-09 18:51:32 -06:00
pre code . hljs {
2025-03-29 16:27:00 -06:00
display : block ;
overflow-x : auto ;
padding : 1em ;
2024-09-09 18:51:32 -06:00
}
code . hljs {
2025-03-29 16:27:00 -06:00
padding : 3px 5px ;
2024-09-09 18:51:32 -06:00
}
. hljs {
2025-04-07 11:47:25 -06:00
background : var ( --main-background ) ;
color : var ( --soft-sea-green ) ! important ;
2024-09-09 22:55:16 -06:00
}
. hljs-number {
2025-03-29 16:27:00 -06:00
color : var ( --code-number ) ! important ;
2024-09-09 22:55:16 -06:00
}
. hljs-selector-class {
2025-03-29 16:27:00 -06:00
color : var ( --code-class ) ! important ;
2024-09-09 22:55:16 -06:00
}
. hljs-selector-pseudo {
2025-03-29 16:27:00 -06:00
color : var ( --code-pseudo ) ! important ;
2024-09-09 22:55:16 -06:00
}
. hljs-keyword {
2025-03-29 16:27:00 -06:00
color : var ( --code-keyword ) ! important ;
2024-09-09 22:55:16 -06:00
}
. hljs-meta {
2025-03-29 16:27:00 -06:00
color : var ( --code-meta ) ! important ;
2024-09-09 18:51:32 -06:00
}
2024-09-09 22:55:16 -06:00
. hljs-title , . hljs-property {
2025-03-29 16:27:00 -06:00
color : var ( --code-def ) ! important ;
2024-09-09 22:55:16 -06:00
}
. hljs-variable , . hljs-params , . hljs-subst {
2025-03-29 16:27:00 -06:00
color : var ( --code-var ) ! important ;
2024-09-09 22:55:16 -06:00
}
. hljs-comment , . hljs-quote {
2025-03-29 16:27:00 -06:00
color : var ( --code-comment ) ! important ;
2024-09-09 18:51:32 -06:00
}
2025-02-05 10:49:18 -07:00
. hljs-name , . hljs-name > . hljs-tag , . hljs-selector-tag , . hljs-tag , . hljs-deletion , . hljs-selector-attr {
2025-03-29 16:27:00 -06:00
color : var ( --code-tag ) ! important ;
2024-09-09 18:51:32 -06:00
}
2024-09-09 22:55:16 -06:00
. hljs-attribute {
2025-03-29 16:27:00 -06:00
color : var ( --code-attribute ) ! important ;
2024-09-09 22:55:16 -06:00
}
2025-02-05 10:49:18 -07:00
. hljs-addition , . hljs-literal , . hljs-section , . hljs-string . hljs-string > . hljs-tag , . hljs-template-tag , . hljs-template-variable , . hljs-type , . hljs-regexp {
2025-03-29 16:27:00 -06:00
color : var ( --code-string ) ! important ;
2024-09-09 18:51:32 -06:00
}
2024-09-09 22:55:16 -06:00
. hljs-built_in {
2025-03-29 16:27:00 -06:00
color : var ( --code-builtin ) ! important ;
2024-09-09 18:51:32 -06:00
}
2025-02-05 10:49:18 -07:00
. hljs-doctag , . hljs-attr , . hljs-attr > . hljs-tag , . hljs-bullet , . hljs-link , . hljs-symbol {
2025-03-29 16:27:00 -06:00
color : var ( --soft-sea-green ) ! important ;
2024-09-09 18:51:32 -06:00
}
. hljs-emphasis {
2025-03-29 16:27:00 -06:00
font-style : italic ;
2024-09-09 18:51:32 -06:00
}
. hljs-strong {
2025-03-29 16:27:00 -06:00
font-weight : 700 ;
2024-09-09 18:51:32 -06:00
}
2024-10-05 20:43:50 -06:00
2024-10-06 17:05:45 -06:00
/***Zen Mode***/
2025-03-29 14:09:31 -06:00
. zen div . title-bar-buttons {
margin-left : 50px ;
2024-10-05 20:43:50 -06:00
}
2024-10-05 23:16:59 -06:00
/*hide none-essential title-bar buttons*/
2025-03-29 14:09:31 -06:00
. zen . title-bar-buttons > : not ( . top-btn , . minimize-btn , . maximize-btn , . close-btn ) {
display : none ;
2024-10-05 20:43:50 -06:00
}
2024-10-10 18:19:51 -06:00
/*hide nonessential center pane widgets*/
2025-03-29 14:09:31 -06:00
. zen # center-pane > : not ( . split-note-container-widget ) {
display : none ! important ;
}
/*show right pane*/
body . zen div . gutter {
display : block ! important ;
2025-01-12 18:39:35 -07:00
}
2025-03-29 14:09:31 -06:00
body . zen div # right-pane : not ( . hidden-int ) {
display : flex ! important ;
2024-10-10 18:19:51 -06:00
}
2024-10-06 17:05:45 -06:00
/***Theme Switcher***/
. theme-selection . component . switch {
2025-03-29 16:27:00 -06:00
top : 5 . 75px ! important ;
2024-10-06 17:05:45 -06:00
}
2024-10-10 19:37:27 -06:00
. theme-selection . component {
2025-03-29 16:27:00 -06:00
--background-hover-dark : var ( --tan ) ! important ;
--icon-dark : var ( --sand ) ! important ;
2024-10-10 19:37:27 -06:00
}
. theme-selection . component : hover {
2025-03-29 16:27:00 -06:00
--icon-dark : var ( --soft-gray ) ! important ;
2024-10-10 19:37:27 -06:00
}
2024-10-10 20:14:31 -06:00
/***Trilium Chat***/
. chat-wrapper {
2025-03-29 16:27:00 -06:00
--trilium-green : var ( --soft-sea-green ) ;
2024-10-10 20:14:31 -06:00
}
2024-10-10 21:01:02 -06:00
. chat-wrapper . header_face : hover {
2025-03-29 16:27:00 -06:00
color : var ( --sand ) ! important ;
2024-10-10 21:01:02 -06:00
}