2015-06-17 11:49:43 -06:00
|
|
|
|
#uBlock0-legacy-button {
|
2015-06-17 11:56:10 -06:00
|
|
|
|
list-style-image: url('../img/browsericons/icon24.svg');
|
2015-04-24 11:57:30 -06:00
|
|
|
|
}
|
2015-06-17 11:49:43 -06:00
|
|
|
|
#uBlock0-legacy-button.off {
|
2015-06-17 11:56:10 -06:00
|
|
|
|
list-style-image: url('../img/browsericons/icon24-off.svg');
|
2015-04-24 11:57:30 -06:00
|
|
|
|
}
|
|
|
|
|
|
2015-06-17 11:49:43 -06:00
|
|
|
|
toolbar[iconsize="small"] #uBlock0-legacy-button {
|
|
|
|
|
list-style-image: url('../img/browsericons/icon16.svg');
|
2015-04-24 11:57:30 -06:00
|
|
|
|
}
|
2015-06-17 11:49:43 -06:00
|
|
|
|
toolbar[iconsize="small"] #uBlock0-legacy-button.off {
|
|
|
|
|
list-style-image: url('../img/browsericons/icon16-off.svg');
|
2015-04-24 11:57:30 -06:00
|
|
|
|
}
|
2015-06-17 11:49:43 -06:00
|
|
|
|
#uBlock0-legacy-button[badge]::before {
|
|
|
|
|
background: #555;
|
2015-04-24 11:57:30 -06:00
|
|
|
|
color: #fff;
|
|
|
|
|
content: attr(badge);
|
2015-06-17 11:49:43 -06:00
|
|
|
|
font: bold 10px sans-serif;
|
|
|
|
|
margin-top: -2px;
|
|
|
|
|
padding: 0 2px;
|
|
|
|
|
position: fixed;
|
2015-04-24 11:57:30 -06:00
|
|
|
|
}
|
2015-06-17 11:49:43 -06:00
|
|
|
|
/* This hack required because if the before content changes it de-pops the
|
|
|
|
|
popup (without firing any events). So just hide it instead. Note, can't
|
|
|
|
|
actually *hide* it, or the same thing happens.
|
|
|
|
|
**/
|
|
|
|
|
#uBlock0-legacy-button[badge=""]::before {
|
|
|
|
|
padding: 0;
|
2015-04-24 11:57:30 -06:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Override off state when in palette */
|
2015-06-17 11:49:43 -06:00
|
|
|
|
toolbarpaletteitem #uBlock0-legacy-button.off {
|
2015-06-17 11:56:10 -06:00
|
|
|
|
list-style-image: url('../img/browsericons/icon24.svg');
|
2015-04-24 11:57:30 -06:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Override badge when in palette */
|
2015-06-17 11:49:43 -06:00
|
|
|
|
toolbarpaletteitem #uBlock0-legacy-button[badge]::before {
|
|
|
|
|
content: none;
|
2015-04-25 07:08:01 -06:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Prevent pale moon from showing the arrow underneath the button */
|
2015-06-18 15:09:24 -06:00
|
|
|
|
/* https://github.com/chrisaljoudi/uBlock/issues/1449#issuecomment-112112761 */
|
2015-06-17 11:49:43 -06:00
|
|
|
|
#uBlock0-legacy-button .toolbarbutton-menu-dropmarker {
|
2015-06-18 15:09:24 -06:00
|
|
|
|
display: none;
|
2015-06-17 11:49:43 -06:00
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
|
}
|