Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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;
  }