mirror of
https://github.com/zadam/trilium.git
synced 2025-12-22 15:24:24 +01:00
client/note title row: use distinct style when used as a note split title
This commit is contained in:
parent
5ce81f1a32
commit
f7f3f707f1
@ -132,7 +132,7 @@ export default class DesktopLayout {
|
|||||||
new SplitNoteContainer(() =>
|
new SplitNoteContainer(() =>
|
||||||
new NoteWrapperWidget()
|
new NoteWrapperWidget()
|
||||||
.child(new FlexContainer("row")
|
.child(new FlexContainer("row")
|
||||||
.class("title-row")
|
.class("title-row note-split-title")
|
||||||
.cssBlock(".title-row > * { margin: 5px; }")
|
.cssBlock(".title-row > * { margin: 5px; }")
|
||||||
.child(<NoteIconWidget />)
|
.child(<NoteIconWidget />)
|
||||||
.child(<NoteTitleWidget />)
|
.child(<NoteTitleWidget />)
|
||||||
|
|||||||
@ -36,18 +36,25 @@ body.mobile .note-title-widget input.note-title {
|
|||||||
body.experimental-feature-new-layout {
|
body.experimental-feature-new-layout {
|
||||||
.title-row {
|
.title-row {
|
||||||
container-type: size;
|
container-type: size;
|
||||||
border-bottom: 1px solid var(--main-border-color);
|
|
||||||
transition: border 400ms ease-out;
|
transition: border 400ms ease-out;
|
||||||
|
|
||||||
|
&.note-split-title {
|
||||||
|
border-bottom: 1px solid var(--main-border-color);
|
||||||
|
|
||||||
&.hide-title {
|
&.hide-title {
|
||||||
border-bottom-color: transparent;
|
border-bottom-color: transparent;
|
||||||
transition: none;
|
transition: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.note-icon-widget {
|
||||||
|
margin-inline: 12px 8px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.note-icon-widget {
|
.note-icon-widget {
|
||||||
--note-icon-size: 16px;
|
--note-icon-size: 16px;
|
||||||
--note-icon-container-padding-size: 6px;
|
--note-icon-container-padding-size: 6px;
|
||||||
margin-inline: 12px 8px;
|
margin-inline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.note-title-widget {
|
.note-title-widget {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user