Skip to content

该主题是否有打算和任我行一样做个隐藏顶栏呢? #345

Closed
@winter60

Description

@winter60

隐藏顶栏个人比较喜欢,这是个人使用时觉得这两者最直观的不同。如果没打算,R佬方便提供个简单的代码片段吗?感谢❤️

Activity

royc01

royc01 commented on Sep 17, 2024

@royc01
Owner

之前两个都有,后面Savor用合并顶栏代替了,可以用之前版本的代码片段。

.toolbar{
height:38px;
margin:7px 7px -38px 7px;
opacity: 0;
transition: all 300ms;
transform:translateY(-32px);
z-index:99;
transition-delay: 500ms;
border-radius:8px;
box-shadow: 0 4px 9px rgba(0,0,0,.05), 0 1.5px 2.8px rgba(0,0,0,.07), 0 0.3px 0.7px rgba(0,0,0,.12);
}

.toolbar:hover{
opacity: 1;
transform:translateY(0px);
transition: all 300ms;
}

.layout-tab-bar {
margin-right:0!important;
margin-left:0!important;
}

#drag{
height:32px;
margin-bottom: 0px;
}

.fn__flex-column.fn__flex-shrink,.layout__center+.layout__resize--lr+.fn__flex-column{
padding-top:0px;
}

#toolbar+.fn__flex-1{
margin-top: -7px;
}

winter60

winter60 commented on Sep 17, 2024

@winter60
Author

厉害!谢啦!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @winter60@royc01

        Issue actions

          该主题是否有打算和任我行一样做个隐藏顶栏呢? · Issue #345 · royc01/notion-theme