From c4396670ea13232c36298fcaea91a77c67cbb1d5 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Wed, 23 Mar 2022 06:58:12 +0900 Subject: [PATCH] Fix: Missing Full screen file --- src/fullscreen/_index.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/fullscreen/_index.scss diff --git a/src/fullscreen/_index.scss b/src/fullscreen/_index.scss new file mode 100644 index 0000000..43d8bf8 --- /dev/null +++ b/src/fullscreen/_index.scss @@ -0,0 +1,14 @@ +:root[sizemode="fullscreen"] #navigator-toolbox { + position: fixed !important; /* Needed for content to take up entire height */ + display: block !important; /* Needed for content to take up entire height */ + z-index: 1000 !important; /* Puts the UI above the content */ +} + +:root[sizemode="fullscreen"] :-moz-any(#navigator-toolbox, #titlebar, #nav-bar, #PersonalToolbar) { + width: 100%; /* Makes the UI take up the entire width */ +} + +:root:not([sizemode="fullscreen"]) #PersonalToolbar[initialized="true"]:not([collapsed="true"]), +:root[sizemode="fullscreen"] #PersonalToolbar[initialized="true"] { + visibility: unset !important; /* Makes the bookmarks toolbar visible if enabled */ +}