2024-11-20 09:52:45 -05:00
|
|
|
rounding:
|
2024-06-11 11:13:40 -04:00
|
|
|
# css
|
|
|
|
''
|
2024-12-10 16:18:10 -05:00
|
|
|
:root * {
|
|
|
|
--tab-height-personal: 40px !important;
|
|
|
|
--uc-tab-corner-height: 41px !important;
|
|
|
|
--uc-vertical-toolbar-width: 46px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Main Menu outline */
|
|
|
|
#appMenu-mainView .panel-subview-body {
|
|
|
|
outline: 2px solid var(--button-background-color-primary);
|
|
|
|
}
|
|
|
|
|
2024-06-11 11:13:40 -04:00
|
|
|
/* Hide unused menu rows */
|
2024-12-10 16:18:10 -05:00
|
|
|
#appMenu-mainView .browser-toolbar > * #alltabs-button,
|
2024-06-11 11:13:40 -04:00
|
|
|
#appMenu-fxa-status2,
|
|
|
|
#appMenu-fxa-separator {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2024-12-10 16:18:10 -05:00
|
|
|
/* Makes main menu rows all the same height */
|
|
|
|
#appMenu-mainView .subviewbutton {
|
|
|
|
min-height: 40px !important;
|
2024-06-11 11:13:40 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Fix url font-size */
|
|
|
|
#urlbar-input {
|
|
|
|
font-size: large !important;
|
|
|
|
}
|
|
|
|
|
2024-12-10 16:18:10 -05:00
|
|
|
/* Extension padding on sidebar */
|
|
|
|
toolbar .toolbarbutton-1>.toolbarbutton-badge-stack {
|
|
|
|
padding: 10px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hamnburger button border */
|
|
|
|
:root:not([chromehidden~="toolbar"]) #PanelUI-menu-button[open] {
|
|
|
|
border: 2px solid var(--button-background-color-primary) !important;
|
|
|
|
border-top-left-radius: ${toString rounding}px !important;
|
|
|
|
}
|
|
|
|
:root:not([chromehidden~="toolbar"]) #PanelUI-menu-button[open] > .toolbarbutton-badge-stack {
|
|
|
|
border-top-left-radius: ${toString rounding}px !important;
|
2024-06-11 11:13:40 -04:00
|
|
|
}
|
|
|
|
|
2024-12-10 16:18:10 -05:00
|
|
|
/* Fix extension dialog going off screen */
|
|
|
|
#appMenu-addon-installed-notification,
|
|
|
|
#notification-popup {
|
|
|
|
margin-top: -1px !important;
|
|
|
|
margin-inline: -505px !important;
|
|
|
|
}
|
|
|
|
#customizationui-widget-panel {
|
|
|
|
margin-top: -1px !important;
|
|
|
|
}
|
|
|
|
#PersonalToolbar .toolbarbutton-1 {
|
|
|
|
margin-block: 0px !important;
|
|
|
|
}
|
|
|
|
#PersonalToolbar #PlacesToolbarItems > .bookmark-item {
|
|
|
|
margin-block: 6px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* -------------------------------------------------------------- */
|
2024-06-11 11:13:40 -04:00
|
|
|
/* https://github.com/Godiesc/firefox-gx/blob/main/Tricks/README.md */
|
|
|
|
/* Extensions button into the "left-sidebar" - Immovable */
|
|
|
|
:root:not([chromehidden~="toolbar"],
|
|
|
|
[sizemode="fullscreen"]) #PersonalToolbar {
|
|
|
|
--padding-top-left-sidebar: 110px !important; /* 182px to one-line config */
|
|
|
|
}
|
|
|
|
:root:not([chromehidden~="toolbar"],
|
|
|
|
[sizemode="fullscreen"]) #unified-extensions-button {
|
|
|
|
--toolbarbutton-hover-background: transparent !important;
|
|
|
|
--toolbarbutton-active-background: transparent !important;
|
|
|
|
position: fixed;
|
|
|
|
display: flex;
|
|
|
|
top: 42px !important;
|
2024-12-10 16:18:10 -05:00
|
|
|
left: 3px !important;
|
2024-06-11 11:13:40 -04:00
|
|
|
z-index: 2 !important;
|
|
|
|
fill: var(--general-color) !important;
|
|
|
|
width: calc(var(--uc-vertical-toolbar-width) - 4px) !important;
|
|
|
|
}
|
|
|
|
:root:not([chromehidden~="toolbar"],
|
|
|
|
:root:not([chromehidden~="toolbar"],
|
|
|
|
[sizemode="fullscreen"]) #unified-extensions-button:hover,
|
|
|
|
[sizemode="fullscreen"]) #unified-extensions-button[open] {
|
|
|
|
transform: scale(1.24) !important;
|
|
|
|
transition: ease-in-out !important;
|
|
|
|
}
|
|
|
|
:root:not([chromehidden~="toolbar"],
|
|
|
|
[sizemode="fullscreen"]) #unified-extensions-button:active {
|
|
|
|
transform: scale(1.12) !important;
|
|
|
|
transition-duration: 0ms !important;
|
|
|
|
}
|
|
|
|
''
|