remove --proton-tab-block-margin dummy variables

This commit is contained in:
MrOtherGuy 2021-11-21 09:42:28 +02:00
parent 134fdbfb22
commit 5118aedfad
11 changed files with 3 additions and 25 deletions

View file

@ -3,9 +3,6 @@ See the above repository for updates as well as full license text. */
/* Hide tabs unless cursor is on top of toolbar */
/* Dummy variable to support both versions 89-90 */
:root{ --tab-block-margin: var(--proton-tab-block-margin) }
:root:not([customizing]) #navigator-toolbox{
position: relative;
z-index: 1;

View file

@ -10,8 +10,6 @@ See the above repository for updates as well as full license text. */
/* Make selected tab unclickable so click goes to the capture box, obviously it can't be clicked at all anymore */
/* remove the :not([pinned]) bit to make clicking pinned tab AROUND the tab-icon focus urlbar*/
:root{ --tab-block-margin: var(--proton-tab-block-margin) }
.tabbrowser-tab:not([pinned])[selected]{ pointer-events: none }
/* Add back pointer-events to several elements so UI remains usable */

View file

@ -6,7 +6,6 @@ See the above repository for updates as well as full license text. */
#tabbrowser-tabs{
--uc-tab-curve-size:17px; /* 10px looks about like chromium - 17px looks close to Australis tabs */
--uc-tabs-scrollbutton-border: 0px;
--proton-tab-block-margin:0px;
--tab-block-margin:0px;
--tab-min-height: 34px;
--uc-tab-line-color: rgb(10, 132, 255);

View file

@ -4,9 +4,6 @@ See the above repository for updates as well as full license text. */
/* Makes tabs toolbar items zero-height initially and sets enlarge them to fill up space equal to tab-min-height set on tabs. Optionally use privatemode_indicator_as_menu_button.css to replace main menu icon with private browsing indicator while tabs are hidden. */
/* Firefox 65+ only */
/* Dummy variable to support both versions 89-90 */
:root{ --tab-block-margin: var(--proton-tab-block-margin) }
:root[sizemode="normal"] #nav-bar{ --uc-window-drag-space-width: 20px }
#titlebar{ -moz-appearance: none !important; }

View file

@ -11,9 +11,6 @@ Get window_control_placeholder_support.css
Window controls will be all wrong without it
*/
/* Dummy variable to support both versions 89-90 */
:root{ --tab-block-margin: var(--proton-tab-block-margin,0px) }
#titlebar{ -moz-appearance: none !important; }
/* We'll use window controls from menubar instead */
#TabsToolbar > .titlebar-buttonbox-container { display: none }

View file

@ -29,9 +29,6 @@ See the above repository for updates as well as full license text. */
@-moz-document url(chrome://browser/content/browser.xhtml){
/* Dummy variable to support both versions 89-90 */
:root{ --tab-block-margin: var(--proton-tab-block-margin) }
#scrollbutton-up~spacer,
#scrollbutton-up,
#scrollbutton-down{ display: var(--scrollbutton-display-model,initial) }

View file

@ -8,10 +8,9 @@ See the above repository for updates as well as full license text. */
/*
urlbar_popup_full_width.css is VERY MUCH recommended for Firefox 71+ because of new urlbar popup
*/
:root{ --tab-block-margin: var(--proton-tab-block-margin) }
:root[uidensity="compact"]{
--tab-block-margin: 2px !important;
--proton-tab-block-margin: 2px !important;
}
/* Modify these to change relative widths or default height */

View file

@ -8,10 +8,9 @@ See the above repository for updates as well as full license text. */
Get window_control_placeholder_support.css
Window controls will be all wrong without it
*/
:root{ --tab-block-margin: var(--proton-tab-block-margin) }
:root[uidensity="compact"]{
--tab-block-margin: 2px !important;
--proton-tab-block-margin: 2px !important;
}
/* Modify these to change relative widths or default height */

View file

@ -11,10 +11,9 @@ See the above repository for updates as well as full license text. */
/* Modify it to suit your needs */
@media screen and (min-width: 1100px){
:root{ --tab-block-margin: var(--proton-tab-block-margin) }
:root[uidensity="compact"]{
--tab-block-margin: 2px !important;
--proton-tab-block-margin: 2px !important;
}
/* Modify these to change relative widths or default height */

View file

@ -6,7 +6,6 @@ See the above repository for updates as well as full license text. */
* It's not strictly a requirement, but this style expects compact_proton.css to be loaded before it. */
:root[id]{
--proton-tab-block-margin: 0px !important;
--tab-block-margin: 0px !important;
--tabs-shadow-size: 1px !important;

View file

@ -3,9 +3,6 @@ See the above repository for updates as well as full license text. */
/* Makes menubar appear as overlay in the top left corner */
/* Dummy variable to support both versions 89-90 */
:root{ --tab-block-margin: var(--proton-tab-block-margin) }
#toolbar-menubar{
position: fixed;
display: flex;