mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-09 19:30:15 +00:00
Don't restyle tabs-newtab-button, and instead just hide it
The button will not show up anyway so this just simplifies things.
This commit is contained in:
parent
62f0d91975
commit
d10c346554
1 changed files with 2 additions and 19 deletions
|
@ -33,12 +33,8 @@ Window controls will be all wrong without it
|
|||
}
|
||||
#toolbar-menubar > spacer{ pointer-events: none }
|
||||
|
||||
:root:not([customizing]) #tabs-newtab-button{
|
||||
-moz-appearance: none !important;
|
||||
height: 0px;
|
||||
padding-block: 0px !important;
|
||||
-moz-box-align: stretch;
|
||||
margin: 0 !important;
|
||||
#tabs-newtab-button{
|
||||
display: none;
|
||||
}
|
||||
/* Need to hide private-browsing indicators, but you can still use privatemode_indicator_as_menu_button.css */
|
||||
#private-browsing-indicator,
|
||||
|
@ -46,8 +42,6 @@ Window controls will be all wrong without it
|
|||
display: none;
|
||||
}
|
||||
|
||||
#tabs-newtab-button{ transform: scale(0.8); border-radius: var(--tab-border-radius); }
|
||||
|
||||
.accessibility-indicator,
|
||||
.private-browsing-indicator{
|
||||
height: unset !important;
|
||||
|
@ -63,17 +57,6 @@ Window controls will be all wrong without it
|
|||
height: 0;
|
||||
}
|
||||
|
||||
/* Button re-styling */
|
||||
#tabs-newtab-button:hover,
|
||||
#tabbrowser-tabs .tabs-newtab-button:hover{ background-color: var(--toolbarbutton-hover-background) }
|
||||
|
||||
#tabs-newtab-button > .toolbarbutton-icon,
|
||||
#tabbrowser-tabs .tabs-newtab-button > .toolbarbutton-icon{
|
||||
padding: 0 !important;
|
||||
transform: scale(0.6);
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
/* Window controls in nav-bar */
|
||||
:root[tabsintitlebar]:not([customizing]) #toolbar-menubar[inactive]{
|
||||
height: initial !important;
|
||||
|
|
Loading…
Reference in a new issue