mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
[Basilisk] ported PM version of tab caption fading to here
This commit is contained in:
parent
5303f2f60d
commit
2a32b18f46
4 changed files with 36 additions and 3 deletions
|
|
@ -187,6 +187,16 @@ tabbrowser {
|
|||
transition: transform 200ms ease-out;
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("browser.tabs.fadeLabels") {
|
||||
.tabbrowser-tab .tab-text[_is_cropped] {
|
||||
mask-image: linear-gradient(to left, transparent, black 2em);
|
||||
}
|
||||
|
||||
.tabbrowser-tab .tab-text[_is_cropped]:-moz-locale-dir(rtl) {
|
||||
mask-image: linear-gradient(to right, transparent, black 2em);
|
||||
}
|
||||
}
|
||||
|
||||
.new-tab-popup,
|
||||
#alltabs-popup {
|
||||
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-alltabs-popup");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue