diff --git a/README.md b/README.md index 9cdc6b8..bd40bfb 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,11 @@ To disable a tweak, set the key to `false` or delete it, then restart the browse |**NOTE: all functionality of this button can still be accessed from the app menu.**| |`uc.tweak.fxa-button-as-private-indicator`| +|Show context menu navigation buttons (Back, Forward, Reload, etc.) horizontally| +|-| +|**NOTE: labels are only shown in the English language.**| +|`uc.tweak.horizontal-context-navigation`| + |remove tab separators| |-| |`uc.tweak.remove-tab-separators`| diff --git a/chrome/global/tweaks.css b/chrome/global/tweaks.css index 302fc83..2e5bcd5 100644 --- a/chrome/global/tweaks.css +++ b/chrome/global/tweaks.css @@ -202,3 +202,44 @@ browsing indicator) */ } } } + +@media not (-moz-platform: macos) { + @supports -moz-bool-pref("uc.tweak.horizontal-context-navigation") { + #context-navigation { + flex-direction: column !important; + -moz-box-orient: vertical !important; + } + + #context-navigation>.menuitem-iconic { + -moz-box-pack: start !important; + } + + #context-navigation .menu-iconic-text { + display: -moz-box !important; + } + + #context-navigation>#context-back .menu-iconic-text::before { + content: "Back" !important; + } + + #context-navigation>#context-forward .menu-iconic-text::before { + content: "Forward" !important; + } + + #context-navigation>#context-reload .menu-iconic-text::before { + content: "Reload" !important; + } + + #context-navigation>#context-stop .menu-iconic-text::before { + content: "Stop" !important; + } + + #context-navigation>#context-bookmarkpage .menu-iconic-text::before { + content: "Bookmark Page" !important; + } + + #context-navigation>#context-bookmarkpage[starred] .menu-iconic-text::before { + content: "Edit Bookmark" !important; + } + } +}