mirror of
https://github.com/zadam/trilium.git
synced 2024-11-11 09:46:25 +08:00
global menu styling improvements
This commit is contained in:
parent
c7bda4d0be
commit
70552d58ac
2 changed files with 16 additions and 3 deletions
1
package-lock.json
generated
1
package-lock.json
generated
|
@ -5,7 +5,6 @@
|
|||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "trilium",
|
||||
"version": "0.57.1-beta",
|
||||
"hasInstallScript": true,
|
||||
"license": "AGPL-3.0-only",
|
||||
|
|
|
@ -42,6 +42,13 @@ const TPL = `
|
|||
display: none;
|
||||
}
|
||||
|
||||
.global-menu .zoom-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: baseline;
|
||||
}
|
||||
|
||||
.global-menu .zoom-buttons a {
|
||||
display: inline-block;
|
||||
border: 1px solid var(--button-border-color);
|
||||
|
@ -60,6 +67,13 @@ const TPL = `
|
|||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.global-menu .dropdown-item .bx {
|
||||
position: relative;
|
||||
top: 3px;
|
||||
font-size: 120%;
|
||||
margin-right: 5px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<button type="button" data-toggle="dropdown" data-placement="right"
|
||||
|
@ -85,7 +99,7 @@ const TPL = `
|
|||
Switch to mobile version
|
||||
</li>
|
||||
|
||||
<span class="zoom-container dropdown-item" style="display: flex; flex-direction: row; justify-content: space-between;">
|
||||
<span class="zoom-container dropdown-item">
|
||||
<div>
|
||||
<span class="bx bx-empty"></span>
|
||||
Zoom
|
||||
|
@ -111,7 +125,7 @@ const TPL = `
|
|||
</li>
|
||||
|
||||
<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
|
||||
</li>
|
||||
|
||||
|
|
Loading…
Reference in a new issue