create centered_tab_label.css

This commit is contained in:
MrOtherGuy 2021-06-30 09:35:04 +03:00
parent 8c5e03127f
commit f1eabd163c
3 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,7 @@
/* 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. */
.tab-label-container{ display: grid; justify-content: safe center }
.tab-label,.tab-secondary-label{ overflow: hidden }
.tabbrowser-tab[selected]:not(:hover) .tab-label-container,
#tabbrowser-tabs:not([closebuttons="activetab"]) .tabbrowser-tab:not(:hover,[pinned]) .tab-label-container{ margin-inline-end: 7px }

View file

@ -136,5 +136,6 @@
"window_control_placeholder_support.css":["window-control","patch"], "window_control_placeholder_support.css":["window-control","patch"],
"loading_indicator_bouncing_line.css":["status","navigation","effect"], "loading_indicator_bouncing_line.css":["status","navigation","effect"],
"loading_indicator_rotating_image.css":["navigation","effect","status"], "loading_indicator_rotating_image.css":["navigation","effect","status"],
"menupopup_forced_color_schemes.css":["popup","colors","menu"] "menupopup_forced_color_schemes.css":["popup","colors","menu"],
"centered_tab_label.css":["tab"]
} }

View file

@ -136,3 +136,4 @@ window_control_placeholder_support.css,window-control,patch
loading_indicator_bouncing_line.css,status,navigation,effect loading_indicator_bouncing_line.css,status,navigation,effect
loading_indicator_rotating_image.css,navigation,effect,status loading_indicator_rotating_image.css,navigation,effect,status
menupopup_forced_color_schemes.css,popup,colors,menu menupopup_forced_color_schemes.css,popup,colors,menu
centered_tab_label.css,tab

1 auto_devtools_theme_for_rdm.css,devtools,colors
136 loading_indicator_bouncing_line.css,status,navigation,effect
137 loading_indicator_rotating_image.css,navigation,effect,status
138 menupopup_forced_color_schemes.css,popup,colors,menu
139 centered_tab_label.css,tab