diff --git a/app/src/assets/scss/business/_graph.scss b/app/src/assets/scss/business/_graph.scss index 001cb86e3..d5a45242b 100644 --- a/app/src/assets/scss/business/_graph.scss +++ b/app/src/assets/scss/business/_graph.scss @@ -3,7 +3,6 @@ .graph { display: flex; flex-direction: column; - background-color: var(--b3-theme-surface); position: relative; overflow: hidden !important; diff --git a/app/src/assets/scss/business/_layout.scss b/app/src/assets/scss/business/_layout.scss index f9d2eca83..7005edbe1 100644 --- a/app/src/assets/scss/business/_layout.scss +++ b/app/src/assets/scss/business/_layout.scss @@ -340,20 +340,27 @@ } .dock { - height: 42px; display: flex; - padding: 0 42px; user-select: none; box-sizing: border-box; -webkit-user-select: none; + width: 42px; + flex-direction: column; + height: 100%; - &:hover .dock__item--pin { - opacity: 1; - } + &__split { + height: 17px; + position: relative; - &__items { - min-height: 26px; - min-width: 26px; + &:after { + height: 1px; + background: var(--b3-theme-on-surface-light); + content: ""; + position: absolute; + top: 8px; + width: 28px; + left: 7px; + } } svg { @@ -361,24 +368,6 @@ width: 17.5px; } - &--vertical { - width: 42px; - flex-direction: column; - height: 100%; - padding: 0; - - .dock__item { - &[data-index="0"]::after { - top: -32px; - bottom: auto; - } - - &[data-index="1"]::after { - bottom: 100%; - } - } - } - &__item { padding: 5px; color: var(--b3-theme-on-surface-light); @@ -387,11 +376,6 @@ margin: 7px; cursor: pointer; - &--pin { - opacity: 0; - transition: var(--b3-transition); - } - &:hover:not(.dock__item--activefocus), &--active { background-color: var(--b3-toolbar-hover); diff --git a/app/src/assets/scss/util/_reset.scss b/app/src/assets/scss/util/_reset.scss index ceb51b099..784e028c2 100644 --- a/app/src/assets/scss/util/_reset.scss +++ b/app/src/assets/scss/util/_reset.scss @@ -24,7 +24,7 @@ body { overflow: hidden; // body 使用字号导致显示不全 https://github.com/siyuan-note/siyuan/issues/11670#issuecomment-2282329358 - & > #dockBottom, & > .fn__flex-1 { + & > .fn__flex-1 { font-size: 14px; } diff --git a/app/src/assets/template/app/index.tpl b/app/src/assets/template/app/index.tpl index e6ae93591..19b1de5e7 100644 --- a/app/src/assets/template/app/index.tpl +++ b/app/src/assets/template/app/index.tpl @@ -19,11 +19,22 @@