mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-13 21:00:16 +00:00
21 lines
No EOL
1 KiB
CSS
21 lines
No EOL
1 KiB
CSS
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/vertical_context_navigation.css made available under Mozilla Public License v. 2.0
|
|
See the above repository for updates as well as full license text. */
|
|
|
|
/* This very likely only works properly on Windows10 */
|
|
/* If this won't work correctly can try the v2 file */
|
|
|
|
#contentAreaContextMenu > .popup-internal-box > .arrowscrollbox-scrollbox{
|
|
display: grid;
|
|
/* 30px will be basically the width of the navigation buttons */
|
|
grid-template-columns: 30px 1fr;
|
|
grid-template-rows: 0px
|
|
}
|
|
#contentAreaContextMenu > .popup-internal-box > .arrowscrollbox-scrollbox::before{
|
|
content: "";
|
|
grid-area: auto / 2 / auto / 2;
|
|
}
|
|
#context-navigation{-moz-box-orient: vertical; grid-area: 1 / 1 / auto / 1 }
|
|
#context-sep-navigation{ display: none }
|
|
#context-navigation ~ * { grid-area: auto / 2 / auto / 2; }
|
|
#context-navigation ~ * { margin-inline-start: -1.45em !important; }
|
|
#context-navigation ~ *:not(.menuitem-iconic){ clip-path: polygon(1.45em 0%, 100% 0%,100% 100%,1.45em 100%) } |