mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
style/center pane: optimize the identification of options pages
This commit is contained in:
@@ -66,11 +66,11 @@ body.background-effects.platform-win32.layout-vertical #vertical-main-container
|
||||
background-color: var(--root-background);
|
||||
}
|
||||
|
||||
/* TODO: optimize */
|
||||
body.background-effects.platform-win32 #center-pane .note-split.type-contentWidget.visible:has(.note-detail-content-widget-content.options) {
|
||||
/* Settings page */
|
||||
/* Settings page */
|
||||
body.background-effects.platform-win32 #center-pane .note-split.options {
|
||||
--note-split-background-color: var(--center-pane-background-color-bgfx);
|
||||
}
|
||||
|
||||
/* #endregion */
|
||||
|
||||
/* Matches when the left pane is collapsed */
|
||||
|
||||
@@ -61,7 +61,7 @@ export default class NoteWrapperWidget extends FlexContainer<BasicWidget> {
|
||||
|
||||
this.$widget.addClass(utils.getNoteTypeClass(note.type));
|
||||
this.$widget.addClass(utils.getMimeTypeClass(note.mime));
|
||||
|
||||
this.$widget.toggleClass("options", note.isOptions());
|
||||
this.$widget.toggleClass("protected", note.isProtected);
|
||||
|
||||
const noteLanguage = note?.getLabelValue("language");
|
||||
|
||||
Reference in New Issue
Block a user