zotero/scss/elements/_itemPaneHeader.scss

60 lines
1,005 B
SCSS
Raw Normal View History

item-pane-header {
2024-05-10 12:23:26 +00:00
&:not([hidden]) {
display: flex;
}
flex-direction: column;
2024-05-10 12:23:26 +00:00
align-items: stretch;
padding: 8px;
2024-01-30 10:43:16 +00:00
border-bottom: 1px solid var(--fill-quinary);
2024-05-10 12:23:26 +00:00
max-height: 25%;
overflow-y: auto;
scrollbar-color: var(--color-scrollbar) var(--color-scrollbar-background);
.title {
margin-top: calc(0px - var(--editable-text-padding-block));
flex: 1 1 0;
font-weight: 600;
line-height: 1.333;
2024-01-30 10:43:16 +00:00
2024-05-10 12:23:26 +00:00
editable-text {
flex: 1;
}
}
2024-05-10 12:23:26 +00:00
.creator-year {
color: var(--fill-secondary);
}
.bib-entry {
line-height: 1.5;
&.loading {
color: var(--fill-secondary);
}
}
2024-05-10 12:23:26 +00:00
.creator-year, .bib-entry {
// Set padding to match editable-text in tight mode, plus 1px for border
padding-inline: calc(var(--editable-text-tight-padding-inline) + 1px);
overflow-wrap: anywhere;
}
2024-01-30 10:43:16 +00:00
.custom-head {
display: flex;
flex-direction: row;
align-self: stretch;
gap: 6px;
&:empty {
display: none;
}
button {
height: 26px;
margin: 0;
flex-grow: 1;
}
}
}