mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-11 02:42:27 +08:00
style(next)/SQL Console: tweak appearance
This commit is contained in:
parent
901d2d72ae
commit
77c4b50215
@ -1691,7 +1691,9 @@ div.bookmark-folder-widget .note-link .bx {
|
|||||||
transform: translateY(4%);
|
transform: translateY(4%);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Search */
|
/*
|
||||||
|
* Search
|
||||||
|
*/
|
||||||
|
|
||||||
.search-result-widget-content .note-path .path-bracket {
|
.search-result-widget-content .note-path .path-bracket {
|
||||||
display: inline;
|
display: inline;
|
||||||
@ -1702,7 +1704,51 @@ div.bookmark-folder-widget .note-link .bx {
|
|||||||
font-weight: normal;
|
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 {
|
.help-dialog .modal-content {
|
||||||
--modal-background-color: var(--help-background-color);
|
--modal-background-color: var(--help-background-color);
|
||||||
@ -1974,4 +2020,4 @@ div.promoted-attribute-cell .multiplicity:has(span) {
|
|||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
margin-right: calc(var(--pa-card-padding-left) - var(--pa-card-padding-right));
|
margin-right: calc(var(--pa-card-padding-left) - var(--pa-card-padding-right));
|
||||||
font-size: 0; /* Prevent whitespaces creating a gap between buttons */
|
font-size: 0; /* Prevent whitespaces creating a gap between buttons */
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user