Add: Container Tab - Pinned tab compatibility

This commit is contained in:
alstjr7375 2021-05-22 23:44:36 +09:00
parent 866701d986
commit 4515313b55

View file

@ -326,8 +326,9 @@
border-bottom: 2px solid var(--identity-icon-color);
}
/* None exist favicon */
.tabbrowser-tab:not([image]):not([pinned], [sharing], [crashed]):not([soundplaying], [muted], [activemedia-blocked]) .tab-content::before {
/* None exist favicon & Pinned to select */
.tabbrowser-tab:not([image]):not([pinned], [sharing], [crashed]):not([soundplaying], [muted], [activemedia-blocked]) .tab-content::before,
.tabbrowser-tab[pinned][visuallyselected]:not([busy]):not(:hover) .tab-content::before {
/* Box Model */
content: '';
display: block;
@ -339,6 +340,12 @@
border-bottom: 2px solid var(--identity-icon-color);
width: 16px;
}
.tabbrowser-tab:not([image]):not([pinned], [sharing], [crashed]):not([soundplaying], [muted], [activemedia-blocked]) .tab-content::before {
transform: translateY(10px) !important; /* None exist favicon */
}
.tabbrowser-tab[pinned][visuallyselected]:not([busy]):not(:hover) .tab-content::before {
transform: translateX(2.5px) translateY(10px) !important; /* Pinned to select */
}
/* None exist favicon - With Sound */
.tabbrowser-tab:not([image]) .tab-icon-overlay:not([pinned], [sharing], [crashed]):is([soundplaying], [muted], [activemedia-blocked]) {