Files
DemonGatanjieu-Anomalous_Mo…/web/styles.css
T
2026-06-05 04:32:44 +07:00

210 lines
4.9 KiB
CSS

#anomalous-trigger-btn {
position: fixed;
bottom: 20px;
right: 20px;
width: 50px;
height: 50px;
border-radius: 25px;
background: var(--comfy-menu-bg, #333);
color: var(--fg-color, #fff);
border: 2px solid var(--border-color, #666);
font-size: 24px;
cursor: pointer;
z-index: 9999;
box-shadow: 0 4px 12px rgba(0,0,0,0.5);
display: flex;
align-items: center;
justify-content: center;
user-select: none;
transition: transform 0.15s, box-shadow 0.15s;
}
#anomalous-trigger-btn:hover {
transform: scale(1.1);
box-shadow: 0 6px 16px rgba(0,0,0,0.6);
}
#anomalous-modal {
position: fixed;
top: 0; left: 0; width: 100vw; height: 100vh;
background: rgba(0,0,0,0.8);
z-index: 10000;
display: none;
align-items: center;
justify-content: center;
}
#anomalous-modal.visible { display: flex; }
#anomalous-container {
width: 90%; height: 90%;
background: var(--bg-color, #222);
border-radius: 12px;
display: flex;
flex-direction: column;
overflow: hidden;
box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}
#anomalous-header {
height: 60px;
background: var(--comfy-menu-bg, #333);
display: flex;
align-items: center;
padding: 0 20px;
border-bottom: 1px solid var(--border-color, #555);
}
#anomalous-title {
flex: 1;
font-size: 1.2em;
font-weight: bold;
color: var(--fg-color, #fff);
}
#anomalous-header button {
margin-right: 15px;
padding: 8px 16px;
background: var(--comfy-menu-bg, #444);
color: var(--fg-color, #fff);
border: 1px solid var(--border-color, #666);
border-radius: 6px;
cursor: pointer;
}
#anomalous-header button:hover { background: var(--bg-color, #555); }
#anomalous-close {
font-size: 2em;
cursor: pointer;
color: var(--error-text, #ff4444);
}
#anomalous-grid {
flex: 1;
padding: 40px;
overflow-y: auto;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 20px;
row-gap: 40px;
align-content: flex-start;
}
.anomalous-card {
position: relative;
background: var(--comfy-menu-bg, #333);
border: 1px solid var(--border-color, #444);
border-radius: 8px;
overflow: hidden;
display: flex;
flex-direction: column;
height: 380px;
transition: transform 0.2s;
}
.anomalous-card:hover {
transform: translateY(-5px);
border-color: var(--fg-color, #fff);
}
.anomalous-card img, .anomalous-card video {
width: 100%;
height: 300px;
object-fit: cover;
}
.anomalous-card-title {
padding: 10px;
color: var(--fg-color, #fff);
font-size: 0.9em;
text-align: center;
word-break: break-all;
}
#anomalous-content {
display: flex;
flex-direction: column;
flex: 1;
overflow: hidden;
}
#anomalous-container {
flex-direction: row;
}
#anomalous-sidebar {
width: 250px;
background: var(--comfy-menu-bg, #2a2a2a);
border-right: 1px solid var(--border-color, #444);
overflow-y: auto;
display: flex;
flex-direction: column;
}
.anomalous-type-header {
padding: 10px 15px;
background: var(--bg-color, #111);
color: var(--fg-color, #fff);
font-weight: bold;
font-size: 0.9em;
border-top: 1px solid var(--border-color, #444);
border-bottom: 1px solid var(--border-color, #444);
}
.anomalous-folder-item {
padding: 8px 15px;
color: var(--fg-color, #ccc);
cursor: pointer;
font-size: 0.9em;
transition: background 0.2s;
}
.anomalous-folder-item:hover {
background: var(--bg-color, #333);
}
.anomalous-folder-item.active {
background: var(--bg-color, #444);
color: var(--fg-color, #fff);
font-weight: bold;
border-left: 3px solid #007bff;
}
#anomalous-detail {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
background: var(--bg-color, #222);
}
.anomalous-split-container {
flex: 1;
display: flex;
flex-direction: row;
overflow: hidden;
}
.anomalous-split-left {
width: 40%;
display: flex;
align-items: center;
justify-content: center;
background: #000;
overflow: hidden;
}
.anomalous-resizer {
width: 5px;
background: var(--border-color, #444);
cursor: col-resize;
transition: background 0.2s;
}
.anomalous-resizer:hover {
background: #007bff;
}
.anomalous-split-right {
width: 60%;
background: var(--bg-color, #222);
overflow: hidden;
}
.anomalous-card {
cursor: pointer;
}
.anomalous-folder-toggle {
cursor: pointer;
user-select: none;
}
#anomalous-api-key {
background: #333;
border: 1px solid #555;
color: #fff;
padding: 6px 12px;
border-radius: 4px;
margin-right: 15px;
width: 250px;
}
#anomalous-api-key::placeholder {
color: #999;
}