婆罗门
精华
|
战斗力 鹅
|
回帖 0
注册时间 2009-8-26
|
楼主 |
发表于 2020-11-19 13:05
|
显示全部楼层
试试这两个方案:
https://www.reddit.com/r/Firefox ... e_toolbar_just_the/
- #PlacesToolbarItems > .bookmark-item{ padding-block: var(--uc-bm-padding) !important; }
- /* 选择书签栏行为 */
- /* 用注释去掉或直接删除相应部分来取消特性 */
- /* 聚焦地址栏时显示 */
- #nav-bar:focus-within + #PersonalToolbar{
- transition-delay: 100ms !important;
- transform: rotateX(0);
- }
- /* 鼠标略过时显示 */
- #navigator-toolbox:hover > #PersonalToolbar{
- transition-delay: 100ms !important;
- transform: rotateX(0);
- }
- /* 取消注释以适配多行书签栏(multi-row_bookmarks.css) */
- /* 将导致按钮位置错误,但在多行设置下影响不大 */
- /*
- #PersonalToolbar:not([customizing]){
- position: fixed;
- display: block;
- margin-bottom: 0px !important;
- }
- */
复制代码- #nav-bar {
- z-index: 2 !important;
- }
- #PersonalToolbar {
- display: block;
- position: relative !important;
- z-index: 0 !important;
- margin-top: -24px !important;
- -moz-window-dragging: no-drag !important;
- transition: margin 280ms linear !important;
- }
- #navigator-toolbox:active #PersonalToolbar,
- #nav-bar:hover+#PersonalToolbar,
- #PersonalToolbar:hover {
- z-index: 1 !important;
- margin-top: 0px !important;
- margin-bottom: -24px !important;
- transition: margin 280ms linear !important;
- /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.8) !important;*/
- }
复制代码 |
|