diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index 8647e55ab..42b9c0bfb 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist @@ -155,6 +155,9 @@ parameters: view_default_logo: /images/logo.png view_default_logo_width: 96 view_default_logo_height: 96 + # when set, will show a ribbon top-right to visually distinguish this install from other + # environments in your constellation (e.g. "test", "qa"), with the given ribbon color in + # env_ribbon_color. You can choose from colors: crimson,orange,hotpink,khaki. env_name: "" env_ribbon_color: "" diff --git a/theme/base/stylesheets/components/ribbon.scss b/theme/base/stylesheets/components/ribbon.scss index 6440b32af..d157ed2c8 100644 --- a/theme/base/stylesheets/components/ribbon.scss +++ b/theme/base/stylesheets/components/ribbon.scss @@ -15,16 +15,16 @@ body::after { content: attr(data-envname); } -body[data-ribboncolor="red"]::after { +body[data-ribboncolor="crimson"]::after { background-color: crimson; } body[data-ribboncolor="orange"]::after { background-color: orange; } -body[data-ribboncolor="pink"]::after { +body[data-ribboncolor="hotpink"]::after { background-color: hotpink; } -body[data-ribboncolor="beige"]::after { +body[data-ribboncolor="khaki"]::after { background-color: khaki; }