2023-04-01 05:37:55 +00:00
|
|
|
item-box {
|
2023-04-04 18:23:40 +00:00
|
|
|
|
2023-04-01 05:37:55 +00:00
|
|
|
display: flex;
|
|
|
|
min-width: 0;
|
|
|
|
width: 100%;
|
|
|
|
|
2023-12-25 05:51:53 +00:00
|
|
|
&[hidden] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-04-01 05:37:55 +00:00
|
|
|
#item-box {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#info-table {
|
2024-01-13 02:16:08 +00:00
|
|
|
@include meta-table;
|
2023-04-01 05:37:55 +00:00
|
|
|
}
|
|
|
|
|
2024-01-13 02:16:08 +00:00
|
|
|
.creator-type-label, #more-creators-label {
|
2023-12-21 20:10:04 +00:00
|
|
|
color: var(--fill-secondary);
|
2023-04-01 05:37:55 +00:00
|
|
|
}
|
|
|
|
|
2023-12-21 20:10:04 +00:00
|
|
|
.drag-hidden-creator {
|
|
|
|
opacity: 0;
|
2023-04-01 05:37:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#item-type-menu {
|
2024-03-02 07:51:55 +00:00
|
|
|
@include focus-ring(true);
|
2023-12-21 20:10:04 +00:00
|
|
|
margin: 0;
|
2023-04-01 05:37:55 +00:00
|
|
|
margin-inline-end: 5px !important;
|
|
|
|
flex: 1;
|
2023-12-21 20:10:04 +00:00
|
|
|
padding-inline-start: 5px;
|
|
|
|
|
|
|
|
// Same padding as editable-text
|
|
|
|
@include comfortable {
|
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
}
|
2023-04-01 05:37:55 +00:00
|
|
|
|
|
|
|
&::part(dropmarker) {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-01-31 19:48:59 +00:00
|
|
|
|
|
|
|
&::part(label-box) {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2023-04-01 05:37:55 +00:00
|
|
|
|
|
|
|
&::part(label) {
|
|
|
|
margin-inline-start: 0;
|
|
|
|
}
|
2023-12-21 20:10:04 +00:00
|
|
|
|
|
|
|
&[disabled] {
|
|
|
|
background: none;
|
|
|
|
}
|
2023-04-01 05:37:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#item-type-menu:not(:hover):not(:active) {
|
2024-03-02 07:51:55 +00:00
|
|
|
background: transparent !important;
|
2023-04-01 05:37:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#item-type-menu > .menulist-label-box {
|
|
|
|
-moz-box-flex: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#item-type-menu > .menulist-label-box, #item-type-menu > .menulist-label-box > .menulist-label {
|
|
|
|
margin: 0 !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
|
2024-03-01 05:46:09 +00:00
|
|
|
// Do not display grippy if there is only one creator
|
|
|
|
.meta-label > .single-creator-grippy {
|
|
|
|
visibility: hidden !important;
|
|
|
|
}
|
|
|
|
|
2023-04-01 05:37:55 +00:00
|
|
|
textarea {
|
|
|
|
font: inherit;
|
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#more-creators-label
|
|
|
|
{
|
2024-01-12 22:45:01 +00:00
|
|
|
font-weight: 600;
|
2023-04-01 05:37:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pointer:hover, .pointer:hover > label {
|
|
|
|
cursor: pointer !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* creator type menu */
|
2023-12-21 20:10:04 +00:00
|
|
|
.creator-type-label {
|
2024-03-02 07:51:55 +00:00
|
|
|
@include focus-ring(true);
|
2023-12-21 20:10:04 +00:00
|
|
|
display: inline-block;
|
|
|
|
// undo the padding so that the name is pushed to the end
|
|
|
|
margin-inline-end: -4px;
|
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 4px;
|
|
|
|
|
|
|
|
&:hover, &:focus {
|
|
|
|
.creator-type-dropmarker {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-04-01 05:37:55 +00:00
|
|
|
.creator-type-label, .creator-type-value {
|
|
|
|
-moz-box-align: center;
|
2023-12-21 20:10:04 +00:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2024-01-09 06:40:22 +00:00
|
|
|
// Some spacing between creator buttons
|
|
|
|
.creator-type-value > .zotero-clicky-plus,
|
|
|
|
.creator-type-value > .zotero-clicky-minus,
|
|
|
|
.creator-type-value > .zotero-clicky-options {
|
|
|
|
margin-left: 1px;
|
2023-04-01 05:37:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.creator-name-box {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
2023-12-21 20:10:04 +00:00
|
|
|
editable-text input {
|
|
|
|
min-width: 0;
|
2023-04-01 05:37:55 +00:00
|
|
|
}
|
|
|
|
|
2023-12-21 20:10:04 +00:00
|
|
|
// Margin adjusted by inline padding to have 4px between first and last name
|
|
|
|
*[fieldMode="0"]:first-child {
|
|
|
|
margin-inline-end: calc(max(0px, 4px - var(--editable-text-padding-inline)));
|
2024-01-09 06:40:22 +00:00
|
|
|
flex-grow: 3; // last name should have priority to expand over first name
|
2023-04-01 05:37:55 +00:00
|
|
|
}
|
2023-12-21 20:10:04 +00:00
|
|
|
// Add comma when the last name is not focused
|
2024-01-05 12:07:16 +00:00
|
|
|
*[fieldMode="0"]:first-child {
|
2023-12-21 20:10:04 +00:00
|
|
|
position: relative;
|
|
|
|
&::after {
|
2024-01-10 17:01:54 +00:00
|
|
|
content: var(--comma-character, ',');
|
2023-12-21 20:10:04 +00:00
|
|
|
position: absolute;
|
2024-01-10 17:01:54 +00:00
|
|
|
inset-inline-end: 0;
|
2023-12-21 20:10:04 +00:00
|
|
|
bottom: var(--editable-text-padding-block);
|
|
|
|
}
|
2024-01-05 12:07:16 +00:00
|
|
|
&.focused::after {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2023-04-04 18:38:10 +00:00
|
|
|
}
|
2023-04-01 05:37:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.creator-type-dropmarker {
|
|
|
|
display: inline-block;
|
2023-12-21 20:10:04 +00:00
|
|
|
background-image: url('chrome://zotero/skin/16/universal/chevron-12.svg');
|
|
|
|
background-size: contain;
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
padding-right: 4px;
|
|
|
|
align-self: center;
|
|
|
|
visibility: hidden;
|
2023-04-01 05:37:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.comma {
|
2023-12-21 20:10:04 +00:00
|
|
|
margin-inline-end: calc(4px - var(--editable-text-padding-inline));
|
|
|
|
align-self: center;
|
2023-04-01 05:37:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-date-field-status
|
|
|
|
{
|
2023-12-21 20:10:04 +00:00
|
|
|
color: var(--fill-secondary);
|
2023-04-01 05:37:55 +00:00
|
|
|
padding: 0 !important;
|
2023-12-21 20:10:04 +00:00
|
|
|
padding-inline-start: 5px !important;
|
|
|
|
padding-inline-end: 1px !important;
|
2023-04-01 05:37:55 +00:00
|
|
|
white-space: nowrap;
|
2023-12-21 20:10:04 +00:00
|
|
|
align-self: center;
|
2023-04-01 05:37:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Merge pane in duplicates view */
|
|
|
|
.zotero-field-version-button {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Retraction box
|
|
|
|
*/
|
|
|
|
#retraction-box {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
#retraction-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
padding: 1.5em 1em;
|
|
|
|
background: #d93425;
|
|
|
|
color: white;
|
2024-01-12 22:45:01 +00:00
|
|
|
font-weight: 600;
|
2023-04-01 05:37:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#retraction-details {
|
2023-12-21 20:10:04 +00:00
|
|
|
@include light-dark(background, #fbf0f0, var(--material-background));
|
2023-04-01 05:37:55 +00:00
|
|
|
padding: .5em 1.5em;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
cursor: text;
|
2024-01-13 02:16:08 +00:00
|
|
|
user-select: text;
|
2023-04-01 05:37:55 +00:00
|
|
|
-moz-user-select: text;
|
|
|
|
}
|
|
|
|
|
|
|
|
#retraction-details dt {
|
2024-01-12 22:45:01 +00:00
|
|
|
font-weight: 600;
|
2023-04-01 05:37:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#retraction-details dt:not(:first-child) {
|
|
|
|
margin-top: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#retraction-details dd {
|
|
|
|
margin-left: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#retraction-details a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
#retraction-links ul {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#retraction-links li {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#retraction-links li:not(:first-child) {
|
|
|
|
margin-top: .75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#retraction-credit {
|
|
|
|
text-align: right;
|
|
|
|
margin-top: 1.5em;
|
|
|
|
margin-right: -.9em;
|
|
|
|
margin-bottom: .2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#retraction-hide {
|
|
|
|
text-align: right;
|
|
|
|
margin-top: .3em;
|
|
|
|
margin-right: -1.2em;
|
|
|
|
margin-bottom: .3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#retraction-hide button {
|
|
|
|
background: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline;
|
|
|
|
text-decoration: underline;
|
|
|
|
border-style: none;
|
|
|
|
}
|
2023-04-04 18:23:40 +00:00
|
|
|
}
|