Files
Maarten Harms 7796eb5217 feat: v1.3.0 - Theme dropdown, custom themes, security fixes, UI improvements
- Add theme dropdown with quick switcher (gear button)
- Add custom theme editor with live preview (max 10 themes)
- Add subgraph/group node detection for auto-detect
- Add 7 new filename variables ({project}, {series}, {seed}, {rating}, {year}, {month}, {day})
- Fix critical security issues (command injection, path traversal, XSS)
- Standardize dropdown styling throughout
- Add subtle glass scrollbars
- Update example workflows with base checkpoint

Closes #4, Closes #5, Closes #8
2026-02-04 19:40:37 +01:00

290 lines
5.5 KiB
CSS

/**
* GenSort Builder Pro - Styles
* Patreon Exclusive
*/
/* Main container */
.gensort-pro-container {
width: 100%;
box-sizing: border-box;
padding: 10px;
background: rgba(30, 30, 30, 0.95);
border-radius: 6px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 13px;
color: #e0e0e0;
}
/* Path Preview */
.gsp-path-preview {
background: rgba(66, 153, 225, 0.15);
border: 1px solid rgba(66, 153, 225, 0.4);
border-radius: 4px;
padding: 10px 12px;
margin-bottom: 12px;
}
.gsp-path-label {
font-size: 11px;
color: rgba(66, 153, 225, 0.9);
font-weight: 600;
margin-bottom: 4px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.gsp-path-text {
font-family: 'Courier New', 'Monaco', monospace;
font-size: 13px;
color: #4299e1;
word-break: break-all;
line-height: 1.4;
}
/* Preset Controls */
.gsp-preset-controls {
background: rgba(40, 40, 40, 0.9);
border: 1px solid rgba(80, 80, 80, 0.5);
border-radius: 4px;
padding: 8px;
margin-bottom: 12px;
display: flex;
gap: 6px;
align-items: center;
}
.gsp-preset-placeholder {
font-size: 11px;
color: #888;
font-style: italic;
}
/* Section Headers */
.gsp-section-header {
font-size: 11px;
color: #999;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 6px;
padding-bottom: 4px;
border-bottom: 1px solid rgba(80, 80, 80, 0.3);
}
/* Segment List */
.gsp-segment-list {
margin-bottom: 10px;
}
.gsp-segment-list-container {
background: rgba(40, 40, 40, 0.9);
border: 1px solid rgba(80, 80, 80, 0.5);
border-radius: 4px;
padding: 6px;
max-height: 400px;
overflow-y: auto;
}
/* Scrollbar styling */
.gsp-segment-list-container::-webkit-scrollbar {
width: 8px;
}
.gsp-segment-list-container::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.03);
border-radius: 4px;
}
.gsp-segment-list-container::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.18);
border-radius: 4px;
border: 1px solid rgba(255, 255, 255, 0.08);
}
.gsp-segment-list-container::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.28);
}
/* Segment Item */
.gsp-segment-item {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 8px;
background: rgba(50, 50, 50, 0.8);
border: 1px solid rgba(70, 70, 70, 0.6);
border-radius: 3px;
margin-bottom: 4px;
cursor: grab;
transition: all 0.15s ease;
}
.gsp-segment-item:last-child {
margin-bottom: 0;
}
.gsp-segment-item:hover {
background: rgba(66, 153, 225, 0.2);
border-color: rgba(66, 153, 225, 0.5);
}
.gsp-segment-item.disabled {
opacity: 0.5;
}
.gsp-segment-item.disabled:hover {
background: rgba(50, 50, 50, 0.8);
border-color: rgba(70, 70, 70, 0.6);
}
.gsp-segment-item.dragging {
opacity: 0.6;
cursor: grabbing;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
/* Drag Handle */
.gsp-drag-handle {
cursor: grab;
color: #999;
font-size: 14px;
user-select: none;
flex-shrink: 0;
}
.gsp-segment-item:active .gsp-drag-handle {
cursor: grabbing;
}
/* Toggle Checkbox */
.gsp-toggle {
cursor: pointer;
width: 16px;
height: 16px;
flex-shrink: 0;
}
/* Label */
.gsp-label {
flex: 1;
font-size: 13px;
color: #ddd;
user-select: none;
}
.gsp-segment-item.disabled .gsp-label {
color: #888;
}
/* Remove Button */
.gsp-remove {
background: rgba(220, 50, 50, 0.7);
border: none;
border-radius: 3px;
padding: 2px 7px;
cursor: pointer;
color: white;
font-size: 14px;
font-weight: bold;
transition: background 0.15s ease;
flex-shrink: 0;
}
.gsp-remove:hover {
background: rgba(220, 50, 50, 0.9);
}
/* Add Button */
.gsp-add-button {
width: 100%;
padding: 8px;
background: rgba(66, 153, 225, 0.2);
border: 1px solid rgba(66, 153, 225, 0.4);
border-radius: 4px;
color: #4299e1;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: all 0.15s ease;
margin-bottom: 12px;
}
.gsp-add-button:hover {
background: rgba(66, 153, 225, 0.3);
border-color: rgba(66, 153, 225, 0.6);
}
/* Configuration Section */
.gsp-config-section {
background: rgba(40, 40, 40, 0.9);
border: 1px solid rgba(80, 80, 80, 0.5);
border-radius: 4px;
padding: 10px;
margin-bottom: 10px;
}
.gsp-config-inputs {
display: flex;
flex-direction: column;
gap: 8px;
}
/* Config Row */
.gsp-config-row {
display: flex;
align-items: center;
gap: 8px;
}
.gsp-config-label {
width: 110px;
font-size: 12px;
color: #bbb;
flex-shrink: 0;
}
.gsp-config-input {
flex: 1;
padding: 5px 8px;
background: rgba(60, 60, 60, 0.9);
border: 1px solid rgba(90, 90, 90, 0.6);
border-radius: 3px;
color: #eee;
font-size: 12px;
font-family: inherit;
}
.gsp-config-input:focus {
outline: none;
border-color: rgba(66, 153, 225, 0.6);
background: rgba(70, 70, 70, 0.9);
}
.gsp-config-input:disabled {
opacity: 0.4;
cursor: not-allowed;
}
select.gsp-config-input {
cursor: pointer;
}
/* Footer */
.gsp-footer {
text-align: center;
padding: 8px;
font-size: 11px;
color: #888;
border-top: 1px solid rgba(80, 80, 80, 0.3);
margin-top: 6px;
}
.gsp-footer a {
color: #4299e1;
text-decoration: none;
}
.gsp-footer a:hover {
text-decoration: underline;
}