2024-08-22 19:08:50 -06:00
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2024-08-26 21:37:07 -06:00
Ant Earth 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*****/
2024-08-27 21:08:40 -06:00
@ font-face {
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-300-Light.woff2' ) format ( "woff2" ) ;
font-weight : 300 ;
font-style : normal ;
}
@ font-face {
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-300-LightItalic.woff2' ) format ( "woff2" ) ;
font-weight : 300 ;
font-style : oblique ;
}
2024-08-26 13:02:17 -06:00
@ font-face {
font-family : "JetBrainsMono" ;
src : url ( '/custom/themes/EFAD/JetBrainsMono-Regular.woff2' ) format ( "woff2" ) ;
font-weight : 400 ;
font-style : normal ;
}
@ font-face {
font-family : "JetBrainsMono" ;
src : url ( '/custom/themes/EFAD/JetBrainsMono-Italic.woff2' ) format ( "woff2" ) ;
font-weight : 400 ;
font-style : oblique ;
}
@ font-face {
font-family : "JetBrainsMono" ;
src : url ( '/custom/themes/EFAD/JetBrainsMono-Bold.woff2' ) format ( "woff2" ) ;
font-weight : 700 ;
font-style : normal ;
}
@ font-face {
font-family : "JetBrainsMono" ;
src : url ( '/custom/themes/EFAD/JetBrainsMono-BoldItalic.woff2' ) format ( "woff2" ) ;
font-weight : 700 ;
font-style : oblique ;
}
@ font-face {
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-400-Book.woff2' ) format ( "woff2" ) ;
font-weight : 400 ;
font-style : normal ;
}
@ font-face {
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-400-BookItalic.woff2' ) format ( "woff2" ) ;
font-weight : 400 ;
font-style : oblique ;
}
2024-08-27 21:08:40 -06:00
@ font-face {
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-600-Semi.woff2' ) format ( "woff2" ) ;
font-weight : 600 ;
font-style : normal ;
}
@ font-face {
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-600-SemiItalic.woff2' ) format ( "woff2" ) ;
font-weight : 600 ;
font-style : oblique ;
}
2024-08-26 13:02:17 -06:00
@ font-face {
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-700-Bold.woff2' ) format ( "woff2" ) ;
font-weight : 700 ;
font-style : normal ;
}
@ font-face {
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-700-BoldItalic.woff2' ) format ( "woff2" ) ;
font-weight : 700 ;
font-style : oblique ;
}
2024-08-27 21:08:40 -06:00
@ font-face {
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-800-Heavy.woff2' ) format ( "woff2" ) ;
font-weight : 800 ;
font-style : normal ;
}
@ font-face {
font-family : "Jost" ;
src : url ( '/custom/themes/EFAD/Jost-800-HeavyItalic.woff2' ) format ( "woff2" ) ;
font-weight : 800 ;
font-style : oblique ;
}
2024-08-26 13:02:17 -06:00
2024-08-22 19:08:50 -06:00
/*****ROOT (COLOR AND FONT KEY)*****/
: root {
/***main body (including CKEditor), modal(options menu), and some code colors (see last section for more code colors)*/
2024-08-27 01:19:23 -06:00
--text-gray : # DEDEDE ;
2024-08-22 19:08:50 -06:00
--devils-gray-lol : # 666 ;
--background-gray : # 192124 ;
2024-08-22 19:11:46 -06:00
--soft-gray : # 282c34 ;
2024-08-26 16:45:47 -06:00
--sand : # D3C6AA ;
2024-08-26 17:41:30 -06:00
--tan : # F4D289 ;
2024-08-26 22:29:50 -06:00
--cool-gray : # 5D7576 ;
2024-08-22 19:08:50 -06:00
--light-turquoise : # 6df9f7 ;
2024-08-26 17:41:30 -06:00
--soft-sea-green : # 99ccb1 ;
2024-08-26 13:02:17 -06:00
--header-font-family : Jost , sans-serif ;
2024-08-26 23:40:08 -06:00
--code-select-gray : # 253749 ;
2024-08-22 21:34:46 -06:00
--table-header-gray : # 30363B ;
--tree-background-gray : # 232A2E ;
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 {
--theme-style : dark ;
/***fonts***/
/*general fonts*/
2024-08-26 13:02:17 -06:00
--main-font-family : Jost , sans-serif ;
2024-08-22 19:08:50 -06:00
--main-font-size : 1 . 2rem ;
2024-08-26 13:02:17 -06:00
--tree-font-family : Jost , sans-serif ;
2024-08-22 19:08:50 -06:00
--tree-font-size : 1 . 3rem ;
2024-08-26 13:02:17 -06:00
--detail-font-family : Jost , sans-serif ;
2024-08-22 19:08:50 -06:00
--detail-font-size : 1 . 3rem ;
/*code fonts*/
2024-08-26 13:02:17 -06:00
--monospace-font-family : JetBrainsMono , monospace ;
2024-08-22 19:08:50 -06:00
--monospace-font-size : 1 . 2rem ;
/***colors***/
/*main notes window*/
--main-background-color : var ( --background-gray ) ;
--main-text-color : var ( --text-gray ) ;
--main-border-color : var ( --devils-gray-lol ) ;
/*changes the window icons(x, [], -) and some text fields*/
2024-08-22 19:11:46 -06:00
--accented-background-color : var ( --soft-gray ) ;
2024-08-22 19:08:50 -06:00
/*changes the edit icons on text notes and the alert messages*/
2024-08-28 09:09:13 -06:00
--more-accented-background-color : var ( --table-header-gray ) ;
2024-08-22 19:08:50 -06:00
/*left, bottom left, and lower upper right icons*/
--button-background-color : transparent ;
2024-08-28 09:09:13 -06:00
--button-disabled-background-color : var ( --table-header-gray ) ;
2024-08-22 19:08:50 -06:00
--button-border-color : var ( --text-gray ) ;
--button-text-color : var ( --text-gray ) ;
--button-border-radius : 5px ;
/*changes button in label detail*/
2024-08-28 09:09:13 -06:00
--primary-button-background-color : var ( --table-header-gray ) ;
2024-08-22 19:08:50 -06:00
--primary-button-text-color : var ( --text-gray ) ;
--primary-button-border-color : var ( --text-gray ) ;
/* "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 ) ;
/*notes title and text fields in options menu and find (ctrl+f) search*/
2024-08-26 16:45:47 -06:00
--input-text-color : var ( --sand ) ;
2024-08-22 19:08:50 -06:00
/*affects find (ctrl+f) search input when inactive*/
2024-08-26 16:45:47 -06:00
--input-background-color : var ( --sand ) ;
2024-08-22 19:08:50 -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*/
2024-08-22 19:11:46 -06:00
--hover-item-background-color : var ( --soft-gray ) ;
2024-08-22 19:08:50 -06:00
/*tree*/
2024-08-22 19:11:46 -06:00
--active-item-text-color : var ( --soft-gray ) ;
2024-08-26 16:45:47 -06:00
--active-item-background-color : var ( --sand ) ;
2024-08-22 21:34:46 -06:00
--left-pane-background-color : var ( --tree-background-gray ) ;
2024-08-22 19:08:50 -06:00
--left-pane-text-color : var ( --text-gray ) ;
/*right+click menus*/
--menu-text-color : var ( --text-gray ) ;
--menu-background-color : var ( --background-gray ) ;
/*the options menu*/
--modal-background-color : var ( --background-gray ) ;
--modal-backdrop-color : var ( --text-gray ) ;
/*left and bottom left menus*/
--launcher-pane-background-color : var ( --background-gray ) ;
2024-08-26 16:45:47 -06:00
--launcher-pane-text-color : var ( --sand ) ;
2024-08-22 19:08:50 -06:00
/*tabs*/
2024-08-26 16:45:47 -06:00
--active-tab-background-color : var ( --sand ) ;
2024-08-22 19:08:50 -06:00
--active-tab-text-color : var ( --background-gray ) ;
2024-08-26 14:55:29 -06:00
--inactive-tab-background-color : var ( --table-header-gray ) ;
2024-08-22 19:08:50 -06:00
--inactive-tab-text-color : var ( --text-gray ) ;
--active-tab-hover-background-color : var ( --text-gray ) ;
2024-08-26 14:55:29 -06:00
--inactive-tab-hover-background-color : var ( --soft-gray ) ;
2024-08-22 19:08:50 -06:00
/*general*/
2024-08-26 16:45:47 -06:00
--scrollbar-border-color : var ( --sand ) ;
2024-08-22 19:08:50 -06:00
--tooltip-background-color : var ( --background-gray ) ;
--link-color : var ( --light-turquoise ) ;
--mermaid-theme : default ;
}
/*****Image Caption*****/
. ck-content . image > figcaption {
2024-08-27 21:08:40 -06:00
font-size : 1rem ;
font-weight : 300 ;
font-style : oblique ;
2024-08-28 08:47:10 -06:00
color : var ( --sand ) ;
2024-08-22 19:08:50 -06:00
}
/*****Scrollbar*****/
:: -webkit-scrollbar-thumb {
background-color : transparent ! important ;
}
:: -webkit-scrollbar-thumb : hover {
2024-08-26 19:56:16 -06:00
border-color : var ( --tan ) ! important ;
2024-08-22 19:08:50 -06:00
}
/*****TABS*****/
. tab-row-widget . note-tab . note-tab-wrapper {
height : 46px ! important ;
font-size : var ( --detail-font-size ) ;
font-family : var ( --header-font-family ) ;
}
. tab-row-widget . note-tab . note-tab-title {
font-size : 1 . 5rem ;
}
. tab-row-widget . note-tab . note-tab-close {
font-size : 1 . 5rem ;
margin-bottom : 10px ;
}
/*fixes the issue of not being able to access widgets in the top bar*/
. tab-row-filler {
-webkit-app-region : none ! important ;
}
/*****TOC*****/
. toc-widget {
overflow : visible ! important ;
font-size : var ( --tree-font-size ) ;
}
2024-08-27 03:21:41 -06:00
. toc-widget . toc li {
text-align : left ;
}
2024-08-22 19:08:50 -06:00
/*****Included Notes*****/
. include-note {
margin-bottom : 1 . 1rem ! important ;
}
/*****HEADERS*****/
/*h1 is not defined, because it's not currently an option for headers in the main body*/
body h2 {
2024-08-27 19:51:31 -06:00
color : # C0902B ;
2024-08-27 21:08:40 -06:00
font-weight : 800 ;
2024-08-22 19:08:50 -06:00
font-family : var ( --header-font-family ) ;
font-size : 2rem ! important ;
}
body h2 code {
font-size : 1 . 9rem ! important ;
background : transparent ! important ;
}
body h3 {
2024-08-27 21:08:40 -06:00
color : # B29556 /*E2AA33*/ ;
2024-08-22 19:08:50 -06:00
font-weight : 700 ;
font-family : var ( --header-font-family ) ;
font-size : 1 . 9rem ! important ;
}
body h3 code {
font-size : 1 . 78rem ! important ;
background : transparent ! important ;
}
body h4 {
2024-08-27 21:08:40 -06:00
color : # E2B24D /*C0A05D*/ ;
2024-08-22 19:08:50 -06:00
font-weight : 600 ;
font-family : var ( --header-font-family ) ;
font-size : 1 . 78rem ! important ;
}
body h4 code {
font-size : 1 . 65rem ! important ;
background : transparent ! important ;
}
body h5 {
2024-08-27 19:51:31 -06:00
color : # E3BE6D /*E2BD6D*/ ;
2024-08-22 19:08:50 -06:00
font-weight : 600 ;
font-family : var ( --header-font-family ) ;
font-size : 1 . 65rem ! important ;
}
body h5 code {
font-size : 1 . 53rem ! important ;
background : transparent ! important ;
}
body h6 {
2024-08-26 18:28:48 -06:00
color : var ( --tan ) ;
2024-08-22 19:08:50 -06:00
font-weight : 600 ;
font-family : var ( --header-font-family ) ;
font-size : 1 . 53rem ! important ;
}
body h6 code {
font-size : 1 . 4rem ! important ;
background : transparent ! important ;
}
/*****TABLE*****/
. ck-content . table > figcaption {
background-color : var ( --table-header-gray ) ;
2024-08-26 17:41:30 -06:00
color : var ( --tan ) ;
2024-08-22 19:08:50 -06:00
font-size : 1 . 3rem ;
font-weight : 600 ;
font-family : var ( --header-font-family ) ;
}
. ck-content . table table , . ck-content . table table td , . ck-content . table table th {
border : none ;
}
. ck-content . table table th {
font-weight : 600 ! important ;
font-size : 1 . 15rem ;
2024-08-26 19:30:36 -06:00
color : var ( --sand )
2024-08-22 19:08:50 -06:00
}
2024-08-26 16:00:58 -06:00
tr : nth-child ( odd ) {
background-color : var ( --table-header-gray ) ;
}
. ck-content . table table th {
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 {
2024-08-22 19:08:50 -06:00
background-color : var ( --table-header-gray ) ! important ;
}
2024-08-26 16:00:58 -06:00
. ck-content . table table tbody tr : nth-child ( even ) th {
background-color : var ( --background-gray ) ! important ;
}
2024-08-22 19:08:50 -06:00
/*****TEXT DECORATION*****/
/*bold*/
body strong {
2024-08-26 16:45:47 -06:00
color : var ( --sand ) ;
2024-08-22 19:08:50 -06:00
font-weight : 800 ;
}
/***lists***/
body ul . todo-list li {
2024-08-26 18:24:25 -06:00
color : var ( --soft-sea-green ) ;
2024-08-22 19:08:50 -06:00
}
li label {
display : inline ;
line-height : 2rem ;
}
. ck-content . todo-list . todo-list__label > input [ checked ] : before {
2024-08-26 18:24:25 -06:00
background : var ( --soft-sea-green ) ;
border-color : var ( --soft-sea-green ) ;
2024-08-22 19:08:50 -06:00
color : var ( --background-gray ) ;
}
. ck-content . todo-list . todo-list__label > input : before {
2024-08-26 18:24:25 -06:00
border : 1px solid var ( --soft-sea-green ) ! important ;
2024-08-22 19:08:50 -06:00
}
/***italics and quotes***/
body i {
2024-08-28 08:47:10 -06:00
color : var ( --sand ) ;
2024-08-22 19:08:50 -06:00
}
2024-08-27 21:08:40 -06:00
2024-08-22 19:08:50 -06:00
. ck-content blockquote {
2024-08-28 08:47:10 -06:00
color : var ( --sand ) ;
2024-08-27 21:08:40 -06:00
font-weight : 300 ;
font-size : 1 . 5rem ;
2024-08-22 19:08:50 -06:00
overflow : hidden ;
padding-right : 1 . 5em ;
padding-left : . 5em ;
margin-left : 0 ;
margin-right : 0 ;
font-style : italic ;
2024-08-28 08:47:10 -06:00
border-left : 3px solid var ( --tan ) ;
2024-08-22 19:08:50 -06:00
}
. ck-content blockquote p {
margin-bottom : 0 ;
padding-bottom : . 3em ;
}
/*****ICONS*****/
/*main note icon*/
. note-icon :: before {
color : var ( --devils-gray-lol ) ;
}
. note-icon : hover :: before {
2024-08-26 16:45:47 -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 {
2024-08-26 16:45:47 -06:00
color : var ( --sand ) ;
2024-08-22 19:08:50 -06:00
}
. icon-list {
2024-08-26 17:41:30 -06:00
color : var ( --soft-sea-green ) ;
2024-08-22 19:08:50 -06:00
}
/***note properties menu***/
. ribbon-tab-title-icon {
color : var ( --devils-gray-lol ) ;
}
. ribbon-tab-title-icon : hover {
2024-08-26 16:45:47 -06:00
color : var ( --sand ) ;
2024-08-22 19:08:50 -06:00
}
/***left (side and bottom) and upper right menus***/
. icon-action , . tree-floating-button , . top-btn button , . minimize-btn button , . maximize-btn button , . close-btn button {
2024-08-26 16:45:47 -06:00
color : var ( --sand ) ! important ;
2024-08-22 19:08:50 -06:00
}
. icon-action : hover , . tree-floating-button : hover , . top-btn button : hover , . minimize-btn button : hover , . maximize-btn button : hover , . close-btn button : hover , button . button-widget : hover , . sync-status-widget : hover {
2024-08-26 16:45:47 -06:00
color : var ( --sand ) ! important ;
2024-08-22 19:08:50 -06:00
border : none ! important ;
}
/***tree***/
/*note icon*/
. fancytree-custom-icon {
2024-08-26 16:45:47 -06:00
color : var ( --sand ) ;
2024-08-22 19:08:50 -06:00
}
. note-icon-widget button . note-icon {
border : none ! important ;
}
span . fancytree-node . protected > span . fancytree-custom-icon {
2024-08-26 17:41:30 -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 {
color : var ( --devils-gray-lol ) ;
}
2024-08-27 18:57:56 -06:00
/*tree action buttons*/
button . tree-floating-button {
font-size : 1 . 5rem ! important ;
}
2024-08-22 19:08:50 -06:00
/***Trilium icon***/
body . global-menu-button {
background-image : url ( "/assets/vX/images/icon-grey.png" ) ;
}
/*****INPUT FIELDS*****/
/***password and options menu fields***/
. form-control {
color : var ( --text-gray ) ! important ;
}
. form-control : focus {
2024-08-26 16:45:47 -06:00
color : var ( --sand ) ! important ;
2024-08-22 19:11:46 -06:00
background-color : var ( --soft-gray ) ;
2024-08-22 19:08:50 -06:00
border-color : var ( --text-gray ) ! important ;
outline : 0 ;
box-shadow : 0 0 0 0 . 2rem rgb ( 252 251 179 / 50 % ) ! important ;
}
2024-08-27 18:31:49 -06:00
. component . title-row {
margin-top : 10px ;
margin-bottom : 10px ;
}
2024-08-22 19:08:50 -06:00
. note-title-widget input . note-title {
font-family : var ( --header-font-family ) ;
2024-08-27 18:31:49 -06:00
/*font-size: 200% !important;*/
2024-08-22 19:08:50 -06:00
}
. note-title : focus {
color : var ( --text-gray ) ! important ;
2024-08-22 19:11:46 -06:00
background-color : var ( --soft-gray ) ! important ;
2024-08-22 19:08:50 -06:00
border-color : var ( --text-gray ) ! important ;
outline : 0 ;
box-shadow : 0 0 0 0 . 2rem rgb ( 252 251 179 / 50 % ) ! important ;
}
/***selection and find/replace (button)***/
:: selection {
2024-08-26 22:52:16 -06:00
/*color: black !important /*var(--soft-gray)*/ ;
2024-08-26 23:40:08 -06:00
background : # 253749 ! important /*var(--code-select-gray)*/ ;
2024-08-22 19:08:50 -06:00
}
span . ck-find-result , span . ck-find-result > . ck-find-result_selected {
2024-08-22 19:11:46 -06:00
color : var ( --soft-gray ) ;
2024-08-22 19:08:50 -06:00
}
/*****BUTTONS*****/
. help-button {
color : hsl ( 15 , 100 % , 56 % ) ;
}
. help-button : hover {
2024-08-26 16:45:47 -06:00
color : var ( --sand ) ;
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 {
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 ;
}
button : hover : not ( . close ) : not ( . help-button ) : not ( . ck-button-save ) : not ( . ck-button-cancel ) , . btn : hover {
2024-08-22 19:11:46 -06:00
background-color : var ( --soft-gray ) ! important ;
2024-08-26 16:45:47 -06:00
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 {
2024-08-22 19:11:46 -06:00
background : var ( --soft-gray ) ;
2024-08-22 19:08:50 -06:00
color : var ( --text-gray ) ;
}
/*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 {
border : 1px solid var ( --text-gray ) ! important ;
box-shadow : 0 0 0 0 . 2rem rgb ( 252 251 179 / 50 % ) ! important ;
}
. ck . ck-input-text [ readonly ] : focus {
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 ;
}
/*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 {
border : 1px solid var ( --ck-color-input-disabled-border ) ! important ;
}
/*****NOTE MAP*****/
. note-detail-relation-map path , . note-detail-relation-map . jtk-endpoint {
2024-08-26 17:41:30 -06:00
fill : var ( --soft-sea-green ) ! important ;
2024-08-22 19:08:50 -06:00
}
svg . jtk-connector path {
2024-08-26 17:41:30 -06:00
stroke : var ( --soft-sea-green ) ;
2024-08-22 19:08:50 -06:00
fill : none ! important ;
}
/*****BACKLINKS POPUP*****/
div . backlinks-items {
z-index : 10 ;
position : absolute ;
top : 50px ;
right : 10px ;
width : 400px ;
border-radius : 10px ;
2024-08-22 19:11:46 -06:00
background-color : var ( --soft-gray ) ;
2024-08-22 19:08:50 -06:00
color : var ( --text-gray ) ;
padding : 20px ;
overflow-y : auto ;
box-shadow : 2px 2px 5px var ( --text-gray ) ;
}
div . backlinks-items div : hover {
2024-08-27 00:27:50 -06:00
background-color : var ( --code-select-gray ) ;
2024-08-22 19:08:50 -06:00
}
. backlink-excerpt . backlink-link {
2024-08-28 09:09:13 -06:00
background-color : var ( --table-header-gray ) ! important ;
2024-08-22 19:08:50 -06:00
}
. backlinks-ticker : hover {
2024-08-27 00:27:50 -06:00
background-color : var ( --code-select-gray ) ;
2024-08-22 19:08:50 -06:00
}
/*****Attributes Popup*****/
. attr-help td {
color : var ( --text-gray ) ! important ;
}
/*****CODE IN TEXT NOTES)*****/
/***code blocks***/
. ck-content pre {
2024-08-22 19:11:46 -06:00
background : var ( --soft-gray ) ;
2024-08-22 19:08:50 -06:00
font-family : monospace ;
font-size : 0 . 9rem ;
2024-08-26 17:41:30 -06:00
border-color : var ( --soft-sea-green ) ;
2024-08-22 19:08:50 -06:00
}
. ck-content pre code {
font-family : monospace ;
font-size : 0 . 9rem ;
background : transparent ! important ;
2024-08-26 17:41:30 -06:00
color : var ( --soft-sea-green ) ! important ;
2024-08-22 19:08:50 -06:00
}
/*code block label*/
pre :: after {
2024-08-27 00:27:50 -06:00
background : var ( --code-select-gray ) ! important ;
2024-08-26 16:45:47 -06:00
color : var ( --sand ) ! important ;
border-color : var ( --sand ) ! important ;
2024-08-22 19:08:50 -06:00
letter-spacing : 1px ;
}
/***inline code***/
. ck-content code , . ck-content code i , . ck-content code strong {
font-family : monospace ;
font-size : . 95rem ;
2024-08-22 19:11:46 -06:00
background : var ( --soft-gray ) ;
2024-08-26 17:41:30 -06:00
color : var ( --soft-sea-green ) ! important ;
2024-08-22 19:08:50 -06:00
letter-spacing : 1px ;
}
. ck-content . ck-code_selected {
2024-08-27 00:27:50 -06:00
background-color : var ( --code-select-gray ) ! important ;
2024-08-22 19:08:50 -06:00
letter-spacing : 1px ;
}
/*****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 {
/***overrides generic colors***/
2024-08-28 08:47:10 -06:00
--ck-color-base-text : var ( --tan ) ; /*toggled color (editor sub-menu)*/
2024-08-28 09:09:13 -06:00
--ck-color-base-foreground : var ( --table-header-gray ) ; /*tiny attached triangle and selection hover*/
2024-08-26 16:45:47 -06:00
--ck-color-focus-border : var ( --sand ) ; /*table and color (editor menu) focus*/
2024-08-26 17:41:30 -06:00
--ck-color-text : var ( --soft-sea-green ) ; /*text color*/
2024-08-22 19:08:50 -06:00
/* --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 ;
2024-08-28 09:09:13 -06:00
--ck-color-button-default-hover-background : var ( --table-header-gray ) ;
2024-08-22 19:08:50 -06:00
--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*/
/*dropdown buttons*/
2024-08-27 00:27:50 -06:00
--ck-color-button-on-background : var ( --code-select-gray ) ; /*active*/
2024-08-28 09:09:13 -06:00
--ck-color-button-on-hover-background : var ( --table-header-gray ) ; /*hover*/
2024-08-22 19:08:50 -06:00
--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)*/
2024-08-26 17:41:30 -06:00
--ck-color-button-action-background : var ( --tan ) ! important ;
2024-08-22 19:08:50 -06:00
--ck-color-button-action-hover-background : var ( --devils-gray-lol ) ! important ;
2024-08-26 17:41:30 -06:00
--ck-color-button-action-active-background : var ( --tan ) ! important ; /*find button active and field descritpion*/
2024-08-22 19:08:50 -06:00
--ck-color-button-action-active-shadow : transparent ! important ; /*top line*/
/*--ck-color-button-action-disabled-background: red; /*?*/
2024-08-22 19:11:46 -06:00
--ck-color-button-action-text : var ( --soft-gray ) ! important ; /*find button(editor sub-menu)*/
2024-08-22 19:08:50 -06:00
/*save and cancel*/
2024-08-26 18:24:25 -06:00
--ck-color-button-save : var ( --soft-sea-green ) /*hsl(120, 100%, 46%)*/ ; /*table sub-menu*/
2024-08-22 19:08:50 -06:00
--ck-color-button-cancel : hsl ( 15 , 100 % , 56 % ) ; /*table sub-menu*/
/***overrides the default '.ck-dropdown' class colors (color sub-menus)***/
2024-08-22 19:11:46 -06:00
--ck-color-dropdown-panel-background : var ( --soft-gray ) ;
2024-08-22 19:08:50 -06:00
--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 ) ;
2024-08-26 17:41:30 -06:00
--ck-color-split-button-hover-border : var ( --soft-sea-green ) ;
2024-08-22 19:08:50 -06:00
/***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; /*?*/
2024-08-22 19:11:46 -06:00
--ck-color-input-disabled-background : var ( --soft-gray ) ; /*disabled color picker(table sub-menu)*/
2024-08-22 19:08:50 -06:00
--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*/
2024-08-28 09:09:13 -06:00
--ck-color-list-button-hover-background : var ( --table-header-gray ) ;
2024-08-26 16:45:47 -06:00
--ck-color-list-button-on-background : var ( --sand ) ; /*toggled/active*/
2024-08-22 19:08:50 -06:00
--ck-color-list-button-on-background-focus : var ( --devils-gray-lol ) ; /*hover on toggled/active*/
2024-08-22 19:11:46 -06:00
--ck-color-list-button-on-text : var ( --soft-gray ) ; /*toggled/active*/
2024-08-22 19:08:50 -06:00
/***overrides the default .ck-balloon-panel class colors (overall look and feel of the editor toolbars and sub-menus)***/
2024-08-22 19:11:46 -06:00
--ck-color-panel-background : var ( --soft-gray ) ;
2024-08-22 19:08:50 -06:00
--ck-color-panel-border : var ( --devils-gray-lol ) ;
/***overrides the default .ck-toolbar class colors***/
2024-08-22 19:11:46 -06:00
--ck-color-toolbar-background : var ( --soft-gray ) ; /*lots of overlap with the above backgound setting*/
2024-08-26 16:45:47 -06:00
--ck-color-toolbar-border : var ( --sand ) ; /*section separators*/
2024-08-22 19:08:50 -06:00
/***overrides the default .ck-tooltip class colors***/
2024-08-26 16:45:47 -06:00
--ck-color-tooltip-background : var ( --sand ) ;
2024-08-22 19:08:50 -06:00
--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*/
2024-08-26 16:45:47 -06:00
--ck-color-widget-hover-border : var ( --sand ) ; /*object in focus*/
2024-08-28 09:09:13 -06:00
--ck-color-widget-editable-focus-background : var ( --table-header-gray ) ; /*table caption in focus*/
2024-08-22 19:08:50 -06:00
/***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*/
2024-08-28 09:09:13 -06:00
--ck-color-table-focused-cell-background : var ( --table-header-gray ) ;
2024-08-22 19:08:50 -06:00
/*--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; /*?*/
2024-08-26 17:41:30 -06:00
--ck-color-widget-type-around-button-hover : var ( --tan ) ; /*applies when table/image is in focus*/
2024-08-22 19:08:50 -06:00
}
/*****CODEMIRROR****/
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
NOTE : comments for this section are for how they appear in CSS code notes unless otherwise noted . All code notes have the same color theme , but the application may be different . Some elements are affected the same way accross all code notes ( i . e . all strings appear the same across code notes and as do comments , variables , and functions ) .
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***general appearance***/
/*'...line' is for regular code notes text, not sure what '...line-like' is for*/
. CodeMirror pre . CodeMirror-line ,
. CodeMirror pre . CodeMirror-line-like {
color : var ( --text-gray ) ;
}
. CodeMirror-linenumber { color : var ( - - devils - gray - lol ) ; }
. CodeMirror-cursor {
border-left : 1px solid var ( --devils-gray-lol ) ;
}
/***highlighted and selected text in code notes***/
. CodeMirror-selected {
background-color : var ( --code-select-gray ) ;
}
. CodeMirror-focused . CodeMirror-selected {
background-color : var ( --code-select-gray ) ;
}
. cm-s-default . cm-matchhighlight {
background-color : # 030016 ;
}
/***general elements***/
. cm-s-default . cm-atom { color : #ea5474 ; } /*fonts and colors (code not words)*/
. cm-s-default . cm-def { color : #5df7e8 ; } /*@*/
. cm-s-default . cm-qualifier { color : #269b4d ; } /*class*/
. cm-s-default . cm-builtin { color : #9368f7 ; } /*id-selectors*/
. cm-s-default . cm-tag { color : #06dd87 ; } /*html tags*/
. cm-s-default . cm-meta { color : #777 ; } /*meta (browser compatability) tags*/
. cm-s-default . cm-comment { color : #a57489 ; } /*comments*/
. cm-s-default . cm-number { color : #ea5474 ; } /*numbers including units, not including color codes*/
. cm-s-default . cm-keyword { color : #ed363c ; } /*color names and keywords*/
/***variables***/
/*a lot of overlap with .cm-s-default .cm-atom. Might be good to separate these if you want to style them individually*/
. cm-s-default . cm-variable ,
. cm-s-default . cm-punctuation ,
. cm-s-default . cm-property ,
. cm-s-default . cm-operator { }
. cm-s-default . cm-variable-2 { color : #08a ; } /*custom properties and php variables*/
. cm-s-default . cm-variable-3 , . cm-s-default . cm-type { color : #01ad6e ; } /*pseudo elements and classes*/
/***strings***/
. cm-s-default . cm-string { color : #f7b2b2 ; }
. cm-s-default . cm-string-2 { color : #fc7462 ; } /*applies to some CSS properties*/
/***brackets and parentheses***/
div . CodeMirror span . CodeMirror-matchingbracket { color : #01ba3f ; }
div . CodeMirror span . CodeMirror-nonmatchingbracket { color : #c60101 ; }
/***code errors***/
. cm-s-default . cm-error { color : #f00 ; }
. cm-invalidchar { color : #f00 ; }