|
| 1 | +/* Debug console styling */ |
| 2 | +#debugConsole { |
| 3 | + position: absolute; |
| 4 | + top: 0px; |
| 5 | + left: 0px; |
| 6 | + width: 100%; |
| 7 | + height: 90vh; |
| 8 | + z-index: 100; |
| 9 | + flex-direction: column; |
| 10 | + text-align: left; |
| 11 | + font-family: "Lucida Console", "Courier New", monospace; |
| 12 | + font-size: small; |
| 13 | + word-break: break-all; |
| 14 | +} |
| 15 | + |
| 16 | +#debugConsole .console-top-bar { |
| 17 | + flex-shrink: 0; |
| 18 | + display: flex; |
| 19 | + flex-direction: row; |
| 20 | + justify-content: flex-end; |
| 21 | + align-items: center; |
| 22 | + overflow: auto; |
| 23 | + height: 30px; |
| 24 | + padding: 10px 42px 10px 10px; |
| 25 | + background-color: rgb(243, 243, 243); |
| 26 | +} |
| 27 | + |
| 28 | +#debugConsole .console-top-bar .element { |
| 29 | + position: relative; |
| 30 | + flex-shrink: 0; |
| 31 | + height: 24px; |
| 32 | + margin: 0px 4px; |
| 33 | + border: 0; |
| 34 | +} |
| 35 | + |
| 36 | +#debugConsole .console-top-bar button { |
| 37 | + width: 24px; |
| 38 | + cursor: pointer; |
| 39 | + background: none; |
| 40 | +} |
| 41 | + |
| 42 | +#debugConsole .console-top-bar .separator { |
| 43 | + width: 1px; |
| 44 | + background: black; |
| 45 | +} |
| 46 | + |
| 47 | +#debugConsole .console-top-bar .log-counter .counter { |
| 48 | + cursor: pointer; |
| 49 | + padding: 8px; |
| 50 | + background-color: rgba(255, 255, 255, 0.5); |
| 51 | +} |
| 52 | + |
| 53 | +#debugConsole .console-top-bar .log-counter input[type='checkbox']:checked+.counter { |
| 54 | + border-bottom: 3px solid yellowgreen; |
| 55 | +} |
| 56 | + |
| 57 | +#debugConsole .console-top-bar .log-counter .counter::before { |
| 58 | + padding-right: 2px; |
| 59 | +} |
| 60 | + |
| 61 | +.log-counter.info .counter::before { |
| 62 | + content: 'ℹ️'; |
| 63 | +} |
| 64 | + |
| 65 | +.log-counter.warn .counter::before { |
| 66 | + content: '⚠️'; |
| 67 | +} |
| 68 | + |
| 69 | +.log-counter.error .counter::before { |
| 70 | + content: '🛑'; |
| 71 | +} |
| 72 | + |
| 73 | +.timestamp-button .icon::before { |
| 74 | + content: '🕰️'; |
| 75 | +} |
| 76 | + |
| 77 | +.to-bottom-button .icon::before { |
| 78 | + content: '⬇️'; |
| 79 | +} |
| 80 | + |
| 81 | +.clear-button .icon::before { |
| 82 | + content: '🗑️'; |
| 83 | +} |
| 84 | + |
| 85 | +.copy-button .icon::before { |
| 86 | + content: '📋'; |
| 87 | +} |
| 88 | + |
| 89 | + |
| 90 | +#debugConsole .log-entries { |
| 91 | + overflow-y: scroll; |
| 92 | +} |
| 93 | + |
| 94 | +#debugConsole .console-input { |
| 95 | + flex-shrink: 0; |
| 96 | + height: 24px; |
| 97 | +} |
| 98 | + |
| 99 | +#debugConsole .entry { |
| 100 | + padding: 8px 4px; |
| 101 | + color: rgb(41, 41, 41); |
| 102 | + background-color: rgba(230, 230, 230, 0.9); |
| 103 | + display: flex; |
| 104 | + justify-content: space-between; |
| 105 | + border-bottom: 1px solid #3d3d3d; |
| 106 | +} |
| 107 | + |
| 108 | +#debugConsole .entry.info { |
| 109 | + color: rgb(41, 50, 60); |
| 110 | + background-color: rgba(178, 216, 239, 0.9); |
| 111 | +} |
| 112 | + |
| 113 | +#debugConsole.hidelogs-info .entry.info, |
| 114 | +#debugConsole.hidelogs-info .entry.debug, |
| 115 | +#debugConsole.hidelogs-info .entry.log, |
| 116 | +#debugConsole.hidelogs-warn .entry.warn, |
| 117 | +#debugConsole.hidelogs-error .entry.error { |
| 118 | + display: none; |
| 119 | +} |
| 120 | + |
| 121 | +#debugConsole.hidelogtimestamps .timestamplog { |
| 122 | + display: none; |
| 123 | +} |
| 124 | + |
| 125 | +#debugConsole .entry.warn { |
| 126 | + color: rgb(82, 70, 3); |
| 127 | + background-color: rgba(234, 209, 101, 0.9); |
| 128 | +} |
| 129 | + |
| 130 | +#debugConsole .entry.error { |
| 131 | + color: rgb(75, 10, 5); |
| 132 | + background-color: rgba(233, 91, 91, 0.9); |
| 133 | +} |
| 134 | + |
| 135 | +#debugConsole .copy-button { |
| 136 | + position: relative; |
| 137 | + flex-shrink: 0; |
| 138 | + width: 20px; |
| 139 | + height: 20px; |
| 140 | + cursor: pointer; |
| 141 | + border: 0; |
| 142 | + background: none; |
| 143 | +} |
| 144 | + |
| 145 | +#debugConsole .to-bottom-button.locked { |
| 146 | + border-bottom: 3px solid yellowgreen; |
| 147 | +} |
| 148 | + |
| 149 | +#debugConsole .timestamp-button.show { |
| 150 | + border-bottom: 3px solid yellowgreen; |
| 151 | +} |
| 152 | + |
| 153 | +#debugConsole .bubble-click-indicator:before { |
| 154 | + content: attr(data-before); |
| 155 | + ; |
| 156 | + position: absolute; |
| 157 | + bottom: 0; |
| 158 | + right: 10px; |
| 159 | + width: 60px; |
| 160 | + height: 20px; |
| 161 | + padding-top: 4px; |
| 162 | + text-align: center; |
| 163 | + color: white; |
| 164 | + background: #333; |
| 165 | + border-radius: 10px; |
| 166 | + opacity: 0; |
| 167 | + transition: all 0.3s ease-out; |
| 168 | + pointer-events: none; |
| 169 | +} |
| 170 | + |
| 171 | +#debugConsole .bubble-click-indicator.active:before { |
| 172 | + opacity: 1; |
| 173 | + right: 30px; |
| 174 | + transition: all 0.2s ease-out; |
| 175 | +} |
| 176 | + |
| 177 | +/* Debug console toggle button */ |
| 178 | +#debugToggleMenu { |
| 179 | + z-index: 101; |
| 180 | + position: absolute; |
| 181 | + top: 8px; |
| 182 | + right: 8px; |
| 183 | + display: block; |
| 184 | + width: 30px; |
| 185 | + height: 30px; |
| 186 | + cursor: pointer; |
| 187 | + border-radius: 50%; |
| 188 | + box-shadow: 0px 1px 3px 2px #CDD9ED; |
| 189 | + background: #fff; |
| 190 | + transition: all .2s ease; |
| 191 | +} |
| 192 | + |
| 193 | +#debugToggleMenu.unseen-error { |
| 194 | + background: rgb(189, 40, 40); |
| 195 | + animation: error-background 1.0s ease 3; |
| 196 | +} |
| 197 | + |
| 198 | +@keyframes error-background { |
| 199 | + 0% { |
| 200 | + background: rgb(189, 40, 40); |
| 201 | + } |
| 202 | + |
| 203 | + 50% { |
| 204 | + background: rgb(231, 39, 39); |
| 205 | + } |
| 206 | + |
| 207 | + 100% { |
| 208 | + background: rgb(189, 40, 40); |
| 209 | + } |
| 210 | +} |
| 211 | + |
| 212 | +#debugToggleMenu .icon { |
| 213 | + position: absolute; |
| 214 | + top: 25%; |
| 215 | + left: 25%; |
| 216 | + width: 50%; |
| 217 | + height: 50%; |
| 218 | + background: rgb(128, 128, 128); |
| 219 | + border-radius: 50%; |
| 220 | + display: none; |
| 221 | +} |
| 222 | + |
| 223 | +#debugToggle { |
| 224 | + display: none; |
| 225 | +} |
| 226 | + |
| 227 | +#debugToggle:checked~#debugConsole { |
| 228 | + display: flex; |
| 229 | +} |
| 230 | + |
| 231 | +#debugToggle:checked~#debugToggleMenu .icon { |
| 232 | + display: block; |
| 233 | +} |
| 234 | + |
| 235 | +#debugToggle:not(:checked)~#debugConsole { |
| 236 | + display: none; |
| 237 | +} |
| 238 | + |
| 239 | +/* Startup Time interface */ |
| 240 | +#infoPanel { |
| 241 | + z-index: 10; |
| 242 | + position: absolute; |
| 243 | + top: 0; |
| 244 | + left: 0; |
| 245 | + padding: 8px; |
| 246 | + font-family: "Lucida Console", "Courier New", monospace; |
| 247 | + text-align: left; |
| 248 | + color: black; |
| 249 | + background: rgba(255, 255, 255, 0.4); |
| 250 | +} |
| 251 | + |
| 252 | +dt, |
| 253 | +dd { |
| 254 | + display: inline; |
| 255 | +} |
| 256 | + |
| 257 | +dt:after { |
| 258 | + content: ':'; |
| 259 | +} |
| 260 | + |
| 261 | +.tracking-seconds:after { |
| 262 | + content: 's'; |
| 263 | +} |
| 264 | + |
| 265 | +.tracking-milliseconds:after { |
| 266 | + content: 'ms'; |
| 267 | +} |
| 268 | + |
| 269 | +/* Hide Milliseconds value, still useful for CI to get exact values */ |
| 270 | +.tracking-milliseconds, |
| 271 | +.tracking-milliseconds:after { |
| 272 | + display: none; |
| 273 | +} |
| 274 | + |
| 275 | +dl div:after { |
| 276 | + display: block; |
| 277 | + content: ''; |
| 278 | +} |
0 commit comments