340 lines
5.7 KiB
CSS
340 lines
5.7 KiB
CSS
.dashboard_log {
|
|
display: flex;
|
|
padding: 20px;
|
|
flex-direction: column;
|
|
align-self: stretch;
|
|
border-radius: 30px;
|
|
background: var(--color-bg);
|
|
position: relative;
|
|
box-shadow: 0px 2px 6px 0px rgba(194, 194, 194, 0.10);
|
|
height: 100%;
|
|
width: 100%;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dashboard_log.expanded {
|
|
width: 100%;
|
|
}
|
|
|
|
.log_header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
width: 100%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.log_title_div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.log_title {
|
|
text-align: center;
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
line-height: normal;
|
|
border: none;
|
|
background: none;
|
|
outline: none;
|
|
color: var(--color-text);
|
|
cursor: default;
|
|
}
|
|
|
|
.log_title_collapsed {
|
|
opacity: 50%;
|
|
color: var(--color-gray);
|
|
}
|
|
|
|
.collapseIcon {
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
color: var(--color-gray);
|
|
}
|
|
|
|
.collapseIcon:hover {
|
|
color: var(--color-gray);
|
|
}
|
|
|
|
.horizontalLine {
|
|
width: 100%;
|
|
background-color: var(--color-gray);
|
|
height: 2px;
|
|
margin-top: 19px;
|
|
}
|
|
|
|
.horizontalLineLight {
|
|
width: calc(100%);
|
|
background-color: var(--color-gray);
|
|
height: 2px;
|
|
margin-top: 39px;
|
|
margin-left: -20px;
|
|
position: absolute;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.log_content {
|
|
margin-top: 20px;
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.log_entries {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
.log_entries::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.log_entry {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
padding: 4px 0;
|
|
border-bottom: 1px solid rgba(0, 255, 0, 0.1);
|
|
animation: fadeIn 0.3s ease-in;
|
|
}
|
|
|
|
.log_entry:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.log_timestamp {
|
|
color: #888;
|
|
font-size: 11px;
|
|
min-width: 80px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.log_level {
|
|
color: #00aaff;
|
|
font-size: 11px;
|
|
font-weight: bold;
|
|
min-width: 60px;
|
|
}
|
|
|
|
.log_message {
|
|
color: #00ff00;
|
|
font-size: 12px;
|
|
flex: 1;
|
|
word-break: break-word;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.log_level_info {
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
padding: 2px 8px;
|
|
border-radius: 30px;
|
|
font-size: 10px;
|
|
font-weight: bold;
|
|
min-width: 45px;
|
|
text-align: center;
|
|
}
|
|
|
|
.log_level_warning {
|
|
background-color: #FF9800;
|
|
color: white;
|
|
padding: 2px 8px;
|
|
border-radius: 30px;
|
|
font-size: 10px;
|
|
font-weight: bold;
|
|
min-width: 45px;
|
|
text-align: center;
|
|
}
|
|
|
|
.log_level_error {
|
|
background-color: #F44336;
|
|
color: white;
|
|
padding: 2px 8px;
|
|
border-radius: 12px;
|
|
font-size: 10px;
|
|
font-weight: bold;
|
|
min-width: 45px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Hacker-style console styles */
|
|
.console_container {
|
|
background-color: #0a0a0a;
|
|
border-radius: 15px;
|
|
height: 100%;
|
|
padding: 15px;
|
|
flex: 1;
|
|
min-height: 0;
|
|
max-height: 100%;
|
|
overflow-y: auto;
|
|
font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
color: #00ff00;
|
|
border: 1px solid #333;
|
|
box-shadow: inset 0 0 10px rgba(0, 255, 0, 0.1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.console_container::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.console_container::-webkit-scrollbar-track {
|
|
background: #1a1a1a;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.console_container::-webkit-scrollbar-thumb {
|
|
background: #333;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.console_container::-webkit-scrollbar-thumb:hover {
|
|
background: #555;
|
|
}
|
|
|
|
.console_content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.console_line {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 2px;
|
|
animation: fadeIn 0.3s ease-in;
|
|
}
|
|
|
|
.console_timestamp {
|
|
color: #888;
|
|
margin-right: 8px;
|
|
font-weight: bold;
|
|
min-width: 80px;
|
|
}
|
|
|
|
.console_level {
|
|
margin-right: 8px;
|
|
font-weight: bold;
|
|
min-width: 60px;
|
|
}
|
|
|
|
.console_message {
|
|
color: #00ff00;
|
|
flex: 1;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.console_data {
|
|
width: 100%;
|
|
margin-top: 4px;
|
|
margin-left: 20px;
|
|
color: #00aaff;
|
|
font-size: 11px;
|
|
white-space: pre-wrap;
|
|
background-color: rgba(0, 170, 255, 0.1);
|
|
padding: 8px;
|
|
border-radius: 4px;
|
|
border-left: 3px solid #00aaff;
|
|
}
|
|
|
|
.console_prompt {
|
|
color: #00ff00;
|
|
margin-right: 8px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.console_text {
|
|
color: #00ff00;
|
|
}
|
|
|
|
.console_placeholder {
|
|
display: flex;
|
|
align-items: center;
|
|
opacity: 0.7;
|
|
font-style: italic;
|
|
padding: 10px 0;
|
|
min-height: 30px;
|
|
}
|
|
|
|
.console_loading {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 10px 0;
|
|
min-height: 30px;
|
|
}
|
|
|
|
.console_cursor {
|
|
color: #00ff00;
|
|
animation: blink 1s infinite;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.console_error {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 10px 0;
|
|
min-height: 30px;
|
|
}
|
|
|
|
.console_error .console_text {
|
|
color: #ff4444;
|
|
}
|
|
|
|
.console_empty {
|
|
display: flex;
|
|
align-items: center;
|
|
opacity: 0.7;
|
|
font-style: italic;
|
|
padding: 10px 0;
|
|
min-height: 30px;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(5px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes blink {
|
|
0%, 50% {
|
|
opacity: 1;
|
|
}
|
|
51%, 100% {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
/* Live indicator styling */
|
|
.live_indicator {
|
|
color: #00ff00;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
animation: pulse 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
50% {
|
|
opacity: 0.7;
|
|
transform: scale(1.05);
|
|
}
|
|
}
|