fix(5): Detect via a sibling css selector

This commit is contained in:
Simon 2022-12-09 17:25:33 +01:00
parent aef7376bf9
commit ac89147f8c
5 changed files with 16 additions and 22 deletions

View File

@ -27,9 +27,7 @@ Repeate for each styles you want to enables.
* `PRD banner.css`: Change the Production banner and login's footer
![example of Prod banner](public/PRD_banner_ex.png)
* `Whiter banner.css`: Look & feel, mainly changing text to pure white and the hover and active elements. A _must have_. Works with the others files.
* `Retailers Sigils.css`: Change the top-right user icon to a Shop one, and make it orange. It actually don't know if you are logged as a Retailer or not.
* ![example of orange shop icon](public/user-orange-shop.png)
* `Suppliers Sigils.css`: change the top-right user icon to a Factory one, and make it turquoise. It actually don't know if you are logged as a Manufacturer or not.
* ![example of orange shop icon](public/user-teal-factory.png)
* `Sigils.css`: Change the top-right user icon to a Shop or Factory depending on if you are logged as ar Retailer or a Supplier.
* ![example of orange shop icon](public/user-orange-shop.png) ![example of violet factory icon](public/user-violet-factory.png)
* `Alkessian.less`: Change the black navbar of Jira & Confluence back to the default white one and add slight animations.
![example of Confluence navbar](public/alkessian-banner.png)

View File

@ -1,9 +0,0 @@
@-moz-document domain("app.supplierxm.salsify.com"),
domain("ppr-app.supplierxm.salsify.com"),
domain("ltg-stream.alkemics.com"),
domain("int.alkemics.com") {
#navbar-profile .dropdown-toggle .mdi-account::before {
content: "\F4DC";
color: orange;
}
}

14
Sigils.css Normal file
View File

@ -0,0 +1,14 @@
@-moz-document domain("salsify.com"),
domain("salsify.com"),
domain("alkemics.com"),
domain("alkemics.com") {
li.HelpCenter#academy-access ~ li#navbar-profile > a > i.mdi-account::before {
content: "\F20F";
color: violet;
}
li.HelpCenter:not(#academy-access) ~ li#navbar-profile > a > i.mdi-account::before {
content: "\F4DC";
color: orange;
}
}

View File

@ -1,9 +0,0 @@
@-moz-document domain("app.supplierxm.salsify.com"),
domain("ppr-app.supplierxm.salsify.com"),
domain("ltg-stream.alkemics.com"),
domain("int.alkemics.com") {
#navbar-profile .dropdown-toggle .mdi-account::before {
content: "\F20F";
color: turquoise;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB