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***/
|
||||
/*Use the button or alt+z to toggle it on and off*/
|
||||
/* hide launcher buttons*/
|
||||
.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;
|
||||
.zen div.title-bar-buttons {
|
||||
margin-left: 50px;
|
||||
}
|
||||
/*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;
|
||||
}
|
||||
/*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*/
|
||||
.zen-mode #center-pane > :not(.split-note-container-widget) {
|
||||
.zen #center-pane > :not(.split-note-container-widget) {
|
||||
display: none !important;
|
||||
}
|
||||
/*hide right pane*
|
||||
.zen-mode #right-pane {
|
||||
display: none !important;
|
||||
/*show right pane*/
|
||||
body.zen div.gutter {
|
||||
display: block !important;
|
||||
}
|
||||
body.zen div#right-pane:not(.hidden-int) {
|
||||
display: flex !important;
|
||||
}
|
||||
|
||||
/***Theme Switcher***/
|
||||
|
|
|
|||
Loading…
Reference in a new issue