Skip to content
Snippets Groups Projects
Commit 5e6bfdc9 authored by Jonathan Kingston's avatar Jonathan Kingston
Browse files

Bug 1387117 - Fix containers highlight for square tabs to be an underline. r=dao

MozReview-Commit-ID: L5YLL7qCRfv

--HG--
extra : rebase_source : 42180d9d07b3198b56723a34836a4d9177c822b9
parent 9c17a9de
No related branches found
No related tags found
No related merge requests found
......@@ -7340,6 +7340,8 @@
class="tab-background">
<xul:hbox xbl:inherits="selected=visuallyselected"
class="tab-line"/>
<xul:spacer flex="1"/>
<xul:hbox class="tab-bottom-line"/>
</xul:vbox>
<xul:hbox xbl:inherits="pinned,selected=visuallyselected,titlechanged,attention"
class="tab-content" align="center">
......
......@@ -100,10 +100,13 @@
-moz-box-align: center;
}
.tabbrowser-tab[usercontextid] {
background-image: linear-gradient(to right, transparent 20%, var(--identity-tab-color) 30%, var(--identity-tab-color) 70%, transparent 80%);
background-size: auto 2px;
background-repeat: no-repeat;
.tabbrowser-tab[usercontextid] > .tab-stack > .tab-background > .tab-bottom-line {
background: linear-gradient(to right, transparent 10%, var(--identity-tab-color) 10%, var(--identity-tab-color) 90%, transparent 90%);
height: 2px;
}
.tabbrowser-tab[pinned][usercontextid] > .tab-stack > .tab-background > .tab-bottom-line {
background: linear-gradient(to right, transparent 30%, var(--identity-tab-color) 30%, var(--identity-tab-color) 70%, transparent 70%);
}
.userContext-icon,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment