forked from mirrors/gecko-dev
MozReview-Commit-ID: JLmKPftt2rG --HG-- rename : browser/base/content/usercontext-briefcase.svg => browser/components/contextualidentity/content/briefcase.svg rename : browser/base/content/usercontext-cart.svg => browser/components/contextualidentity/content/cart.svg rename : browser/base/content/usercontext-chill.svg => browser/components/contextualidentity/content/chill.svg rename : browser/base/content/usercontext-circle.svg => browser/components/contextualidentity/content/circle.svg rename : browser/base/content/usercontext-dollar.svg => browser/components/contextualidentity/content/dollar.svg rename : browser/base/content/usercontext-fingerprint.svg => browser/components/contextualidentity/content/fingerprint.svg rename : browser/base/content/usercontext-food.svg => browser/components/contextualidentity/content/food.svg rename : browser/base/content/usercontext-fruit.svg => browser/components/contextualidentity/content/fruit.svg rename : browser/base/content/usercontext-gift.svg => browser/components/contextualidentity/content/gift.svg rename : browser/base/content/usercontext-pet.svg => browser/components/contextualidentity/content/pet.svg rename : browser/base/content/usercontext-tree.svg => browser/components/contextualidentity/content/tree.svg rename : browser/base/content/usercontext-vacation.svg => browser/components/contextualidentity/content/vacation.svg extra : rebase_source : 0f7875ce0fd4c7c987beb7953e66ffc0e475f13d
123 lines
3.1 KiB
CSS
123 lines
3.1 KiB
CSS
[data-identity-color="blue"] {
|
|
--identity-tab-color: #37adff;
|
|
--identity-icon-color: #37adff;
|
|
}
|
|
|
|
[data-identity-color="turquoise"] {
|
|
--identity-tab-color: #00c79a;
|
|
--identity-icon-color: #00c79a;
|
|
}
|
|
|
|
[data-identity-color="green"] {
|
|
--identity-tab-color: #51cd00;
|
|
--identity-icon-color: #51cd00;
|
|
}
|
|
|
|
[data-identity-color="yellow"] {
|
|
--identity-tab-color: #ffcb00;
|
|
--identity-icon-color: #ffcb00;
|
|
}
|
|
|
|
[data-identity-color="orange"] {
|
|
--identity-tab-color: #ff9f00;
|
|
--identity-icon-color: #ff9f00;
|
|
}
|
|
|
|
[data-identity-color="red"] {
|
|
--identity-tab-color: #ff613d;
|
|
--identity-icon-color: #ff613d;
|
|
}
|
|
|
|
[data-identity-color="pink"] {
|
|
--identity-tab-color: #ff4bda;
|
|
--identity-icon-color: #ff4bda;
|
|
}
|
|
|
|
[data-identity-color="purple"] {
|
|
--identity-tab-color: #af51f5;
|
|
--identity-icon-color: #af51f5;
|
|
}
|
|
|
|
[data-identity-icon="fingerprint"] {
|
|
--identity-icon: url("resource://usercontext-content/fingerprint.svg");
|
|
}
|
|
|
|
[data-identity-icon="briefcase"] {
|
|
--identity-icon: url("resource://usercontext-content/briefcase.svg");
|
|
}
|
|
|
|
[data-identity-icon="dollar"] {
|
|
--identity-icon: url("resource://usercontext-content/dollar.svg");
|
|
}
|
|
|
|
[data-identity-icon="cart"] {
|
|
--identity-icon: url("resource://usercontext-content/cart.svg");
|
|
}
|
|
|
|
[data-identity-icon="circle"] {
|
|
--identity-icon: url("resource://usercontext-content/circle.svg");
|
|
}
|
|
|
|
[data-identity-icon="vacation"] {
|
|
--identity-icon: url("resource://usercontext-content/vacation.svg");
|
|
}
|
|
|
|
[data-identity-icon="gift"] {
|
|
--identity-icon: url("resource://usercontext-content/gift.svg");
|
|
}
|
|
|
|
[data-identity-icon="food"] {
|
|
--identity-icon: url("resource://usercontext-content/food.svg");
|
|
}
|
|
|
|
[data-identity-icon="fruit"] {
|
|
--identity-icon: url("resource://usercontext-content/fruit.svg");
|
|
}
|
|
|
|
[data-identity-icon="pet"] {
|
|
--identity-icon: url("resource://usercontext-content/pet.svg");
|
|
}
|
|
|
|
[data-identity-icon="tree"] {
|
|
--identity-icon: url("resource://usercontext-content/tree.svg");
|
|
}
|
|
|
|
[data-identity-icon="chill"] {
|
|
--identity-icon: url("resource://usercontext-content/chill.svg");
|
|
}
|
|
|
|
#userContext-indicator {
|
|
height: 16px;
|
|
width: 16px;
|
|
}
|
|
|
|
#userContext-label {
|
|
margin-inline-start: 0;
|
|
margin-inline-end: 3px;
|
|
color: var(--identity-tab-color);
|
|
}
|
|
|
|
#userContext-icons {
|
|
-moz-box-align: center;
|
|
}
|
|
|
|
.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,
|
|
.menuitem-iconic[data-usercontextid] > .menu-iconic-left > .menu-iconic-icon,
|
|
.subviewbutton[usercontextid] > .toolbarbutton-icon,
|
|
#userContext-indicator {
|
|
background-image: var(--identity-icon);
|
|
-moz-context-properties: fill;
|
|
fill: var(--identity-icon-color);
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
}
|