269 lines
4.2 KiB
CSS
269 lines
4.2 KiB
CSS
.artist-manager {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 16px;
|
|
background: #1e1e1e;
|
|
color: #e0e0e0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.artist-manager-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 2px solid #333;
|
|
}
|
|
|
|
.artist-manager-header h2 {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
color: #4caf50;
|
|
}
|
|
|
|
.artist-manager-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.btn {
|
|
padding: 8px 16px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.btn-add {
|
|
background: #4caf50;
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-add:hover {
|
|
background: #45a049;
|
|
}
|
|
|
|
.btn-save {
|
|
background: #2196f3;
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-save:hover {
|
|
background: #1976d2;
|
|
}
|
|
|
|
.btn-refresh {
|
|
background: #ff9800;
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-refresh:hover {
|
|
background: #f57c00;
|
|
}
|
|
|
|
.btn-close {
|
|
background: #757575;
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-close:hover {
|
|
background: #616161;
|
|
}
|
|
|
|
.btn-delete {
|
|
background: #f44336;
|
|
color: #fff;
|
|
padding: 4px 8px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.btn-delete:hover {
|
|
background: #d32f2f;
|
|
}
|
|
|
|
.artist-manager-message {
|
|
padding: 12px;
|
|
margin-bottom: 12px;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.artist-manager-message.success {
|
|
background: #4caf50;
|
|
color: #fff;
|
|
}
|
|
|
|
.artist-manager-message.error {
|
|
background: #f44336;
|
|
color: #fff;
|
|
}
|
|
|
|
.artist-manager-loading {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
font-size: 18px;
|
|
color: #4caf50;
|
|
}
|
|
|
|
.artist-table-container {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
border: 1px solid #333;
|
|
border-radius: 4px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.artist-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 14px;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
.artist-table thead {
|
|
position: sticky;
|
|
top: 0;
|
|
background: #2d2d2d;
|
|
z-index: 10;
|
|
}
|
|
|
|
.artist-table th {
|
|
padding: 12px 8px;
|
|
text-align: left;
|
|
font-weight: 600;
|
|
color: #4caf50;
|
|
border-bottom: 2px solid #4caf50;
|
|
}
|
|
|
|
.artist-table td {
|
|
padding: 8px;
|
|
border-bottom: 1px solid #333;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.artist-table tbody tr:hover {
|
|
background: #252525;
|
|
}
|
|
|
|
.col-name {
|
|
width: 25%;
|
|
padding-left: 4px !important;
|
|
padding-right: 4px !important;
|
|
}
|
|
|
|
.col-keywords {
|
|
width: 65%;
|
|
padding-left: 4px !important;
|
|
padding-right: 4px !important;
|
|
}
|
|
|
|
.col-actions {
|
|
width: 10%;
|
|
text-align: center;
|
|
padding-left: 4px !important;
|
|
padding-right: 4px !important;
|
|
}
|
|
|
|
.artist-name-cell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.input-field {
|
|
width: 100%;
|
|
padding: 6px 8px;
|
|
background: #2d2d2d;
|
|
border: 1px solid #444;
|
|
border-radius: 3px;
|
|
color: #e0e0e0;
|
|
font-size: 13px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.input-field:focus {
|
|
outline: none;
|
|
border-color: #4caf50;
|
|
background: #333;
|
|
}
|
|
|
|
.input-image {
|
|
margin-top: 4px;
|
|
font-size: 12px;
|
|
color: #999;
|
|
}
|
|
|
|
.textarea-field {
|
|
width: 100%;
|
|
min-height: 60px;
|
|
padding: 6px 8px;
|
|
background: #2d2d2d;
|
|
border: 1px solid #444;
|
|
border-radius: 3px;
|
|
color: #e0e0e0;
|
|
font-size: 13px;
|
|
font-family: inherit;
|
|
resize: vertical;
|
|
box-sizing: border-box;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.textarea-field:focus {
|
|
outline: none;
|
|
border-color: #4caf50;
|
|
background: #333;
|
|
}
|
|
|
|
.artist-manager-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-top: 12px;
|
|
border-top: 1px solid #333;
|
|
font-size: 13px;
|
|
color: #999;
|
|
}
|
|
|
|
.artist-count {
|
|
margin: 0;
|
|
}
|
|
|
|
.help-text {
|
|
font-style: italic;
|
|
margin: 0;
|
|
}
|
|
|
|
.artist-table-container::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.artist-table-container::-webkit-scrollbar-track {
|
|
background: #1e1e1e;
|
|
}
|
|
|
|
.artist-table-container::-webkit-scrollbar-thumb {
|
|
background: #4caf50;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.artist-table-container::-webkit-scrollbar-thumb:hover {
|
|
background: #45a049;
|
|
}
|