Skip to content

Commit

Permalink
create overlay_fullscreen_toolbars.css
Browse files Browse the repository at this point in the history
  • Loading branch information
MrOtherGuy committed Jan 25, 2024
1 parent a2b52b6 commit 3f6f6d3
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
18 changes: 18 additions & 0 deletions chrome/overlay_fullscreen_toolbars.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/overlay_fullscreen_toolbars.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */

@media (-moz-bool-pref: "browser.fullscreen.autohide"){
#navigator-toolbox[inFullscreen]{
position: fixed !important;
width: 100vw;
z-index: 1;
transition: margin-top 100ms ease-in-out 600ms;
}
#navigator-toolbox[inFullscreen][style=""],
#navigator-toolbox[inFullscreen]:hover,
#navigator-toolbox[inFullscreen]:focus-within,
#mainPopupSet:has(> #appMenu-popup[panelopen="true"]) ~ #navigator-toolbox[inFullscreen]{
transition-delay: 0ms;
margin-top: 0 !important;
}
}
3 changes: 2 additions & 1 deletion html_resources/tagmap.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,6 @@
"window_control_force_linux_system_style.css":["window-control","buttons","icon"],
"window_control_placeholder_support.css":["window-control","patch"],
"vertical_tabs.css":["tabs","hack"],
"bookmarks_below_content.css":["bookmarks","toolbars"]
"bookmarks_below_content.css":["bookmarks","toolbars"],
"overlay_fullscreen_toolbars.css":["toolbars","fullscreen"]
}
1 change: 1 addition & 0 deletions tags.csv
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,4 @@ window_control_force_linux_system_style.css,window-control,buttons,icon
window_control_placeholder_support.css,window-control,patch
vertical_tabs.css,tabs,hack
bookmarks_below_content.css,bookmarks,toolbars
overlay_fullscreen_toolbars.css,toolbars,fullscreen

0 comments on commit 3f6f6d3

Please sign in to comment.