為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Customising tab position in FF57 on Mac not perfect

  • 5 回覆
  • 1 有這個問題
  • 14 次檢視
  • 最近回覆由 barcelona2

more options

Hi,

I use the following css to get the tabs down below the line of bookmarks (which should be the logical position anyway from a ui perspective):

/* Tab bar below Navigation & Bookmarks Toolbars

  For best results, show Title Bar or Menu Bar */
  1. nav-bar { /* main toolbar */
 -moz-box-ordinal-group: 1 !important;
 border-top-width: 0 !important; 

}

  1. PersonalToolbar { /* bookmarks toolbar */
 -moz-box-ordinal-group: 2 !important;

}

  1. TabsToolbar { /* tab bar */
 -moz-box-ordinal-group: 3 !important;

}

However, the top area (colour buttons) is now overlapping the FF back arrow. Does someone have a suggestion for a css to fix this?

Thanks a lot.

Hi, I use the following css to get the tabs down below the line of bookmarks (which should be the logical position anyway from a ui perspective): /* Tab bar below Navigation & Bookmarks Toolbars For best results, show Title Bar or Menu Bar */ #nav-bar { /* main toolbar */ -moz-box-ordinal-group: 1 !important; border-top-width: 0 !important; } #PersonalToolbar { /* bookmarks toolbar */ -moz-box-ordinal-group: 2 !important; } #TabsToolbar { /* tab bar */ -moz-box-ordinal-group: 3 !important; } However, the top area (colour buttons) is now overlapping the FF back arrow. Does someone have a suggestion for a css to fix this? Thanks a lot.

被選擇的解決方法

Ok, solved it. With this css the mac's three bbuttons red, yellow, green appear properly again:

/* Tab bar below Navigation & Bookmarks Toolbars

 For best results, show Title Bar or Menu Bar */
 #nav-bar { /* main toolbar */
 -moz-box-ordinal-group: 1 !important;
     padding-top: 22px !important;
 border-top-width: 0 !important; 
  }
   #PersonalToolbar { /* bookmarks toolbar */
  -moz-box-ordinal-group: 2 !important;
  }
  #TabsToolbar { /* tab bar */
-moz-box-ordinal-group: 3 !important;
  }
從原來的回覆中察看解決方案 👍 1

所有回覆 (5)

more options

Try this for the navbar rule:

    #nav-bar { /* main toolbar */ 
      padding-left: 75px;
     -moz-box-ordinal-group: 1 !important;
     border-top-width: 0 !important; 
}
more options

1st screenshot with your suggestion, 2nd one as I had it before.

Cheers

more options

sorry screenshot of your s wasnot detailed enough

more options

Oh, if you have the bookmarks toolbar on top you probably need to apply the padding to that:

    #PersonalToolbar { /* bookmarks toolbar */ 
    padding-left: 75px !important;
 -moz-box-ordinal-group: 2 !important;
}
more options

選擇的解決方法

Ok, solved it. With this css the mac's three bbuttons red, yellow, green appear properly again:

/* Tab bar below Navigation & Bookmarks Toolbars

 For best results, show Title Bar or Menu Bar */
 #nav-bar { /* main toolbar */
 -moz-box-ordinal-group: 1 !important;
     padding-top: 22px !important;
 border-top-width: 0 !important; 
  }
   #PersonalToolbar { /* bookmarks toolbar */
  -moz-box-ordinal-group: 2 !important;
  }
  #TabsToolbar { /* tab bar */
-moz-box-ordinal-group: 3 !important;
  }