This commit is contained in:
2021-11-20 16:57:47 +03:00
parent 5daadad67f
commit 9fd1595159
5 changed files with 64 additions and 41 deletions
+10 -9
View File
@@ -8,6 +8,7 @@
--logger-color-info: hsl(205, 100%, 61%);
--logger-color-debug: #909090;
--logger-color-success: #8bc34a;
--logger-lvl: 0;
}
.kit-logger, #kit-logger {
margin: 0;
@@ -25,7 +26,7 @@
bottom: 0;
height: 30vh;
}
bx_kit_log {
logger-item {
margin: 0;
display: -ms-flexbox;
display: -webkit-flex;
@@ -46,34 +47,34 @@ bx_kit_log {
-ms-flex-align: start;
align-items: flex-start;
white-space: pre-line;
padding-left: calc(var(--logger-lvl, 0) * 25px);
font-size: 12px !important;
line-height: 14px !important;
}
bx_kit_log_value * {
logger-item__value * {
color: inherit;
}
bx_kit_log_msg {
logger-item__msg {
}
bx_kit_log_key {
logger-item__key {
min-width: 25px;
padding-right: 5px;
white-space: nowrap;
color: var(--logger-color-key, #909090);
}
bx_kit_log_key:empty {
logger-item__key:empty {
display: none;
}
bx_kit_log_lvl {
logger-item__lvl {
min-width: 25px;
}
bx_kit_log_value {
logger-item__value {
flex: 1 0 0;
white-space: pre-wrap;
color: var(--logger-color-value, #c1c1c1);
}
bx_kit_log_value * {
logger-item__value * {
font-size: inherit !important;
line-height: inherit !important;
color: inherit !important;