2020-05-22 05:13:58 +00:00
|
|
|
/* 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. */
|
|
|
|
|
2019-01-14 15:49:49 +00:00
|
|
|
/* This very likely only works properly on Windows10 */
|
2019-09-28 09:30:36 +00:00
|
|
|
/* If this won't work correctly can try the v2 file */
|
2019-01-14 15:49:49 +00:00
|
|
|
|
|
|
|
#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%) }
|