Files
Trilium/apps/client/src/widgets/note_title.css
2025-12-13 13:58:20 +02:00

56 lines
1.1 KiB
CSS

.note-title-widget {
flex-grow: 1000;
height: 100%;
}
.note-title-widget input.note-title {
font-size: 110%;
border: 0;
margin: 2px 0px;
min-width: 5em;
width: 100%;
padding: 1px 12px;
}
.note-title-widget input.note-title[readonly] {
background: inherit;
outline: none;
}
.note-title-widget input.note-title.protected {
text-shadow: 4px 4px 4px var(--muted-text-color);
}
body.mobile .note-title-widget input.note-title {
padding: 0;
}
body.desktop .note-title-widget input.note-title {
font-size: 180%;
}
body.experimental-feature-new-layout {
.title-row {
container-type: size;
@container (max-width: 700px) {
.note-icon-widget .note-icon {
font-size: 1.3em;
}
.note-title-widget {
display: flex;
align-items: center;
.note-title {
font-size: 1em;
}
}
.note-title-widget:focus-within + .note-badges,
.breadcrumb-badge .text {
display: none;
}
}
}
}