style(next)/SQL Console: tweak appearance

This commit is contained in:
Adorian Doran 2025-03-04 11:14:10 +02:00
parent 901d2d72ae
commit 77c4b50215

View File

@ -1691,7 +1691,9 @@ div.bookmark-folder-widget .note-link .bx {
transform: translateY(4%);
}
/* Search */
/*
* Search
*/
.search-result-widget-content .note-path .path-bracket {
display: inline;
@ -1702,7 +1704,51 @@ div.bookmark-folder-widget .note-link .bx {
font-weight: normal;
}
/* Help */
/*
* SQL Console
*/
/* Table buttons */
.sql-table-schemas-widget .sql-table-schemas button {
--color: var(--main-text-color);
--background: var(--card-background-color);
display: inline-block;
box-shadow: 2px 2px 2px var(--card-shadow-color);
margin-top: 4px;
vertical-align: baseline;
border: unset;
border-radius: 12px;
padding: 2px 12px;
background: var(--background) !important;
color: var(--color) !important;
line-height: unset;
cursor: help;
}
.sql-table-schemas-widget .sql-table-schemas button:hover,
.sql-table-schemas-widget .sql-table-schemas button:active,
.sql-table-schemas-widget .sql-table-schemas button:focus-visible {
--background: var(--card-background-press-color);
--color: var(--main-text-color);
}
/* Tooltip */
.tooltip .table-schema {
font-family: var(--monospace-font-family);
font-size: .85em;
}
/* Data type */
.tooltip .table-schema td:nth-child(2) {
color: var(--muted-text-color);
}
/*
* Help
*/
.help-dialog .modal-content {
--modal-background-color: var(--help-background-color);
@ -1974,4 +2020,4 @@ div.promoted-attribute-cell .multiplicity:has(span) {
margin-left: 8px;
margin-right: calc(var(--pa-card-padding-left) - var(--pa-card-padding-right));
font-size: 0; /* Prevent whitespaces creating a gap between buttons */
}
}