-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create overlay_fullscreen_toolbars.css
- Loading branch information
1 parent
a2b52b6
commit 3f6f6d3
Showing
3 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters