Compare commits
2 Commits
prototype
...
animate-st
Author | SHA1 | Date | |
---|---|---|---|
694ddec9cd | |||
99b4f505b1 |
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"conventionalCommits.scopes": [
|
||||
"PREP"
|
||||
]
|
||||
}
|
22
PLR banner.css
Normal file
22
PLR banner.css
Normal file
@ -0,0 +1,22 @@
|
||||
@-moz-document domain("pillar.alkemics.com") {
|
||||
:root {
|
||||
--stripe-size: 100px;
|
||||
--color1: hsl(205, 70%, 45%);
|
||||
--color2: hsl(205, 70%, 50%);
|
||||
--duration: 30s;
|
||||
}
|
||||
.AuthLayoutFooter,
|
||||
.Navbar.navbar.bg-inverse {
|
||||
background: repeating-linear-gradient(-45deg, var(--color2) 25%, var(--color1) 75%);
|
||||
background-size: var(--stripe-size) var(--stripe-size);
|
||||
animation: alkegrad var(--duration) linear infinite;
|
||||
}
|
||||
@keyframes alkegrad {
|
||||
from {
|
||||
background-position: 0 0;
|
||||
}
|
||||
to {
|
||||
background-position: var(--stripe-size) 0;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,13 +1,12 @@
|
||||
@-moz-document domain("pillar.alkemics.com"),
|
||||
domain("localstream.alkemics.com") {
|
||||
:root {
|
||||
@-moz-document domain("ppr-stream.alkemics.com"),
|
||||
domain("ppr-admin.alkemics.com") {
|
||||
:root {
|
||||
--stripe-size: 100px;
|
||||
--color1: hsl(205, 84%, 41%);
|
||||
--color2: hsl(205, 70%, 50%);
|
||||
--color1: hsla(194, 71%, 30%, 1);
|
||||
--color2: hsla(194, 77%, 35%, 1);
|
||||
--duration: 1s;
|
||||
--state: paused;
|
||||
}
|
||||
|
||||
.AuthLayoutFooter,
|
||||
.Navbar.navbar.Navbar--PPR.bg-inverse {
|
||||
background: repeating-linear-gradient(-45deg, var(--color2) 25%, var(--color2) 50%, var(--color1) 50%, var(--color1) 75%);
|
||||
@ -15,27 +14,22 @@ domain("localstream.alkemics.com") {
|
||||
background-size: var(--stripe-size) var(--stripe-size);
|
||||
animation: alkegrad var(--duration) linear 0s infinite normal var(--state);
|
||||
}
|
||||
|
||||
.AuthLayoutFooter {
|
||||
--stripe-size: 200px;
|
||||
--duration: 40s;
|
||||
}
|
||||
|
||||
.PageTop>.navbar:not(:only-child) {
|
||||
--state: running;
|
||||
}
|
||||
|
||||
.PageTop>.Loader {
|
||||
visibility: hidden;
|
||||
animation: none;
|
||||
--state: paused;
|
||||
}
|
||||
|
||||
@keyframes alkegrad {
|
||||
from {
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
||||
to {
|
||||
background-position: var(--stripe-size) 0;
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
@-moz-document domain("app.supplierxm.salsify.com"),
|
||||
domain("admin.supplierxm.salsify.com") {
|
||||
@-moz-document domain("stream.alkemics.com"),
|
||||
domain("admin.alkemics.com") {
|
||||
.AuthLayoutFooter,
|
||||
.Navbar.navbar.bg-inverse {
|
||||
background: linear-gradient(-45deg, #00e1d0, #00c4ff, #0562e8, #8a25f9);
|
@ -1,44 +0,0 @@
|
||||
@-moz-document domain("ppr-app.supplierxm.salsify.com"),
|
||||
domain("ppr-admin.alkemics.com"),
|
||||
domain("localstream.alkemics.com") {
|
||||
:root {
|
||||
--stripe-size: 100px;
|
||||
--color1: hsl(194, 71%, 30%);
|
||||
--color2: hsl(194, 77%, 35%);
|
||||
--duration: 1s;
|
||||
--state: paused;
|
||||
}
|
||||
|
||||
.AuthLayoutFooter,
|
||||
.Navbar.navbar.Navbar--PPR.bg-inverse {
|
||||
background: repeating-linear-gradient(-45deg, var(--color2) 25%, var(--color2) 50%, var(--color1) 50%, var(--color1) 75%);
|
||||
background-color: var(--color1);
|
||||
background-size: var(--stripe-size) var(--stripe-size);
|
||||
animation: alkegrad var(--duration) linear 0s infinite normal var(--state);
|
||||
}
|
||||
|
||||
.AuthLayoutFooter {
|
||||
--stripe-size: 200px;
|
||||
--duration: 40s;
|
||||
}
|
||||
|
||||
.PageTop>.navbar:not(:only-child) {
|
||||
--state: running;
|
||||
}
|
||||
|
||||
.PageTop>.Loader {
|
||||
visibility: hidden;
|
||||
animation: none;
|
||||
--state: paused;
|
||||
}
|
||||
|
||||
@keyframes alkegrad {
|
||||
from {
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
||||
to {
|
||||
background-position: var(--stripe-size) 0;
|
||||
}
|
||||
}
|
||||
}
|
37
README.md
37
README.md
@ -2,10 +2,28 @@
|
||||
|
||||
## What is this?
|
||||
|
||||
This repository aims to tweak some website visuals. Changes are made inside your broswer via an extension, so it doesn't actually break anything.
|
||||
This content aims to change a little the Alkemics interface to help you recognise at a glance certains informations. It also refresh the interface a little. Changes are made inside your broswer via an extension, so it doesn't reflect elsewhere.
|
||||
|
||||

|
||||
|
||||
## Give me an example
|
||||
|
||||
### Change banners
|
||||
|
||||
If you are on Preprod, the teal navbar will be enhanced with a light strip. On Load testing, the stip is purple. On your Pillar, the stip is cyan. On Prod, the navbar change colors using Salsify colors. The logon footer also work that way.
|
||||
|
||||

|
||||

|
||||
|
||||
If you have multiple windows or tabs on theses opened, you will quickly see on which one you are.
|
||||
|
||||
### Change user icon to a factory or a shop
|
||||
|
||||
If you use a Chrome profil for Retailers accounts, you can change the top right user icon to a shop one.
|
||||
If you use a Chrome profil for Manufacturers, it can change it to a factory.
|
||||
|
||||

|
||||
|
||||
## How does it works?
|
||||
|
||||
Nothing is changed on the software itself: It's your broswer that applies more CSS rules to make it happens. It relies on the Chrome extension xStyle, and that make it easy to turn them on or off, just in case it conflict with the website.
|
||||
@ -19,15 +37,12 @@ Repeate for each styles you want to enables.
|
||||
|
||||
## What each styles do?
|
||||
|
||||
* `PPR banner.css`: Change the Preproduction banner and login's footer
|
||||

|
||||
* `PLR banner.css`: Change your Pillar banner and login's footer
|
||||

|
||||
* `LTG banner.css`: Change the Load Testing banner and login's footer
|
||||
* `PPR banner.css`: Change the Preproduction banner
|
||||
* `PLR banner.css`: Change your Pillar banner
|
||||
* `LTG banner.css`: Change the Load Testing banner
|
||||
* `PRD banner.css`: Change the Production banner and login's footer
|
||||

|
||||
|
||||
* `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.
|
||||
* `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.
|
||||
*  
|
||||
* `Alkessian.less`: Change the black navbar of Jira & Confluence back to the default white one and add slight animations.
|
||||

|
||||
|
||||
* `Retailers Sigils.css`: Change the top-right user icon to a Shop one, and make it orange. It actually don't know if you'r logged as a Retailer or not.
|
||||
* `Suppliers Sigils.css`: change the top-right user icon to a Factory one, and make it turquoise. It actually don't know if you're logged as a Manufacturer or not.
|
||||
|
9
Retailers Sigils.css
Normal file
9
Retailers Sigils.css
Normal file
@ -0,0 +1,9 @@
|
||||
@-moz-document domain("stream.alkemics.com"),
|
||||
domain("ppr-stream.alkemics.com"),
|
||||
domain("ltg-stream.alkemics.com"),
|
||||
domain("int.alkemics.com") {
|
||||
#navbar-profile .dropdown-toggle .mdi-account::before {
|
||||
content: "\F4DC";
|
||||
color: orange;
|
||||
}
|
||||
}
|
14
Sigils.css
14
Sigils.css
@ -1,14 +0,0 @@
|
||||
@-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;
|
||||
}
|
||||
}
|
9
Suppliers Sigils.css
Normal file
9
Suppliers Sigils.css
Normal file
@ -0,0 +1,9 @@
|
||||
@-moz-document domain("stream.alkemics.com"),
|
||||
domain("ppr-stream.alkemics.com"),
|
||||
domain("ltg-stream.alkemics.com"),
|
||||
domain("int.alkemics.com") {
|
||||
#navbar-profile .dropdown-toggle .mdi-account::before {
|
||||
content: "\F20F";
|
||||
color: turquoise;
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
@-moz-document domain("app.supplierxm.salsify.com"),
|
||||
domain("ppr-app.supplierxm.salsify.com"),
|
||||
@-moz-document domain("stream.alkemics.com"),
|
||||
domain("ppr-stream.alkemics.com"),
|
||||
domain("ltg-stream.alkemics.com"),
|
||||
domain("int.alkemics.com") {
|
||||
.Navbar {
|
||||
|
@ -1,70 +0,0 @@
|
||||
@-moz-document domain("alkemics.atlassian.net") {
|
||||
/* Header itself */
|
||||
header {
|
||||
background-color: var(--ds-surface, white) !important;
|
||||
color: var(--ds-text-subtlest, #42526e) !important;
|
||||
font-family: "Charlie Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
--icon-primary-color: var(--ds-text-subtlest, #42526e) !important;
|
||||
}
|
||||
/* Alkemics Logos */
|
||||
header nav img {
|
||||
filter: invert(1) hue-rotate(180deg);
|
||||
max-width: 90px !important;
|
||||
width: 28px;
|
||||
height: 32px;
|
||||
object-fit: none;
|
||||
object-position: 45%;
|
||||
}
|
||||
header nav a:first-of-type {
|
||||
margin-right: 0;
|
||||
&:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
/* Buttons */
|
||||
header a,
|
||||
header button {
|
||||
background-color: transparent !important;
|
||||
color: var(--ds-text-subtlest, #42526e) !important;
|
||||
svg {
|
||||
--icon-secondary-color: white;
|
||||
transition: transform .2s;
|
||||
}
|
||||
&:hover {
|
||||
color: var(--ds-text-subtle, hsl(216, 100%, 40%)) !important;
|
||||
background-color: var(--ds-background-neutral-hovered, hsla(216, 100%, 40%, 0.1)) !important;
|
||||
}
|
||||
&[aria-expanded="true"] {
|
||||
color: var(--ds-text-subtle, hsl(216, 100%, 40%)) !important;
|
||||
background-color: var(--ds-background-neutral-pressed, hsla(216, 100%, 40%, 0.2)) !important;
|
||||
svg {
|
||||
transform: rotatex(0.5turn);
|
||||
}
|
||||
}
|
||||
&#createGlobalItem {
|
||||
border-radius: 2px;
|
||||
&:hover {
|
||||
outline: 3px solid var(--ds-background-neutral-hovered, hsla(216, 100%, 40%, 0.8));
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Search box */
|
||||
header input {
|
||||
box-shadow: none !important;
|
||||
outline: 1px solid rgba(66, 83, 110, 0.4) !important;
|
||||
border: none !important;
|
||||
border-radius:3px !important;
|
||||
background-color: var(--ds-surface, white) !important;
|
||||
&::placeholder {
|
||||
color: var(--ds-text-subtlest, #42526e) !important;
|
||||
}
|
||||
&:hover:not(:focus) {
|
||||
color: var(--ds-text-subtle, hsl(216, 100%, 40%)) !important;
|
||||
background-color: var(--ds-background-neutral-hovered, hsla(216, 100%, 40%, 0.1)) !important;
|
||||
outline: 3px solid hsla(216, 100%, 40%, 0.8) !important;
|
||||
}
|
||||
&:focus {
|
||||
outline: 3px solid hsla(216, 100%, 40%, 0.8) !important;
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 22 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.0 KiB |
Reference in New Issue
Block a user