Fix #alltabs-button icon broken by -moz-binding, #44

This commit is contained in:
Rafael Mardojai CM 2019-07-17 08:42:11 -05:00
parent fdb5b9c294
commit ed4922e9c0
1 changed files with 26 additions and 1 deletions

View File

@ -5,4 +5,29 @@
toolbarbutton#alltabs-button {
-moz-binding: url("scrollbars.xml#js");
}
#alltabs-button:not(#hack) {
list-style-image: none !important;
position: relative;
}
#alltabs-button:not(#hack) .toolbarbutton-icon {
display: none !important;
}
#alltabs-button:not(#hack) .toolbarbutton-badge-stack {
position: absolute;
}
#alltabs-button::before {
position: relative;
top: 2px;
content: url("../icons/pan-down-symbolic.svg");
}
@media (prefers-color-scheme: dark) {
#alltabs-button::before {
filter: invert(100%) brightness(200%);
}
}
#alltabs-button:-moz-window-inactive::before {
opacity: 0.7 !important;
}