mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2025-10-14 04:55:54 +00:00
create hide_tabs_scrollbuttons.css
This commit is contained in:
parent
425cd7a272
commit
e6cec0bca2
3 changed files with 23 additions and 1 deletions
20
chrome/hide_tabs_scrollbuttons.css
Normal file
20
chrome/hide_tabs_scrollbuttons.css
Normal file
|
@ -0,0 +1,20 @@
|
|||
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/hide_tabs_scrollbuttons.css made available under Mozilla Public License v. 2.0
|
||||
See the above repository for updates as well as full license text. */
|
||||
|
||||
/* This should hide tabs scrollbuttons in a manner that preserves the ability to move tab strip when reordering tabs */
|
||||
|
||||
#tabbrowser-tabs:not([movingtab]){ --uc-scroll-visibility: hidden }
|
||||
#tabbrowser-tabs[overflow]{ --uc-scrollbox-margin: -28px }
|
||||
|
||||
#scrollbutton-up{ position: relative;z-index: 1 }
|
||||
|
||||
#scrollbutton-up,
|
||||
#scrollbutton-down,
|
||||
#scrollbutton-up ~ spacer{
|
||||
visibility: var(--uc-scroll-visibility,visible);
|
||||
}
|
||||
.scrollbox-clip{ margin-inline: var(--uc-scrollbox-margin,0); }
|
||||
#tabbrowser-tabs[overflow][positionpinnedtabs] .tabbrowser-tab[pinned]{
|
||||
border-left: 28px solid transparent !important;
|
||||
clip-path: padding-box
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue