Files
BQP/srcs/RobotNet10/Components/RobotNet10.ScriptEditor/VariableManager.razor.css
2026-07-13 09:25:40 +07:00

91 lines
1.7 KiB
CSS

/* ============================================
VariableManager Component Styles
============================================ */
.variables-empty-state {
padding: 16px;
text-align: center;
color: #858585;
}
.variables-list {
display: flex;
flex-direction: column;
padding: 4px 0;
}
.variable-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 12px;
border-bottom: 1px solid #2d2d30;
transition: background-color 0.15s ease;
gap: 8px;
}
.variable-item:hover {
background-color: #252526;
}
.variable-item:last-child {
border-bottom: none;
}
.variable-info {
flex: 1;
display: flex;
flex-direction: row;
align-items: center;
gap: 8px;
min-width: 0; /* Allow text truncation */
}
.variable-name {
font-size: 12px;
font-weight: 500;
color: #cccccc;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
flex-shrink: 0;
}
.variable-type {
font-size: 10px;
color: #858585;
font-style: italic;
flex-shrink: 0;
}
.variable-value {
font-size: 11px;
color: #4ec9b0;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
flex: 1;
min-width: 0;
}
/* Scrollbar for variable value */
.variable-value::-webkit-scrollbar {
width: 4px;
height: 4px;
}
.variable-value::-webkit-scrollbar-track {
background: transparent;
}
.variable-value::-webkit-scrollbar-thumb {
background: #424242;
border-radius: 2px;
}
.variable-value::-webkit-scrollbar-thumb:hover {
background: #4e4e4e;
}