|
1 | | -/* Maple Theme v1.3.7 For Obsidian */ |
| 1 | +/* Maple Theme v1.3.8 For Obsidian */ |
2 | 2 | /* @settings |
3 | 3 | id: maple-basic |
4 | 4 | name: Maple Basic |
@@ -446,7 +446,7 @@ settings: |
446 | 446 | type: variable-text |
447 | 447 | title: Setting Panel Header Title |
448 | 448 | title.zh: 设置面板标题 |
449 | | - default: Maple 1.3.7 |
| 449 | + default: Maple 1.3.8 |
450 | 450 | quotes: true |
451 | 451 | - id: modal-setting-header-title-center |
452 | 452 | type: class-toggle |
@@ -7373,7 +7373,7 @@ body.modal-setting-header:not(.is-mobile) .modal-container .mod-settings { |
7373 | 7373 | container-type: inline-size; |
7374 | 7374 | } |
7375 | 7375 | body.modal-setting-header:not(.is-mobile) .modal-container .mod-settings::before { |
7376 | | - content: var(--setting-modal-header-title, "Maple 1.3.7"); |
| 7376 | + content: var(--setting-modal-header-title, "Maple 1.3.8"); |
7377 | 7377 | position: absolute; |
7378 | 7378 | left: var(--size-4-4); |
7379 | 7379 | top: calc(var(--modal-header-height) / 2); |
@@ -8546,16 +8546,23 @@ body.is-tablet .modal-container .modal-sidebar:not(:has(+ .community-modal-detai |
8546 | 8546 |
|
8547 | 8547 | /* #endregion basic */ |
8548 | 8548 | /* #region floating button */ |
| 8549 | +body.is-phone.mobile-floating-button { |
| 8550 | + --navbar-bottom-padding: max(var(--safe-area-inset-bottom), 28px); |
| 8551 | + --navbar-side-padding: var(--safe-area-inset-side); |
| 8552 | +} |
| 8553 | +body.is-phone.mobile-floating-button.is-ios { |
| 8554 | + --navbar-bottom-padding: 28px; |
| 8555 | + --navbar-side-padding: var(--navbar-bottom-padding); |
| 8556 | +} |
8549 | 8557 | body.is-phone.mobile-floating-button .mod-root .view-header { |
8550 | 8558 | z-index: 3; |
8551 | 8559 | } |
8552 | 8560 | body.is-phone.mobile-floating-button .mod-root .workspace-leaf-content[data-type=markdown] .view-actions button:nth-last-child(2) { |
8553 | 8561 | position: fixed; |
8554 | | - right: var(--size-4-4); |
8555 | | - bottom: 0; |
| 8562 | + right: var(--navbar-side-padding); |
| 8563 | + bottom: var(--navbar-bottom-padding); |
8556 | 8564 | color: var(--text-on-accent); |
8557 | 8565 | background-color: var(--accent-active-bg); |
8558 | | - margin-bottom: calc(var(--safe-area-inset-bottom) + var(--size-4-4)); |
8559 | 8566 | border-radius: 100%; |
8560 | 8567 | padding: var(--size-4-3); |
8561 | 8568 | width: auto; |
|
0 commit comments