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

104 lines
2.1 KiB
CSS

/* Console Container */
.console-container {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
background-color: #1e1e1e;
}
/* Console Header */
.console-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 12px;
background-color: #252526;
border-bottom: 1px solid #3e3e42;
color: #cccccc;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
flex-shrink: 0;
}
.console-header-left {
display: flex;
align-items: center;
gap: 8px;
}
.btn-toggle {
padding: 2px 6px;
min-width: 24px;
}
.console-actions {
display: flex;
gap: 4px;
align-items: center;
}
.console-actions .btn {
padding: 4px 8px;
font-size: 12px;
border-color: #3e3e42;
color: #cccccc;
background-color: transparent;
min-width: 32px;
}
.console-actions .btn:hover {
background-color: #2a2d2e;
border-color: #007acc;
color: #ffffff;
}
.console-actions .btn:focus {
box-shadow: 0 0 0 0.2rem rgba(0, 122, 204, 0.25);
}
/* Console Content */
.console-content {
flex: 1 1 auto;
overflow-y: auto;
padding: 8px;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 12px;
line-height: 1.5;
background-color: #1e1e1e;
transition: flex-basis 0.3s ease-in-out, max-height 0.3s ease-in-out, padding 0.3s ease-in-out, opacity 0.2s ease-in-out;
min-height: 0;
opacity: 1;
max-height: 9999px;
}
.console-content.collapsed {
flex: 0 0 0;
flex-basis: 0;
max-height: 0;
overflow: hidden;
padding: 0;
opacity: 0;
min-height: 0;
}
/* Scrollbar styling */
.console-content::-webkit-scrollbar {
width: 10px;
height: 10px;
}
.console-content::-webkit-scrollbar-track {
background: #1e1e1e;
}
.console-content::-webkit-scrollbar-thumb {
background: #424242;
border-radius: 5px;
}
.console-content::-webkit-scrollbar-thumb:hover {
background: #4e4e4e;
}