mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 22:38:41 +09:00
[Basilisk] add tab caption fading to CtrlTab
This commit is contained in:
parent
2a32b18f46
commit
f159e44b25
1 changed files with 10 additions and 0 deletions
|
|
@ -42,6 +42,16 @@
|
|||
border-radius: .5em;
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("browser.tabs.fadeLabels") {
|
||||
.ctrlTab-preview-inner label[_is_cropped] {
|
||||
mask-image: linear-gradient(to left, transparent, black 2em);
|
||||
}
|
||||
|
||||
.ctrlTab-preview-inner label[_is_cropped]:-moz-locale-dir(rtl) {
|
||||
mask-image: linear-gradient(to right, transparent, black 2em);
|
||||
}
|
||||
}
|
||||
|
||||
.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner {
|
||||
margin: -10px -10px 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue