mirror of
https://github.com/zotero/zotero.git
synced 2026-09-14 23:21:03 +00:00
81 lines
1.3 KiB
SCSS
81 lines
1.3 KiB
SCSS
item-pane-header {
|
|
&:not([hidden]) {
|
|
display: flex;
|
|
}
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
padding: 8px;
|
|
border-bottom: 1px solid var(--fill-quinary);
|
|
|
|
min-height: 41px;
|
|
max-height: 25%;
|
|
overflow-y: auto;
|
|
scrollbar-color: var(--color-scrollbar) var(--color-scrollbar-background);
|
|
|
|
.head-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
|
|
@include compact {
|
|
gap: 4px;
|
|
}
|
|
|
|
@include comfortable {
|
|
gap: 8px;
|
|
}
|
|
|
|
.title-head {
|
|
align-self: stretch;
|
|
|
|
.title {
|
|
margin-top: calc(0px - var(--editable-text-padding-block));
|
|
flex: 1 1 0;
|
|
font-weight: 600;
|
|
line-height: 1.333;
|
|
|
|
editable-text {
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
.creator-year {
|
|
color: var(--fill-secondary);
|
|
}
|
|
|
|
.bib-entry {
|
|
line-height: 1.5;
|
|
|
|
&.loading {
|
|
color: var(--fill-secondary);
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.no-title-head {
|
|
min-height: auto;
|
|
&:not(.has-custom-head) {
|
|
padding: 0;
|
|
border: none;
|
|
}
|
|
|
|
.title-head {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@include elements-custom-head;
|
|
.custom-head {
|
|
padding: 0;
|
|
border: none;
|
|
height: 24px;
|
|
}
|
|
}
|