2021-06-30 06:35:04 +00:00
|
|
|
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/centered_tab_label.css made available under Mozilla Public License v. 2.0
|
|
|
|
See the above repository for updates as well as full license text. */
|
|
|
|
|
2022-12-08 14:19:36 +00:00
|
|
|
.tab-label-container{
|
|
|
|
display: grid;
|
2023-03-11 10:26:07 +00:00
|
|
|
justify-content: safe center; /* Fx <112 compatibility */
|
|
|
|
align-items: safe center; /* Fx <112 compatibility */
|
|
|
|
align-content: center;
|
2022-12-08 14:19:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-secondary-label{
|
2023-03-11 10:26:07 +00:00
|
|
|
-moz-box-pack: center; /* Fx <112 compatibility */
|
|
|
|
justify-content: center;
|
2022-12-08 14:19:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-label,
|
|
|
|
.tab-secondary-label{ overflow: hidden }
|
|
|
|
|
|
|
|
.tabbrowser-tab[selected]:not(:hover) .tab-label-container:not([labeldirection="rtl"]),
|
|
|
|
#tabbrowser-tabs:not([closebuttons="activetab"]) .tabbrowser-tab:not(:hover,[pinned]) .tab-label-container:not([labeldirection="rtl"]){
|
|
|
|
margin-inline-end: 7px;
|
|
|
|
}
|