add branch validation to queue
This commit is contained in:
@@ -623,4 +623,134 @@ body {
|
||||
background: #9ca3af;
|
||||
cursor: not-allowed;
|
||||
opacity: 0.6;
|
||||
}/
|
||||
* Scenario Tree Styles */
|
||||
.scenario-controls {
|
||||
margin: 20px 0;
|
||||
padding: 15px;
|
||||
background: var(--light);
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.scenario-tree {
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
padding: 20px;
|
||||
background: white;
|
||||
margin: 20px 0;
|
||||
max-height: 500px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.tree-layer {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.tree-stack {
|
||||
margin-left: 20px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.tree-scenario {
|
||||
margin-left: 40px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.tree-node {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 8px 0;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.tree-toggle {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 12px;
|
||||
color: var(--primary);
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tree-spacer {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.tree-label {
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.layer-label {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
color: var(--dark);
|
||||
}
|
||||
|
||||
.stack-label {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: #4b5563;
|
||||
}
|
||||
|
||||
.scenario-label {
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
color: #6b7280;
|
||||
}
|
||||
|
||||
.tree-children {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.layer-checkbox, .stack-checkbox, .scenario-checkbox {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.layer-node:hover {
|
||||
background: rgba(59, 130, 246, 0.05);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.stack-node:hover {
|
||||
background: rgba(16, 185, 129, 0.05);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.scenario-node:hover {
|
||||
background: rgba(245, 158, 11, 0.05);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* Indeterminate checkbox styling */
|
||||
input[type="checkbox"]:indeterminate {
|
||||
background-color: var(--primary);
|
||||
border-color: var(--primary);
|
||||
}
|
||||
|
||||
input[type="checkbox"]:indeterminate::before {
|
||||
content: '−';
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
text-align: center;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
/* Selection count styling */
|
||||
#selectionCount {
|
||||
color: var(--primary);
|
||||
font-size: 14px;
|
||||
}
|
||||
Reference in New Issue
Block a user