+
+ {{'passwordGeneratorPolicyInEffect' | i18n}}
+
diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json
index a9c8a55d40..b1ebadb53d 100644
--- a/src/locales/en/messages.json
+++ b/src/locales/en/messages.json
@@ -1276,5 +1276,8 @@
},
"clone": {
"message": "Clone"
+ },
+ "passwordGeneratorPolicyInEffect": {
+ "message": "One or more organization policies are affecting your generator settings."
}
}
diff --git a/src/scss/misc.scss b/src/scss/misc.scss
index ef14ea7168..54324d78e3 100644
--- a/src/scss/misc.scss
+++ b/src/scss/misc.scss
@@ -290,3 +290,84 @@ app-root > #loading {
.draggable {
cursor: move;
}
+
+.callout {
+ padding: 10px;
+ margin-bottom: 10px;
+ border: 1px solid #000000;
+ border-left-width: 5px;
+ border-radius: 3px;
+ @include themify($themes) {
+ border-color: themed('calloutBorderColor');
+ background-color: themed('calloutBackgroundColor');
+ }
+
+ .callout-heading {
+ margin-top: 0;
+ }
+
+ h3.callout-heading {
+ font-weight: bold;
+ text-transform: uppercase;
+ }
+
+ &.callout-primary {
+ @include themify($themes) {
+ border-left-color: themed('primaryColor');
+ }
+
+ .callout-heading {
+ @include themify($themes) {
+ color: themed('primaryColor');
+ }
+ }
+ }
+
+ &.callout-info {
+ @include themify($themes) {
+ border-left-color: themed('infoColor');
+ }
+
+ .callout-heading {
+ @include themify($themes) {
+ color: themed('infoColor');
+ }
+ }
+ }
+
+ &.callout-danger {
+ @include themify($themes) {
+ border-left-color: themed('dangerColor');
+ }
+
+ .callout-heading {
+ @include themify($themes) {
+ color: themed('dangerColor');
+ }
+ }
+ }
+
+ &.callout-success {
+ @include themify($themes) {
+ border-left-color: themed('successColor');
+ }
+
+ .callout-heading {
+ @include themify($themes) {
+ color: themed('successColor');
+ }
+ }
+ }
+
+ &.callout-warning {
+ @include themify($themes) {
+ border-left-color: themed('warningColor');
+ }
+
+ .callout-heading {
+ @include themify($themes) {
+ color: themed('warningColor');
+ }
+ }
+ }
+}
diff --git a/src/scss/variables.scss b/src/scss/variables.scss
index 41f7ada747..53d12a87e6 100644
--- a/src/scss/variables.scss
+++ b/src/scss/variables.scss
@@ -86,6 +86,8 @@ $themes: (
logoSuffix: 'dark',
passwordNumberColor: #007fde,
passwordSpecialColor: #c40800,
+ calloutBorderColor: $border-color-dark,
+ calloutBackgroundColor: $background-color,
),
dark: (
textColor: #ffffff,
@@ -134,6 +136,8 @@ $themes: (
logoSuffix: 'white',
passwordNumberColor: #52bdfb,
passwordSpecialColor: #ff7c70,
+ calloutBorderColor: #2f2f2f,
+ calloutBackgroundColor: #363636,
),
nord: (
textColor: $nord5,
@@ -182,6 +186,8 @@ $themes: (
logoSuffix: 'white',
passwordNumberColor: $nord8,
passwordSpecialColor: $nord12,
+ calloutBorderColor: $nord1,
+ calloutBackgroundColor: $nord2,
),
);