mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
global menu styling improvements
This commit is contained in:
parent
c7bda4d0be
commit
70552d58ac
1
package-lock.json
generated
1
package-lock.json
generated
@ -5,7 +5,6 @@
|
|||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "trilium",
|
|
||||||
"version": "0.57.1-beta",
|
"version": "0.57.1-beta",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "AGPL-3.0-only",
|
"license": "AGPL-3.0-only",
|
||||||
|
@ -42,6 +42,13 @@ const TPL = `
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.global-menu .zoom-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
.global-menu .zoom-buttons a {
|
.global-menu .zoom-buttons a {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
border: 1px solid var(--button-border-color);
|
border: 1px solid var(--button-border-color);
|
||||||
@ -60,6 +67,13 @@ const TPL = `
|
|||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.global-menu .dropdown-item .bx {
|
||||||
|
position: relative;
|
||||||
|
top: 3px;
|
||||||
|
font-size: 120%;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<button type="button" data-toggle="dropdown" data-placement="right"
|
<button type="button" data-toggle="dropdown" data-placement="right"
|
||||||
@ -85,7 +99,7 @@ const TPL = `
|
|||||||
Switch to mobile version
|
Switch to mobile version
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<span class="zoom-container dropdown-item" style="display: flex; flex-direction: row; justify-content: space-between;">
|
<span class="zoom-container dropdown-item">
|
||||||
<div>
|
<div>
|
||||||
<span class="bx bx-empty"></span>
|
<span class="bx bx-empty"></span>
|
||||||
Zoom
|
Zoom
|
||||||
@ -111,7 +125,7 @@ const TPL = `
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="dropdown-item options-button" data-trigger-command="showLaunchBarShortcuts">
|
<li class="dropdown-item options-button" data-trigger-command="showLaunchBarShortcuts">
|
||||||
<span class="bx bx-horizontal-left"></span>
|
<span class="bx bx-sidebar"></span>
|
||||||
Configure launchbar shortcuts
|
Configure launchbar shortcuts
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user