mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Performer custom fields (#5487)
* Backend changes * Show custom field values * Add custom fields table input * Add custom field filtering * Add unit tests * Include custom fields in import/export * Anonymise performer custom fields * Move json.Number handler functions to api * Handle json.Number conversion in api
This commit is contained in:
@@ -197,6 +197,15 @@ button.collapse-button.btn-primary:not(:disabled):not(.disabled):active {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
color: #f5f8fa;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
button.collapse-button {
|
||||
.fa-icon {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.hover-popover-content {
|
||||
@@ -678,3 +687,44 @@ button.btn.favorite-button {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.custom-fields .detail-item .detail-item-title {
|
||||
max-width: 130px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.custom-fields-input > .collapse-button {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.custom-fields-row {
|
||||
align-items: center;
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
font-size: 0.875rem;
|
||||
|
||||
.form-label {
|
||||
margin-bottom: 0;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
// labels with titles are styled with help cursor and dotted underline elsewhere
|
||||
div.custom-fields-field label.form-label {
|
||||
cursor: inherit;
|
||||
text-decoration: inherit;
|
||||
}
|
||||
|
||||
.form-control,
|
||||
.btn {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
&.custom-fields-new > div:not(:last-child) {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user