-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconsole.css
More file actions
126 lines (108 loc) · 2.04 KB
/
console.css
File metadata and controls
126 lines (108 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
#truthfulness-console {
position: fixed;
width: 300px;
height: fit-content;
background: #1e1e1e;
border: 1px solid #333;
border-radius: 5px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
font-family: 'Courier New', monospace;
color: #fff;
z-index: 10000;
overflow: hidden;
}
.console-header {
background: #2d2d2d;
padding: 5px 10px;
font-size: 14px;
display: flex;
justify-content: space-between;
align-items: center;
cursor: grab;
user-select: none;
}
.console-header button {
background: none;
border: none;
color: #fff;
font-size: 16px;
cursor: pointer;
padding: 0 5px;
}
.console-header button:hover {
color: #0af;
}
#console-output {
height: 300px;
overflow-y: auto;
padding: 10px;
font-size: 14px;
background: #252526;
}
.log-entry {
margin-bottom: 5px;
word-wrap: break-word;
}
.log-entry.info { color: #d4d4d4; }
.log-entry.success { color: #0f0; }
.log-entry.error { color: #ffffff; background: #ff0000; }
.log-entry.warning { color: #ffff00; }
.console-controls {
display: flex;
flex-direction: column;
padding: 10px;
gap: 5px;
}
.console-controls select, .console-controls input {
padding: 5px;
font-size: 12px;
background: #3c3c3c;
border: none;
border-radius: 3px;
color: #fff;
width: 100%;
}
.console-controls button {
padding: 5px;
background: #3c3c3c;
border: none;
border-radius: 3px;
color: #fff;
cursor: pointer;
font-size: 12px;
transition: background 0.2s;
}
.button:hover {
background: #555;
}
.button.active {
background: #007acc;
}
.button.active:hover {
background: #005f99;
}
.resize-handle {
position: absolute;
bottom: 0;
right: 0;
width: 15px;
height: 15px;
background: #555;
cursor: ew-resize;
}
.resize-handle:hover {
background: #777;
}
#console-output::-webkit-scrollbar {
width: 8px;
}
#console-output::-webkit-scrollbar-track {
background: #1e1e1e;
}
#console-output::-webkit-scrollbar-thumb {
background: #555;
border-radius: 4px;
}
#console-output::-webkit-scrollbar-thumb:hover {
background: #777;
}