1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

refactor: improved console with light theme

This commit is contained in:
2022-07-18 11:51:49 +02:00
parent c21bd6075c
commit b4d14d98db
4 changed files with 30 additions and 8 deletions

View File

@ -24,7 +24,7 @@
tabindex="0"
@contextmenu.prevent="contextMenu($event, wLog)"
>
<span class="type-datetime">{{ moment(wLog.date).format('YYYY-MM-DD HH:mm:ss') }}</span>: <span class="type-string">{{ wLog.sql }}</span>
<span class="type-datetime">{{ moment(wLog.date).format('HH:mm:ss') }}</span>: <code class="query-console-log-sql">{{ wLog.sql }}</code>
</div>
</div>
</div>
@ -156,15 +156,18 @@ onMounted(() => {
display: flex;
flex-direction: column;
max-height: 100%;
padding: 0 6px;
padding: 0 6px 3px;
.query-console-log {
padding: 1px 3px;
user-select: text;
margin: 1px 0;
border-radius: $border-radius;
&:hover,
&:focus {
background: $bg-color-gray;
.query-console-log-sql {
font-size: 95%;
opacity: .8;
font-weight: 700;
user-select: text;
}
}
}