зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1387117 - Fix containers highlight for square tabs to be an underline. r=dao
MozReview-Commit-ID: L5YLL7qCRfv --HG-- extra : rebase_source : 42180d9d07b3198b56723a34836a4d9177c822b9
This commit is contained in:
Родитель
9c17a9deed
Коммит
5e6bfdc997
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче