100 lines
2.2 KiB
CSS
100 lines
2.2 KiB
CSS
/* Color and icon helpers */
|
|
[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("/img/usercontext.svg#fingerprint");
|
|
}
|
|
|
|
[data-identity-icon="briefcase"] {
|
|
--identity-icon: url("/img/usercontext.svg#briefcase");
|
|
}
|
|
|
|
[data-identity-icon="dollar"] {
|
|
--identity-icon: url("/img/usercontext.svg#dollar");
|
|
}
|
|
|
|
[data-identity-icon="cart"] {
|
|
--identity-icon: url("/img/usercontext.svg#cart");
|
|
}
|
|
|
|
[data-identity-icon="circle"] {
|
|
--identity-icon: url("/img/usercontext.svg#circle");
|
|
}
|
|
|
|
[data-identity-icon="food"] {
|
|
--identity-icon: url("/img/usercontext.svg#food");
|
|
}
|
|
|
|
[data-identity-icon="gift"] {
|
|
--identity-icon: url("/img/usercontext.svg#gift");
|
|
}
|
|
|
|
[data-identity-icon="vacation"] {
|
|
--identity-icon: url("/img/usercontext.svg#vacation");
|
|
}
|
|
|
|
[data-identity-icon="fruit"] {
|
|
--identity-icon: url("/img/usercontext.svg#fruit");
|
|
}
|
|
|
|
[data-identity-icon="pet"] {
|
|
--identity-icon: url("/img/usercontext.svg#pet");
|
|
}
|
|
|
|
[data-identity-icon="tree"] {
|
|
--identity-icon: url("/img/usercontext.svg#tree");
|
|
}
|
|
|
|
[data-identity-icon="chill"] {
|
|
--identity-icon: url("/img/usercontext.svg#chill");
|
|
}
|
|
|
|
/* .userContext-icon is used natively, Bug 1333811 was raised to fix */
|
|
.usercontext-icon {
|
|
background-image: var(--identity-icon);
|
|
background-position: center center;
|
|
background-repeat: no-repeat;
|
|
background-size: 20px 20px;
|
|
block-size: 48px;
|
|
fill: var(--identity-icon-color);
|
|
filter: url('/img/filters.svg#fill');
|
|
flex: 0 0 48px;
|
|
}
|