mirror of
https://github.com/Lolabird/stellar-dark-theme-trilium.git
synced 2026-10-18 03:07:00 -06:00
Fix Zen Mode display for TriliumNext
This commit is contained in:
parent
368b6894c7
commit
cdc52b0ad7
1 changed files with 12 additions and 35 deletions
|
|
@ -1120,46 +1120,23 @@ code.hljs {
|
||||||
}
|
}
|
||||||
|
|
||||||
/***Zen Mode***/
|
/***Zen Mode***/
|
||||||
/*Use the button or alt+z to toggle it on and off*/
|
.zen div.title-bar-buttons {
|
||||||
/* hide launcher buttons*/
|
margin-left: 50px;
|
||||||
.zen-mode button.bx-chevrons-left,.zen-mode #launcher-pane > .component > :not(button.component.button-widget.bx-spa) {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
/*hide note tree*/
|
|
||||||
.zen-mode #left-pane {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
/*hide ribbon buttons*/
|
|
||||||
.zen-mode .ribbon-container {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
/*hide note title*/
|
|
||||||
.zen-mode .title-row {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
/*hide note tabs*/
|
|
||||||
.zen-mode .tab-row-widget .tab-row-widget-container {
|
|
||||||
display: none !important;
|
|
||||||
}
|
}
|
||||||
/*hide none-essential title-bar buttons*/
|
/*hide none-essential title-bar buttons*/
|
||||||
.zen-mode .title-bar-buttons > :not(.top-btn,.minimize-btn,.maximize-btn,.close-btn) {
|
.zen .title-bar-buttons > :not(.top-btn,.minimize-btn,.maximize-btn,.close-btn) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
|
||||||
/*hide preview of child notes*/
|
|
||||||
.zen-mode .note-list-widget {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
/*hide backlink, code buttons, etc.*/
|
|
||||||
.zen-mode .floating-buttons-children {
|
|
||||||
display: none !important;
|
|
||||||
}
|
}
|
||||||
/*hide nonessential center pane widgets*/
|
/*hide nonessential center pane widgets*/
|
||||||
.zen-mode #center-pane > :not(.split-note-container-widget) {
|
.zen #center-pane > :not(.split-note-container-widget) {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
/*hide right pane*
|
/*show right pane*/
|
||||||
.zen-mode #right-pane {
|
body.zen div.gutter {
|
||||||
display: none !important;
|
display: block !important;
|
||||||
|
}
|
||||||
|
body.zen div#right-pane:not(.hidden-int) {
|
||||||
|
display: flex !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***Theme Switcher***/
|
/***Theme Switcher***/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue