Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
client/read only note info bar: tweak style
Adorian Dorandda8b2795b13
diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.cssindex 787bc2eb81..516a019b41 100644--- a/apps/client/src/stylesheets/theme-next-dark.css+++ b/apps/client/src/stylesheets/theme-next-dark.css@@ -191,6 +191,7 @@--inactive-tab-text-color: #7c7c7c;--alert-bar-background: #6b6b6b3b;+ --read-only-note-info-bar-background: var(--alert-bar-background);--badge-background-color: #ffffff1a;--badge-text-color: var(--muted-text-color);diff --git a/apps/client/src/stylesheets/theme-next-light.css b/apps/client/src/stylesheets/theme-next-light.cssindex 8a083ae6da..03328f7ad1 100644--- a/apps/client/src/stylesheets/theme-next-light.css+++ b/apps/client/src/stylesheets/theme-next-light.css@@ -184,6 +184,7 @@--inactive-tab-text-color: #4e4e4e;--alert-bar-background: #32637b29;+ --read-only-note-info-bar-background: var(--alert-bar-background);--badge-background-color: #00000011;--badge-text-color: var(--muted-text-color);diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.cssindex 880e85f70f..75c8590090 100644--- a/apps/client/src/stylesheets/theme-next/shell.css+++ b/apps/client/src/stylesheets/theme-next/shell.css@@ -1328,6 +1328,14 @@ body.mobile .note-title {border-bottom: 2px solid #0000001c !important;}+/*+ * Read-only note info bar+ */++.read-only-note-info-bar-widget {+ --link-color: var(--main-text-color);+}+/** Promoted attributes*/diff --git a/apps/client/src/widgets/read-only-note-info-bar.css b/apps/client/src/widgets/read-only-note-info-bar.cssindex 5e19a65c7f..3c799e3cee 100644--- a/apps/client/src/widgets/read-only-note-info-bar.css+++ b/apps/client/src/widgets/read-only-note-info-bar.css@@ -3,8 +3,9 @@ div.read-only-note-info-bar-widget {display: flex;justify-content: space-between;align-items: center;+ margin-top: 4px;background: var(--read-only-note-info-bar-background, var(--accented-background-color));- padding: 6px 20px;+ padding: 8px 20px;color: var(--read-only-note-info-bar-color);opacity: 0;max-height: 0;@@ -16,7 +17,7 @@ div.read-only-note-info-bar-widget.visible {transition: opacity 300ms ease-out;}-div.read-only-note-info-bar-widget button {+:root div.read-only-note-info-bar-widget button {white-space: nowrap;padding: 2px 8px;}\ No newline at end of file