diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/inlineblock/inlineblock.editor.html b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/inlineblock/inlineblock.editor.html
index 6cf717df81..c6b5e0a4fb 100644
--- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/inlineblock/inlineblock.editor.html
+++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/inlineblock/inlineblock.editor.html
@@ -5,7 +5,7 @@
ng-click="vm.openBlock(block)"
ng-focus="block.focus">
diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/inlineblock/inlineblock.editor.less b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/inlineblock/inlineblock.editor.less
index 9b408becce..5b155ac5ad 100644
--- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/inlineblock/inlineblock.editor.less
+++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/inlineblock/inlineblock.editor.less
@@ -27,8 +27,8 @@
transition: transform 80ms ease-out;
}
- i {
- font-size: 22px;
+ .icon {
+ font-size: 1.1rem;
display: inline-block;
vertical-align: middle;
}
@@ -48,17 +48,21 @@
ng-form.ng-invalid-val-server-match-content > .umb-block-list__block > .umb-block-list__block--content > div > & {
> button {
color: @formErrorText;
+
.show-validation-type-warning & {
color: @formWarningText;
}
+
span.caret {
border-top-color: @formErrorText;
+
.show-validation-type-warning & {
border-top-color: @formWarningText;
}
}
}
}
+
ng-form.ng-invalid-val-server-match-content > .umb-block-list__block:not(.--active) > .umb-block-list__block--content > div > & {
> button {
span.name {
@@ -78,22 +82,41 @@
padding: 2px;
line-height: 10px;
background-color: @formErrorText;
+
.show-validation-type-warning & {
background-color: @formWarningText;
}
+
font-weight: 900;
-
animation-duration: 1.4s;
animation-iteration-count: infinite;
animation-name: blockelement-inlineblock-editor--badge-bounce;
animation-timing-function: ease;
+
@keyframes blockelement-inlineblock-editor--badge-bounce {
- 0% { transform: translateY(0); }
- 20% { transform: translateY(-4px); }
- 40% { transform: translateY(0); }
- 55% { transform: translateY(-2px); }
- 70% { transform: translateY(0); }
- 100% { transform: translateY(0); }
+ 0% {
+ transform: translateY(0);
+ }
+
+ 20% {
+ transform: translateY(-4px);
+ }
+
+ 40% {
+ transform: translateY(0);
+ }
+
+ 55% {
+ transform: translateY(-2px);
+ }
+
+ 70% {
+ transform: translateY(0);
+ }
+
+ 100% {
+ transform: translateY(0);
+ }
}
}
}
diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/labelblock/labelblock.editor.html b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/labelblock/labelblock.editor.html
index f51ea4607c..a5c4993505 100644
--- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/labelblock/labelblock.editor.html
+++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/labelblock/labelblock.editor.html
@@ -3,6 +3,6 @@
ng-focus="block.focus"
ng-class="{ '--active': block.active, '--error': parentForm.$invalid && valFormManager.isShowingValidation() }"
val-server-property-class="">
-
+
{{block.label}}
diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/labelblock/labelblock.editor.less b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/labelblock/labelblock.editor.less
index 837fd3f564..8391923339 100644
--- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/labelblock/labelblock.editor.less
+++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/labelblock/labelblock.editor.less
@@ -16,7 +16,7 @@
user-select: none;
transition: border-color 120ms, background-color 120ms;
- > i {
+ > .icon {
font-size: 22px;
margin-right: 10px;
display: inline-block;
diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/unsupportedblock/unsupportedblock.editor.html b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/unsupportedblock/unsupportedblock.editor.html
index d5b0ddfd04..2252db3745 100644
--- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/unsupportedblock/unsupportedblock.editor.html
+++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/unsupportedblock/unsupportedblock.editor.html
@@ -1,6 +1,6 @@
diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/unsupportedblock/unsupportedblock.editor.less b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/unsupportedblock/unsupportedblock.editor.less
index d3eddd0815..8b8fcef9e7 100644
--- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/unsupportedblock/unsupportedblock.editor.less
+++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/unsupportedblock/unsupportedblock.editor.less
@@ -18,7 +18,7 @@
background-color: @gray-11;
color: @gray-6;
- i {
+ .icon {
font-size: 22px;
margin-right: 5px;
display: inline-block;